1 2005-11-28 Edward Hervey <edward@fluendo.com>
3 * tools/gst-launch.c: (main):
4 Clarify the output strings, makes it easier to translate.
7 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10 don't try and build net if we don't even have <sys/socket.h>
12 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
15 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17 Add tests for fdsrc seekability
19 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
21 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
22 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
23 * gst/elements/gstfdsrc.h:
24 fdsrc should not be a 'live' source.
25 Implement seeking on seekable fd's.
27 * gst/gstquery.c: (gst_query_new_seeking),
28 (gst_query_parse_seeking):
30 Implement SEEKING query functions:
31 *_new_seeking and *_parse_seeking
33 2005-11-27 Stefan Kost <ensonic@users.sf.net>
35 * gst/gstelement.c: (gst_element_dispose):
42 * libs/gst/controller/gstcontroller.c:
43 (gst_controlled_property_set_interpolation_mode):
44 * libs/gst/controller/gstcontroller.h:
45 * libs/gst/controller/gstinterpolation.c:
46 (interpolate_none_get_enum_value_array):
47 support controlling enums
49 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
52 Improve documentation for gst_value_union().
55 Change return value for union, intersect and subtract functions
56 from gint to gboolean.
58 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
60 * gst/gstvalue.c: (gst_value_serialize_any_list),
61 (gst_value_transform_any_list_string),
62 (gst_value_deserialize_list), (gst_value_deserialize_array),
63 (gst_value_set_int_range), (gst_value_deserialize_int_range),
64 (gst_value_set_double_range), (gst_value_deserialize_double_range),
65 (gst_value_set_fraction_range_full),
66 (gst_value_deserialize_fraction_range),
67 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
68 (gst_value_deserialize_boolean),
69 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
70 (gst_value_serialize_float), (gst_value_deserialize_float),
71 (gst_string_wrap), (gst_value_deserialize_string),
72 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
73 (gst_value_union_int_range_int_range),
74 (gst_value_intersect_int_range_int_range),
75 (gst_value_intersect_double_range_double_range),
76 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
77 (gst_value_subtract_int_range_int_range),
78 (gst_value_subtract_double_double_range),
79 (gst_value_subtract_double_range_double_range),
80 (gst_value_deserialize_fraction):
82 Use gint, gdouble and gchar in our API instead of int, double and
83 char (and make usage in gstvalue.c more consistent).
85 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
88 * libs/gst/controller/Makefile.am:
89 * libs/gst/dataprotocol/Makefile.am:
90 fix up Makefile.am and remove GST_ENABLE_NEW
92 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
96 * gst/base/Makefile.am:
97 * gst/check/Makefile.am:
98 * gst/elements/Makefile.am:
99 * gst/net/Makefile.am:
100 update LDFLAGS use some more
102 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
104 * common/m4/gst-doc.m4:
107 2005-11-26 Edward Hervey <edward@fluendo.com>
109 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
110 This shouldn't issue a g_warning since it returns NULL if it
111 couldn't find the plugin, and all functions using this behave
112 properly on a NULL return. Switching to a GST_WARNING.
114 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
116 * gst/gstbin.c: (gst_bin_handle_message_func):
117 Don't leak clock messages.
119 2005-11-25 Wim Taymans <wim@fluendo.com>
121 * gst/gstutils.c: (gst_util_uint64_scale_int64),
122 (gst_util_uint64_scale_int):
123 Optimisations, remove unneeded vars.
125 2005-11-25 Wim Taymans <wim@fluendo.com>
127 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
128 Added more checks for the high precision uint64 cases.
130 * gst/gstutils.c: (gst_util_uint64_scale_int64),
131 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
132 Implement high precission (guint64 * guint64) / guint64.
134 2005-11-24 Wim Taymans <wim@fluendo.com>
136 * gst/base/gstbasesrc.c: (gst_base_src_query):
137 Fix wrong percentage query.
139 * gst/gstutils.c: (gst_util_uint64_scale),
140 (gst_util_uint64_scale_int):
141 Add some more common cases that can be handled
142 efficiently to _scale.
144 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
146 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
147 (gst_mini_object_suite):
148 don't use check calls from threads; check probably isn't
149 threadsafe and using a lock to make it threadsafe would
150 defeat the purpose of this check
151 * gst/check/gstcheck.c:
152 * gst/check/gstcheck.h:
153 use GST_DEBUG some more
155 2005-11-24 Wim Taymans <wim@fluendo.com>
157 * gst/gstutils.c: (gst_util_uint64_scale),
158 (gst_util_uint64_scale_int):
159 Chain trivial case to _scale_int.
161 2005-11-24 Wim Taymans <wim@fluendo.com>
163 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
164 Added test for scaling.
169 * gst/gstutils.c: (gst_util_uint64_scale_int):
170 Implemented high precision scaling code.
172 2005-11-24 Stefan Kost <ensonic@users.sf.net>
175 do not crash on pad==NULL
177 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
179 Patch by: Stefan Kost
181 * common/gtk-doc.mak:
182 * docs/gst/Makefile.am:
183 * docs/libs/Makefile.am:
184 Fix distcheck issues for the libraries docs build
187 2005-11-24 Michael Smith <msmith@fluendo.com>
189 * docs/manual/basics-helloworld.xml:
190 Fix bug #315027: memory leak in example code in docs.
192 2005-11-24 Michael Smith <msmith@fluendo.com>
194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
195 Unlock the PREROLL_LOCK in a failure case.
197 2005-11-24 Wim Taymans <wim@fluendo.com>
199 * docs/gst/gstreamer-sections.txt:
200 * gst/base/gstadapter.h:
201 * gst/base/gstbasesink.h:
202 * gst/base/gstbasesrc.h:
203 * gst/base/gstbasetransform.h:
204 * gst/base/gstpushsrc.h:
205 * gst/elements/gstfakesink.h:
206 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
207 * gst/elements/gstfakesrc.h:
208 * gst/elements/gstfilesink.h:
209 * gst/elements/gstfilesrc.h:
212 * gst/gstbuffer.c: (_gst_buffer_copy):
215 * gst/gstchildproxy.c:
218 * gst/gstelementfactory.c:
219 * gst/gstelementfactory.h:
223 * gst/gstinterface.h:
224 * gst/gstminiobject.c:
225 * gst/gstminiobject.h:
228 * gst/gstpadtemplate.h:
230 * gst/gstpluginfeature.h:
235 * gst/gsttagsetter.c:
236 * gst/gsttagsetter.h:
242 * gst/net/gstnetclientclock.c:
243 * gst/net/gstnetclientclock.h:
244 * gst/net/gstnettimepacket.c:
245 * gst/net/gstnettimeprovider.c:
246 * gst/net/gstnettimeprovider.h:
249 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
251 * configure.ac: back to HEAD
253 === release 0.9.6 ===
255 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
258 releasing 0.9.6, "Always On Time"
260 2005-11-23 Wim Taymans <wim@fluendo.com>
262 * docs/gst/gstreamer-sections.txt:
264 * gst/gsttagsetter.c:
266 * gst/net/gstnetclientclock.c:
267 * gst/net/gstnettimepacket.h:
270 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
272 * docs/faq/using.xml:
273 * docs/libs/tmpl/gstcontrol.sgml:
274 * docs/manual/advanced-dparams.xml:
275 * docs/manual/appendix-checklist.xml:
276 * docs/manual/basics-elements.xml:
277 * docs/pwg/other-source.xml:
278 * docs/random/moving-plugins:
280 * tools/gst-launch.1.in:
281 remove mentions of sinesrc
283 2005-11-23 Michael Smith <msmith@fluendo.com>
285 * docs/gst/gstreamer-sections.txt:
286 Update for new API and API changes.
288 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
290 Documentation typo fix.
291 * gst/net/gstnettimepacket.c:
292 Documentation fixes for arguments.
294 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
296 * gst/gststructure.c: (gst_structure_get_fraction),
297 (gst_structure_parse_value),
298 (gst_structure_fixate_field_nearest_fraction):
299 * gst/gststructure.h:
300 * gst/gstutils.c: (gst_util_uint64_scale_int):
302 * scripts/update-funcnames:
304 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
305 Make gst_structure_fixate_field_nearest_fraction take a numerator
306 and denominator argument instead of a GValue
307 add gst_structure_get_fraction helper function.
309 2005-11-23 Wim Taymans <wim@fluendo.com>
311 * docs/design/part-TODO.txt:
314 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
315 * gst/net/gstnetclientclock.h:
316 Use parent fields for timeout and window_size.
318 2005-11-23 Andy Wingo <wingo@pobox.com>
320 * check/net/gstnetclientclock.c (test_functioning): Adjust to
321 rate_num/rate_denom change.
323 * gst/net/gstnetclientclock.c
324 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
325 OBJECT_LOCK. Don't call add_observation with the lock.
327 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
329 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
331 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
332 deal with rate as a fraction whose numerator and denominator are
334 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
335 master; the other fields are protected by the SLAVE_LOCK.
336 (do_linear_regression): Note that this must be called with the
338 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
339 OBJECT_LOCK. Call set_calibration instead of touching the
341 (gst_clock_set_property, gst_clock_get_property): Protect
342 master/slave parameters with the SLAVE_LOCK.
344 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
345 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
346 note that all of the instance variables that add_observation and
347 the set_master functions use are protected by that lock and not
349 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
351 * gst/gstclock.c (gst_clock_add_observation): No longer requires
352 the caller to take the object lock.
354 2005-11-23 Wim Taymans <wim@fluendo.com>
356 * gst/gsterror.c: (_gst_core_errors_init):
358 Add error for clock stuff.
360 * gst/gstpipeline.c: (gst_pipeline_change_state),
361 (gst_pipeline_set_clock):
362 Post clock error when clock cannot be used in a pipeline.
364 2005-11-23 Stefan Kost <ensonic@users.sf.net>
366 * docs/gst/gstreamer-sections.txt:
367 make two symbols from gstinfo private for the docs
368 * gst/base/gstcollectpads.h:
370 fix doc typos, update docs
372 2005-11-22 Wim Taymans <wim@fluendo.com>
374 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
375 (gst_base_sink_wait), (gst_base_sink_do_sync),
376 (gst_base_sink_handle_event):
377 * gst/base/gstbasesink.h:
378 No need to store the clock, the parent element class already
381 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
382 Updates for clock_set returning a gboolean
384 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
385 (gst_clock_id_wait_async), (gst_clock_class_init),
386 (gst_clock_init), (gst_clock_finalize),
387 (gst_clock_get_internal_time), (gst_clock_get_time),
388 (gst_clock_slave_callback), (gst_clock_set_master),
389 (gst_clock_get_master), (do_linear_regression),
390 (gst_clock_add_observation), (gst_clock_set_property),
391 (gst_clock_get_property):
393 Implement master/slave. When setting a clock as a slave, a
394 periodic timeout is scheduled to sample master and slave times.
395 Then the slave clock is recalibrated to match offset and rate
397 Update logging a bit.
398 Add flag so that a clock can state that is cannot be slaved to
401 * gst/gstelement.c: (gst_element_set_clock):
403 The set clock returns a gboolean for when an element cannot
404 deal with the selected clock in the pipeline.
406 * gst/gstpipeline.c: (gst_pipeline_change_state),
407 (gst_pipeline_set_clock):
409 Handle the case where the selected clock cannot be set on
412 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
413 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
414 (gst_net_client_clock_set_property),
415 (gst_net_client_clock_get_property),
416 (gst_net_client_clock_observe_times):
417 * gst/net/gstnetclientclock.h:
418 Use regression code in GstClock parent, remove duplicated
421 2005-11-22 Michael Smith <msmith@fluendo.com>
423 * gst/gstutils.c: (gst_util_clock_time_scale):
425 * docs/gst/gstreamer-sections.txt:
426 Rename method to have extra underscore.
428 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
430 * gst/elements/Makefile.am:
431 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
432 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
433 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
434 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
435 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
436 * gst/elements/gstfakesrc.h:
437 * gst/gstqueue.c: (queue_leaky_get_type):
438 correctly fix GEnumValues so that nick is the short lowercase
440 * tools/gst-inspect.c: (print_element_properties_info):
441 also show the nick, since it's useful to use from parse_launch
445 2005-11-22 Michael Smith <msmith@fluendo.com>
447 * gst/gstutils.c: (gst_util_clocktime_scale):
449 * docs/gst/gstreamer-sections.txt:
450 Add util method for scaling a clocktime by a fraction. Useful
451 implementation is left as an exercise for the reader.
453 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
455 * gst/gstvalue.c: (gst_value_collect_fraction_range):
456 If needed, allocate storage in the destination value during
459 2005-11-22 Edward Hervey <edward@fluendo.com>
461 * docs/gst/gstreamer-sections.txt:
466 * gst/gstutils.c: (gst_util_set_object_arg):
467 * tools/gst-compprep.c: (main):
468 * tools/gst-inspect.c: (print_element_properties_info):
469 Removed GstURI, closes bug #321061
471 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
473 * check/gst/gststructure.c: (GST_START_TEST):
474 * gst/gststructure.c: (gst_structure_parse_value):
475 Oops, broke automatic string type parsing.
476 Add a test to catch it in future.
478 2005-11-22 Andy Wingo <wingo@pobox.com>
480 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
481 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
482 Actually rename the function implementations. Grr.
484 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
486 * check/gst/capslist.h:
488 * check/gst/gststructure.c: (GST_START_TEST),
489 (gst_structure_suite):
490 Test automatic value type detection in gst_structure_from_string.
491 * gst/gststructure.c: (gst_structure_parse_value):
492 Add fraction as a type we try and guess automatically in
493 caps/structure strings.
495 2005-11-22 Andy Wingo <wingo@pobox.com>
497 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
499 * gst/gsttagsetter.h:
500 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
501 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
502 (gst_tag_setter_add_tag_valist)
503 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
504 _add_values, _add_valist, and _add_valist_values. Since this is an
505 interface the function suffixes should be more explicit so
506 language binding don't end up with element.add_valist ->
507 gst_tag_setter_add_valist, for example. Fixes #322069.
509 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
511 * check/gst/gstcaps.c: (GST_START_TEST):
512 Extend caps string tests to check that a caps to string
513 conversion is reversible and produces the same caps.
515 * gst/gststructure.c: (gst_structure_value_get_generic_type):
516 Output "fraction" as the generic type fraction range, so caps
517 serialisation and deserialisation works.
518 * check/gst/capslist.h:
519 * gst/gstvalue.c: (gst_value_deserialize_fraction):
520 Support 'MIN' and 'MAX' for deserialising fractions.
522 2005-11-22 Andy Wingo <wingo@pobox.com>
524 * gst/gstevent.h (gst_event_new_new_segment)
525 (gst_event_parse_new_segment, gst_event_new_buffer_size)
526 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
527 Renamed from *_newsegment, *_buffersize, *_notarget.
529 * scripts/update-funcnames: New script, performs the changes
532 2005-11-22 Wim Taymans <wim@fluendo.com>
534 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
535 Make sure the GstFlowReturn is returned.
537 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
538 (gst_bus_add_signal_watch):
540 add gst_bus_add_signal_watch_full.
542 * gst/gstplugin.c: (gst_plugin_load_file):
545 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
547 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
548 Block the fakesrc srcpad when we send an event, to avoid
549 contention on the stream_lock causing random test failures.
551 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
553 * check/gst/gstvalue.c: (GST_START_TEST):
554 * gst/gstvalue.c: (gst_value_fraction_subtract):
557 2005-11-22 Stefan Kost <ensonic@users.sf.net>
560 include "gstchildproxy.h"
561 * gst/gstchildproxy.h:
562 * libs/gst/controller/gstcontroller.h:
563 use G_GNUC_NULL_TERMINATED
565 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
567 * check/gst/capslist.h:
568 * check/gst/gstcaps.c: (GST_START_TEST):
569 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
570 * gst/gststructure.c: (gst_structure_parse_range),
571 (gst_structure_fixate_field_nearest_fraction):
572 * gst/gststructure.h:
573 * gst/gstvalue.c: (gst_value_init_fraction_range),
574 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
575 (gst_value_collect_fraction_range),
576 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
577 (gst_value_set_fraction_range_full),
578 (gst_value_get_fraction_range_min),
579 (gst_value_get_fraction_range_max),
580 (gst_value_serialize_fraction_range),
581 (gst_value_transform_fraction_range_string),
582 (gst_value_compare_fraction_range),
583 (gst_value_deserialize_fraction_range),
584 (gst_value_intersect_fraction_fraction_range),
585 (gst_value_intersect_fraction_range_fraction_range),
586 (gst_value_subtract_fraction_fraction_range),
587 (gst_value_subtract_fraction_range_fraction),
588 (gst_value_subtract_fraction_range_fraction_range),
589 (gst_value_collect_fraction), (gst_value_fraction_multiply),
590 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
591 (gst_value_transform_string_fraction), (_gst_value_initialize):
593 Implement fraction ranges and extend GstFraction to support
594 arithmetic subtraction, as well as deserialization from integer
595 strings such as "100"
596 Add a testsuite as for int and double range set operations
598 2005-11-21 Andy Wingo <wingo@pobox.com>
602 * gst/gststructure.h: Add glib-compat.h.
604 2005-11-21 Wim Taymans <wim@fluendo.com>
606 * gst/gstbin.c: (gst_bin_change_state_func):
609 2005-11-21 Wim Taymans <wim@fluendo.com>
612 And add a nice define too.
614 2005-11-21 Wim Taymans <wim@fluendo.com>
616 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
617 (gst_segment_new), (gst_segment_free), (gst_segment_init),
618 (gst_segment_set_duration), (gst_segment_set_last_stop),
619 (gst_segment_set_seek), (gst_segment_set_newsegment),
620 (gst_segment_to_stream_time), (gst_segment_to_running_time),
623 Make binding friendly.
625 2005-11-21 Andy Wingo <wingo@pobox.com>
627 * gst/gsttagsetter.h:
629 * gst/gststructure.h:
631 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
634 * gst/gsterror.c (_gst_core_errors_init):
635 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
638 * gst/Makefile.am (gst_headers): Add glib-compat.h.
639 (noinst_HEADERS): noinst the -private.
641 2005-11-21 Michael Smith <msmith@fluendo.com>
645 Remove unimplemented declarations for which we can see no sensible
648 2005-11-21 Andy Wingo <wingo@pobox.com>
650 * gst/gst.h: Include glib-compat.h.
652 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
654 * gst/glib-compat.c: Include the public and the private header.
656 * gst/glib-compat-private.h: Copied here from glib-compat.h.
660 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
662 * check/gst/gstevent.c (create_custom_events): Check that
663 FLUSH_STOP is serialized.
665 * check/elements/identity.c (event_func):
666 * check/elements/fakesrc.c (event_func): No stream lock, the core
669 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
670 stream lock taking, yay.
672 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
673 ensure that core takes the stream lock.
675 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
678 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
679 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
680 it already. For the flush start we do take it though so we get the
681 right preroll state change messages.
683 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
684 the stream lock here, the core does it for us.
686 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
688 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
689 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
690 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
691 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
692 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
693 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
695 * gst/gstpad.c: Update for stream lock name change.
697 * gst/base/gstbasesink.c: Update for preroll lock name change.
699 2005-11-21 Wim Taymans <wim@fluendo.com>
701 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
702 (gst_clock_get_master):
704 * gst/gstsystemclock.c: (gst_system_clock_init):
705 Convert Clock flags to object flags.
706 Added methods to manage master/slave clocks.
708 2005-11-21 Wim Taymans <wim@fluendo.com>
710 * check/gst/gstsegment.c: (GST_START_TEST):
711 * docs/design/part-TODO.txt:
712 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
713 (gst_base_sink_event), (gst_base_sink_do_sync),
714 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
715 (gst_base_sink_query), (gst_base_sink_change_state):
716 * gst/base/gstbasesink.h:
717 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
718 (gst_base_src_default_newsegment),
719 (gst_base_src_configure_segment), (gst_base_src_do_seek),
720 (gst_base_src_get_range), (gst_base_src_loop),
721 (gst_base_src_change_state):
722 * gst/base/gstbasesrc.h:
723 * gst/base/gstbasetransform.c:
724 (gst_base_transform_prepare_output_buf),
725 (gst_base_transform_event), (gst_base_transform_change_state):
726 * gst/base/gstbasetransform.h:
727 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
728 (gst_collect_pads_event):
729 * gst/base/gstcollectpads.h:
730 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
731 (gst_fake_src_create):
732 * gst/elements/gstfakesrc.h:
733 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
734 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
735 (gst_segment_set_last_stop), (gst_segment_set_seek),
736 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
737 (gst_segment_to_running_time), (gst_segment_clip):
739 More segment updates, replace code in plugins with segment
742 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
744 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
745 Don't ignore sscanf results
747 2005-11-21 Andy Wingo <wingo@pobox.com>
749 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
752 * *.c: Ran scripts/update-macros. Oh yes.
754 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
755 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
758 * scripts/update-macros: New script. Run it on your files to
759 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
762 2005-11-21 Stefan Kost <ensonic@users.sf.net>
764 * docs/gst/Makefile.am:
765 * docs/gst/gstreamer-docs.sgml:
766 * docs/gst/gstreamer-sections.txt:
767 * docs/gst/gstreamer.types:
769 more docs fixes, add new api to the docs
771 2005-11-21 Andy Wingo <wingo@pobox.com>
773 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
774 state_broadcast call.
776 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
778 2005-11-21 Julien MOUTTE <julien@moutte.net>
780 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
781 function calls for arrays.
783 2005-11-21 Stefan Kost <ensonic@users.sf.net>
785 * docs/random/ensonic/media-device-daemon.txt:
786 wild idea, can this be done?
787 * docs/gst/gstreamer-sections.txt:
792 * gst/gstpluginfeature.c:
796 doc fixes and additions
798 2005-11-21 Andy Wingo <wingo@pobox.com>
800 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
801 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
802 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
803 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
804 private to the basesrc implementation.
806 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
807 behalf of event function if necessary. It should no longer be
808 necessary to take the stream lock in pad's event functions. Fixes
811 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
812 * docs/gst/gstreamer-sections.txt:
813 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
814 (gst_structure_fixate_field_nearest_double),
815 (gst_structure_fixate_field_boolean):
816 * gst/gststructure.h:
817 * win32/common/libgstreamer.def:
818 * win32/gstreamer.def:
820 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
823 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
825 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
826 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
827 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
828 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
829 (gst_fdsrc_uri_handler_init):
830 * gst/elements/gstfdsrc.h:
831 Port fd:// URI handler from 0.8 to fdsrc
833 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
835 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
836 (gst_value_serialize_fourcc):
838 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
839 consistent with our other format defines (#320324).
841 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
843 * gst/gstvalue.c: (gst_value_is_fixed):
844 Revert previous commit. Value lists are by definition
845 not fixed, as they are a list of possible values.
847 2005-11-21 Andy Wingo <wingo@pobox.com>
849 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
850 during the stable series if we need it. Fixes #319178.
852 * gst/gstevent.c (gst_event_new_filler): Removed.
854 * check/gst/gstevent.c: Update comment about filler events.
856 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
858 * gst/gstvalue.c: (gst_value_is_fixed):
859 Should handle both value arrays and value lists.
861 2005-11-21 Andy Wingo <wingo@pobox.com>
863 patch by: Alessandro Dessina <alessandro nnva org>
865 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
866 functions to access arrays. Fixes #321962.
868 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
870 * docs/gst/gstreamer.types:
871 gst_collectpads_get_type => gst_collect_pads_get_type.
873 * gst/base/gstbasetransform.c:
874 Remove unused SIGNAL_HANDOFF enum.
876 2005-11-21 Andy Wingo <wingo@pobox.com>
878 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
879 the event type (upstream, downstream, serialized). Renamed
880 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
881 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
882 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
884 * gst/gstevent.c: Update for new CUSTOM event names.
886 * check/gst/gstevent.c: Update check for new CUSTOM event names.
889 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
892 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
894 * docs/gst/gstreamer-sections.txt:
895 * win32/common/libgstbase.def:
896 * win32/libgstbase.def:
897 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
898 (gst_collect_pads_class_init), (gst_collect_pads_init),
899 (gst_collect_pads_finalize), (gst_collect_pads_new),
900 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
901 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
902 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
903 (gst_collect_pads_start), (gst_collect_pads_stop),
904 (gst_collect_pads_peek), (gst_collect_pads_pop),
905 (gst_collect_pads_available), (gst_collect_pads_read),
906 (gst_collect_pads_flush), (gst_collect_pads_event),
907 (gst_collect_pads_chain):
908 * gst/base/gstcollectpads.h:
909 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
910 unimplemented functions as unimplemented. Add padding to
911 GstCollectData. (#320766, #320423)
913 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
916 Improve docs for DURATION message (usage of duration parameter)
919 2005-11-20 Wim Taymans <wim@fluendo.com>
922 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
926 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
927 (gst_segment_set_seek), (gst_segment_set_newsegment),
928 (gst_segment_to_stream_time), (gst_segment_to_running_time),
931 Added segment helper structure and methods. Not fully implemented
935 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
937 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
938 Add a deserialisation test for fractions
939 * examples/metadata/read-metadata.c: (message_loop),
940 (make_pipeline), (main):
941 Fix up metadata reading sample.
942 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
944 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
945 Don't try and fixate empty caps
947 Wrap in G_BEGIN_DECLS/G_END_DECLS
948 * gst/gstvalue.c: (gst_value_collect_fraction),
949 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
950 (gst_value_transform_string_fraction),
951 (gst_value_compare_fraction):
952 Add some extra guards to ensure that we don't end up
953 with an invalid denominator of 0 in a gstfraction and
954 that fractions always get reduced.
956 2005-11-20 Wim Taymans <wim@fluendo.com>
958 * docs/gst/gstreamer-sections.txt:
969 2005-11-20 Wim Taymans <wim@fluendo.com>
971 * docs/design/part-TODO.txt:
973 Make a proper enum of the flag.
975 2005-11-19 Wim Taymans <wim@fluendo.com>
977 * docs/design/part-TODO.txt:
978 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
979 (gst_format_to_quark), (gst_format_register):
981 * gst/gstquery.c: (_gst_query_initialize),
982 (gst_query_type_get_name), (gst_query_type_to_quark),
983 (gst_query_type_register):
985 Add type to quark and type to string conversions.
987 2005-11-19 Andy Wingo <wingo@pobox.com>
989 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
992 2005-11-19 Wim Taymans <wim@fluendo.com>
994 * docs/design/part-TODO.txt:
995 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
996 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
997 (gst_bin_handle_message_func):
999 Make message handling overridable.
1001 2005-11-19 Andy Wingo <wingo@pobox.com>
1003 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1006 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1008 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1009 is a GstClockTime. Fixes #321710.
1011 * gst/gstclock.h (GstClock): Remove offset property. Add
1012 internal_calibration and external_calibration. Fix padding. Pad
1013 also by GstClockTime so we don't run into problems.
1015 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1016 (gst_clock_get_rate_offset): Remove.
1017 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1020 * gst/gstutils.c (g_static_rec_cond_wait)
1021 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1023 * gst/gstbin.c: Remove terrible continue_state prototype.
1025 * gst/gstelement.h (gst_element_continue_state): Make public.
1028 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1029 by continue_state. Fixes #319389.
1031 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1032 Really fixes #168438. However I don't see anywhere where the
1033 filter function is called... stupid GStreamer...
1035 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1036 don't have a dispose function, so it won't get called when the
1037 object is unreffed, but oh well!
1039 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1040 allows a destroy function to be set so user_data can be freed.
1042 (gst_index_set_filter): Call gst_index_set_filter_full.
1044 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1046 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1047 string should produce an error, given the lack of a way to
1048 represent NULL strings. Fixes #165650.
1051 * gst/gstvalue.c (gst_value_array_append_value)
1052 (gst_value_array_prepend_value, gst_value_array_get_size)
1053 (gst_value_array_get_value): New API, copied from
1054 gst_value_list_*, only operates on arrays.
1055 (gst_value_list_append_value, gst_value_list_prepend_value)
1056 (gst_value_list_concat, gst_value_list_get_size)
1057 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1059 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1060 init_list, because it works on both.
1061 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1062 (gst_value_copy_list_or_array): Renamed from copy_list.
1063 (gst_value_free_list_or_array): Renamed from free_list.
1064 (gst_value_collect_list_or_array): Renamed from collect_list.
1065 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1066 (gst_value_list_or_array_peek_pointer): Renamed from
1068 (_gst_value_array_value_table, _gst_value_list_value_table):
1069 Update value table functions.
1070 (gst_value_compare_list_or_array): Renamed from compare_list.
1072 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1076 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1077 GstTagList*. Fixes #143472.
1079 * gst/gststructure.h: Clarify what the foreach/map functions can
1080 or can't do to their arguments.
1082 2005-11-18 Wim Taymans <wim@fluendo.com>
1084 * gst/gstclock.c: (gst_clock_set_calibration),
1085 (gst_clock_get_calibration):
1087 Calibration can be set with internal time equal to current
1090 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1096 2005-11-18 Andy Wingo <wingo@pobox.com>
1099 * pkgconfig/gstreamer-net.pc.in:
1100 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1101 * pkgconfig/Makefile.am: Add net pkgconfig files.
1103 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1106 * gst/gstghostpad.c:
1112 2005-11-18 Andy Wingo <wingo@pobox.com>
1114 * gst/net/gstnetclientclock.c: Turn off debugging.
1116 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1117 times connverge somewhat. Can't make a real test.
1119 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1120 integer arithmetic. Return the minimum of the domain, which can be
1121 set as "internal" for gst_clock_set_calibration.
1122 (gst_net_client_clock_observe_times): Call _set_calibration.
1123 (gst_net_client_clock_new): Call _set_calibration instead of
1126 * check/net/gstnetclientclock.c (test_functioning): Use the right
1130 * gst/gstclock.c (gst_clock_get_calibration)
1131 (gst_clock_set_calibration): New functions, obsolete the ones I
1132 added yesterday. Doh. Precision issues mean we have to extrapolate
1133 from a point in the more recent past than 1970.
1134 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1136 (gst_clock_adjust_unlocked): Use the right calibration data.
1138 2005-11-18 Edward Hervey <edward@fluendo.com>
1140 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1141 Also reset the ->current_* values in READY->PAUSED
1143 2005-11-18 Andy Wingo <wingo@pobox.com>
1145 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1146 Whoops, check the right fd. Also add some debugging.
1147 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1148 (do_linear_regression): Add a crapload of debugging. Subtract off
1149 the minimum values from the input series to discard unneeded bits.
1150 Use only int arithmetic. There is still double arithmetic when
1151 calculating the intercept that needs fixing. Return boolean to
1152 indicate success; FALSE would mean the domain or range is too
1153 great. Still needs fixes.
1155 2005-11-18 Wim Taymans <wim@fluendo.com>
1157 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1158 For the current position in stream time, we need to subtract
1161 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1162 Release lock before calling the callback function of async
1165 2005-11-18 Andy Wingo <wingo@pobox.com>
1167 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1168 Port goes all the way to MAXUINT16.
1170 * gst/net/gstnettimeprovider.c: Make the port range the same as
1171 for the kernel: 0 assigns, otherwise ports are less than
1174 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1177 * check/net/gstnetclientclock.c (test_functioning): Add the start
1180 2005-11-18 Wim Taymans <wim@fluendo.com>
1182 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1183 (gst_bin_remove_func), (bin_bus_handler):
1185 Removing a clock provider from a bin, triggers a clock lost message
1186 so that a new clock will be selected.
1187 Adding a clock to a bin triggers a clock provider message.
1188 Make sure we reselect a clock when we received a clock lost message.
1189 Keep a reference to the element that provided the clock.
1191 2005-11-18 Andy Wingo <wingo@pobox.com>
1193 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1194 the clock initially so it produces values around the base time.
1195 (gst_net_client_clock_class_init): Typo fix.
1196 (gst_net_client_clock_thread): Add note on when the socket gets
1199 2005-11-17 Wim Taymans <wim@fluendo.com>
1201 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1202 Free remote and local time arrays.
1204 2005-11-17 Wim Taymans <wim@fluendo.com>
1206 * gst/net/gstnetclientclock.c: (do_linear_regression),
1207 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1208 Fix compilation, uninitialized vars and a forgotten continue.
1210 2005-11-17 Andy Wingo <wingo@pobox.com>
1212 * check/Makefile.am (check_PROGRAMS):
1213 * check/net/gstnetclientclock.c: Add a most minimal test for the
1214 net client clock. More to come later.
1217 * gst/net/Makefile.am: Add netclientclock.
1219 * gst/net/gstnetclientclock.h:
1220 * gst/net/gstnetclientclock.c: New files, implement an untested
1221 GstClock that takes its time from a network time provider.
1222 Implements the algorithm in network-clock.scm.
1224 * tests/network-clock.scm (*window-size*): Rename from
1226 * tests/network-clock.scm (network-time):
1227 * tests/network-clock-utils.scm (q-push): Update callers.
1229 2005-11-17 Wim Taymans <wim@fluendo.com>
1231 * gst/gstbin.c: (gst_bin_provide_clock_func),
1232 (gst_bin_sort_iterator_new):
1233 And unref the child too..
1235 2005-11-17 Wim Taymans <wim@fluendo.com>
1237 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1238 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1239 Refactor the sort iterator so it can be used while holding the
1241 Make clock selection select a clock closest to the source.
1243 2005-11-17 Michael Smith <msmith@fluendo.com>
1245 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1246 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1248 Anonymous structs are a gcc (and some other compilers) extension, so
1249 don't use them. Since this is only for ABI-compatibility, and our
1250 API/ABI freeze is over in a few days, this whole thing will only
1251 last a few days, so don't bother trying to think up a meaningful
1252 name for the struct.
1254 2005-11-17 Andy Wingo <wingo@pobox.com>
1256 * gst/gstclock.h (GstClock): Add rate and offset properties,
1257 preserving ABI stability. Add rate/offset accessors. Will file bug
1258 for the freeze break.
1260 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1261 and offset, trying to keep precision and avoiding
1263 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1264 functions. Make gst_clock_set_time_adjust obsolete.
1265 (gst_clock_set_time_adjust): Note that this function is obsolete.
1268 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1269 greppable by using GST_PADDING-1+1.
1271 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1273 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1275 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1276 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1278 * gst/gstpadtemplate.h:
1279 * gst/gstpluginfeature.h:
1280 Don't use c++ style comments in headers (#321638).
1282 2005-11-16 Andy Wingo <wingo@pobox.com>
1284 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1287 * check/net/gstnettimeprovider.c: Check to see that the time
1288 provider actually provides times. Works, yo!
1290 2005-11-16 Wim Taymans <wim@fluendo.com>
1292 * check/Makefile.am:
1295 * check/elements/fakesrc.c: (GST_START_TEST):
1296 Set element to NULL before disposing it.
1298 2005-11-16 Andy Wingo <wingo@pobox.com>
1300 * gst/net/Makefile.am:
1302 * gst/net/gstnettimeprovider.c:
1303 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1304 provider, include it from gstnet.h, and add it to the build.
1306 * gst/net/gstnettimepacket.h:
1307 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1308 sending and receiving.
1310 2005-11-16 Wim Taymans <wim@fluendo.com>
1312 * check/Makefile.am:
1313 Enable valgrind check.
1315 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1316 (gst_fake_src_alloc_buffer):
1319 2005-11-16 Wim Taymans <wim@fluendo.com>
1321 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1322 Call parent finalize too.
1324 2005-11-16 Wim Taymans <wim@fluendo.com>
1326 * check/Makefile.am:
1327 Enable valgrind check that should work fine now.
1329 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1330 * gst/gstqueue.c: (gst_queue_init):
1331 Fix memleaks in pad allocation.
1333 2005-11-16 Andy Wingo <wingo@pobox.com>
1335 * gst/net/Makefile.am:
1336 * gst/net/gstnet.h: New part of core to hold network elements and
1337 objects. Put in core because it exposes API that applications want
1338 to use. The library is named libgstnet-tempname right now because
1339 of the existing libgstnet in gst-plugins-base. Solution is
1340 probably to rename the one in plugins-base; will file a bug for
1343 * gst/net/gstnettimeprovider.c:
1344 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1345 get_time call over the network.
1348 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1350 * check/Makefile.am:
1351 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1352 get additions shortly.
1354 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1356 * gst/gstpad.c: (gst_pad_new_from_static_template):
1358 add gst_pad_new_from_static_template functions
1359 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1360 (gst_check_setup_sink_pad):
1361 * gst/elements/gsttee.c: (gst_tee_init):
1364 2005-11-16 Wim Taymans <wim@fluendo.com>
1366 * gst/gstpad.c: (gst_pad_pause_task):
1367 Removed warning, it's not really an error either.
1369 2005-11-16 Wim Taymans <wim@fluendo.com>
1371 * gst/base/gstbasetransform.c:
1372 (gst_base_transform_prepare_output_buf),
1373 (gst_base_transform_event):
1374 Check if the caps are NULL, this can happen if the element
1375 is shutting down and the pad caps are set to NULL.
1377 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1379 * gst/elements/gsttee.c: (gst_tee_init):
1380 fix pad template leak in tee
1382 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1384 * gst/glib-compat.c: (g_value_dup_gst_object):
1385 * gst/glib-compat.h:
1386 * gst/gstpad.c: (gst_pad_set_property):
1387 use gst_object_ref when setting the pad template; this will
1388 trigger the pad template leaks on GLib 2.6 and the slaves
1390 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1392 * gst/glib-compat.c: (gst_flags_get_first_value):
1393 * gst/glib-compat.h:
1394 * gst/gstregistryxml.c:
1395 remove functions copied from GLib 2.6
1397 2005-11-16 Michael Smith <msmith@fluendo.com>
1400 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1401 do, but only breaks with newer valgrind versions. We're not a
1402 valgrind tool, we have no link-time dependencies on libcoregrind.
1404 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1406 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1411 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1413 * gst/base/gstbasesrc.c: (gst_base_src_init):
1414 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1415 * gst/gstqueue.c: (gst_queue_init):
1416 * gst/gstregistryxml.c: (load_feature):
1417 Revert all these unrefs, they don't even pass make check !
1419 2005-11-15 Johan Dahlin <johan@gnome.org>
1421 * gst/base/gstbasesrc.c: (gst_base_src_init):
1422 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1423 * gst/gstqueue.c: (gst_queue_init):
1424 Free pad templates, fixes a couple of leaks.
1426 2005-11-15 Daniel Fischer <dan at f3c dot com>
1428 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1430 * gst/gstpad.c: (gst_pad_get_property):
1431 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1432 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1435 2005-11-15 Wim Taymans <wim@fluendo.com>
1440 2005-11-15 Andy Wingo <wingo@pobox.com>
1442 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1444 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1445 using GST_CLOCK_TIME_NONE to disable base time management.
1446 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1447 time if it was NONE before.
1448 (gst_pipeline_change_state): Only munge the base time if
1449 stream_time != GST_CLOCK_TIME_NONE.
1451 * check/gst/gstpipeline.c (test_base_time): Punt around the
1452 problem of the probe not being called, because that's not the
1453 issue I'm looking at. Add a check that setting stream_time to NONE
1454 disables base time management.
1456 2005-11-15 Wim Taymans <wim@fluendo.com>
1458 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1459 segment_stop == -1 at startup.
1461 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1462 (gst_base_transform_change_state):
1463 Init segment values at start.
1465 2005-11-15 Wim Taymans <wim@fluendo.com>
1467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1468 0 segment values are 0 in any format.
1470 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1471 * gst/base/gstbasetransform.h:
1472 Parse newsegment correctly in basetransform
1474 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1475 Sync to clock using updated segment values.
1477 2005-11-15 Andy Wingo <wingo@pobox.com>
1479 * check/gst/gstpipeline.c (test_base_time): Add check that the
1480 base time and stream time are reset correctly.
1482 2005-11-15 Wim Taymans <wim@fluendo.com>
1484 * docs/design/part-TODO.txt:
1485 Some more TODO items.
1487 2005-11-15 Andy Wingo <wingo@pobox.com>
1489 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1490 error if the user selected "no clock" as the clocking method.
1492 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1493 timestamps with live capture.
1495 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1496 is 0 but we are a live source, timestamp the buffers using the
1499 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1501 * docs/gst/gstreamer-sections.txt:
1503 * gst/gstghostpad.c:
1508 2005-11-14 Wim Taymans <wim@fluendo.com>
1511 add suppressions from Wim's Debian machine
1513 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1516 add suppressions from Andy's AMD64 Ubuntu machine
1518 2005-11-14 Andy Wingo <wingo@pobox.com>
1520 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1521 STATE_LOCK not necessary. Fixes #311489.
1523 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1526 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1527 this function is not implemented.
1529 2005-11-14 Julien MOUTTE <julien@moutte.net>
1531 * gst/base/gstbasetransform.c:
1532 (gst_base_transform_prepare_output_buf):
1533 Ref the source pad caps while we need them.
1536 2005-11-11 Wim Taymans <wim@fluendo.com>
1538 * docs/gst/gstreamer-sections.txt:
1539 Added some docs for GstCollectData.
1541 * gst/base/gstadapter.c:
1542 Some small code example fix.
1544 * gst/base/gstcollectpads.c:
1545 * gst/base/gstcollectpads.h:
1548 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1550 * configure.ac: back to HEAD
1552 === release 0.9.5 ===
1554 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1557 releasing 0.9.5, "Bike Lunch Day"
1559 2005-11-11 Wim Taymans <wim@fluendo.com>
1561 * gst/gstbuffer.c: (_gst_buffer_copy):
1564 * gst/gstcaps.c: (gst_caps_is_equal):
1566 Make _is_equal fast in the trivial cases.
1568 * gst/gstminiobject.c:
1569 * gst/gstminiobject.h:
1570 More docs. Spifify .h file.
1575 2005-11-11 Wim Taymans <wim@fluendo.com>
1577 * gst/base/gstbasetransform.c:
1578 (gst_base_transform_prepare_output_buf),
1579 (gst_base_transform_handle_buffer):
1581 If we're processing a buffer and need to allocate an output
1582 buffer, we cannot accept a format change. If we did get a
1583 format change, we have to alloc a buffer ourselves of the
1586 2005-11-11 Wim Taymans <wim@fluendo.com>
1588 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1589 While checking the flag for reentrancy in the gstcaps function
1590 is nice to detect recursive invocations, it also makes it
1591 impossible to call getcaps from multiple threads, which must be
1592 possible. So, checking for recursive calls has to go.
1594 2005-11-11 Michael Smith <msmith@fluendo.com>
1596 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1597 Don't sync on buffers that fall partially outside our current
1598 segment. Prevents an assertion failure/abort playing some files.
1600 2005-11-10 Andy Wingo <wingo@pobox.com>
1602 * check/gst/gstbin.c (test_message_state_changed_children): Style
1605 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1606 gst_bus_poll with the signal watch. Ensures that poll and a signal
1607 watch see the same messages.
1609 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1610 a poll and a watch at the same time get the same messages.
1612 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1614 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1615 * gst/gstcaps.c: (gst_caps_intersect):
1616 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1617 and it's not needed.
1619 2005-11-10 Wim Taymans <wim@fluendo.com>
1621 * docs/design/part-TODO.txt:
1624 2005-11-10 Wim Taymans <wim@fluendo.com>
1626 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1627 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1628 (gst_base_src_do_sync), (gst_base_src_get_range):
1629 Implement clock sync in base class.
1631 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1633 patch by: Tim-Philipp Müller <tim at centricular dot net>
1635 * gst/gststructure.c: (gst_structure_parse_field),
1636 (gst_structure_from_string):
1637 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1638 so that gst_parse_launch() can deal with spaces in filtered link
1639 caps (fixes #164479)
1640 * check/gst/capslist.h:
1641 * check/gst/gststructure.c: (GST_START_TEST):
1642 add unit tests for this change
1644 2005-11-10 Wim Taymans <wim@fluendo.com>
1646 * docs/gst/gstreamer-sections.txt:
1649 Fix docs, move some STATE macros to private.
1651 2005-11-10 Wim Taymans <wim@fluendo.com>
1653 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1654 Added check for bug #317341
1658 Some more spiffifying.
1660 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1661 Call peer linkfunction if we are a source pad. Totally fixes
1665 Update docs, source pads should call the peer linkfunction
1666 so they can atomically perform the pad link.
1668 2005-11-09 Wim Taymans <wim@fluendo.com>
1672 Uber-spiffy-spiffify some more.
1674 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1676 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1677 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1678 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1679 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1680 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1681 * gst/gstpad.c: (gst_pad_init):
1682 Use GST_DEBUG_FUNCPTR() more extensively.
1684 2005-11-09 Wim Taymans <wim@fluendo.com>
1686 * gst/gstobject.c: (gst_object_class_init):
1688 Documentation fixes.
1690 2005-11-09 Edward Hervey <edward@fluendo.com>
1692 * gst/gsttypefindfactory.c:
1695 2005-11-09 Edward Hervey <edward@fluendo.com>
1697 * gst/base/gsttypefindhelper.c:
1698 * gst/gsttypefind.c:
1699 * gst/gsttypefind.h:
1702 2005-11-09 Wim Taymans <wim@fluendo.com>
1704 * gst/gstiterator.c:
1711 2005-11-09 Wim Taymans <wim@fluendo.com>
1717 2005-11-09 Wim Taymans <wim@fluendo.com>
1719 * docs/gst/gstreamer-sections.txt:
1720 Moved the message async delivery private lock and cond
1721 to the private section.
1727 2005-11-09 Edward Hervey <edward@fluendo.com>
1729 * docs/gst/gstreamer-sections.txt:
1732 Document GstURIHandler
1734 2005-11-09 Wim Taymans <wim@fluendo.com>
1736 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1737 (gst_iterator_find_custom):
1738 * gst/gstiterator.h:
1741 2005-11-09 Wim Taymans <wim@fluendo.com>
1744 Document another field.
1746 * gst/gststructure.c:
1747 * gst/gststructure.h:
1750 2005-11-09 Wim Taymans <wim@fluendo.com>
1755 2005-11-09 Wim Taymans <wim@fluendo.com>
1757 * docs/gst/gstreamer-sections.txt:
1758 Added some new macros.
1765 2005-11-09 Wim Taymans <wim@fluendo.com>
1767 * docs/design/part-TODO.txt:
1768 Some more items for the TODO
1774 2005-11-09 Andy Wingo <wingo@pobox.com>
1776 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1777 to work on something else now tho...
1779 * gst/base/gstadapter.c: More adapter docs.
1781 * gst/elements/gstfilesink.c (gst_file_sink_start)
1782 (gst_file_sink_stop): New functions, replace the state change
1784 (gst_file_sink_class_init): Hook up the start and stop functions.
1785 (gst_file_sink_base_init): Don't set the state change handler any
1786 more. It was a bit ugly too, being set from here...
1787 (gst_file_sink_get_property, gst_file_sink_set_property):
1789 (gst_file_sink_set_location): More robust check that doesn't call
1792 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1794 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1795 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1797 2005-11-08 Wim Taymans <wim@fluendo.com>
1799 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1800 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1801 (gst_base_sink_chain), (gst_base_sink_change_state):
1802 * gst/base/gstbasesink.h:
1803 * gst/base/gstbasesrc.h:
1806 Avoid excessive typechecking in macros.
1808 * gst/gstminiobject.c: (gst_mini_object_get_type),
1809 (gst_mini_object_init), (gst_mini_object_new),
1810 (gst_mini_object_free):
1811 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1812 (gst_object_finalize):
1813 Remove cruft code, optimize alloc_trace.
1815 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1817 * docs/faq/gst-uninstalled:
1818 fix up PS1 for systems that try to reset it
1820 2005-11-07 Wim Taymans <wim@fluendo.com>
1822 * gst/base/gstbasesrc.c: (gst_base_src_init),
1823 (gst_base_src_get_range):
1824 Set the segment_end to -1 initially. Fixed typefind.
1826 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1828 * gst/base/gstadapter.c:
1829 Debug category should be 'adapter', not 'GstAdapter'.
1831 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1832 (gst_collectpads_class_init), (gst_collectpads_init),
1833 (gst_collectpads_peek), (gst_collectpads_pop),
1834 (gst_collectpads_event), (gst_collectpads_chain):
1835 Add debug category and some debugging output. Use boilerplate
1836 macros. Remove some extraneous words from docs.
1838 2005-11-05 Andy Wingo <wingo@pobox.com>
1840 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1843 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1845 * docs/gst/gstreamer-sections.txt:
1848 * gst/gstminiobject.h:
1853 2005-11-04 Wim Taymans <wim@fluendo.com>
1855 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1856 Small update to stop at the configured segment_end
1859 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1861 * gst/gstregistry.c:
1862 * gst/gstregistry.h:
1865 2005-11-04 Edward Hervey <edward@fluendo.com>
1867 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1868 Check if we are doing a segment seek and have arrived at the
1869 end of that segment.
1871 2005-11-04 Wim Taymans <wim@fluendo.com>
1873 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1874 Don't leak a mutex unlock in case of an error.
1879 2005-11-04 Wim Taymans <wim@fluendo.com>
1881 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1883 Get the context to wake up only once.
1885 2005-11-03 Wim Taymans <wim@fluendo.com>
1887 * check/states/sinks.c: (GST_START_TEST):
1888 Uncomment fixed check.
1890 * docs/design/part-TODO.txt:
1893 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1894 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1895 (gst_base_sink_get_position):
1896 If we are going to PLAYING, post the right pending state
1897 when we post the intermediate paused message.
1899 * gst/gstelement.c: (gst_element_continue_state),
1900 (gst_element_set_state_func), (gst_element_change_state):
1901 Don't post state changes that were between the same state
1904 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1906 * docs/gst/gstreamer-sections.txt:
1909 * gst/gstminiobject.h:
1912 more docs and doc style fixes
1914 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1916 * docs/gst/gstreamer-sections.txt:
1918 * gst/gstminiobject.c:
1921 2005-11-03 Andy Wingo <wingo@pobox.com>
1923 * check/states/sinks.c (test_livesrc_sink): Add checks that the
1924 state-changed messages actually have the right order and the right
1927 2005-11-03 Wim Taymans <wim@fluendo.com>
1929 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1930 Added some more checks. Specifically the case where NO_PREROLL
1931 elements are in the pipeline.
1933 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1934 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1935 (gst_base_sink_get_position):
1936 Post READY->PAUSED state change messages too.
1937 Fix bug where VOID was posted as pending state...
1939 * gst/gstbin.c: (gst_bin_recalc_state):
1940 use _element_continue_state() to continue the state change.
1942 * gst/gstelement.c: (gst_element_continue_state),
1943 (gst_element_commit_state), (gst_element_set_state_func),
1944 (gst_element_change_state), (gst_element_change_state_func):
1945 Lots of state change cleanups, assign the STATE_RETURN in
1946 a new continue_state() function that also propagates the
1947 last return value from a state change to the app.
1948 Update some debug statements with proper category.
1950 2005-11-03 Wim Taymans <wim@fluendo.com>
1952 * docs/design/part-events.txt:
1953 * docs/design/part-gstpipeline.txt:
1954 * docs/design/part-messages.txt:
1955 * docs/design/part-overview.txt:
1956 * docs/design/part-seeking.txt:
1957 * docs/design/part-states.txt:
1958 * docs/design/part-trickmodes.txt:
1959 * docs/manual/advanced-position.xml:
1963 People think !! is ugly, this looks better.
1965 * gst/gstpad.c: (gst_pad_set_blocked_async):
1966 Remove !! since it's fixed elsewhere now.
1968 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1970 * gst/gstminiobject.h:
1972 Add !! to _FLAG_IS_SET macros to make the result boolean.
1974 2005-11-03 Edward Hervey <edward@fluendo.com>
1976 * gst/gstpad.c: (gst_pad_set_blocked_async):
1977 comparing a flag and a gboolean rarely returns coherent results...
1978 Added two characters (!!) to make that work correctly.
1980 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1982 * gst/gstbus.c: (gst_bus_class_init):
1985 * gst/gstqueue.c: (gst_queue_loop):
1986 Don't assume a miniobject that isn't a buffer is an
1987 event (it could be that there is a refcounting
1988 problem somewhere and the pointer is stale and
1989 refers to an already destroyed miniobject).
1991 2005-11-03 Julien MOUTTE <julien@moutte.net>
1993 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1995 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1997 * docs/manual/advanced-position.xml:
1998 Update seek example and explanations to current 0.9 API.
2000 * gst/elements/gsttypefindelement.c:
2001 (gst_type_find_element_activate):
2002 Remove FIXME comment now that the found caps
2005 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2007 * gst/gstregistryxml.c: (load_feature):
2008 Add another GST_STR_NULL instance
2010 2005-11-02 Edward Hervey <edward@fluendo.com>
2012 * gst/gstpad.c: (handle_pad_block):
2013 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2015 2005-11-02 Wim Taymans <wim@fluendo.com>
2020 * gst/gstelement.c: (gst_element_commit_state):
2021 Remove unused value.
2023 * gst/gstiterator.c:
2024 Mention that the returned element is reffed in the docs.
2026 2005-11-02 Wim Taymans <wim@fluendo.com>
2028 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2029 (gst_pad_push), (gst_pad_push_event):
2030 Unlock blocked pads when they are flushed.
2032 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2035 * docs/gst/gstreamer-sections.txt:
2038 * gst/gstregistry.c: (gst_registry_scan_path_level):
2039 fix for a nasty little missed situation where an installed plug-in
2040 which was in the cache did not get overridden by an uninstalled one
2041 which was earlier in the plugin path because the newly created plugin
2042 for the uninstalled one (not in the registry) didn't get its
2043 ->registered set to TRUE
2045 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2047 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2048 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2049 (gst_collectpads_is_active), (gst_collectpads_collect),
2050 (gst_collectpads_collect_range), (gst_collectpads_start),
2051 (gst_collectpads_stop), (gst_collectpads_peek),
2052 (gst_collectpads_pop), (gst_collectpads_available),
2053 (gst_collectpads_read), (gst_collectpads_flush):
2054 Guard public API with assertions.
2057 Fix docs for gst_pad_set_link_function().
2059 2005-11-02 Johan Dahlin <johan@gnome.org>
2061 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2062 Unref found_caps after we used it.
2064 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2066 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2067 Don't try to ref NULL.
2069 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2071 * win32/common/config.h.in:
2072 provide a GST_FUNCTION that just gives a string for now
2074 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2076 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2077 (gst_object_flags_get_type), (register_gst_bin_flags),
2078 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2079 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2080 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2081 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2082 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2083 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2084 (gst_clock_flags_get_type), (register_gst_state),
2085 (gst_state_get_type), (register_gst_state_change_return),
2086 (gst_state_change_return_get_type), (register_gst_state_change),
2087 (gst_state_change_get_type), (register_gst_element_flags),
2088 (gst_element_flags_get_type), (register_gst_core_error),
2089 (gst_core_error_get_type), (register_gst_library_error),
2090 (gst_library_error_get_type), (register_gst_resource_error),
2091 (gst_resource_error_get_type), (register_gst_stream_error),
2092 (gst_stream_error_get_type), (register_gst_event_type),
2093 (gst_event_type_get_type), (register_gst_seek_type),
2094 (gst_seek_type_get_type), (register_gst_seek_flags),
2095 (gst_seek_flags_get_type), (register_gst_format),
2096 (gst_format_get_type), (register_gst_index_certainty),
2097 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2098 (gst_index_entry_type_get_type),
2099 (register_gst_index_lookup_method),
2100 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2101 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2102 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2103 (gst_index_flags_get_type), (register_gst_debug_level),
2104 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2105 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2106 (gst_iterator_result_get_type), (register_gst_iterator_item),
2107 (gst_iterator_item_get_type), (register_gst_message_type),
2108 (gst_message_type_get_type), (register_gst_mini_object_flags),
2109 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2110 (gst_pad_link_return_get_type), (register_gst_flow_return),
2111 (gst_flow_return_get_type), (register_gst_activate_mode),
2112 (gst_activate_mode_get_type), (register_gst_pad_direction),
2113 (gst_pad_direction_get_type), (register_gst_pad_flags),
2114 (gst_pad_flags_get_type), (register_gst_pad_presence),
2115 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2116 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2117 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2118 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2119 (gst_plugin_flags_get_type), (register_gst_rank),
2120 (gst_rank_get_type), (register_gst_query_type),
2121 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2122 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2123 (gst_tag_flag_get_type), (register_gst_task_state),
2124 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2125 (gst_alloc_trace_flags_get_type),
2126 (register_gst_type_find_probability),
2127 (gst_type_find_probability_get_type), (register_gst_uri_type),
2128 (gst_uri_type_get_type), (register_gst_parse_error),
2129 (gst_parse_error_get_type):
2130 * win32/common/gstversion.h:
2133 2005-11-01 Luca Ognibene <luogni@tin.it>
2136 fix docs. popt is dead, long live GOption.
2138 2005-10-31 Wim Taymans <wim@fluendo.com>
2143 2005-10-31 Andy Wingo <wingo@pobox.com>
2147 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2149 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2150 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2151 the possibility of deadlocks here if code calling notify() or
2152 set() has a lock that can be taken in another notify handler (ABBA
2153 with class lock and e.g. python GIL state lock).
2155 2005-10-28 Julien MOUTTE <julien@moutte.net>
2157 * gst/gstbus.c: Doc updates.
2159 2005-10-28 Wim Taymans <wim@fluendo.com>
2161 * docs/design/part-TODO.txt:
2162 * gst/gstiterator.c:
2163 * gst/gstsystemclock.c:
2164 * gst/gstsystemclock.h:
2167 2005-10-28 Edward Hervey <edward@fluendo.com>
2169 * docs/gst/gstreamer-docs.sgml:
2170 * docs/gst/gstreamer-sections.txt:
2171 the GstURIType documentation page is private, it only defines GstURIType
2172 which should be defined in the GstURIHandler page
2174 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2176 * gst/gstbin.c: (gst_bin_class_init):
2179 Documentation updates.
2181 2005-10-28 Wim Taymans <wim@fluendo.com>
2183 * docs/gst/gstreamer-sections.txt:
2186 Documented the clocks.
2188 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2190 * docs/gst/gstreamer-sections.txt:
2191 move some macros to private sections
2192 * gst/gstminiobject.c:
2193 * gst/gstminiobject.h:
2194 add descriptions provided by ds and some more
2196 mark macro as to be removed
2198 2005-10-28 Wim Taymans <wim@fluendo.com>
2200 * docs/design/part-TODO.txt:
2201 Add an item to TODO.
2203 * gst/gstiterator.c: (gst_iterator_fold),
2204 (gst_iterator_find_custom):
2205 * gst/gstiterator.h:
2208 2005-10-28 Wim Taymans <wim@fluendo.com>
2210 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2211 (gst_base_transform_init):
2214 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2215 An EOS event marks the queue as completely filled.
2217 2005-10-27 Wim Taymans <wim@fluendo.com>
2219 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2220 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2221 Some more debugging.
2223 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2224 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2225 (gst_base_transform_event), (gst_base_transform_getrange),
2226 (gst_base_transform_chain):
2227 * gst/base/gstbasetransform.h:
2229 Protect transform and concurrent buffer alloc with a new lock.
2230 Try not to break ABI/API.
2232 2005-10-27 Wim Taymans <wim@fluendo.com>
2234 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2235 (gst_base_src_init), (gst_base_src_query),
2236 (gst_base_src_default_newsegment),
2237 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2238 (gst_base_src_send_event), (gst_base_src_event_handler),
2239 (gst_base_src_pad_get_range), (gst_base_src_loop),
2240 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2241 (gst_base_src_start), (gst_base_src_deactivate),
2242 (gst_base_src_activate_push), (gst_base_src_change_state):
2243 Move some stuff around and cleanup things.
2245 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2247 * gst/base/gstbasesrc.c: (gst_base_src_query):
2248 Add missing break statements.
2250 2005-10-27 Wim Taymans <wim@fluendo.com>
2252 * check/gst/gstbin.c: (GST_START_TEST):
2253 An extra refcount is taken in basesrc.
2255 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2256 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2257 (gst_base_src_loop):
2258 Small cleanups, check for flushing after being unlocked from the
2259 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2260 Don't send out EOS when going to READY.
2262 2005-10-27 Wim Taymans <wim@fluendo.com>
2264 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2265 (gst_base_sink_get_position):
2268 * gst/gstbin.c: (message_check), (bin_replace_message),
2269 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2270 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2271 (bin_query_duration_init), (bin_query_duration_fold),
2272 (bin_query_duration_done), (bin_query_generic_fold),
2274 * tools/gst-launch.c: (main):
2277 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2279 * examples/controller/audio-example.c: (main):
2280 * examples/queue/queue.c: (event_loop):
2281 * gst/base/gstbasetransform.h:
2282 * gst/gstelement.c: (gst_element_send_event):
2284 * gst/gstpad.c: (gst_pad_send_event):
2287 changing log priority in error situations
2289 2005-10-25 Wim Taymans <wim@fluendo.com>
2291 * gst/gstbin.c: (message_check), (bin_replace_message),
2292 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2293 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2294 (bin_query_duration_init), (bin_query_duration_fold),
2295 (bin_query_duration_done), (bin_query_generic_fold),
2297 Some doc and debug updates.
2298 Cache previously requested query DURATION for speed. invalidate
2299 cached duration if element posts a DURATION message.
2301 2005-10-25 Wim Taymans <wim@fluendo.com>
2303 * docs/design/part-TODO.txt:
2306 * gst/gstbin.c: (message_check), (bin_replace_message),
2307 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2308 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2309 (bin_query_duration_init), (bin_query_duration_fold),
2310 (bin_query_duration_done), (bin_query_generic_fold),
2312 Handle SEGMENT_START/DONE messages correctly.
2313 More evolved query algorithm that handles duration queries
2316 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2317 (gst_element_get_state_func), (gst_element_abort_state),
2318 (gst_element_commit_state), (gst_element_lost_state):
2319 Some more debugging.
2324 2005-10-25 Wim Taymans <wim@fluendo.com>
2326 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2327 Don't use invalid stream_time.
2329 * gst/gstevent.c: (gst_event_new_newsegment):
2330 stream_time in newsegment cannot be undefined.
2332 2005-10-24 Wim Taymans <wim@fluendo.com>
2337 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2339 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2341 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2343 * docs/libs/tmpl/gstdparam.sgml:
2344 * docs/libs/tmpl/gstdplinint.sgml:
2345 * docs/libs/tmpl/gstdpman.sgml:
2346 * docs/libs/tmpl/gstdpsmooth.sgml:
2347 * docs/libs/tmpl/gstunitconvert.sgml:
2350 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2355 === release 0.9.4 ===
2357 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2360 releasing 0.9.4, "Tyrannosaurus Rex"
2362 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2364 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2365 (gst_file_sink_get_current_offset):
2366 Use fseeko() and ftello() if available. When falling back on
2367 lseek() to get the current offset, fflush() first to make sure
2368 everything is up-to-date and we get the right offset.
2370 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2372 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2373 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2374 * gst/gsterror.c: (_gst_stream_errors_init):
2376 * gst/gstqueue.c: (gst_queue_loop):
2378 remove prematurely added error category and clean up the instances
2380 2005-10-21 Wim Taymans <wim@fluendo.com>
2382 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2383 (gst_base_sink_get_position), (gst_base_sink_query),
2384 (gst_base_sink_change_state):
2385 Simply set the right flag when going to playing, that's all
2386 we need to do instead of calling a function inside the object
2387 lock (that could take the lock as well and deadlock)
2389 2005-10-21 Wim Taymans <wim@fluendo.com>
2391 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2392 (gst_base_src_loop):
2393 Don't warn, the peer element knows what to do best when
2394 the seek failed, it might try something else.
2396 2005-10-21 Wim Taymans <wim@fluendo.com>
2398 * gst/base/gstbasesrc.c: (gst_base_src_init),
2399 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2402 2005-10-21 Wim Taymans <wim@fluendo.com>
2404 * docs/design/part-segments.txt:
2407 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2408 Correctly set caps, even on the subbufer.
2410 2005-10-21 Wim Taymans <wim@fluendo.com>
2412 * docs/gst/gstreamer-docs.sgml:
2413 * docs/gst/gstreamer-sections.txt:
2420 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2424 And 2% more doc coverage.
2426 2005-10-21 Andy Wingo <wingo@pobox.com>
2428 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2431 2005-10-20 Wim Taymans <wim@fluendo.com>
2433 * gst/gsterror.c: (gst_error_get_message):
2436 * gst/gststructure.c:
2441 2005-10-20 Wim Taymans <wim@fluendo.com>
2446 Another 1% more coverage.
2448 2005-10-20 Wim Taymans <wim@fluendo.com>
2450 * docs/gst/gstreamer-sections.txt:
2451 * gst/gstelement.c: (gst_element_get_state_func),
2452 (gst_element_abort_state), (gst_element_commit_state),
2453 (gst_element_lost_state):
2455 * gst/gstquery.c: (gst_query_set_position),
2456 (gst_query_parse_position), (gst_query_set_duration),
2457 (gst_query_parse_duration), (gst_query_new_convert):
2459 Yay! 1% more docs coverage.
2461 2005-10-20 Wim Taymans <wim@fluendo.com>
2464 * gst/gstquery.c: (gst_query_set_position),
2465 (gst_query_parse_position), (gst_query_set_duration),
2466 (gst_query_parse_duration), (gst_query_new_convert):
2468 * gst/gstutils.c: (gst_element_query_convert):
2470 Docs and consistency fixes.
2472 2005-10-20 Wim Taymans <wim@fluendo.com>
2478 2005-10-20 Wim Taymans <wim@fluendo.com>
2480 * gst/gstbin.c: (message_check), (bin_replace_message),
2481 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2482 (update_degree), (gst_bin_sort_iterator_next),
2483 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2484 Reworked the message handling a bit, cache the messages instead of
2485 only the senders. alows us to do more in the future.
2487 2005-10-20 Wim Taymans <wim@fluendo.com>
2489 * docs/design/part-TODO.txt:
2492 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2493 (gst_base_sink_query):
2494 Don't use clock time to report position when in EOS.
2496 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2498 * tools/gst-inspect.c: (print_interfaces),
2499 (print_element_properties_info), (print_element_info):
2500 Fix interface output with gst-inspect -a; don't print
2501 newlines after double/float properties.
2503 2005-10-20 Wim Taymans <wim@fluendo.com>
2505 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2506 (gst_base_sink_query):
2507 Speed up current position calculation.
2509 * gst/base/gstbasesrc.c: (gst_base_src_query),
2510 (gst_base_src_default_newsegment):
2511 Correctly set stream position in newsegment.
2513 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2514 (update_degree), (gst_bin_sort_iterator_next),
2515 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2516 * gst/gstmessage.c: (gst_message_new_custom):
2517 Clean up debugging info
2519 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2520 (gst_queue_loop), (gst_queue_handle_src_query):
2523 2005-10-19 Wim Taymans <wim@fluendo.com>
2525 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2526 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2527 Fix query handling again.
2529 2005-10-19 Wim Taymans <wim@fluendo.com>
2531 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2532 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2533 * gst/base/gstbasesrc.c: (gst_base_src_query):
2534 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2535 * gst/elements/gsttypefindelement.c:
2536 (gst_type_find_handle_src_query), (find_element_get_length),
2537 (gst_type_find_element_activate):
2540 * gst/gstquery.c: (gst_query_new_position),
2541 (gst_query_set_position), (gst_query_parse_position),
2542 (gst_query_new_duration), (gst_query_set_duration),
2543 (gst_query_parse_duration), (gst_query_set_segment),
2544 (gst_query_parse_segment):
2546 Bundling query position/duration is not a good idea since duration
2547 does not change much and we don't want to recalculate it for every
2548 position query, so they are separated again..
2549 Base value in segment query is not needed.
2551 * gst/gstqueue.c: (gst_queue_handle_src_query):
2552 * gst/gstutils.c: (gst_element_query_position),
2553 (gst_element_query_duration), (gst_pad_query_position),
2554 (gst_pad_query_duration):
2556 Updates for query API change.
2557 Added some docs here and there.
2559 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2561 * check/gst/gstbin.c: (GST_START_TEST):
2562 * check/gst/gstghostpad.c: (GST_START_TEST):
2563 * check/pipelines/cleanup.c: (GST_START_TEST):
2564 wait on thread to die so we can check refcount correctly
2566 2005-10-18 Wim Taymans <wim@fluendo.com>
2568 * check/pipelines/stress.c: (GST_START_TEST):
2569 Make check a little more time consuming.
2571 2005-10-18 Wim Taymans <wim@fluendo.com>
2573 * check/Makefile.am:
2574 * check/pipelines/stress.c: (GST_START_TEST),
2575 (simple_launch_lines_suite), (main):
2576 Small state change torture test.
2578 * docs/design/part-states.txt:
2579 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2580 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2581 (gst_base_sink_change_state):
2582 Never take state lock from streaming thread, clean up ugly
2583 hacks. Unfortunatly core does not yet support nice ways to
2586 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2588 Start state recalc if a STATE_DIRTY message is posted, but only
2589 on the toplevel bin.
2591 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2592 (gst_element_get_state_func), (gst_element_abort_state),
2593 (gst_element_commit_state), (gst_element_lost_state),
2594 (gst_element_set_state_func), (gst_element_change_state):
2596 State variables are now protected with the LOCK, the state
2597 lock is only used to serialize _set_state().
2599 2005-10-18 Wim Taymans <wim@fluendo.com>
2601 * check/gst/gstbin.c: (GST_START_TEST):
2602 * check/gst/gstmessage.c: (GST_START_TEST):
2603 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2604 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2606 * gst/gstelement.c: (gst_element_abort_state),
2607 (gst_element_commit_state), (gst_element_lost_state):
2608 * gst/gstmessage.c: (gst_message_new_state_changed),
2609 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2610 (gst_message_new_segment_done), (gst_message_new_duration),
2611 (gst_message_parse_state_changed),
2612 (gst_message_parse_segment_start),
2613 (gst_message_parse_segment_done), (gst_message_parse_duration):
2615 * tools/gst-launch.c: (event_loop):
2616 Seriously, this is better than a previous commit as we only need
2617 to notify the fact that an element changed state in a streaming
2618 thread, marking the state of the parents dirty, hence the
2619 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2622 2005-10-18 Wim Taymans <wim@fluendo.com>
2624 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2625 (gst_bin_recalc_func):
2626 * gst/gstelement.c: (gst_element_set_clock),
2627 (gst_element_abort_state), (gst_element_lost_state):
2628 Cleanups, prepare for state change fixes.
2630 2005-10-18 Wim Taymans <wim@fluendo.com>
2633 * gst/gstelement.c: (gst_element_class_init),
2634 (gst_element_set_state), (gst_element_set_state_func):
2636 Pending ABI changes.
2637 GThreadPool in GstBinClass to monitor async state changes.
2638 state_cookie in GstElement to detect concurrent gst/set state.
2639 set_state is now virtual too in case a very complicated element
2640 has to be constructed.
2642 2005-10-18 Wim Taymans <wim@fluendo.com>
2644 * check/gst/gstbin.c: (GST_START_TEST):
2645 * check/gst/gstmessage.c: (GST_START_TEST):
2646 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2647 * gst/gstbin.c: (bin_bus_handler):
2648 * gst/gstelement.c: (gst_element_commit_state),
2649 (gst_element_lost_state):
2650 * gst/gstmessage.c: (gst_message_new_state_changed),
2651 (gst_message_new_segment_start), (gst_message_new_segment_done),
2652 (gst_message_new_duration), (gst_message_parse_state_changed),
2653 (gst_message_parse_segment_start),
2654 (gst_message_parse_segment_done), (gst_message_parse_duration):
2656 * tools/gst-launch.c: (event_loop):
2657 Make messages future proof.
2658 state-change gets a flag if it was a message comming from the
2660 segment-start/stop can also be specified in other formats.
2661 A message to notify an app that a pipeline changed playback
2663 Also fix a GstMessage leak in -launch
2665 2005-10-18 Andy Wingo <wingo@pobox.com>
2667 * gst/gstelement.c (gst_element_dispose): More helpful message.
2669 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2671 reviewed by: <delete if not using a buddy>
2673 * common/gtk-doc.mak:
2675 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2677 * gst/gstregistry.c: (gst_registry_scan_path_level):
2678 unref a plug-in we get that was already initialized
2680 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2682 * docs/gst/gstreamer-sections.txt:
2683 * docs/libs/gstreamer-libs-sections.txt:
2688 2005-10-17 Andy Wingo <wingo@pobox.com>
2690 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2693 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2695 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2697 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2698 (gst_element_get_state_func): Better debug message.
2699 (gst_element_commit_state): s/INFO/DEBUG/.
2700 (gst_element_lost_state, gst_element_change_state):
2702 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2703 (gst_message_new_custom): s/INFO/LOG/.
2705 2005-10-17 Michael Smith <msmith@fluendo.com>
2707 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2708 Check if end time is valid using end time, not start time.
2710 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2712 * check/gst-libs/controller.c: (GST_START_TEST),
2713 (gst_controller_suite):
2714 * libs/gst/controller/gstcontroller.c:
2715 (gst_controlled_property_set_interpolation_mode):
2716 * libs/gst/controller/gstcontroller.h:
2717 * libs/gst/controller/gstinterpolation.c:
2718 * testsuite/controller/.cvsignore:
2719 * testsuite/controller/Makefile.am:
2720 * testsuite/controller/interpolator.c:
2721 merge controller testsuites
2723 remove mem-chunk from docs
2725 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2727 * gst/gstmemchunk.c:
2728 * gst/gstmemchunk.h:
2729 * gst/gsttrashstack.c:
2730 * gst/gsttrashstack.h:
2731 out. get out. you're fired. to the Attic !
2733 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2735 * gst/gstcaps.c: (gst_caps_intersect):
2736 fix signedness issues in a (hopefully) correct way
2737 * gst/gstelement.c: (gst_element_pads_activate):
2739 * gst/gstobject.c: (gst_object_set_parent):
2742 2005-10-17 Julien MOUTTE <julien@moutte.net>
2744 * gst/gstvalue.h: Fix prototypes.
2746 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2748 * docs/gst/gstreamer-sections.txt:
2749 * gst/gst.c: (gst_version_string):
2751 * gst/gstversion.h.in:
2752 * win32/common/libgstreamer.def:
2753 add gst_version_string ()
2755 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2759 * gst/gst.c: (init_post):
2760 * win32/common/config.h.in:
2762 * gst/gstcaps.c: (gst_caps_intersect):
2763 use gint64, the range could be bigger than a guint
2765 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2768 document potential problem in 2038
2770 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2772 * gst/gstcaps.c: (gst_caps_intersect):
2773 Fix guint j diving under 0
2775 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2778 * win32/common/config.h:
2779 * win32/common/config.h.in:
2780 check for process.h, declares getpid() on Windows
2782 include process.h if we have it
2783 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2784 * gst/gstmemchunk.h:
2785 fix signedness issues
2786 * win32/common/libgstreamer.def:
2789 2005-10-16 Julien MOUTTE <julien@moutte.net>
2791 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2792 fix. Because of unsigned ints, caps intersection was going nuts and
2793 trying to access structures with G_MAXUINT index. That fixes
2794 videotestsrc ! ffmpegcolorspace ! fakesink
2795 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2798 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2801 use the gettext macro
2802 * gst/elements/gstelements.c:
2804 * gst/indexers/gstindexers.c:
2805 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2806 * win32/common/config.h:
2808 * win32/common/config.h.in:
2809 add the template to generate config.h
2810 * win32/common/gstenumtypes.c:
2811 * win32/common/gstversion.h:
2814 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2816 * gst/gst.c: (gst_version):
2817 * gst/gstversion.h.in:
2820 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2823 Oops, add missing closing bracket.
2825 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2828 use common m4's for argument checking
2830 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2832 * docs/gst/gstreamer-sections.txt:
2834 Add GST_EVENT_TYPE_NAME() macro.
2836 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2839 * gst/gstpluginfeature.c:
2841 privatize more symbols
2843 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2846 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2847 everything that uses GStreamer API should have the includes
2849 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2851 * docs/gst/gstreamer-sections.txt:
2852 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2854 give each value a _get_type, removes the DATA exports
2856 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2860 remove _gst_registry_auto_load, not used anymore
2861 * gst/gstbin.c: (gst_bin_get_type):
2863 * gst/gstelement.c: (gst_element_get_type):
2865 * gst/gstobject.c: (gst_object_get_type):
2867 * gst/gstpad.c: (gst_pad_get_type):
2869 make _get_type functions similar, fixes data export from library
2871 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2874 correctly make conditionals
2875 * gst/elements/Makefile.am:
2876 * gst/elements/gstelements.c:
2877 fix typo causing fdsrc not to build
2879 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2881 * testsuite/Makefile.am:
2882 * testsuite/bytestream/.cvsignore:
2883 * testsuite/bytestream/Makefile.am:
2884 * testsuite/bytestream/filepadsink.c:
2885 * testsuite/bytestream/gstbstest.c:
2886 * testsuite/bytestream/test1.c:
2887 * testsuite/bytestream/testfile1:
2888 * testsuite/caps/normalisation.c:
2889 * testsuite/caps/random.c: (main):
2890 * testsuite/cleanup/.cvsignore:
2891 * testsuite/cleanup/Makefile.am:
2892 * testsuite/cleanup/cleanup1.c:
2893 * testsuite/cleanup/cleanup2.c:
2894 * testsuite/cleanup/cleanup3.c:
2895 * testsuite/cleanup/cleanup4.c:
2896 * testsuite/cleanup/cleanup5.c:
2897 * testsuite/controller/interpolator.c:
2898 * testsuite/debug/printf_extension.c: (main):
2899 * testsuite/elements/tee.c:
2900 * testsuite/negotiation/.cvsignore:
2901 * testsuite/negotiation/Makefile.am:
2902 * testsuite/negotiation/pad_link.c:
2903 * testsuite/pad/Makefile.am:
2904 * testsuite/pad/chainnopull.c:
2905 * testsuite/pad/getnopush.c:
2906 * testsuite/pad/link.c:
2907 * testsuite/refcounting/sched.c: (create_pipeline):
2908 * testsuite/registry/Makefile.am:
2909 * testsuite/registry/gst-print-formats.c:
2910 * testsuite/schedulers/.cvsignore:
2911 * testsuite/schedulers/142183-2.c:
2912 * testsuite/schedulers/142183.c:
2913 * testsuite/schedulers/143777-2.c:
2914 * testsuite/schedulers/143777.c:
2915 * testsuite/schedulers/147713.c:
2916 * testsuite/schedulers/147819.c:
2917 * testsuite/schedulers/147894-2.c:
2918 * testsuite/schedulers/147894.c:
2919 * testsuite/schedulers/Makefile.am:
2920 * testsuite/schedulers/group_link.c:
2921 * testsuite/schedulers/queue_link.c:
2922 * testsuite/schedulers/relink.c:
2923 * testsuite/schedulers/unlink.c:
2924 * testsuite/schedulers/unref.c:
2925 * testsuite/schedulers/useless_iteration.c:
2926 * testsuite/states/bin.c:
2927 clean out/remove some stuff from the testsuite directories
2929 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2932 check for some headers
2933 * gst/elements/Makefile.am:
2934 * gst/elements/gstelements.c:
2935 don't compile fdsrc without sys/socket.h
2936 * gst/indexers/Makefile.am:
2937 * gst/indexers/gstindexers.c: (plugin_init):
2938 don't compile fileindex without mmap
2940 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2947 * check/Makefile.am:
2948 * docs/gst/Makefile.am:
2949 * examples/helloworld/Makefile.am:
2951 * gst/base/Makefile.am:
2952 * gst/check/Makefile.am:
2953 * gst/elements/Makefile.am:
2954 * gst/indexers/Makefile.am:
2955 * gst/parse/Makefile.am:
2956 * libs/gst/controller/Makefile.am:
2957 * libs/gst/dataprotocol/Makefile.am:
2958 * examples/helloworld/helloworld.c: (event_loop):
2959 compile fixes, though it's not being compiled currently
2961 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2963 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2964 Add some simple tests for the new taglist date API.
2966 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2968 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2969 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2970 Beautify 'last-message' output: print 'none' for buffer timestamps
2971 and durations if none is set; improve alignment with next messages.
2973 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2975 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2976 * gst/gstpluginfeature.h:
2977 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2978 * gst/gstregistry.h:
2979 * docs/gst/gstreamer-sections.txt:
2980 Add new API to check plugin feature version requirements.
2982 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2983 Some basic tests for the above.
2985 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2987 * gst/gststructure.c: (gst_structure_to_string):
2988 guard against NULL printf - happens when for example
2989 a message structure with GstClock gets serialized
2991 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2993 * gst/base/gstcollectpads.c: (gst_collectpads_event):
2994 Fix presumable copy'n'pasto.
2996 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2998 * gst/elements/gstfakesrc.h:
2999 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3000 * gst/elements/gsttypefindelement.c:
3002 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3003 I wonder if this could actually write +2GB files before
3005 2005-10-13 Andy Wingo <wingo@pobox.com>
3007 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3008 Fix Timmeke Waymans bug.
3009 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3010 string of the proper length to gst_caps_from_string. There's a
3011 potential for, before this fix, that this could cause someone
3012 connecting over the network to cause a segfault if the payload is
3015 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3017 * docs/design/draft-push-pull.txt:
3018 * docs/design/part-overview.txt:
3019 * docs/random/TODO-pre-0.9:
3020 * docs/random/old/ChangeLog.gstreamer:
3021 * gst/base/gstpushsrc.c:
3025 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3027 * gst/glib-compat.c: (gst_flags_get_first_value):
3028 * gst/glib-compat.h:
3029 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3030 (gst_value_compare_double), (gst_value_serialize_flags):
3031 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3034 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3036 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3037 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3039 * tools/gst-launch.c: (event_loop):
3040 print out clock nicely
3042 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3044 * docs/gst/gstreamer-sections.txt:
3046 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3047 (gst_tag_list_get_date_index):
3048 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3049 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3051 2005-10-13 Julien MOUTTE <julien@moutte.net>
3053 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3054 (gst_collectpads_chain):
3055 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3058 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3060 * docs/gst/gstreamer-sections.txt:
3063 * tools/gst-inspect.c: (main):
3064 * tools/gst-launch.c: (main):
3065 * tools/gst-run.c: (main):
3066 * tools/gst-xmlinspect.c: (main):
3067 fix GOption context leaks
3070 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3074 * win32/common/config.h:
3076 * win32/vs6/grammar.dsp:
3077 * win32/vs6/libgstelements.dsp:
3078 * win32/vs6/libgstreamer.dsp:
3081 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3083 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3084 * gst/base/gstbasesrc.c: (gst_base_src_query):
3085 fix more guint64<->gdouble conversions
3087 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3090 add win32-update target
3091 * win32/common/gstconfig.h:
3092 * win32/common/gstenumtypes.c:
3093 * win32/common/gstenumtypes.h:
3094 * win32/common/gstversion.h:
3095 add files that visual studio can't generate
3097 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3100 add a win32-update target
3103 2005-10-12 Wim Taymans <wim@fluendo.com>
3105 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3106 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3107 * gst/gstelement.c: (gst_element_commit_state),
3108 (gst_element_set_state):
3109 Protect flags with proper lock.
3110 unref provided cached clock in dispose.
3112 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3115 * gst/gstminiobject.h:
3117 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3118 removed unused flags from miniobject
3121 2005-10-12 Wim Taymans <wim@fluendo.com>
3123 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3124 (gst_file_sink_event), (gst_file_sink_render):
3125 Flush before seeking.
3127 2005-10-12 Andy Wingo <wingo@pobox.com>
3129 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3130 always been the case.
3132 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3134 * check/gst/gstbin.c: (GST_START_TEST):
3135 * docs/gst/gstreamer-sections.txt:
3136 * gst/base/gstbasesink.c: (gst_base_sink_init):
3137 * gst/base/gstbasesrc.c: (gst_base_src_init),
3138 (gst_base_src_get_range), (gst_base_src_check_get_range),
3139 (gst_base_src_start), (gst_base_src_stop):
3140 * gst/base/gstbasesrc.h:
3141 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3142 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3143 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3147 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3149 * gst/gstelement.c: (gst_element_is_locked_state),
3150 (gst_element_set_locked_state), (gst_element_commit_state),
3151 (gst_element_set_state):
3153 * gst/gstindex.c: (gst_index_init):
3155 * gst/gstminiobject.h:
3156 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3157 (gst_object_set_parent):
3159 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3160 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3162 * gst/gstpadtemplate.h:
3163 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3164 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3165 * gst/gstpipeline.h:
3166 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3167 (gst_file_index_commit):
3168 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3169 * testsuite/pad/link.c: (gst_test_src_init),
3170 (gst_test_filter_init), (gst_test_sink_init):
3171 * testsuite/states/locked.c: (main):
3172 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3173 moved bitshift from macro to enum definition
3175 2005-10-12 Wim Taymans <wim@fluendo.com>
3177 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3178 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3179 (gst_file_sink_render):
3180 Some more debugging info.
3182 2005-10-12 Wim Taymans <wim@fluendo.com>
3184 * docs/design/part-states.txt:
3185 * tools/gst-launch.c: (main):
3187 Revert non-intentional change.
3189 2005-10-12 Wim Taymans <wim@fluendo.com>
3191 * check/gst/gstbin.c: (GST_START_TEST):
3192 * check/gst/gstelement.c: (GST_START_TEST):
3193 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3194 * check/gst/gstghostpad.c: (GST_START_TEST):
3195 * check/gst/gstpipeline.c: (GST_START_TEST):
3196 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3197 * check/states/sinks.c: (GST_START_TEST):
3198 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3199 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3200 (gst_bin_remove_func), (gst_bin_get_state_func),
3201 (gst_bin_recalc_state), (gst_bin_change_state_func),
3203 * gst/gstelement.c: (gst_element_get_state_func),
3204 (gst_element_get_state), (gst_element_abort_state),
3205 (gst_element_commit_state), (gst_element_set_state),
3206 (gst_element_change_state), (gst_element_change_state_func):
3208 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3209 (gst_pipeline_provide_clock_func):
3210 * gst/gstutils.c: (gst_element_link_pads_filtered):
3211 * tools/gst-launch.c: (main):
3212 * tools/gst-typefind.c: (main):
3213 Use GstClockTime in _get_state() instead of GTimeVal.
3214 Remove old code in gstutils.c
3216 2005-10-12 Andy Wingo <wingo@pobox.com>
3218 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3221 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3222 there is no task. Shouldn't affect any code, as nothing in our
3223 plugins checks this return value.
3224 (gst_pad_stop_task): Also take the stream lock if the pad has no
3227 2005-10-12 Wim Taymans <wim@fluendo.com>
3229 * gst/gstpad.c: (pre_activate), (post_activate),
3230 (gst_pad_activate_pull), (gst_pad_activate_push):
3231 Cleanup activation code. Reset old state if
3234 2005-10-12 Wim Taymans <wim@fluendo.com>
3236 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3237 (gst_base_sink_change_state):
3238 No need to prerol after receiving EOS.
3240 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3241 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3242 * gst/elements/gstidentity.c: (gst_identity_event):
3243 Print events more verbosely.
3245 2005-10-12 Wim Taymans <wim@fluendo.com>
3247 * check/Makefile.am:
3248 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3249 * check/states/sinks2.c:
3250 Moved sinks2 testcode in sinks check.
3252 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3253 (gst_bin_remove_func), (gst_bin_recalc_state),
3254 (gst_bin_change_state_func), (bin_bus_handler):
3255 Fix potential race condition when _get_state() iterated over an
3256 ASYNC element right before it posted a state completion.
3259 Do proper cast here.
3261 * gst/gstevent.c: (gst_event_new_newsegment),
3262 (gst_event_parse_newsegment):
3263 A playback rate of 0.0 is not allowed.
3265 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3267 * win32/common/config.h:
3268 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3269 (_trewinddir), (_ttelldir), (_tseekdir):
3270 * win32/common/dirent.h:
3271 * win32/common/gtchar.h:
3272 * win32/common/libgstbase.def:
3273 * win32/common/libgstreamer.def:
3274 * win32/vs6/grammar.dsp:
3275 * win32/vs6/gst_inspect.dsp:
3276 * win32/vs6/gst_launch.dsp:
3277 * win32/vs6/gstreamer.dsw:
3278 * win32/vs6/libgstbase.dsp:
3279 * win32/vs6/libgstelements.dsp:
3280 * win32/vs6/libgstreamer.dsp:
3281 Visual Studio 6 project files, and a new common directory.
3284 2005-10-11 Wim Taymans <wim@fluendo.com>
3286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3287 (gst_base_sink_do_sync), (gst_base_sink_query),
3288 (gst_base_sink_change_state):
3289 * gst/base/gstbasesink.h:
3290 Correctly parse newsegment info.
3292 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3294 * gst/gst.c: (init_post):
3295 split plugin paths correctly
3297 2005-10-11 Wim Taymans <wim@fluendo.com>
3299 * check/gst/gstevent.c: (GST_START_TEST):
3300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3301 (gst_base_sink_change_state):
3302 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3303 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3304 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3305 * gst/gstevent.c: (gst_event_new_newsegment),
3306 (gst_event_parse_newsegment):
3308 Added extra flag to newsegment for future API freeze.
3309 Updated check and base elements.
3311 2005-10-11 Julien MOUTTE <julien@moutte.net>
3313 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3314 (gst_collectpads_add_pad), (gst_collectpads_pop),
3315 (gst_collectpads_event), (gst_collectpads_chain):
3316 * gst/base/gstcollectpads.h: Handle EOS correctly.
3318 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3320 * tools/gst-launch.c: (main):
3321 more null protecting
3323 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3325 * gst/gst-i18n-lib.h:
3326 check for ENABLE_NLS, not GETTEXT_PACKAGE
3327 * gst/gstregistry.c: (gst_registry_add_plugin),
3328 (gst_registry_scan_path_level),
3329 (_gst_registry_remove_cache_plugins):
3330 protect possibly NULL strings
3331 * gst/parse/types.h:
3332 config.h already included before
3333 * tools/gst-inspect.c: (main):
3334 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3335 check for ENABLE_NLS, not GETTEXT_PACKAGE
3336 * tools/gst-launch.c: (main):
3337 check for ENABLE_NLS, not GETTEXT_PACKAGE
3339 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3342 if we don't have glib, fail before testing 2.8
3343 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3344 fix a leak, should fix plugins-base testsuite
3346 2005-10-11 Andy Wingo <wingo@pobox.com>
3348 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3349 take the mode we're going to as an arg. Go head and set the mode
3350 and flushing flags now, so that if the activate function starts a
3351 thread all the flags will be in the right state.
3352 (post_activate): Renamed also. Just handle making sure streaming
3353 finishes for the deactivation case, and setting the deactivated
3355 (gst_pad_set_active): Complain loudly if deactivation fails.
3356 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3357 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3358 remove the terrible hack.
3360 2005-10-11 Wim Taymans <wim@fluendo.com>
3362 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3363 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3364 (gst_bin_recalc_state), (gst_bin_change_state_func),
3365 (gst_bin_dispose), (bin_bus_handler):
3367 Prepare to make current EOS message queue more generic.
3370 * gst/gstevent.c: (gst_event_new_newsegment),
3371 (gst_event_parse_newsegment):
3373 Rename base to stream_time.
3378 2005-10-11 Wim Taymans <wim@fluendo.com>
3380 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3381 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3382 (gst_bin_change_state_func), (bin_bus_handler):
3384 Work on proper clock selection.
3386 2005-10-11 Edward Hervey <edward@fluendo.com>
3388 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3389 * libs/gst/controller/gstcontroller.h:
3390 Added GList* version of _remove_properties() in order to be able to wrap
3393 2005-10-11 Wim Taymans <wim@fluendo.com>
3395 * docs/design/part-states.txt:
3398 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3399 (gst_bin_change_state_func), (bin_bus_handler):
3400 Doc updates. Don't distribute the same clock over and over again.
3406 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3407 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3408 (gst_pad_send_event):
3410 Make probe emission threadsafe again.
3411 Register quarks and move _get_name() from utils.
3414 * gst/gstpipeline.c: (gst_pipeline_class_init),
3415 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3416 Only redistribute the clock of it changed.
3418 * gst/gstsystemclock.h:
3423 Moved the _flow_get_name() to GstPad.
3425 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3427 * check/gst-libs/gdp.c: (GST_START_TEST):
3428 * check/gst/gstcaps.c: (GST_START_TEST):
3429 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3430 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3431 (gst_dp_packet_from_caps):
3432 fix more valgrind warnings before turning up the heat
3434 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3436 * gst/parse/grammar.y:
3437 some cleanup before the hacking
3439 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3441 * gst/base/gstbasesrc.c: (gst_base_src_query):
3443 * gst/gstutils.c: (gst_guint64_to_gdouble),
3444 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3446 externalize, basesrc uses it
3447 obviously the implementation needs testing
3449 2005-10-10 Wim Taymans <wim@fluendo.com>
3451 * tests/sched/Makefile.am:
3452 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3453 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3455 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3457 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3458 apparently converting from guint64 to double is not implemented
3461 2005-10-10 Wim Taymans <wim@fluendo.com>
3463 * check/Makefile.am:
3464 * check/generic/states.c: (GST_START_TEST):
3465 * check/gst/gstbin.c: (GST_START_TEST):
3466 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3467 * check/states/sinks.c: (GST_START_TEST):
3468 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3470 Check fixes, use API as stated in design docs, remove hacks.
3472 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3473 (gst_base_sink_change_state):
3474 Catch stopping our task while we're shutting down.
3476 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3477 (gst_bin_remove_func), (gst_bin_get_state_func),
3478 (gst_bin_recalc_state), (gst_bin_change_state_func),
3481 * gst/gstelement.c: (gst_element_init),
3482 (gst_element_get_state_func), (gst_element_abort_state),
3483 (gst_element_commit_state), (gst_element_lost_state),
3484 (gst_element_set_state), (gst_element_change_state),
3485 (gst_element_change_state_func):
3487 New state change algorithm (see #318116)
3489 * gst/gstpipeline.c: (gst_pipeline_class_init),
3490 (gst_pipeline_init), (gst_pipeline_set_property),
3491 (gst_pipeline_get_property), (do_pipeline_seek),
3492 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3493 * gst/gstpipeline.h:
3494 Remove crude state change hacks.
3499 * tools/gst-launch.c: (main):
3500 Fixes for state change. Needs some more work to fully use the
3503 2005-10-10 Andy Wingo <wingo@pobox.com>
3505 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3507 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3508 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3511 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3513 * gst/gstiterator.c: (gst_iterator_new):
3514 Fix my previous commit: GTypes passed to gst_iterator_new()
3515 can be fundamental types.
3517 2005-10-10 Wim Taymans <wim@fluendo.com>
3519 * gst/gstelement.c: (gst_element_iterate_pad_list),
3520 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3521 (gst_element_iterate_sink_pads):
3522 Use src/sink pads lists for the respective iterators instead
3525 2005-10-10 Andy Wingo <wingo@pobox.com>
3527 Merged in popt removal + GOption addition patch from Ronald, bug
3530 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3531 GstElement macros around, remove popt-related symbols, add goption
3534 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3536 * docs/gst/Makefile.am:
3537 * docs/libs/Makefile.am: No POPT_CFLAGS.
3539 * examples/manual/Makefile.am:
3540 * docs/manual/basics-init.xml: Doc updates with an example.
3542 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3543 (gst_init), (parse_one_option), (parse_goption_arg):
3544 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3545 bit of hand merging and debugging to get the GOption stuff working
3548 * tests/Makefile.am:
3549 * tools/Makefile.am:
3550 * tools/gst-inspect.c: (main):
3551 * tools/gst-launch.c: (main):
3552 * tools/gst-run.c: (main):
3553 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3555 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3557 * gst/gstiterator.c: (gst_iterator_new):
3558 Add assertions to make sure passed GType is likely to really
3559 be a GType (as the compiler won't catch it if the size and
3560 GType arguments get mixed up, see #318447).
3562 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3564 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3566 * gst/gstbin.c: (gst_bin_iterate_sorted):
3567 Pass GType and size arguments to gst_iterator_new() in the right
3568 order (maybe we should make _new() take the GType as first argument
3569 just like _new_list()?) (#318447).
3572 2005-10-10 Wim Taymans <wim@fluendo.com>
3574 * gst/gstelement.c: (gst_element_finalize):
3575 And free the GStaticRecMutex too
3577 2005-10-10 Andy Wingo <wingo@pobox.com>
3579 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3580 Allocate and free the mutex properly.
3582 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3584 (GstElement): The state_lock is now recursive. Rebuild your
3585 plugins, suckers. Old macros adapted.
3587 * docs/gst/gstreamer-sections.txt: Doc updates.
3590 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3591 (g_static_rec_cond_wait): Ported from state changes patch, while
3592 we wait on bug #317802 to be solved in a well-distributed GLib.
3594 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3595 gst_element_change_state, variable name changes.
3596 (gst_element_change_state): Split out of gst_element_set_state in
3597 preparation for the state change merge. Doesn't pay attention to
3598 the 'transition' argument.
3599 (gst_element_set_state): Updates, hopefully purely cosmetic.
3600 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3602 (gst_element_get_state_func): Renamed from get_state, cosmetic
3605 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3607 * gst/elements/gstelements.c:
3608 * win32/GStreamer.vcproj:
3610 * win32/dirent.c: (_tseekdir):
3611 * win32/gst-inspect.vcproj:
3612 * win32/gst-launch.vcproj:
3613 * win32/gstconfig.h:
3614 * win32/gstelements.vcproj:
3615 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3616 * win32/gstreamer.def:
3618 updates for the win32 build (patch from Sebastien Moutte)
3620 2005-10-10 Andy Wingo <wingo@pobox.com>
3622 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3623 gst_bin_get_state, cleaned up (but no logic changes).
3624 (bin_element_is_sink): Comment updates.
3625 (sink_iterator_filter): Remove needless cast.
3626 (gst_bin_iterate_sinks): Doc update.
3627 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3628 cleaned up (but no logic changes).
3630 * check/states/sinks.c (test_src_sink): Cleanups from the state
3632 (test_livesrc_sink): Sync on the state.
3634 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3635 the state change patch.
3637 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3640 * check/gst/gstbin.c: Merge in some style fixes and additional
3641 checks from Wim's state change patch.
3643 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3645 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3646 (gst_type_find_helper):
3647 Check whether we have the requested data already in our list of
3648 cached buffers before pulling a new buffer; also make the buffer
3649 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3651 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3656 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3657 don't use long long, it's not portable. Replacing with
3658 gint64 seems to work; let's hope no skeletons fall out of the closet.
3660 2005-10-10 Andy Wingo <wingo@pobox.com>
3662 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3664 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3666 * docs/gst/gstreamer-sections.txt:
3671 * gst/gstmessage.c: (gst_message_parse_state_changed):
3674 more docs, fix compilation
3676 2005-10-09 Philippe Khalaf <burger@speedy.org>
3678 Fixed a few forgotten variables on previous commit
3680 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3682 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3683 Fix evil typefind crasher: getrange() might return a short
3684 buffer at the end of a file, but gst_type_find_peek() must
3685 either return the full data as requested or NULL, but
3686 never a short buffer.
3688 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3690 * gst/gstmessage.c: (gst_message_new_state_changed),
3691 (gst_message_parse_state_changed):
3693 don't use "new", it's a C++ keyword
3695 2005-10-08 Wim Taymans <wim@fluendo.com>
3697 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3698 * gst/gstelement.c: (gst_element_post_message):
3699 * gst/gstpipeline.c: (gst_pipeline_change_state):
3700 Small docs and debug updates.
3702 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3704 * docs/gst/gstreamer-sections.txt:
3705 * gst/gstelementfactory.c:
3710 2005-10-08 Wim Taymans <wim@fluendo.com>
3712 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3713 (gst_bin_dispose), (bin_bus_handler):
3714 Fix typos, add comments.
3715 Clear EOS list when going to PAUSED from any direction and do it
3716 in a threadsafe way.
3717 Get base time in a threadsafe way too.
3718 Fix confusing debug in the change_state function.
3719 Various other small cleanups.
3721 * gst/gstelement.c: (gst_element_post_message):
3722 Fix very verbose bus posting code.
3724 * gst/gstpipeline.c: (gst_pipeline_class_init),
3725 (gst_pipeline_set_property), (gst_pipeline_get_property),
3726 (gst_pipeline_change_state):
3727 Small ARG_ -> PROP_ cleanup
3729 2005-10-08 Wim Taymans <wim@fluendo.com>
3731 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3732 Do a less CPU demanding EOS check because we can.
3734 2005-10-08 Wim Taymans <wim@fluendo.com>
3736 * libs/gst/dataprotocol/dataprotocol.c:
3737 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3738 (gst_dp_packet_from_event):
3739 * libs/gst/dataprotocol/dataprotocol.h:
3740 * libs/gst/dataprotocol/dp-private.h:
3741 It's about time we bump the version number.
3742 Since event types don't fit in the guint8 anymore describing
3743 the payload type, make payload type 16 bits wide.
3745 2005-10-08 Wim Taymans <wim@fluendo.com>
3747 * docs/design/part-TODO.txt:
3748 * docs/design/part-clocks.txt:
3749 * docs/design/part-events.txt:
3750 * docs/design/part-gstbin.txt:
3751 * docs/design/part-gstelement.txt:
3752 * docs/design/part-gstpipeline.txt:
3753 * docs/design/part-live-source.txt:
3754 * docs/design/part-messages.txt:
3755 * docs/design/part-overview.txt:
3756 * docs/design/part-states.txt:
3759 2005-10-08 Wim Taymans <wim@fluendo.com>
3763 Fix event quark registration.
3764 Add some space between events so we can insert them in the
3767 2005-10-08 Wim Taymans <wim@fluendo.com>
3769 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3770 (gst_base_sink_handle_buffer):
3777 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3778 (gst_queue_set_property), (gst_queue_get_property):
3780 Remove old unused properties.
3782 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3783 * docs/gst/gstreamer-sections.txt:
3786 * gst/gstminiobject.c:
3787 * gst/gstminiobject.h:
3791 lots of new docs and doc fixes
3793 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3795 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3797 * gst/gstregistry.c: (gst_registry_lookup_locked),
3798 (gst_registry_scan_path_level):
3799 * gst/gstregistryxml.c: (load_plugin):
3800 Only ever load one plugin for a given plugin basename.
3801 This ensures correct overriding of GST_PLUGIN_PATH over
3802 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3803 system installed plugins.
3805 2005-10-08 Wim Taymans <wim@fluendo.com>
3807 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3808 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3809 Prepare for doing QOS.
3811 2005-10-08 Wim Taymans <wim@fluendo.com>
3813 * check/gst/gstbin.c: (GST_START_TEST):
3814 * check/pipelines/cleanup.c: (GST_START_TEST):
3815 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3816 Allow new clock message too.
3818 2005-10-08 Wim Taymans <wim@fluendo.com>
3820 * gst/gstmessage.c: (gst_message_new_error),
3821 (gst_message_new_warning), (gst_message_new_tag),
3822 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3823 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3824 (gst_message_new_segment_start), (gst_message_new_segment_done),
3825 (gst_message_parse_state_changed),
3826 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3827 (gst_message_parse_new_clock):
3829 Also carry the clock in question.
3831 2005-10-08 Wim Taymans <wim@fluendo.com>
3833 * gst/gstmessage.c: (gst_message_new_custom),
3834 (gst_message_new_eos), (gst_message_new_error),
3835 (gst_message_new_warning), (gst_message_new_tag),
3836 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3837 (gst_message_new_new_clock), (gst_message_new_segment_start),
3838 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3839 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3842 Added clock related messages.
3844 * gst/gstpipeline.c: (gst_pipeline_change_state):
3845 Post message when the clock changed.
3847 * tools/gst-launch.c: (event_loop):
3850 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3852 * tools/gst-inspect.c: (print_element_properties_info):
3853 Can't pass NULL strings to g_print() on windows.
3855 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3858 * docs/gst/Makefile.am:
3859 * docs/gst/gstreamer-docs.sgml:
3860 * docs/gst/running.xml:
3861 * docs/version.entities.in:
3862 add a chapter on running GStreamer.
3863 document GST_DEBUG and GST_PLUGIN* env vars
3865 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3870 remove PLUGINS_BUILDDIR stuff
3871 * gst/gst.c: (init_post):
3872 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3874 remove, it was condescending and not needed
3876 2005-10-08 Wim Taymans <wim@fluendo.com>
3878 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3879 (gst_base_sink_handle_object), (gst_base_sink_event),
3880 (gst_base_sink_wait), (gst_base_sink_handle_event),
3881 (gst_base_sink_change_state):
3882 * gst/base/gstbasesink.h:
3883 Repost EOS message while going to PLAYING if still EOS.
3884 Make sure that when receiving a FLUSH_START we don't attempt
3885 to sync on the clock anymore.
3887 2005-10-08 Wim Taymans <wim@fluendo.com>
3889 * tools/gst-launch.c: (event_loop):
3890 Better message printout.
3892 2005-10-08 Wim Taymans <wim@fluendo.com>
3894 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3895 (gst_bin_child_proxy_get_children_count):
3896 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3897 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3898 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3899 (gst_child_proxy_set_valist):
3900 * gst/parse/grammar.y:
3901 Make ChildProxy threadsafe and fix mem leaks.
3903 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3905 * gst/gst.c: (init_post):
3906 debug the GST_PLUGIN_ env vars
3908 2005-10-08 Wim Taymans <wim@fluendo.com>
3910 * check/gst/gstbin.c: (GST_START_TEST):
3911 * check/gst/gstmessage.c: (GST_START_TEST):
3912 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3913 * gst/gstelement.c: (gst_element_commit_state),
3914 (gst_element_lost_state):
3915 * gst/gstmessage.c: (gst_message_new_state_changed),
3916 (gst_message_parse_state_changed):
3918 * tools/gst-launch.c: (event_loop):
3919 Added extra field to STATE_CHANGE message with the pending
3920 state, which will be different from the new state soon.
3922 2005-10-08 Wim Taymans <wim@fluendo.com>
3924 * gst/gstbus.c: (gst_bus_pop):
3926 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3927 Small cleanups and doc updates.
3929 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3931 * gst/gst.c: (init_pre):
3932 * gst/gstbin.c: (gst_bin_add_func):
3933 log distributing clocks and base time
3934 * gst/gstregistry.c: (gst_registry_add_plugin),
3935 (gst_registry_scan_path_level), (gst_registry_scan_path):
3936 clean up the debugging output a little
3937 * gst/gstutils.c: (gst_element_state_get_name):
3938 warn about a memleak (I've actually seen this be used, though
3939 it was probably a bug)
3941 2005-10-07 Wim Taymans <wim@fluendo.com>
3943 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3944 (gst_base_src_init), (gst_base_src_default_newsegment),
3945 (gst_base_src_newsegment), (gst_base_src_do_seek),
3946 (gst_base_src_loop), (gst_base_src_start):
3947 * gst/base/gstbasesrc.h:
3948 Make the newsegment event customizable by subclasses.
3950 2005-10-07 Wim Taymans <wim@fluendo.com>
3952 * gst/gstevent.c: (gst_event_new_buffersize),
3953 (gst_event_parse_buffersize):
3955 New event for future idea.
3957 2005-10-07 Andy Wingo <wingo@pobox.com>
3959 * gst/gstelement.c (gst_element_post_message): Doc update.
3961 * docs/gst/gstreamer-sections.txt: Update.
3963 * gst/gstmessage.c (gst_message_new_application): Made into a
3964 function like honest API calls.
3965 (gst_message_new_element): New message type.
3967 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3969 * check/elements/fakesrc.c (test_no_preroll): New check, checks
3970 that setting a live fakesrc to PAUSED returns NO_PREROLL both
3973 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3974 NO_PREROLL from gst_element_change_state to fall through.
3976 2005-10-07 Wim Taymans <wim@fluendo.com>
3978 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3979 (gst_ghost_pad_do_activate_push):
3980 Activating a ghostpad with no internal pad in push mode
3983 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
3986 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3987 Fixes compilation on Windows.
3989 2005-10-07 Michael Smith <msmith@fluendo.com>
3991 * tools/gst-inspect.c:
3992 Print out feature and plugin count at the end when printing out
3995 2005-10-04 Michael Smith <msmith@fluendo.com>
3997 * gst/gsterror.c: (_gst_stream_errors_init):
3998 Add another error string used in a few existing plugins.
4001 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4002 * tools/gst-inspect.c: (print_element_info):
4003 When a feature disappears from a plugin (and the feature exists in
4004 the cached registry file), things went horribly wrong. This isn't a
4005 complete fix, we should actually be removing the 'missing' features
4006 from the features list when we load the actual plugin. That's not
4009 2005-10-04 Johan Dahlin <johan@gnome.org>
4011 * check/gst/gstiterator.c: (GST_START_TEST):
4012 * gst/gstbin.c: (gst_bin_iterate_elements),
4013 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4014 * gst/gstelement.c: (gst_element_iterate_pads):
4015 * gst/gstformat.c: (gst_format_iterate_definitions):
4016 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4017 (gst_iterator_new_list), (gst_iterator_filter):
4018 * gst/gstiterator.h:
4019 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4020 Add a GType to GstIterator, update callsites and tests.
4022 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4024 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4025 give events a chance to be handled by event probes when the pad
4028 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4030 * gst/gstevent.c: (gst_event_type_get_name),
4031 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4033 add string representations for event types
4035 2005-10-06 Wim Taymans <wim@fluendo.com>
4037 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4038 Don't use NULL pointers.
4040 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4042 * gst/gst_private.h:
4046 * gst/gstpluginfeature.c:
4047 widen the debug category in output to fit the biggest one we have
4048 add a bus category and use it
4049 play with the colors
4050 fix up some categories
4052 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4054 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4055 add push activation of sink ghost pads.
4056 Andye, please verify
4058 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4060 * gst/gstutils.c: (gst_element_link_pads):
4061 fix a bug in the case where neither element has a pad
4062 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4063 add a test for that case
4065 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4067 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4068 emit have-data before checking for peers. This allows
4069 for probe handlers to connect elements. This helps autopluggers.
4070 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4072 add six checks, linked/unlinked with no/true/false probe
4074 2005-10-04 Wim Taymans <wim@fluendo.com>
4076 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4077 (gst_fake_sink_event), (gst_fake_sink_preroll),
4078 (gst_fake_sink_render), (gst_fake_sink_change_state):
4079 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4080 (gst_fake_src_get_property), (gst_fake_src_create),
4081 (gst_fake_src_stop):
4082 * gst/elements/gstidentity.c: (gst_identity_stop):
4083 Protect last_message with lock.
4085 2005-10-04 Edward Hervey <edward@fluendo.com>
4088 Added precision in the comments for GST_FORMAT_DEFAULT
4090 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4092 * tools/gst-launch.c: (main):
4093 Don't try to run erroneous pipelines.
4095 2005-10-04 Julien MOUTTE <julien@moutte.net>
4097 * gst/gstbus.c: We don't need this header.
4099 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4104 === release 0.9.3 ===
4106 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4110 Releasing 0.9.3, "Unregistered"
4112 2005-10-03 Andy Wingo <wingo@pobox.com>
4114 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4115 whereby calling a pad's activatepush() function can start a thread
4116 that starts to push or pull before the pad gets the FLUSHING flag
4117 unset. Hack around it by holding the stream lock until the flag is
4118 set. Need to replace this with a proper solution. Together with
4119 the ghost pad fixes, this fixes mp3 playing/tagreading.
4121 * docs/design/part-gstghostpad.txt: Add a note about activation of
4122 proxy pads outside of ghost pads.
4124 * gst/gstghostpad.c: Implement the ghost pad activation design.
4126 2005-10-02 Andy Wingo <wingo@pobox.com>
4128 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4129 It is volatile, after all.
4131 * docs/design/part-gstghostpad.txt: Flesh out activation with
4134 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4137 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4140 Fix (unused) AM_CONDITIONAL tests.
4142 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4144 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4146 * gst/gstutils.c: (gst_pad_query_convert):
4147 Add assertion that makes sure src_val is >=0, just like
4148 gst_query_new_convert() has. (#315895)
4150 2005-09-30 Edward Hervey <edward@fluendo.com>
4152 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4153 Let's not iterate pads we're not interested in, it avoids getting
4154 sky-high refcounts on sinkpad.
4156 2005-09-30 Wim Taymans <wim@fluendo.com>
4158 * gst/gstelement.c: (gst_element_set_state),
4159 (gst_element_change_state):
4160 Small tweak, element in ASYNC remains ASYNC.
4162 2005-09-30 Wim Taymans <wim@fluendo.com>
4164 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4165 Only error is an error.
4167 * gst/gstbin.c: (gst_bin_change_state):
4170 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4171 Also call pad_block in pad alloc.
4173 * gst/gstutils.c: (gst_flow_get_name):
4176 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4178 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4179 (gst_base_src_get_range):
4180 Fix documentation typos. Add some more debug info.
4182 2005-09-29 David Schleef <ds@schleef.org>
4184 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4185 more end-user friendly.
4186 * tools/gst-inspect.c: (main): Check if command-line argument is
4187 a file and attempt to load that file as a plugin.
4189 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4191 * check/gst/gstbin.c:
4192 * check/states/sinks.c:
4193 fix tests for the new warning
4194 * check/gst/gstpipeline.c:
4195 add a test for pipeline and bus interaction
4197 elements should be NULL if they get disposed; add a warning if not
4199 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4202 for 2.6 refcounting, make debug log more correct by printing
4203 the actual refcounts at the time of swap (Wim)
4205 2005-09-29 Andy Wingo <wingo@pobox.com>
4207 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4208 removes signal watches previously added via
4209 gst_bus_add_signal_watch.
4210 (gst_bus_add_signal_watch): Don't return the source id, just store
4211 it on the bus if there wasn't an id already.
4213 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4214 add_signal_watch and remove_signal_watch.
4216 2005-09-29 Edward Hervey <edward@fluendo.com>
4218 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4219 Better if we actually iterate the list :)
4221 2005-09-29 Wim Taymans <wim@fluendo.com>
4223 * check/gst/gstbin.c: (GST_START_TEST):
4224 Change for new bus API.
4226 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4227 (send_messages), (GST_START_TEST), (gstbus_suite):
4228 Change for new bus signal API.
4230 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4231 (gst_bus_source_prepare), (gst_bus_source_check),
4232 (gst_bus_create_watch), (gst_bus_add_watch_full),
4233 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4234 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4236 Remove support for multiple GSources operating on different
4237 message types as it is too complex and unneeded when using
4239 Added support for receiving signals from the bus.
4241 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4243 * docs/libs/tmpl/gstdataprotocol.sgml:
4244 * docs/manual/advanced-dataaccess.xml:
4245 * gst/elements/gstcapsfilter.c:
4247 rename filter-caps to caps property
4249 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4251 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4252 More robust fraction string parsing.
4254 * docs/pwg/appendix-porting.xml:
4255 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4257 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4259 * gst/gstcaps.c: (gst_caps_do_simplify):
4260 Thou shalt not free a structure and then continue using it
4261 in the next loop iteration.
4263 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4265 Add test case for caps simplification.
4267 2005-09-29 Wim Taymans <wim@fluendo.com>
4269 * check/gst/gstbin.c: (GST_START_TEST):
4272 2005-09-29 Wim Taymans <wim@fluendo.com>
4274 * check/gst/gstbin.c: (GST_START_TEST):
4277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4278 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4279 (find_element), (gst_bin_sort_iterator_next),
4280 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4281 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4282 (gst_bin_change_state), (gst_bin_dispose):
4283 A bin does not have a bus, it gets the bus from the parent.
4285 * gst/gstelement.c: (gst_element_requires_clock),
4286 (gst_element_provides_clock), (gst_element_is_indexable),
4287 (gst_element_is_locked_state), (gst_element_change_state),
4288 (gst_element_set_bus_func):
4291 * gst/gstpipeline.c: (gst_pipeline_class_init),
4292 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4293 The pipeline provides a bus.
4295 2005-09-28 Johan Dahlin <johan@gnome.org>
4297 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4298 gst_structure_get_enum instead of gst_structure_get_int
4300 * gst/gststructure.c (gst_structure_get_enum): Impl.
4302 * gst/gststructure.h (gst_structure_get_enum): Add
4304 * docs/gst/gstreamer-sections.txt: Ditto
4306 * gst/gstmessage.c (gst_message_new_state_changed): Use
4307 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4308 which does introspection.
4309 Reviewed by Christian Schaller
4311 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4313 * gst/gstinfo.c: (gst_debug_log_default):
4314 don't do dummy g_strdup()s
4315 * libs/gst/controller/gstcontroller.c:
4316 (on_object_controlled_property_changed),
4317 (gst_controlled_property_new), (gst_controller_new_valist),
4318 (gst_controller_new_list),
4319 (gst_controller_remove_properties_valist), (gst_controller_set),
4320 (gst_controller_get), (gst_controller_sync_values),
4321 (gst_controller_get_value_array), (_gst_controller_class_init),
4322 (gst_controller_get_type):
4323 * libs/gst/controller/gstcontroller.h:
4324 * libs/gst/controller/gstinterpolation.c:
4325 (gst_controlled_property_find_timed_value_node):
4326 convert // to /**/ comments
4328 2005-09-28 Wim Taymans <wim@fluendo.com>
4330 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4331 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4332 (gst_bus_sync_signal_handler):
4334 Added async-message and sync-message signals to the bus.
4335 Added helper BusFunc to emit signals for all posted messages.
4337 * gst/gstmessage.c: (gst_message_type_get_name),
4338 (gst_message_type_to_quark), (gst_message_get_type):
4340 Register quarks for message names.
4342 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4344 * docs/libs/gstreamer-libs-sections.txt:
4345 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4346 (gst_controller_new_list):
4347 * libs/gst/controller/gstcontroller.h:
4348 added another constructor for language bindings
4350 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4352 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4356 * gst/gstinfo.c: (_gst_debug_init):
4357 slightly more readable color for refcount debugging
4359 2005-09-28 Wim Taymans <wim@fluendo.com>
4361 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4362 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4363 (find_element), (gst_bin_sort_iterator_next),
4364 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4365 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4366 (gst_bin_change_state), (gst_bin_dispose):
4367 Small doc fixes. get_clock -> provide_clock.
4369 * gst/gstelement.c: (gst_element_class_init),
4370 (gst_element_provides_clock), (gst_element_provide_clock),
4371 (gst_element_get_clock), (gst_element_commit_state),
4372 (gst_element_lost_state):
4374 Make get/set_clock() symetric. Add provide_clock vmethod since
4375 that is actually what this function does.
4377 * gst/gstpipeline.c: (gst_pipeline_class_init),
4378 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4379 (gst_pipeline_get_clock):
4380 get_clock -> provide_clock.
4382 2005-09-28 Andy Wingo <wingo@pobox.com>
4384 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4385 lieu of real docs...
4387 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4389 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4391 * gst/elements/gstcapsfilter.c:
4392 * gst/elements/gstfakesink.c:
4393 * gst/elements/gstfakesrc.c:
4394 * gst/elements/gstfdsink.c:
4395 * gst/elements/gstfdsrc.c:
4396 * gst/elements/gstfilesink.c:
4397 * gst/elements/gstfilesrc.c:
4398 * gst/elements/gstidentity.c:
4399 * gst/elements/gsttee.c:
4400 * gst/elements/gsttypefindelement.c:
4401 Make element details static.
4403 2005-09-28 Wim Taymans <wim@fluendo.com>
4405 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4406 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4407 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4408 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4409 (gst_bin_change_state), (gst_bin_dispose):
4410 Some documentation updates.
4411 Clean up dispose handlers.
4413 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4414 * gst/gstpad.c: (gst_pad_dispose):
4415 Clean up dispose handler.
4417 * gst/gstpipeline.c: (gst_pipeline_change_state):
4418 Removed spurious UNLOCK.
4420 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4422 * docs/gst/gstreamer-sections.txt:
4423 * gst/base/gstbasesrc.h:
4428 * gst/gstpipeline.c:
4429 * gst/gstpipeline.h:
4432 added two new functions to the docs
4433 documents all undocumented GstXXXFlags
4434 completed some incomplete docs
4436 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4438 * gst/gstbin.c: (gst_bin_dispose):
4439 * gst/gstelement.c: (gst_element_dispose):
4440 remove now useless and leaky resurrection code in dispose
4441 * gst/base/gstbasesrc.c: (gst_base_src_init):
4442 * gst/gstelementfactory.c: (gst_element_factory_create):
4443 * gst/gstobject.c: (gst_object_set_parent):
4446 2005-09-27 Wim Taymans <wim@fluendo.com>
4448 * docs/design/part-TODO.txt:
4451 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4452 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4453 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4454 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4455 (gst_bin_change_state):
4457 Remove element variable, we keep element info in the iterator now.
4459 2005-09-27 Andy Wingo <wingo@pobox.com>
4461 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4464 2005-09-27 Wim Taymans <wim@fluendo.com>
4466 * check/gst/gstbin.c: (GST_START_TEST):
4467 Enable check that works now.
4469 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4470 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4471 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4472 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4473 (gst_bin_change_state):
4475 Redid the state change algorithm using a topological sort algo.
4476 Handles all cases correctly.
4477 Exposed iterator for state change order.
4480 Temp storage for state changes. Need to get rid of this soon.
4482 2005-09-27 Wim Taymans <wim@fluendo.com>
4484 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4485 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4486 (link_fold_func), (gst_pad_proxy_setcaps):
4487 Leak fixes, the fold functions need to unref the passed object and
4488 _get_parent_*() returns ref to parent.
4490 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4492 * check/gst/gstbuffer.c: (test_make_writable):
4493 Plug leak in test case and fix 'make check-valgrind'
4495 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4497 * gst/gstbuffer.c: (gst_subbuffer_init):
4498 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4499 works correctly in all circumstances (we could have just copied
4500 the parent buffer's readonly flag, but conceptually it seems
4501 cleaner to mark all subbuffers as read-only). (based on patch
4502 by Alessandro Decina, #314710).
4504 * check/gst/gstbuffer.c: (create_read_only_buffer),
4505 (test_make_writable), (test_subbuffer_make_writable),
4507 Add some tests for gst_buffer_make_writable().
4509 2005-09-27 Wim Taymans <wim@fluendo.com>
4511 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4512 use gst_object_has_ancestor().
4514 * gst/gstobject.c: (gst_object_has_ancestor):
4516 gst_object_has_ancestor() copied from gstbin.c as it is a
4519 * tests/instantiate/create.c: (create_all_elements):
4520 * tests/lat.c: (handoff_src), (handoff_sink):
4521 * tests/sched/runxml.c: (main):
4522 * tests/seeking/seeking1.c: (main):
4523 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4525 Fix compilation of some tests.
4527 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4530 Remove comment. GST_TYPE_G_ERROR is here to stay,
4531 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4534 2005-09-26 Wim Taymans <wim@fluendo.com>
4536 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4537 Added check that shows error in state change order.
4539 2005-09-26 Wim Taymans <wim@fluendo.com>
4541 * gst/gstbin.c: (gst_bin_change_state):
4542 Make state change function use 3 queues again, we were
4543 adding elements in the wrong order.
4545 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4548 * gst/gstpad.c: (gst_pad_dispose):
4549 Added some debug info first.
4551 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4553 * docs/design/draft-push-pull.txt:
4554 * docs/design/part-events.txt:
4555 * docs/design/part-overview.txt:
4556 * docs/design/part-scheduling.txt:
4557 Replace all _pull_region() with _pull_range()
4559 2005-09-26 Andy Wingo <wingo@pobox.com>
4561 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4563 * check/gst-libs/controller.c: Update for controller api change.
4566 * tests/Makefile.am:
4567 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4568 over by GLib bug 118439.
4570 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4571 routines to a function.
4573 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4575 * libs/gst/controller/gsthelper.c:
4576 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4577 (gst_object_sync_values): Renamed from sink_values. Ugh.
4579 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4581 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4582 Renamed from controller_key, as it is exported.
4584 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4586 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4591 * gst/gstpadtemplate.h:
4594 * gst/gstqueryutils.c:
4595 * gst/gstqueryutils.h:
4596 remove queryutils headers after moving the two used functions
4597 to gstquery. also fixes build problem for gstsiddec
4599 2005-09-26 Michael Smith <msmith@fluendo.com>
4601 * tools/gst-launch.1.in:
4602 Correct documentation in manpage of debug syntax
4604 2005-09-26 Wim Taymans <wim@fluendo.com>
4606 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4607 (gst_base_src_is_seekable), (gst_base_src_change_state):
4608 Some more debugging info.
4610 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4612 * docs/gst/gstreamer-sections.txt:
4613 * gst/base/gstbasetransform.h:
4617 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4619 * docs/gst/.cvsignore:
4620 * docs/gst/tmpl/.cvsignore:
4621 * docs/gst/tmpl/gstpipeline.sgml:
4622 * docs/gst/tmpl/gstplugin.sgml:
4623 * gst/gstpipeline.c:
4626 inlined the last two docs files
4627 removed the tmpl directory from cvs (no more conflicts here!)
4629 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4631 * docs/gst/gstreamer-sections.txt:
4632 * docs/gst/tmpl/.cvsignore:
4633 * docs/gst/tmpl/gstpad.sgml:
4634 * docs/gst/tmpl/gstpadtemplate.sgml:
4636 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4637 (gst_pad_finalize), (gst_pad_set_pad_template):
4639 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4640 (gst_pad_template_class_init), (gst_pad_template_init),
4641 (gst_pad_template_dispose), (name_is_valid),
4642 (gst_static_pad_template_get), (gst_pad_template_new),
4643 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4644 (gst_pad_template_pad_created):
4645 * gst/gstpadtemplate.h:
4646 inlined two more docs
4647 factored gstpadtemplate out of gstpad
4649 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4651 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4652 (test_children_state_change_order_semi_sink):
4653 Fix test case: we can't rely on a fixed state change order when
4654 going from READY => PAUSED because the sink might commit its
4655 new state first when the first buffer created by the source
4656 reaches the sink before the source has finished its change state.
4657 (Test case still fails at times, see #316856, comment 5 onwards)
4659 2005-09-24 Wim Taymans <wim@fluendo.com>
4661 * docs/design/part-events.txt:
4662 * docs/design/part-gstbus.txt:
4663 * docs/design/part-gstpipeline.txt:
4664 * docs/design/part-messages.txt:
4665 * docs/design/part-overview.txt:
4666 * docs/design/part-segments.txt:
4673 * gst/gstiterator.c:
4674 Various documentation updates.
4676 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4679 Well, that's embarassing. Luckily we weren't using
4680 GST_CLOCK_DIFF anywhere.
4682 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4684 * common/gtk-doc.mak:
4685 don't fail on building XML, FC4 slave shows a bunch of doc
4686 missing bits that I don't get
4688 * gst/gstpipeline.c:
4689 * gst/gststructure.c:
4692 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4694 * docs/design/part-gstbin.txt:
4695 * docs/design/part-gstbus.txt:
4697 Add blurb about how the bus goes into flushing mode and
4698 drops all messages when its bin goes from READY into NULL
4701 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4703 * docs/gst/gstreamer-sections.txt:
4704 * gst/gststructure.c: (gst_structure_get_clock_time):
4705 * gst/gststructure.h:
4706 add a method to get a GstClockTime out of a structure
4708 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4710 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4711 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4712 Added test to check state change order in bins (can still be made
4713 to fail here under heavy disk load; bails out with 'Push on pad
4714 fakesink:sink0, but it was not activated in push mode').
4716 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4717 Fix state change order when there is only a semi sink (#316856)
4719 * gst/gstbus.c: (gst_bus_class_init):
4720 Use _class_peek_parent(), not _class_ref(); fix docs to say
4721 'default main context' instead of 'mainloop' where that is
4724 * gst/gstelement.c: (gst_element_commit_state),
4725 (gst_element_set_state):
4726 Fix typos in debug messages
4728 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4731 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4732 * gst/gstpluginfeature.c:
4735 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4736 change an assert into an error until it gets fixed properly
4738 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4740 * docs/gst/gstreamer-sections.txt:
4741 * docs/gst/tmpl/.cvsignore:
4742 * docs/gst/tmpl/gstelement.sgml:
4743 * docs/gst/tmpl/gstinfo.sgml:
4744 * docs/gst/tmpl/gstobject.sgml:
4749 * gst/gstobject.c: (gst_object_class_init):
4751 inlined 3 more biiiig doc files and added some missing docs on the fly
4753 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4755 * check/gst/.cvsignore:
4756 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4757 * gst/gstregistryxml.c: (load_plugin),
4758 (gst_registry_xml_save_plugin):
4759 put back source in registry. add checks for find_plugin.
4760 * testsuite/states/bin.c: (assert_state), (empty_bin),
4761 (test_adding_one_element), (main):
4762 * testsuite/states/locked.c: (main):
4763 some compile/run fixes
4765 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4767 * check/gst/gstvalue.c: (GST_START_TEST):
4768 fix leaks in the test itself
4770 2005-09-22 Wim Taymans <wim@fluendo.com>
4772 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4773 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4774 (gst_base_sink_query):
4775 Prepare for more accurate position reporting and query
4778 * gst/gstelement.c: (gst_element_send_event),
4779 (gst_element_set_state):
4782 2005-09-22 Wim Taymans <wim@fluendo.com>
4784 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4785 (gst_query_parse_segment):
4788 Add segment query for future use.
4790 2005-09-22 Wim Taymans <wim@fluendo.com>
4792 * gst/gstbin.c: (gst_bin_add_func):
4793 Some more debug info.
4795 * gst/gstelement.c: (gst_element_send_event):
4799 Don't know how flags got broken.
4804 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4806 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4807 Add simplistic test suite for GST_TYPE_DATE serialisation and
4810 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4812 * docs/gst/gstreamer-sections.txt:
4813 * gst/gststructure.c: (gst_structure_set_valist),
4814 (gst_structure_get_date):
4815 * gst/gststructure.h:
4816 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4817 (gst_date_copy), (gst_value_compare_date),
4818 (gst_value_serialize_date), (gst_value_deserialize_date),
4819 (gst_value_transform_date_string),
4820 (gst_value_transform_string_date), (_gst_value_initialize):
4822 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4823 bunch of utility functions along with a hack that checks that
4824 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4825 is required. Part of the grand scheme in #170777.
4827 2005-09-22 Andy Wingo <wingo@pobox.com>
4829 * gst/gstconfig.h.in: Psych out gtk-doc.
4831 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4833 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4835 * tools/gst-inspect.c (print_element_list): Plug some
4836 inconsequential leaks.
4838 * gst/gstregistry.c (gst_registry_get_default): Doc.
4840 * check/gst/gstplugin.c:
4841 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4842 * gst/gstelementfactory.c (gst_element_factory_create):
4843 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4846 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4847 (gst_plugin_feature_load): Doc, don't eat refs.
4849 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4850 (gst_plugin_list_free): Doc.
4851 (gst_plugin_load_file): Doc updates.
4853 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4854 accessors returning refcounted objects, return a ref.
4856 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4857 accessor for caps. IDEMPOTENCE. Oh yes.
4859 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4861 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4863 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4864 (_gst_debug_register_funcptr):
4865 Add mutex to serialise access to the hash table with
4866 the function pointer => function name string mapping;
4867 make that hash table static scope (#316809).
4869 * gst/registries/.cvsignore:
4870 Remove left-over file.
4872 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4874 * docs/pwg/appendix-porting.xml:
4875 And something about newsegment events and caps-on-buffers to
4876 the porting guide (feel free to improve).
4878 2005-09-21 Andy Wingo <wingo@pobox.com>
4880 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4881 data and event probes on the same pad.
4882 (test_buffer_probe_once): Test that removing probes from within
4883 the probe functions works.
4885 2005-09-21 Andy Wingo <wingo@pobox.com>
4887 * check/gst/gstutils.c: New file.
4888 (test_buffer_probe_n_times): A simple buffer probe test. More to
4891 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4892 have-data::buffer, not have-data.
4893 (gst_pad_add_event_probe): Likewise for have-data::event.
4894 (gst_pad_add_data_probe): More docs. The part about 'resolving the
4895 peer' isn't quite right yet though.
4896 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
4897 (gst_pad_remove_data_probe): Change to take the guint handler_id
4898 as their arg, not the function+data, which is more glib-like.
4900 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4901 the signal emission to indicate if the data is a buffer or an
4903 (gst_pad_get_type): Initialize buffer and event quarks.
4904 (gst_pad_class_init): have-data is now a detailed signal, yes it
4907 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4909 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4910 * gst/gstutils.c: (gst_util_set_value_from_string),
4911 (gst_util_set_object_arg):
4912 Don't put functional code in g_return_if_fail() or
4913 g_return_val_if_fail() statements, otherwise things will
4914 break when G_DISABLE_CHECKS is defined during compilation.
4916 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4918 * docs/gst/tmpl/.cvsignore:
4919 * docs/gst/tmpl/gstvalue.sgml:
4922 inlied another one and added some obvious docs
4924 2005-09-21 Wim Taymans <wim@fluendo.com>
4926 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4927 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4928 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4929 (gst_fdsrc_get_property), (gst_fdsrc_create):
4930 * gst/elements/gstfdsrc.h:
4931 Properly implement fdsrc. Removed signal and timeout,
4932 better implemented somewhere else.
4934 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4936 * docs/gst/tmpl/.cvsignore:
4937 * docs/gst/tmpl/gstimplementsinterface.sgml:
4938 * gst/gstinterface.c:
4941 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4943 * docs/gst/gstreamer-sections.txt:
4944 * docs/gst/tmpl/.cvsignore:
4945 * docs/gst/tmpl/gstenumtypes.sgml:
4946 remove obsolete doc file
4948 2005-09-21 David Schleef <ds@schleef.org>
4950 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4951 little beer, fix a little leak.
4953 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4955 * docs/gst/gstreamer-docs.sgml:
4956 * docs/gst/gstreamer-sections.txt:
4957 * docs/gst/tmpl/.cvsignore:
4962 * gst/gstindex.c: (gst_index_class_init):
4964 * gst/gstindexfactory.c: (gst_index_factory_get_type),
4965 (gst_index_factory_class_init), (gst_index_factory_init),
4966 (gst_index_factory_finalize), (gst_index_factory_new),
4967 (gst_index_factory_destroy), (gst_index_factory_find),
4968 (gst_index_factory_create), (gst_index_factory_make):
4969 * gst/gstindexfactory.h:
4970 * gst/gstpluginfeature.c:
4971 * gst/gstpluginfeature.h:
4972 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4973 more docs inlined, splitted gstindex.{c,h}
4975 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4977 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4980 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4982 * gst/elements/gstfilesink.c: (gst_file_sink_init):
4983 Set sync to FALSE by default.
4985 2005-09-20 Wim Taymans <wim@fluendo.com>
4987 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4988 (gst_base_sink_init):
4989 Make sync property settable from subclass.
4991 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4992 (gst_fake_sink_change_state):
4993 Set sync to FALSE by default.
4995 2005-09-20 Wim Taymans <wim@fluendo.com>
4997 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4998 * tools/gst-launch.c: (main):
4999 The timeout handler should have lower priority than the source
5000 so we don't timeout before popping a message with 0 timeout.
5001 Dump error messages after failed state change.
5003 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5005 * tools/gst-inspect.c: (print_element_properties_info):
5008 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5010 * check/gst/gstevent.c:
5011 * gst/elements/gstfakesink.c:
5012 * gst/elements/gstfakesink.h:
5013 remove the sync property from fakesink.
5014 has the side effect of setting sync TRUE
5015 for fakesink, which is a change. Anyone who knows how
5016 to fix this nicely in a GObject-y way, feel free.
5018 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5020 * docs/gst/gstreamer-docs.sgml:
5021 remove probe refsection
5023 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5025 * check/Makefile.am:
5026 disable valgrinding the controller test again
5027 * docs/gst/gstreamer-sections.txt:
5028 update for api-changes
5030 2005-09-20 Wim Taymans <wim@fluendo.com>
5032 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5033 (gst_base_sink_set_property), (gst_base_sink_get_property),
5034 (gst_base_sink_do_sync):
5035 * gst/base/gstbasesink.h:
5036 Added sync property to basesink to disable clock sync.
5038 2005-09-20 Andy Wingo <wingo@pobox.com>
5040 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5041 eating the caller's refcount.
5043 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5044 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5047 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5048 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5049 of GLib 2.8 public, so we can know which refcount to check in
5052 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5053 (gst_object_init): Only set the gst refcount if we're going ahead
5054 with the refcount hack.
5056 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5058 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5059 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5060 more leaks plumbed, added more debug-logging
5064 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5067 remove include of gstmemchunk.h
5069 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5071 * gst/gstclock.c: (_gst_clock_id_free):
5072 Commit from the Political Party For More Atomic CVS Commits,
5073 so that people don't waste too much of their day fishing
5074 out obvious leaks out of massive commits.
5075 Oh, and fix a pretty damn obvious leak in the memchunk
5078 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5080 * check/Makefile.am:
5081 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5082 plug mem-leak, re-add to valgrindable tests
5084 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5087 unbreak the build for those who have chronic arthritis
5088 and typing "make check" is just too taxing on the hands
5090 2005-09-20 Andy Wingo <wingo@pobox.com>
5092 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5093 really want it out, you should fix plugins at the same time.
5095 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5098 * docs/gst/gstreamer-sections.txt:
5100 added missing symbols to api docs
5101 disable ref-count hack if we have glib >= 2.8
5103 2005-09-19 David Schleef <ds@schleef.org>
5105 * docs/gst/Makefile.am: Ignore a few more internal headers
5106 * docs/gst/gstreamer-docs.sgml: Remove old sections
5107 * docs/gst/gstreamer-sections.txt: Remove old sections
5108 * docs/gst/tmpl/gstobject.sgml: update
5109 * docs/gst/tmpl/gstplugin.sgml: update
5110 * docs/gst/tmpl/gstpluginfeature.sgml: update
5111 * docs/random/ds/0.9-suggested-changes: update.
5112 * gst/Makefile.am: remove memchunk and trashstack, since they're
5114 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5115 * gst/gst.h: don't include some headers
5116 * gst/gstchildproxy.c: add gstmarshal.h
5117 * gst/gstclock.c: Don't use memchunks
5118 * gst/gstminiobject.c: Add some docs
5119 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5120 * gst/gstobject.h: same
5121 * gst/gstplugin.c: include gstmacros.h
5122 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5123 * gst/gstquery.c: don't use memchunks
5124 * gst/gstregistry.c: rename gst_registry_deinit()
5125 * gst/gstregistry.h: same
5127 2005-09-19 David Schleef <ds@schleef.org>
5129 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5130 * docs/libs/gstreamer-libs-sections.txt:
5131 * docs/libs/tmpl/gstgetbits.sgml:
5132 * docs/libs/tmpl/gstputbits.sgml:
5134 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5136 * win32/gstenumtypes.c:
5137 * win32/gstenumtypes.h:
5140 2005-09-19 Wim Taymans <wim@fluendo.com>
5142 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5143 Automatically PAUSE and RESUME a pipeline when a flushing seek
5146 2005-09-19 Andy Wingo <wingo@pobox.com>
5148 * gst/gstregistry.h: Spacing fixen.
5150 2005-09-19 Wim Taymans <wim@fluendo.com>
5152 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5153 Handle state change failure more correctly.
5155 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5157 * check/Makefile.am:
5158 * check/pipelines/cleanup.c: (run_pipeline):
5159 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5161 enable cleanup again after fixing the leak
5163 some more info on docs
5165 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5167 * check/Makefile.am:
5168 re-enable tests now that leaks are plugged
5170 * check/gst/gstbin.c:
5171 * check/gst/gstpipeline.c:
5172 add some more tests while fixing leaks
5174 make sure binaries are uptodate when valgrinding/gdbing
5176 * gst/gstelementfactory.c:
5177 remove a ref too many, and add a FIXME for when we get
5178 round to disposing of classes
5180 fix the refcounting when loading a plugin from a file and
5181 the code pretends that the pointer is the same even though
5182 of course it can change
5183 * gst/gstpluginfeature.c:
5184 unref plugins marked cached (a bit confusing as a name)
5185 as the docs state should be done
5186 various doc additions to explain refcounting
5187 * gst/gstregistry.c:
5188 * gst/gstregistryxml.c:
5191 2005-09-19 Wim Taymans <wim@fluendo.com>
5193 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5194 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5195 (send_messages), (GST_START_TEST), (gstbus_suite):
5196 * check/gst/gstpipeline.c: (GST_START_TEST):
5197 * check/pipelines/cleanup.c: (run_pipeline):
5198 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5200 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5201 (gst_bus_source_check), (gst_bus_source_dispatch),
5202 (gst_bus_create_watch), (gst_bus_add_watch_full),
5203 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5205 * tools/gst-launch.c: (event_loop):
5206 * tools/gst-md5sum.c: (event_loop):
5207 GstBusHandler -> GstBusFunc, return value has the same meaning as
5208 any other GSource (FALSE == remove source).
5209 _add_watch() and _add_watch_full() now take a MessageType mask to
5210 only handle specific types of messages.
5211 _poll() returns the GstMessage instead of the message type to avoid
5213 _have_pending() takes a MessageType mask now too.
5214 Added testsuite for multiple bus watches.
5215 Fix testsuites and applications for new bus API.
5217 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5219 * check/Makefile.am:
5220 mark a bunch of the tests as to fix until we fix them
5222 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5225 use GST_PLUGIN settings for valgrind tests as well, so we're
5226 valgrinding the correct thing
5227 * gst/gst.c: (init_post):
5230 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5232 * gst/gst.c: (init_post), (gst_deinit):
5233 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5234 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5235 * gst/gstindex.c: (gst_index_factory_class_init),
5236 (gst_index_factory_finalize):
5237 * gst/gstobject.c: (gst_object_dispose):
5238 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5239 (gst_plugin_load_file), (gst_plugin_desc_free):
5240 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5241 (gst_plugin_feature_finalize):
5242 * gst/gstregistry.c: (gst_registry_class_init),
5243 (gst_registry_init), (gst_registry_finalize),
5244 (gst_registry_get_default), (gst_registry_deinit):
5245 * gst/gstregistry.h:
5246 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5247 various cleanups and memleak plugging. make valgrind is happy now.
5249 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5252 add a check-valgrind target
5254 2005-09-18 David Schleef <ds@schleef.org>
5256 * tools/gst-inspect.c: Revert the GOption code.
5258 2005-09-17 David Schleef <ds@schleef.org>
5260 * check/Makefile.am: Fix environment variables.
5261 * check/gst/gstplugin.c: Fix for API changes.
5262 * tools/gst-inspect.c: Fix for API changes.
5263 * tools/gst-xmlinspect.c: Fix for API changes.
5264 * gst/gstelementfactory.c:
5267 * gst/gstpluginfeature.c:
5268 * gst/gstpluginfeature.h:
5269 * gst/gstregistry.c:
5270 * gst/gstregistry.h:
5271 * gst/gstregistryxml.c:
5272 * gst/gsttypefind.c:
5273 * gst/gsttypefindfactory.c:
5274 * gst/indexers/gstfileindex.c:
5275 * gst/indexers/gstmemindex.c:
5276 * gst/schedulers/Makefile.am:
5277 Change registry to keep track of both plugins and features,
5278 removing the feature tracking from plugins themselves.
5280 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5282 * check/Makefile.am:
5283 * tools/gst-register.1.in:
5286 2005-09-15 David Schleef <ds@schleef.org>
5288 * check/gst/gstplugin.c:
5289 * gst/gstelementfactory.c:
5291 * gst/gstpluginfeature.c:
5292 * gst/gstregistry.c:
5293 Getting tired of debugging. Disabled all the unreffing of
5294 plugins and features, which fixes the segfaults, but of
5295 course leaks like crazy. At least playbin works.
5297 2005-09-15 David Schleef <ds@schleef.org>
5299 * check/gst/gstplugin.c: (register_check_elements),
5300 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5302 * gst/elements/gsttypefindelement.c: Fix refcounting.
5303 * gst/gsttypefind.c:
5304 * gst/gsttypefindfactory.c:
5305 * gst/gsttypefindfactory.h:
5307 2005-09-15 David Schleef <ds@schleef.org>
5309 * gst/gstindex.c: get refcounting correct.
5310 * gst/gstregistry.c: Handle the case where a feature/plugin is
5313 2005-09-15 David Schleef <ds@schleef.org>
5315 * check/Makefile.am:
5316 * check/gst/gstplugin.c: Add test
5317 * gst/gstplugin.c: Fix problems noticed by testsuite
5319 * gst/gstregistry.c:
5320 * gst/gstregistry.h:
5322 2005-09-15 David Schleef <ds@schleef.org>
5324 * gst/gstplugin.c: Implement semi-decent recounting and locking
5325 in plugins and plugin features.
5327 * gst/gstpluginfeature.c:
5328 * gst/gstpluginfeature.h:
5329 * gst/gstregistry.c:
5331 2005-09-15 Michael Smith <msmith@fluendo.com>
5333 * gst/gstregistry.c: (gst_registry_get_feature_list):
5334 Implement this. Makes oggdemux work; decodebin still broken.
5336 2005-09-14 David Schleef <ds@schleef.org>
5338 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5340 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5341 * gst/check/Makefile.am:
5342 * libs/gst/controller/Makefile.am:
5343 * libs/gst/dataprotocol/Makefile.am:
5345 2005-09-14 David Schleef <ds@schleef.org>
5347 * configure.ac: Remove getbits library. Nothing uses it, and
5348 it should be in something like liboil if someone did want
5350 * libs/gst/Makefile.am:
5351 * libs/gst/getbits/Makefile.am:
5352 * libs/gst/getbits/gbtest.c:
5353 * libs/gst/getbits/getbits.c:
5354 * libs/gst/getbits/getbits.h:
5355 * libs/gst/getbits/gstgetbits_generic.c:
5356 * libs/gst/getbits/gstgetbits_i386.s:
5357 * libs/gst/getbits/gstgetbits_inl.h:
5359 2005-09-14 David Schleef <ds@schleef.org>
5361 * gst/Makefile.am: Dist glib-compat.h
5363 2005-09-14 David Schleef <ds@schleef.org>
5365 * configure.ac: Remove gst/registries, since it's no longer used.
5366 * gst/registries/Makefile.am:
5367 * gst/registries/gstlibxmlregistry.c:
5368 * gst/registries/gstlibxmlregistry.h:
5369 * gst/registries/gstxmlregistry.c:
5370 * gst/registries/gstxmlregistry.h:
5371 * gst/registries/registrytest.c:
5373 2005-09-14 David Schleef <ds@schleef.org>
5375 * gst/glib-compat.h:
5376 * gst/gstregistryxml.c:
5377 Convergence is near. Seriously.
5379 2005-09-14 David Schleef <ds@schleef.org>
5381 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5382 * gst/glib-compat.h:
5383 Attempt #4 to appease the buildbots.
5385 2005-09-14 David Schleef <ds@schleef.org>
5387 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5390 2005-09-14 David Schleef <ds@schleef.org>
5392 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5395 2005-09-14 David Schleef <ds@schleef.org>
5397 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5400 2005-09-14 David Schleef <ds@schleef.org>
5402 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5403 * gst/glib-compat.h: Add some functions that are in newer versions
5404 of glib than we care to require.
5405 * gst/gstregistryxml.c: Use them.
5407 2005-09-14 David Schleef <ds@schleef.org>
5409 * po/POTFILES.in: remove gst-register.c
5411 2005-09-14 David Schleef <ds@schleef.org>
5413 * docs/gst/gstreamer-docs.sgml:
5414 * docs/gst/gstreamer-sections.txt:
5415 * docs/gst/gstreamer.types:
5416 * docs/gst/tmpl/gstelement.sgml:
5417 * docs/gst/tmpl/gstplugin.sgml:
5418 * docs/gst/tmpl/gstpluginfeature.sgml:
5419 Documentation updates for registry changes.
5421 2005-09-14 David Schleef <ds@schleef.org>
5423 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5424 because we don't require glib-2.8.
5426 2005-09-14 David Schleef <ds@schleef.org>
5428 * gst/gstregistryxml.c: Added. Essentially moved out of the
5429 registries directory.
5431 2005-09-14 David Schleef <ds@schleef.org>
5433 * check/Makefile.am:
5434 * check/generic/states.c:
5438 * gst/gst_private.h:
5439 * gst/gstelementfactory.c:
5444 * gst/gstpluginfeature.c:
5445 * gst/gstpluginfeature.h:
5446 * gst/gstregistry.c:
5447 * gst/gstregistry.h:
5448 * gst/gstregistrypool.c: remove
5449 * gst/gstregistrypool.h: remove
5450 * gst/gsttypefind.c:
5451 * gst/gsttypefindfactory.c:
5453 * tools/Makefile.am:
5454 * tools/gst-compprep.c:
5455 * tools/gst-inspect.c:
5456 * tools/gst-register.c: remove
5457 * tools/gst-xmlinspect.c:
5458 Registry rewrite. Changes registry from being a file created
5459 by a tool into a simple cache file created automatically by
5460 libgstreamer. Removed gst-register (because it's no longer
5461 needed). Remove registry pools, because we only have one
5462 registry implementation (XML). Fix up other subsystems as
5465 2005-09-13 Michael Smith <msmith@fluendo.com>
5467 * gst/gstconfig.h.in:
5468 Don't Use windows linking attributes for MinGW. Fixes #316157
5470 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5472 * gst/gstutils.c: (set_state_async_thread_func),
5473 (gst_element_set_state_async):
5474 Apparently people think it's better if this function doesn't
5475 try to set the state to whatever state was asked for on the first
5476 call to this function for any object. Seriously.
5478 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5480 * check/gst/gstpipeline.c: (GST_START_TEST):
5481 * docs/gst/gstreamer-sections.txt:
5482 * gst/gstutils.c: (set_state_async_thread_func),
5483 (gst_element_set_state_async):
5485 add a "gst_element_set_state_async" method that
5486 sets the state and starts a thread to make sure the state
5487 change completes as best as it can
5489 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5491 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5492 codify design+behaviour in testsuite after discussion
5494 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5496 * docs/gst/tmpl/gstelement.sgml:
5497 * docs/manual/appendix-quotes.xml:
5499 * gst/gstelement.c: (gst_element_set_state):
5502 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5504 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5505 (gst_base_transform_prepare_output_buf),
5506 (gst_base_transform_handle_buffer):
5507 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5508 (gst_capsfilter_prepare_buf):
5509 Remove the requirement for sub-classes to call the parent
5510 implementation of prepare_output_buffer with a wrapper function.
5513 * gst/gsttagsetter.h:
5516 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5518 * docs/gst/gstreamer-sections.txt:
5521 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5523 * docs/gst/gstreamer-sections.txt:
5524 * docs/gst/tmpl/gstelement.sgml:
5525 * docs/gst/tmpl/gstplugin.sgml:
5526 * gst/gstminiobject.c:
5528 docs now stop throwing warnings
5530 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5532 * docs/gst/gstreamer-sections.txt:
5533 * docs/gst/gstreamer.types:
5534 * docs/gst/tmpl/gstpad.sgml:
5535 * docs/gst/tmpl/gsttypes.sgml:
5536 * gst/base/gstadapter.h:
5537 * gst/base/gstbasesink.h:
5538 * gst/base/gstbasesrc.h:
5548 * gst/gststructure.c:
5549 * gst/registries/gstlibxmlregistry.h:
5550 various documentation fixes
5552 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5554 * docs/gst/gstreamer-sections.txt:
5555 * docs/gst/tmpl/gstvalue.sgml:
5556 rearrange gstvalue section
5557 * gst/gstutils.c: (gst_element_state_get_name):
5559 * gst/gstvalue.c: (_gst_value_initialize):
5563 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5565 * check/gst-libs/controller.c:
5567 * gst/base/gstbasetransform.c:
5568 (gst_base_transform_default_prepare_buf),
5569 (gst_base_transform_handle_buffer):
5570 * gst/base/gstbasetransform.h:
5571 Some more basetransform changes and fixes to enable sub-classes
5572 that modify buffer metadata only.
5573 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5574 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5575 (gst_capsfilter_prepare_buf):
5576 If the output pad has fixed allowed caps and input buffers
5577 don't have any, set the fixed caps on outgoing buffers.
5579 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5580 * check/elements/identity.c: (GST_START_TEST):
5581 Make the error a little clearer when the test fails because
5582 identity made a copy of the buffer.
5583 * docs/gst/gstreamer-sections.txt:
5584 New symbols in gstbasetransform.h
5585 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5586 (gst_base_transform_init), (gst_base_transform_transform_size),
5587 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5588 (gst_base_transform_default_prepare_buf),
5589 (gst_base_transform_get_unit_size),
5590 (gst_base_transform_buffer_alloc),
5591 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5592 (gst_base_transform_change_state),
5593 (gst_base_transform_set_passthrough),
5594 (gst_base_transform_set_in_place),
5595 (gst_base_transform_is_in_place):
5596 * gst/base/gstbasetransform.h:
5597 Change BaseTransform to separate in_place operate from same_caps
5598 output. in_place implies that the element can perform the transform
5599 on incoming buffers in-place, even if the caps on the output are
5601 Sub-class elements can now implement special buffer allocation
5602 methods for outgoing buffers if they wish to.
5603 Big documentation addition.
5604 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5605 * gst/elements/gstelements.c:
5606 Changes for basetransform modifications.
5607 * gst/elements/Makefile.am:
5608 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5609 Compile fix. Extra debug output.
5611 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5613 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5615 add tests for valid pad naming
5616 * gst/check/gstcheck.c: (gst_check_log_message_func),
5617 (gst_check_log_critical_func):
5619 remove printing of code, it is fragile when the code contains
5620 % and the line number is enough info
5621 * gst/check/gstcheck.h:
5622 * gst/gstpad.c: (gst_pad_template_new):
5625 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5628 say what CHECK flags we use
5629 * docs/libs/gstreamer-libs.types:
5630 * libs/gst/controller/Makefile.am:
5631 * libs/gst/controller/gst-controller.c:
5632 * libs/gst/controller/gst-controller.h:
5633 * libs/gst/controller/gst-helper.c:
5634 * libs/gst/controller/gst-interpolation.c:
5635 * libs/gst/controller/gstcontroller.c:
5636 * libs/gst/controller/gsthelper.c:
5637 * libs/gst/controller/gstinterpolation.c:
5638 * tools/gst-inspect.c: (print_plugin_info):
5639 we don't use dashes in header names
5641 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5643 * check/Makefile.am:
5644 * check/gst/.cvsignore:
5645 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5646 (gst_pipeline_suite), (main):
5647 adding a test for pipelines and state changes
5648 * gst/gstutils.c: (get_state_func):
5650 * gstreamer.spec.in:
5653 2005-09-08 Michael Smith <msmith@fluendo.com>
5655 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5656 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5657 (gst_file_src_is_seekable), (gst_file_src_get_size),
5658 (gst_file_src_start):
5659 * gst/elements/gstfilesrc.h:
5660 Various fixes for unseekable, unmmapable, and non-normal files, so
5661 that fallback to read() rather than mmap() works.
5662 * gst/gstevent.c: (gst_event_new_newsegment):
5663 Allow newsegment events with segment_start == segment_end, as will
5664 correctly happen if you use filesrc on a zero-size file, for
5667 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5669 * gst/gstplugin.c: (gst_plugin_load_file):
5670 Call g_module_close when we don't load the module
5672 * gst/registries/gstlibxmlregistry.c:
5673 (gst_xml_registry_get_property):
5674 Port leak fix from 0.8
5676 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5678 * docs/gst/gstreamer-docs.sgml:
5679 * docs/gst/tmpl/.cvsignore:
5680 * docs/gst/tmpl/gsttrace.sgml:
5681 * docs/gst/tmpl/gsttrashstack.sgml:
5690 * gst/gsttaginterface.c:
5691 * gst/gsttaginterface.h:
5694 * gst/gsttagsetter.c:
5695 * gst/gsttagsetter.h:
5698 * gst/gsttrashstack.c:
5699 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5700 inlined docs for gsttrace, gsttrashstack
5702 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5705 * gst/elements/gstbufferstore.h:
5706 * gst/elements/gsttypefindelement.c:
5707 * gst/elements/gsttypefindelement.h:
5709 * gst/gsttypefind.c:
5710 * gst/gsttypefind.h:
5711 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5712 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5713 (gst_type_find_factory_dispose),
5714 (gst_type_find_factory_unload_thyself),
5715 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5716 (gst_type_find_factory_get_caps),
5717 (gst_type_find_factory_get_extensions),
5718 (gst_type_find_factory_call_function):
5719 * gst/gsttypefindfactory.h:
5720 * gst/registries/gstlibxmlregistry.c:
5721 * gst/registries/gstxmlregistry.c:
5722 splitted gsttypefind into gsttypefind, gsttypefindfactory
5724 2005-09-07 Andy Wingo <wingo@pobox.com>
5726 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5727 condition whereby the pad's task function is entered before the
5728 pad_mode variable was set.
5730 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5732 * gst/gstpad.c: (gst_pad_alloc_buffer):
5733 Catch misbehaving pad_alloc functions that don't
5734 set up caps and do it for them.
5736 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5738 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5740 * docs/gst/tmpl/.cvsignore:
5741 * docs/gst/tmpl/gstmemchunk.sgml:
5742 * docs/gst/tmpl/gstparse.sgml:
5743 * docs/gst/tmpl/gsttaglist.sgml:
5744 * docs/gst/tmpl/gsttagsetter.sgml:
5745 * docs/gst/tmpl/gsttypefind.sgml:
5746 * docs/gst/tmpl/gsttypefindfactory.sgml:
5747 * gst/gstmemchunk.c:
5750 * gst/gsttaginterface.c:
5751 * gst/gsttypefind.c:
5752 * gst/gsttypefind.h:
5755 === release 0.9.2 ===
5757 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5762 releasing 0.9.2, "South"
5764 2005-09-05 Andy Wingo <wingo@pobox.com>
5766 * gst/registries/gstxmlregistry.h:
5767 * gst/registries/gstxmlregistry.c: Um... resurrect...
5769 * gst/registries/gstxmlregistry.h:
5770 * gst/registries/gstxmlregistry.c: and update to newer API.
5771 Incidentally they should be a bit faster now that they don't have
5774 2005-09-05 Andy Wingo <wingo@pobox.com>
5776 * gst/registries/gstxmlregistry.h:
5777 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5778 replaced by the libxml registry a while back
5780 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5782 * docs/gst/tmpl/gstplugin.sgml:
5783 * gst/elements/gstelements.c:
5785 * gst/gstplugin.c: (gst_plugin_register_func),
5786 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5787 (gst_plugin_get_source):
5789 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5790 (gst_xml_registry_save_plugin):
5791 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5792 (gst_xml_registry_save_plugin):
5793 * tools/gst-inspect.c: (print_plugin_info):
5794 add a "source" plugin description field, to represent the source
5795 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5796 will set it to PACKAGE, which is automake's idea of the name of
5799 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5805 * docs/faq/Makefile.am:
5806 * docs/gst/tmpl/gstelement.sgml:
5807 * docs/gst/tmpl/gsttypes.sgml:
5808 * docs/htmlinstall.mak:
5809 * docs/manual/Makefile.am:
5810 * docs/pwg/Makefile.am:
5811 reorganize doc build a little
5812 split out docbook and gtk-doc stuff
5813 have two separate --enable's and enable them through autogen
5814 but disable by default in configure (to be similar to other
5816 * gstreamer.spec.in:
5817 clean up docs install
5837 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5839 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5842 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5843 (gst_fake_sink_change_state):
5844 Make state change function thread-safe.
5846 * gst/gstpad.c: (gst_pad_alloc_buffer):
5847 Set offset on generic buffer allocated by fallback.
5849 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5851 * docs/gst/gstreamer-sections.txt:
5852 * docs/gst/tmpl/gstelement.sgml:
5854 * libs/gst/controller/gst-controller.c:
5855 (gst_controlled_property_set_interpolation_mode),
5856 (gst_controlled_property_new),
5857 (gst_controller_find_controlled_property):
5858 run the wingo-magic script against the docs
5860 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5862 * docs/gst/gstreamer-docs.sgml:
5863 * docs/gst/gstreamer-sections.txt:
5864 * docs/gst/tmpl/.cvsignore:
5865 * docs/gst/tmpl/gstelementdetails.sgml:
5866 * docs/gst/tmpl/gstelementfactory.sgml:
5869 * gst/gstelementfactory.c:
5870 * gst/gstelementfactory.h:
5871 merged elementdetails docs into elementfactory docs
5874 2005-09-02 Andy Wingo <wingo@pobox.com>
5876 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5877 consider this enum an enum and not a flags.
5879 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5881 * docs/gst/gstreamer-docs.sgml:
5882 * docs/gst/tmpl/.cvsignore:
5883 * docs/gst/tmpl/gstghostpad.sgml:
5884 * docs/gst/tmpl/gstiterator.sgml:
5885 * docs/gst/tmpl/gstmacros.sgml:
5886 * docs/gst/tmpl/gstrealpad.sgml:
5887 * docs/gst/tmpl/gstregistry.sgml:
5888 * docs/gst/tmpl/gstregistrypool.sgml:
5889 * docs/gst/tmpl/gststructure.sgml:
5890 * docs/gst/tmpl/gstsystemclock.sgml:
5891 * docs/gst/tmpl/gsttrace.sgml:
5892 * gst/gstghostpad.c:
5894 * gst/gstmemchunk.c:
5895 * gst/gstmemchunk.h:
5897 * gst/gstregistry.c:
5898 * gst/gstregistrypool.c:
5899 * gst/gststructure.c:
5900 * gst/gstsystemclock.c:
5903 2005-09-02 Andy Wingo <wingo@pobox.com>
5905 * gst/gstelement.h (GstState): Renamed from GstElementState,
5906 changed to be a normal enum instead of flags.
5907 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5908 munged to be GST_STATE_CHANGE_*.
5909 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5910 work with the new state representation.
5911 (GstStateChange): New enumeration of possible state transitions.
5912 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5913 (GstElementClass::change_state): Pass the GstStateChange along as
5914 an argument. Helps language bindings, so they don't have to use
5915 tricky lock-needing macros like GST_STATE_CHANGE ().
5917 * scripts/update-states (file): New script. Run it on a file to
5918 update it for state naming and API changes. Updates files in
5921 * All files updated for the new API.
5923 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
5925 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5926 * gst/gstutils.c: (gst_util_set_value_from_string),
5927 (gst_util_set_object_arg):
5928 fix a bunch of unchecked return values
5929 * tools/gst-complete.c: (main):
5930 * gstreamer.spec.in:
5933 2005-09-01 Wim Taymans <wim@fluendo.com>
5935 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5936 (gst_base_sink_event), (gst_base_sink_do_sync),
5937 (gst_base_sink_handle_event):
5938 * gst/base/gstbasesink.h:
5939 Handle newsegments more correctly.
5944 * gst/gstevent.c: (gst_event_new_newsegment):
5945 A newsegment cannot have a start_time of -1
5947 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
5949 * win32/gstenumtypes.c:
5950 * win32/gstenumtypes.h:
5953 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5955 * libs/gst/controller/gst-controller.c:
5956 (gst_controlled_property_set_interpolation_mode),
5957 (gst_controlled_property_new):
5960 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
5962 * docs/faq/gst-uninstalled:
5967 * gst/gstutils.c: (gst_element_link_filtered):
5969 add gst_element_link_filtered
5971 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5973 * docs/gst/gstreamer-docs.sgml:
5974 * docs/gst/gstreamer-sections.txt:
5975 * docs/gst/tmpl/.cvsignore:
5976 * docs/gst/tmpl/gsterror.sgml:
5977 * docs/gst/tmpl/gstfilter.sgml:
5978 * docs/gst/tmpl/gsturihandler.sgml:
5979 * docs/gst/tmpl/gsturitype.sgml:
5980 * docs/gst/tmpl/gstutils.sgml:
5981 * docs/gst/tmpl/gstxml.sgml:
5989 inlined more docs, fixed double id-ref
5991 2005-08-31 Wim Taymans <wim@fluendo.com>
5993 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5994 (gst_base_transform_handle_buffer):
5995 Passthrough elements don't need the caps as they don't care.
5997 2005-08-31 Wim Taymans <wim@fluendo.com>
5999 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6000 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6001 Don't leak refcounts on buffers.
6003 2005-08-31 Wim Taymans <wim@fluendo.com>
6005 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6006 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6007 (gst_base_transform_chain), (gst_base_transform_change_state):
6008 * gst/base/gstbasetransform.h:
6009 Handle the case where we are not negotiated more gracefully.
6011 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6013 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6014 (gst_file_src_map_region):
6015 Set READONLY flag on mmap'ed buffers, otherwise
6016 gst_buffer_make_writable() won't work properly (#314708).
6018 2005-08-31 Wim Taymans <wim@fluendo.com>
6020 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6021 passthrough elements can even do inplace on non writable
6022 buffers (as they don't touch them).
6024 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6026 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6027 (gst_test_mono_source_set_property),
6028 (gst_test_mono_source_class_init), (GST_START_TEST),
6029 (gst_controller_suite):
6030 more tests (hehe I have the most)
6032 describe popping messages whenusing mulltiple sources
6033 * libs/gst/controller/gst-controller.c:
6034 (gst_controlled_property_set_interpolation_mode),
6035 (gst_controlled_property_new):
6036 * libs/gst/controller/gst-controller.h:
6037 * libs/gst/controller/gst-interpolation.c:
6038 implement boolean properties
6040 2005-08-31 Wim Taymans <wim@fluendo.com>
6042 * gst/gstminiobject.c: (gst_mini_object_ref):
6043 Cannot assert that the refcount has to be positive
6044 since a disposed object can be resurrected.
6046 2005-08-31 Wim Taymans <wim@fluendo.com>
6048 * gst/gstpad.c: (gst_pad_init):
6049 Revert change, need to first fix badly behaving
6052 2005-08-30 Wim Taymans <wim@fluendo.com>
6054 * check/elements/fakesrc.c: (setup_fakesrc):
6055 * check/elements/identity.c: (setup_identity):
6056 Activate pads before using them.
6058 2005-08-30 Wim Taymans <wim@fluendo.com>
6060 * gst/base/gstadapter.c: (gst_adapter_flush):
6061 Flushing out 0 bytes is ok for this function.
6063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6064 no newsegment gives a warning and sets the start/stop to
6067 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6068 (gst_base_transform_set_passthrough):
6071 * gst/gstminiobject.c: (gst_mini_object_ref):
6072 Check refcount here too.
6074 * gst/gstpad.c: (gst_pad_init):
6075 Pads are initially flushing and refusing data.
6077 * gst/gstutils.c: (gst_element_link_pads_filtered):
6078 When adding a capsfilter element make sure it has the
6079 same state as the parent bin.
6081 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6083 * docs/gst/tmpl/.cvsignore:
6084 * docs/gst/tmpl/gstformat.sgml:
6085 * docs/gst/tmpl/gstversion.sgml:
6089 * gst/gstversion.h.in:
6090 more docs and two more inlined
6092 2005-08-30 Wim Taymans <wim@fluendo.com>
6094 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6095 Don't sync to clock.
6097 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6099 * docs/gst/gstreamer-sections.txt:
6100 ultral33t func10ns deserve to appear in the docs actually
6101 * docs/gst/tmpl/.cvsignore:
6102 * docs/gst/tmpl/gstcompat.sgml:
6103 * docs/gst/tmpl/gstconfig.sgml:
6104 * gst/check/gstcheck.c:
6106 * gst/gstconfig.h.in:
6109 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6111 * docs/gst/tmpl/.cvsignore:
6112 * docs/gst/tmpl/gstquery.sgml:
6113 * docs/gst/tmpl/gstutils.sgml:
6116 inlined and extended docs
6118 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6120 * check/gst-libs/controller.c: (GST_START_TEST),
6121 (gst_controller_suite):
6123 * docs/gst/tmpl/gstutils.sgml:
6124 * docs/libs/gstreamer-libs-sections.txt:
6125 * docs/libs/tmpl/gstdataprotocol.sgml:
6127 * examples/controller/audio-example.c: (main):
6128 controller example works now
6131 * tools/gst-inspect.c: (print_element_properties_info):
6132 show param spec flags
6134 2005-08-29 Andy Wingo <wingo@pobox.com>
6136 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6138 2005-08-28 Andy Wingo <wingo@pobox.com>
6140 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6141 as having two arguments instead of just one. Allows superclasses
6142 to access information on subclasses -- see the terrible for() loop
6143 in gtype.c:g_type_create_instance for the reason why. All callers
6146 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6148 * docs/design/part-messages.txt:
6150 * docs/gst/tmpl/.cvsignore:
6151 * docs/gst/tmpl/gstcaps.sgml:
6152 * docs/gst/tmpl/gstclock.sgml:
6159 added descriptions for bus and message
6160 inline caps and clock docs
6162 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6168 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6170 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6173 2005-08-26 Andy Wingo <wingo@pobox.com>
6175 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6176 element_set_state's return val.
6177 (test_2_elements): Add test that's been disabled for months.
6179 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6180 can-activate-pull properties.
6182 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6183 can-activate-pull properties. Implement is_seekable so fakesrc can
6184 operate in pull mode.
6186 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6188 (gst_base_sink_activate, gst_base_sink_activate_pull)
6189 (gst_base_sink_activate_push): Make activation mode choosing work.
6191 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6192 is right. Make pull mode work. Post an eos before pausing in pull
6194 (gst_base_sink_change_state): Pay attention to the core's
6195 change_state() return val.
6197 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6198 has-getrange properties. Cleanups.
6200 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6201 has_getrange and replace with can_activate_pull and
6204 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6205 locking comments. Remove has_loop, has_chain and replace with
6206 can_activate_pull and can_activate_push.
6208 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6211 * examples/Makefile.am:
6212 * examples/metadata/Makefile.am:
6213 * examples/metadata/read-metadata.c: (message_loop),
6214 (have_pad_handler), (make_pipeline), (print_tag), (main):
6215 Add metadata reading example that loops over a list of filenames,
6216 dumping any tags found.
6218 * gst/gstbus.c: (gst_bus_dispose):
6219 * gst/gstelement.c: (gst_element_dispose):
6220 Release a few potentially-held references in dispose.
6222 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6224 * docs/gst/tmpl/gstminiobject.sgml:
6225 do *not* add tmpl/*.sgml files to CVS!
6227 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6229 * libs/gst/bytestream/.cvsignore:
6230 * libs/gst/bytestream/Makefile.am:
6231 * libs/gst/bytestream/adapter.c:
6232 * libs/gst/bytestream/adapter.h:
6233 * libs/gst/bytestream/bytestream.c:
6234 * libs/gst/bytestream/bytestream.h:
6235 * libs/gst/bytestream/filepad.c:
6236 * libs/gst/bytestream/filepad.h:
6237 removing obsolete files
6239 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6241 * docs/gst/gstreamer-docs.sgml:
6242 * docs/libs/gstreamer-libs-docs.sgml:
6243 disabed additional index entries again, as this makes docs-gen just
6244 slow and they aren't useful yet
6245 * docs/libs/gstreamer-libs-sections.txt:
6246 little -section.txt cleanup for libs
6248 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6250 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6251 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6252 fix up some debugging
6253 (gst_base_transform_get_unit_size),
6254 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6255 (gst_base_transform_handle_buffer):
6256 * gst/base/gstbasetransform.h:
6257 handle and store timed NEWSEGMENT events so that subclasses that
6258 calculate time by counting samples have a segment_start time they
6259 need to add to their timestamps - see audioresample
6261 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6264 removed ';' from the end of macro defs
6265 * docs/gst/gstreamer-docs.sgml:
6266 * docs/gst/gstreamer-sections.txt:
6267 * docs/gst/tmpl/.cvsignore:
6269 * gst/gstelement.c: (gst_element_class_init),
6270 (gst_element_set_state), (activate_pads),
6271 (gst_element_save_thyself):
6272 * gst/gstevent.c: (gst_event_new_newsegment):
6274 * gst/gstiterator.c:
6275 * gst/gstiterator.h:
6278 * gst/gstutils.c: (gst_pad_query_convert):
6280 fixed parameter name mismatches between source, header and docs
6281 added some more docs, resolved the last batch of unused elements in
6282 docs (now someone needs to doc them)
6284 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6286 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6287 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6288 don't walk through the plugins backwards. Where is all this
6289 reversed logic coming from ?
6291 2005-08-25 Wim Taymans <wim@fluendo.com>
6293 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6294 (gst_base_transform_transform_size),
6295 (gst_base_transform_configure_caps),
6296 (gst_base_transform_get_unit_size),
6297 (gst_base_transform_buffer_alloc),
6298 (gst_base_transform_change_state):
6299 * gst/base/gstbasetransform.h:
6300 Cache caps unit_size.
6301 Make sure we cannot negotiate up and downstream at the
6304 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6306 * gst/gst.c: (init_pre), (init_post):
6307 register the installed plugin path after the env var
6308 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6309 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6310 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6311 directories, so the tests can prefer uninstalled over installed
6313 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6315 * gst/base/gstbasetransform.h:
6320 2005-08-25 Wim Taymans <wim@fluendo.com>
6322 * gst/gstbin.c: (bin_bus_handler):
6323 Be a bit more conservative about the posted message.
6325 * gst/gstbus.c: (gst_bus_post):
6326 Some cleanups, warn wrong return values.
6328 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6330 * check/gst/gstbin.c: (GST_START_TEST):
6331 * gst/gstbin.c: (bin_bus_handler):
6332 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6333 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6334 (gst_message_new_warning), (gst_message_new_tag),
6335 (gst_message_new_state_changed), (gst_message_new_segment_start),
6336 (gst_message_new_segment_done), (gst_message_new_custom):
6338 * tools/gst-launch.c: (event_loop):
6339 * tools/gst-md5sum.c: (event_loop):
6340 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6342 2005-08-25 Wim Taymans <wim@fluendo.com>
6344 * check/generic/states.c: (GST_START_TEST):
6345 Cleanup can be done at the end.
6347 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6348 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6349 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6350 Oh boy.. Thanks for finding this, Thomas.
6352 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6354 * docs/gst/gstreamer.types:
6357 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6359 * docs/gst/gstreamer-docs.sgml:
6360 * docs/gst/gstreamer-sections.txt:
6361 * docs/gst/tmpl/.cvsignore:
6363 * gst/gstiterator.c:
6365 * gst/registries/gstxmlregistry.h:
6366 added missing classes and symbols (123 more to go)
6367 removed removed symbols from section file
6368 fixed many doc-comments
6370 2005-08-24 Wim Taymans <wim@fluendo.com>
6372 * check/generic/states.c: (GST_START_TEST):
6373 Make sure all tasks are stopped.
6375 * check/gst/gstbin.c: (GST_START_TEST):
6376 Unref after usage for proper valgrinding.
6378 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6379 Really wait for the task to stop before destroying the
6382 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6383 (gst_queue_src_activate_push):
6384 Small cleanups. Don't stop the task when we did not start
6387 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6388 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6389 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6392 Protect the stream lock with the object lock.
6393 Disallow setting the stream lock when running.
6394 Add cleanup_all to wait for the threadpool to finish.
6395 Remove code to autoallocate a mutex if none was provided.
6396 Add _join() to wait for a task to stop.
6397 Protect the thread pool with a global lock.
6399 2005-08-24 Wim Taymans <wim@fluendo.com>
6401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6402 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6403 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6404 * gst/base/gstbasesink.h:
6405 Handle newsegment events correctly.
6406 Drop buffers out of the segment range.
6408 2005-08-22 Andy Wingo <wingo@pobox.com>
6410 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6411 macro, implements an interface and gstimplementsinterface for a
6414 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6416 * check/Makefile.am:
6417 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6418 add a test that does a bunch of state changes on elements
6419 needs some fixing for valgrind
6420 * check/states/sinks.c: (gst_object_suite):
6423 add prototype for gst_caps_is_equal_fixed
6425 * gst/gstregistrypool.c:
6428 2005-08-24 Andy Wingo <wingo@pobox.com>
6430 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6431 convert a negative value. Doesn't make much sense. Mostly this is
6432 here to force callers to ensure -1 maps to -1.
6434 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6436 * docs/pwg/advanced-types.xml:
6437 Well done to Michael for catching my deliberate introduction
6438 of this spelling mistake.
6439 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6441 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6442 unlink pads before removing the element from the bin.
6444 2005-08-24 Andy Wingo <wingo@pobox.com>
6446 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6447 the same thing as GST_DEBUG=*:4.
6448 (parse_debug_level, parse_debug_category): New helper parsers.
6450 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6452 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6453 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6454 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6455 (gst_base_transform_buffer_alloc),
6456 (gst_base_transform_handle_buffer):
6457 use gboolean return values and pointers to size so we can use the
6458 full GST_BUFFER_SIZE range (guint) for buffer sizes
6459 use GstPadDirection for transform_caps
6460 * gst/base/gstbasetransform.h:
6461 rename get_size to get_unit_size since that's what it is
6462 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6463 use GstPadDirection for transform_caps
6464 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6466 cleanup and debugging
6468 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6470 * gst/gstelement.c: (gst_element_class_init),
6471 (gst_element_set_state), (activate_pads),
6472 (gst_element_save_thyself):
6473 * tools/gst-compprep.c: (main):
6474 * tools/gst-inspect.c: (print_element_properties_info):
6475 * tools/gst-xmlinspect.c: (print_element_properties):
6476 Fixed long standing mem-leak
6478 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6480 * check/gst/gstbin.c: (GST_START_TEST):
6481 * gst/gstbin.c: (bin_bus_handler):
6482 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6483 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6484 (gst_message_new_warning), (gst_message_new_tag),
6485 (gst_message_new_state_changed), (gst_message_new_segment_start),
6486 (gst_message_new_segment_done), (gst_message_new_custom):
6488 * tools/gst-launch.c: (event_loop):
6489 * tools/gst-md5sum.c: (event_loop):
6490 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6491 that applications can sensibly post custom messages with references
6492 to their own objects.
6494 2005-08-24 Andy Wingo <wingo@pobox.com>
6496 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6499 2005-08-24 Wim Taymans <wim@fluendo.com>
6501 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6502 (gst_base_transform_transform_caps),
6503 (gst_base_transform_transform_size),
6504 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6505 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6506 (gst_base_transform_handle_buffer):
6507 * gst/base/gstbasetransform.h:
6508 Many fixes and new features added by Thomas. Can now also do
6509 transforms with variable sizes and a custom fixate_caps function.
6511 2005-08-24 Wim Taymans <wim@fluendo.com>
6513 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6517 Cast to ClockTime before formatting to time.
6522 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6524 * check/gst-libs/controller.c: (GST_START_TEST),
6525 (gst_controller_suite):
6526 * docs/gst/tmpl/gstcaps.sgml:
6527 * docs/gst/tmpl/gstghostpad.sgml:
6528 * docs/gst/tmpl/gstquery.sgml:
6529 * docs/gst/tmpl/gstutils.sgml:
6530 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6531 (gst_object_sink_values), (gst_object_get_value_arrays),
6532 (gst_object_get_value_array):
6533 gracefully handle helper method calls to objects that are not beeing
6534 controlled, added test case for that
6536 2005-08-23 Wim Taymans <wim@fluendo.com>
6538 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6539 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6540 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6541 (gst_event_parse_qos), (gst_event_new_seek),
6542 (gst_event_parse_seek):
6544 Some more debugging output and doc cleanups.
6546 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6547 Fix possible deadlock.
6549 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6551 * docs/gst/gstreamer-docs.sgml:
6552 * docs/gst/gstreamer-sections.txt:
6553 * docs/gst/gstreamer.types:
6554 * docs/gst/tmpl/.cvsignore:
6559 added 100 symbols from gstreamer-unused.txt to the right sections
6560 fixed more broken comments
6561 added GstBus to docs
6563 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6565 * docs/gst/gstreamer-sections.txt:
6566 * docs/gst/tmpl/.cvsignore:
6567 * docs/gst/tmpl/gstbin.sgml:
6568 * docs/gst/tmpl/gstbuffer.sgml:
6569 * gst/base/gstbasesrc.c:
6570 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6573 * tools/gst-launch.1.in:
6574 inlined more doc comments, added missing comments and fixed comments
6577 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6579 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6583 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6585 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6586 * gst/gststructure.h:
6587 add a fixate function for booleans; add a FIXME that these func
6588 names should probably be gst_structure_fixate_*
6590 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6592 * docs/gst/gstreamer-docs.sgml:
6593 * docs/gst/gstreamer-sections.txt:
6595 * gst/gstbin.c: (gst_bin_get_type),
6596 (gst_bin_child_proxy_get_child_by_index),
6597 (gst_bin_child_proxy_get_children_count),
6598 (gst_bin_child_proxy_init):
6599 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6600 (gst_child_proxy_get_child_by_index),
6601 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6602 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6603 (gst_child_proxy_get), (gst_child_proxy_set_property),
6604 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6605 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6606 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6607 * gst/gstchildproxy.h:
6608 * gst/parse/grammar.y:
6609 * tools/gst-inspect.c: (print_interfaces),
6610 (print_element_properties_info), (print_element_info):
6611 ported gstchildproxy over from 0.8
6612 ported gst-inspect fixes and enhancements over from 0.8
6614 2005-08-22 Wim Taymans <wim@fluendo.com>
6616 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6617 (gst_base_transform_handle_buffer):
6618 Also call the transform function if we have ANY caps.
6620 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6623 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6625 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6626 Don't pretend to handle seek events if the source is not seekable
6628 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6630 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6631 Remove extra parameter to debug output
6633 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6634 (gst_base_src_do_seek), (gst_base_src_activate_push):
6635 Fix seek event handling.
6637 * gst/gstpipeline.c: (gst_pipeline_change_state):
6638 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6639 (gst_queue_src_activate_push):
6640 Don't start the src pad task on FLUSH_STOP if the pad
6644 2005-08-22 Wim Taymans <wim@fluendo.com>
6646 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6647 Added check for gst_static_caps_get() refcounting.
6649 2005-08-22 Wim Taymans <wim@fluendo.com>
6651 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6652 Make _static_caps_get() refcounting sane.
6654 * gst/gstelement.c: (gst_element_set_state):
6655 Add g_return_val_if_fail() to protect against segfaults.
6657 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6659 * docs/gst/tmpl/gstevent.sgml:
6662 inlined remaining docs, added missing doc comments
6664 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6666 * check/gst/gstbin.c: (GST_START_TEST):
6667 since we don't know when preroll is done, use refcount range
6669 * gst/check/gstcheck.h:
6670 add macro for checking refcount range
6672 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6674 * check/Makefile.am:
6675 clean up environment for when registry gets built versus
6676 when actual tests are run; valgrind seems to not report
6677 leaks if GST_PLUGIN_PATH is set to some specific values
6678 * check/gst/gstbin.c: (GST_START_TEST):
6679 add more refcounting checks; maybe this exposes a
6682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6683 * gst/check/gstcheck.h:
6684 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6685 (gst_bin_change_state):
6686 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6687 add/fix debugging/whitespace
6689 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6691 * check/gst/gstevent.c: (event_probe), (test_event),
6693 Er, don't call gst_bin_watch_for_state_change you idiot.
6695 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6697 * check/Makefile.am:
6698 Use CHECK_CFLAGS and CHECK_LIBS
6699 * check/gst/gstevent.c: (event_probe), (test_event),
6702 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6703 (gst_base_src_start), (gst_base_src_stop),
6704 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6705 (gst_base_src_change_state):
6706 Sprinkle gst_base_src_stop liberally around error paths to fix
6707 problems reusing a source after failed state changes.
6708 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6709 (helper_find_suggest), (gst_type_find_helper):
6710 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6712 * docs/gst/tmpl/gstevent.sgml:
6713 Migrate part of the docs from the SGML file. Wait for ensonic to
6714 tell me how I did it wrong ;)
6715 * tools/gst-typefind.c: (main):
6716 Extra robustness to state changes between files.
6718 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6720 * check/Makefile.am:
6721 don't valgrind the controller test - it's leaking - Stefan, HELP
6722 * gst/check/gstcheck.c: (gst_check_message_error),
6723 (gst_check_chain_func), (gst_check_setup_element),
6724 (gst_check_teardown_element), (gst_check_setup_src_pad),
6725 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6726 (gst_check_teardown_sink_pad):
6727 * gst/check/gstcheck.h:
6728 add a bunch of methods to set up elements, and src and sink pads
6729 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6730 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6735 whitespace/doc fixes
6737 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6740 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6741 be handled by the application and not always printed as well
6743 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6745 * check/Makefile.am:
6747 * gst/check/gstcheck.c: (gst_check_message_error):
6748 * gst/check/gstcheck.h:
6749 add a fail_unless_equals_int
6750 add fail_unless for error messages
6752 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6754 * check/Makefile.am:
6756 * common/Makefile.am:
6759 factor out some of the common stuff so we can use it
6761 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6763 * check/Makefile.am:
6764 * check/gst/gstiterator.c: (GST_START_TEST):
6765 * check/gst/gstsystemclock.c: (GST_START_TEST),
6766 (gst_systemclock_suite):
6767 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6771 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6773 * check/elements/.cvsignore:
6774 * check/elements/gstfakesrc.c:
6775 rename to name of element
6776 * check/elements/identity.c: (chain_func), (event_func),
6777 (setup_identity), (cleanup_identity), (GST_START_TEST),
6778 (identity_suite), (main):
6779 add a test for identity
6780 * check/Makefile.am:
6781 * pkgconfig/Makefile.am:
6782 * pkgconfig/gstreamer-check.pc.in:
6783 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6787 move the check stuff to a library that gets installed
6788 * check/gst-libs/controller.c: (GST_START_TEST):
6789 * check/gst-libs/gdp.c:
6790 * check/gst/gst.c: (GST_START_TEST):
6791 * check/gst/gstbin.c:
6792 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6793 * check/gst/gstbus.c:
6794 * check/gst/gstcaps.c: (GST_START_TEST):
6795 * check/gst/gstelement.c:
6796 * check/gst/gstghostpad.c:
6797 * check/gst/gstiterator.c:
6798 * check/gst/gstmessage.c:
6799 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6800 * check/gst/gstobject.c:
6801 * check/gst/gstpad.c: (GST_START_TEST):
6802 * check/gst/gststructure.c: (GST_START_TEST):
6803 * check/gst/gstsystemclock.c: (GST_START_TEST),
6804 (gst_systemclock_suite):
6805 * check/gst/gsttag.c: (gst_tag_suite):
6806 * check/gst/gstvalue.c:
6807 * check/pipelines/cleanup.c:
6808 * check/pipelines/simple_launch_lines.c:
6809 * check/states/sinks.c:
6810 change include statement
6812 * docs/gst/gstreamer-sections.txt:
6813 * docs/gst/tmpl/gstpad.sgml:
6814 document more pad stuff
6815 * gst/gstminiobject.c: (gst_mini_object_ref),
6816 (gst_mini_object_unref):
6819 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6821 * docs/gst/tmpl/gst.sgml:
6823 eliminate another tmpl file, fix spelling in the long-description
6825 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6827 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6828 (test_event), (timediff), (gstevents_suite):
6829 Should fix build on 64-bit arch's
6831 2005-08-18 Andy Wingo <wingo@pobox.com>
6833 Make sure that when a pipeline goes to PLAYING, that data has
6834 actually hit the sink.
6836 * check/states/sinks.c (test_sink): A sink that doesn't get any
6837 data shouldn't return SUCCESS for going to either PLAYING or
6838 PAUSED. Test also the return values on the way back down.
6840 * gst/gstelement.c (gst_element_set_state): When changing the
6841 state of an element currently changing state asynchronously, go to
6842 lost-state after commiting the pending state. Makes future calls
6843 to get_state continue to return ASYNC.
6845 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6846 ASYNC when going to PLAYING if we still don't have preroll, as can
6847 happen with live sources.
6849 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6851 * docs/pwg/advanced-types.xml:
6852 Hack long paragraph into 2 chunks as a workaround for buggy
6853 jadetex version in sid and breezy that loops infinitely and
6856 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6858 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6859 (test_event), (timediff), (gstevents_suite):
6860 Provide more error margin in clock measurements to allow for
6861 g_get_current_time inaccuracies.
6863 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6865 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6866 (test_event), (timediff), (gstevents_suite):
6867 Fix error message output so I might be able to tell why the
6868 test works here but fails on the build farm.
6870 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6872 * check/Makefile.am:
6873 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6874 (test_event), (timediff), (gstevents_suite), (main):
6877 * docs/design/part-seeking.txt:
6880 * docs/gst/tmpl/gstevent.sgml:
6881 * docs/gst/tmpl/gstfakesrc.sgml:
6884 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6885 Treat a buffer-without-newsegment the same as a receiving
6886 a newsegment not in time format, and disable syncing to the clock
6889 * gst/gstbus.c: (gst_bus_set_sync_handler):
6890 Assert if anyone tries to replace the existing sync_handler for bus,
6891 as only the owner should be setting it.
6894 Have a fixed set of custom event enums with events identified by
6895 their structure name (as in 0.8), rather than a free-for-all
6896 allowing collisions between enum values from different plugins.
6898 * gst/gstpad.c: (gst_pad_class_init):
6901 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6902 Handle out-of-band downstream events from the sending thread.
6904 2005-08-17 Andy Wingo <wingo@pobox.com>
6906 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6907 play-timeout==0 to mean no timeout at all. In that case, don't
6908 bother with a get_state or a warning, just return directly, even
6911 * gst/base/gstbasetransform.c: Debug changes.
6914 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6915 ensure bins post state change messages. A bit of a hack but I can't
6916 think of a way to avoid it.
6918 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6920 2005-08-16 Andy Wingo <wingo@pobox.com>
6922 * gst/base/gstadapter.h:
6923 * gst/base/gstadapter.c (gst_adapter_take): New function, like
6924 peek() but you own the data. Not terribly efficient atm.
6926 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6928 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6929 (gst_element_found_tags):
6931 Add two utility functions for tag handling.
6933 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6935 * docs/manual/advanced-dataaccess.xml:
6936 * docs/manual/basics-helloworld.xml:
6937 Fix docs to use _bin_add() before _link(), which fixes the examples
6938 with recent core versions (reported by Madhan Raj M
6939 <raj_madan@rediffmail.com>, #313199).
6941 2005-08-16 Wim Taymans <wim@fluendo.com>
6943 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6944 Added subtract checks.
6946 * docs/design/part-events.txt:
6947 Some more docs about newsegment
6949 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6952 * gst/gstcaps.c: (gst_caps_to_string):
6953 Add comments, cleanups.
6955 * gst/gstelement.c: (gst_element_save_thyself):
6958 * gst/gstvalue.c: (gst_value_collect_int_range),
6959 (gst_string_unwrap), (gst_value_union_int_int_range),
6960 (gst_value_union_int_range_int_range),
6961 (gst_value_intersect_int_int_range),
6962 (gst_value_intersect_int_range_int_range),
6963 (gst_value_intersect_double_double_range),
6964 (gst_value_intersect_double_range_double_range),
6965 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6966 (gst_value_subtract_int_range_int),
6967 (gst_value_subtract_double_range_double),
6968 (gst_value_subtract_double_range_double_range),
6969 (gst_value_subtract_from_list), (gst_value_subtract_list),
6970 (gst_value_can_compare), (gst_value_compare_fraction):
6971 Cleanups, add comments, remove unneeded asserts.
6973 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6975 * tools/gst-launch.c: (event_loop):
6976 don't convert NULL structures to strings
6978 2005-08-15 Stefan Kost <ensonic@users.sf.net>
6980 * docs/gst/gstreamer-sections.txt:
6981 made some defines private
6982 * docs/gst/tmpl/gstconfig.sgml:
6983 * docs/gst/tmpl/gstqueue.sgml:
6984 * docs/gst/tmpl/gsttaglist.sgml:
6985 * docs/gst/tmpl/gsttypes.sgml:
6986 * docs/gst/tmpl/gstutils.sgml:
6987 * docs/pwg/appendix-porting.xml:
6988 * gst/base/gstbasesink.h:
6989 * gst/base/gstbasesrc.c:
6990 * gst/base/gstbasesrc.h:
6991 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6992 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6993 * gst/gstelement.c: (gst_element_class_init):
6994 * gst/gstpad.c: (gst_pad_class_init):
6995 * gst/gstqueue.c: (gst_queue_class_init):
6996 * gst/gstxml.c: (gst_xml_class_init):
6997 documented all undocumented signal inline
6998 * libs/gst/controller/gst-controller.h:
7001 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7003 * docs/pwg/appendix-porting.xml:
7004 Document _set_link_function -> _set_setcaps_function.
7006 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7008 * check/Makefile.am:
7009 add a .check target for running the check
7010 * check/gst-libs/controller.c: (GST_START_TEST):
7012 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7013 complete checks for gstbuffer; would be nice if I could get the
7014 gcov stuff to work so I can see if I actually completed gstbuffer.c
7016 add ASSERT_BUFFER_REFCOUNT
7018 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7020 * docs/gst/gstreamer-sections.txt:
7021 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7023 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7024 spew out a warning if a tag that is already registered
7025 is re-registered, unless it is re-registered with a
7026 different type (#308438).
7028 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7030 * docs/pwg/appendix-porting.xml:
7031 * docs/pwg/building-state.xml:
7032 Add some paragraphs about state changes in 0.9 to the PWG
7033 and the porting guide, in particular about the new meaning
7034 of GST_STATE_PAUSED and how to write state change functions
7035 with concurrent access by multiple threads in mind.
7037 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7039 * docs/gst/gstreamer-docs.sgml:
7040 * docs/libs/gstreamer-libs-docs.sgml:
7041 added deprecation and since indexes
7042 * libs/gst/controller/gst-controller.c:
7043 * libs/gst/controller/gst-helper.c:
7047 2005-08-11 Wim Taymans <wim@fluendo.com>
7049 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7050 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7051 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7052 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7053 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7054 (gst_ghost_pad_set_target):
7055 Actually implement (re)setting the target on a ghostpad
7056 as described in the docs.
7058 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7060 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7061 Check whether GST_DEBUG_NO_COLOR environment variable is
7062 set and disable coloured debug output if that is the case.
7064 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7066 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7067 (gst_type_find_helper):
7068 The memory returned by gst_type_find_peek() needs to
7069 stay valid until the end of a typefind function, and
7070 typefind functions may keep results from different
7071 offsets around, so we can't just unref the buffer from
7072 the previous _peek(), but have to save all buffers
7073 returned by _peek() until typefinding is done and only
7076 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7078 * docs/gst/gstreamer-sections.txt:
7080 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7082 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7084 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7085 Fix a pretty good memleak.
7087 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7089 * gst/gstiterator.h:
7090 Fix wrong include and 'make distcheck'.
7092 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7094 * gst/gstbin.c: (bin_bus_handler):
7095 Use gst_element_post_message() instead.
7097 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7099 * gst/base/gstadapter.h:
7100 * gst/base/gstbasesink.h:
7101 * gst/base/gstbasesrc.h:
7102 * gst/base/gstbasetransform.h:
7103 * gst/base/gstcollectpads.h:
7104 * gst/base/gstpushsrc.h:
7105 * gst/gstiterator.h:
7106 Add padding to our base elements' class and instance structs and
7107 to GstIterator (you will need to rebuild all plugins and apps!)
7109 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7111 * gst/gstbin.c: (bin_bus_handler):
7112 Make default message forwarding from child->bus to bin->bus
7113 threadsafe and make it not emit warnings if the parent has no bus.
7115 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7117 * gst/gstelement.c: (activate_pads):
7118 On paused->ready, set pad->caps to NULL, as is the documented
7119 behaviour in this state change. Fixes playback of series of
7120 media files when visualization is enabled in Totem.
7122 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7124 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7125 Allow NULL as filter-caps (which means "any").
7127 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7129 * docs/libs/gstreamer-libs-sections.txt:
7130 * libs/gst/controller/gst-controller.c:
7131 * libs/gst/controller/gst-controller.h:
7132 * libs/gst/controller/gst-helper.c:
7133 adding more entries to the docs and fix small doc-bugs
7135 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7137 * docs/gst/gstreamer-docs.sgml:
7138 * docs/gst/gstreamer-sections.txt:
7139 * docs/gst/gstreamer.types:
7140 * docs/gst/tmpl/gstbasesink.sgml:
7141 * docs/gst/tmpl/gstbasesrc.sgml:
7142 * docs/gst/tmpl/gstbasetransform.sgml:
7143 * docs/gst/tmpl/gstfakesrc.sgml:
7144 * gst/base/gstcollectpads.c:
7145 * gst/base/gstcollectpads.h:
7146 * libs/gst/controller/gst-controller.c:
7147 * libs/gst/controller/gst-controller.h:
7148 * libs/gst/controller/gst-helper.c:
7149 * libs/gst/controller/gst-interpolation.c:
7150 * libs/gst/controller/lib.c:
7151 added long/short desc for controller docs
7152 added collectpads base class docs
7153 added correct includes to base-class docs
7155 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7157 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7158 (gst_test_mono_source_set_property),
7159 (gst_test_mono_source_class_init), (GST_START_TEST),
7160 (gst_controller_suite):
7161 * docs/gst/gstreamer-docs.sgml:
7162 * docs/gst/gstreamer-sections.txt:
7163 * docs/gst/gstreamer.types:
7164 * docs/libs/gstreamer-libs-docs.sgml:
7165 * docs/libs/gstreamer-libs-sections.txt:
7166 * gst/base/gstadapter.c:
7167 * libs/gst/controller/gst-controller.c:
7168 (gst_controlled_property_new), (gst_controlled_property_free),
7169 (gst_controller_new_valist),
7170 (gst_controller_remove_properties_valist),
7171 (gst_controller_sink_values), (_gst_controller_finalize):
7172 * libs/gst/controller/gst-controller.h:
7173 * libs/gst/controller/gst-helper.c:
7174 (gst_object_control_properties), (gst_object_uncontrol_properties),
7175 (gst_object_get_controller), (gst_object_set_controller),
7176 (gst_object_sink_values), (gst_object_get_value_arrays),
7177 (gst_object_get_value_array):
7178 more tests (and fixes) for the controller
7179 more docs for the controller
7180 integrated companies docs for the adapter
7182 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7184 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7185 (GST_START_TEST), (fakesrc_suite):
7186 add tests for sizetype
7188 2005-08-04 Andy Wingo <wingo@pobox.com>
7190 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7191 fixes buffer_alloc proxying among other things.
7193 * gst/base/gstbasetransform.c:
7194 * gst/base/gstbasetransform.h:
7195 Revert patch to gstbasetransform from 7-28 removing
7198 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7199 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7200 Semantics changed, should return not the size of the output buffer
7201 but the byte size of a buffer with a given caps.
7203 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7205 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7206 out) are not the pad caps until setcaps finishes.
7207 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7208 not-in-place case as well. Deal with changing from in-place to
7209 not-in-place within calling pad_alloc_buffer. Still a bit
7210 concerned about the overhead here...
7212 2005-08-03 Andy Wingo <wingo@pobox.com>
7214 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7215 fixating is an error.
7217 2005-08-04 Edward Hervey <edward@fluendo.com>
7219 * gst/base/gstadapter.h:
7220 Added gst_adapter_get_type() to the header
7222 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7224 * check/Makefile.am:
7225 * check/gst-libs/controller.c:
7226 * libs/gst/controller/gst-controller.c:
7227 (gst_controller_new_valist):
7228 added check test suite for the controller
7229 * gst/base/gstpushsrc.c:
7232 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7234 * docs/gst/Makefile.am:
7235 * docs/gst/gstreamer-docs.sgml:
7236 * docs/gst/gstreamer-sections.txt:
7237 * docs/gst/gstreamer.types:
7238 * docs/gst/tmpl/gstfakesrc.sgml:
7240 * gst/base/gstbasesink.c:
7241 * gst/base/gstbasesink.h:
7242 * gst/base/gstbasesrc.c:
7243 * gst/base/gstbasesrc.h:
7244 * gst/base/gstbasetransform.c:
7245 * gst/base/gstpushsrc.c:
7246 * gst/base/gstpushsrc.h:
7247 add short/long description docs to base classes
7248 add pushsrc to the docs
7249 remove consolidated doc fragments
7251 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7254 * docs/libs/Makefile.am:
7255 * docs/libs/gstreamer-libs-docs.sgml:
7256 * docs/libs/gstreamer-libs-sections.txt:
7257 * docs/libs/gstreamer-libs.types:
7258 * examples/Makefile.am:
7259 * examples/controller/.cvsignore:
7260 * examples/controller/Makefile.am:
7261 * examples/controller/audio-example.c: (main):
7262 * libs/gst/Makefile.am:
7263 * libs/gst/controller/.cvsignore:
7264 * libs/gst/controller/Makefile.am:
7265 * libs/gst/controller/gst-controller.c:
7266 (on_object_controlled_property_changed), (gst_timed_value_compare),
7267 (gst_timed_value_find),
7268 (gst_controlled_property_set_interpolation_mode),
7269 (gst_controlled_property_new), (gst_controlled_property_free),
7270 (gst_controller_find_controlled_property),
7271 (gst_controller_new_valist), (gst_controller_new),
7272 (gst_controller_remove_properties_valist),
7273 (gst_controller_remove_properties), (gst_controller_set),
7274 (gst_controller_set_from_list), (gst_controller_unset),
7275 (gst_controller_get), (gst_controller_get_all),
7276 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7277 (gst_controller_get_value_array),
7278 (gst_controller_set_interpolation_mode),
7279 (_gst_controller_finalize), (_gst_controller_init),
7280 (_gst_controller_class_init), (gst_controller_get_type):
7281 * libs/gst/controller/gst-controller.h:
7282 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7283 (g_object_uncontrol_properties), (g_object_get_controller),
7284 (g_object_set_controller), (g_object_sink_values),
7285 (g_object_get_value_arrays), (g_object_get_value_array):
7286 * libs/gst/controller/gst-interpolation.c:
7287 (gst_controlled_property_find_timed_value_node),
7288 (interpolate_none_get), (interpolate_trigger_get),
7289 (interpolate_trigger_get_value_array):
7290 * libs/gst/controller/lib.c: (gst_controller_init):
7291 * pkgconfig/Makefile.am:
7292 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7293 * pkgconfig/gstreamer-control.pc.in:
7294 * testsuite/Makefile.am:
7295 * testsuite/controller/.cvsignore:
7296 * testsuite/controller/Makefile.am:
7297 * testsuite/controller/interpolator.c: (main):
7298 added controller code
7299 removed dparam pc files
7301 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7302 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7303 (gst_collectpads_stop):
7304 Broadcast the condition when shutting down, to make sure we wake all
7305 threads up. Shut down pads on finalize, for safety.
7307 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7308 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7309 (gst_base_transform_handle_buffer),
7310 (gst_base_transform_change_state):
7311 Handle PAUSED->READY->PAUSED transition after negotiation
7313 * gst/gstmessage.c: (gst_message_init):
7314 Extra piece of debug for new messages.
7316 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7319 * docs/gst/tmpl/gstbasesrc.sgml:
7320 * docs/gst/tmpl/gstelement.sgml:
7321 * docs/gst/tmpl/gstevent.sgml:
7322 * docs/gst/tmpl/gstfakesrc.sgml:
7323 * docs/gst/tmpl/gstformat.sgml:
7324 * docs/gst/tmpl/gstghostpad.sgml:
7325 * docs/gst/tmpl/gstpad.sgml:
7326 * docs/gst/tmpl/gstquery.sgml:
7327 * docs/gst/tmpl/gststructure.sgml:
7328 * docs/gst/tmpl/gsttaglist.sgml:
7329 * docs/gst/tmpl/gstvalue.sgml:
7330 * docs/libs/gstreamer-libs-docs.sgml:
7331 * docs/libs/gstreamer-libs-sections.txt:
7332 * docs/libs/gstreamer-libs.types:
7333 * libs/gst/Makefile.am:
7334 * libs/gst/control/.cvsignore:
7335 * libs/gst/control/Makefile.am:
7336 * libs/gst/control/control.c:
7337 * libs/gst/control/control.h:
7338 * libs/gst/control/dparam.c:
7339 * libs/gst/control/dparam.h:
7340 * libs/gst/control/dparam_smooth.c:
7341 * libs/gst/control/dparam_smooth.h:
7342 * libs/gst/control/dparamcommon.h:
7343 * libs/gst/control/dparammanager.c:
7344 * libs/gst/control/dparammanager.h:
7345 * libs/gst/control/dplinearinterp.c:
7346 * libs/gst/control/dplinearinterp.h:
7347 * libs/gst/control/unitconvert.c:
7348 * libs/gst/control/unitconvert.h:
7349 * testsuite/Makefile.am:
7350 * testsuite/dynparams/.cvsignore:
7351 * testsuite/dynparams/Makefile.am:
7352 * testsuite/dynparams/dparamstest.c:
7353 * tools/Makefile.am:
7354 * tools/gst-inspect.c: (print_element_info), (main):
7355 * tools/gst-xmlinspect.c: (print_element_info), (main):
7356 deactivate and remove dparams (libgstcontrol)
7358 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7360 * gst/elements/gsttypefindelement.c:
7361 (gst_type_find_element_have_type), (gst_type_find_element_init),
7362 (stop_typefinding), (gst_type_find_element_handle_event),
7363 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7364 * gst/elements/gsttypefindelement.h:
7365 Set caps on all outgoing buffers, not just the first one.
7367 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7369 * gst/elements/gsttypefindelement.c:
7370 (gst_type_find_element_have_type),
7371 (gst_type_find_element_check_set_buffer_caps),
7372 (gst_type_find_element_init), (stop_typefinding),
7373 (gst_type_find_element_handle_event),
7374 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7375 * gst/elements/gsttypefindelement.h:
7376 Set caps on first outgoing buffer when we've found the type.
7378 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7380 * docs/gst/gstreamer-docs.sgml:
7381 * docs/gst/gstreamer-sections.txt:
7382 * docs/gst/tmpl/gstscheduler.sgml:
7383 * docs/gst/tmpl/gstschedulerfactory.sgml:
7384 Remove some old cruft from docs.
7386 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7389 Fix inline docs for GstPadLinkReturn.
7391 * gst/gststructure.c: (gst_structure_has_name):
7392 * gst/gststructure.h:
7393 * docs/gst/gstreamer-sections.txt:
7394 New API: gst_structure_has_name().
7396 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7399 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7400 and _LARGEFILE_SOURCE in config.h as required. Do not
7401 export those flags in our .pc files any longer (#142209).
7403 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7405 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7406 (gst_file_sink_do_seek), (gst_file_sink_event),
7407 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7408 Redo seek/tell calls with large file support in mind; add some
7409 debugging messages; add log message that tells us when large
7410 file support is unavailable or not enabled for some reason.
7412 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7413 Add log message that tells us when large file support
7414 is unavailable or not enabled for some reason.
7416 2005-07-29 Wim Taymans <wim@fluendo.com>
7418 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7419 Added test for removing an element with ghostpad from a bin.
7420 Fixed test as current implementation does the right thing.
7422 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7423 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7424 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7425 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7426 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7427 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7428 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7429 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7430 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7431 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7432 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7433 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7434 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7435 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7436 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7437 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7438 * gst/gstghostpad.h:
7439 Clean up ghostpads, remove properties for internal stuff.
7442 Prepare for switching targets, not all use cases work yet.
7444 2005-07-29 Wim Taymans <wim@fluendo.com>
7446 * docs/design/part-gstghostpad.txt:
7449 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7450 (gst_bin_remove_func):
7451 Unlinking pads while holding the bin LOCK is not a good
7454 * gst/gstpad.c: (gst_pad_class_init),
7455 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7456 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7457 No prob setting template after creating the pad.
7459 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7461 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7462 (gst_bus_peek), (gst_bus_source_dispatch),
7463 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7464 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7465 gst_bus_poll may be called from other threads. Handle
7466 this nicely by not making poll_data disappear off the
7467 stack once gst_bus_poll returns.
7468 gst_bus_peek now increments the refcount on the returned
7471 2005-07-29 Wim Taymans <wim@fluendo.com>
7473 * docs/design/part-gstghostpad.txt:
7474 Overview of current GhostPad datastructures and use
7475 cases for changing the target.
7477 2005-07-28 Wim Taymans <wim@fluendo.com>
7479 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7480 Added checks for hierarchy consistency whan adding linked
7483 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7484 Added check to test element scheduling without bin/pipeline.
7486 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7487 First add elements to bin, then link.
7489 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7490 (gst_bin_remove_func):
7491 Unlink pads from elements added/removed from bin to maintain
7492 hierarchy consistency.
7494 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7496 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7497 (gst_base_transform_handle_buffer):
7498 * gst/base/gstbasetransform.h:
7499 Remove broken delay_configure (fixes renegotiation of software
7500 scaling pipelines); remove some leftover printf()s.
7502 2005-07-28 Wim Taymans <wim@fluendo.com>
7504 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7505 Added some more tests for wrong hierarchy
7507 * docs/design/part-overview.txt:
7510 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7513 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7514 (gst_element_dispose):
7517 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7518 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7519 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7520 (gst_pad_set_caps), (gst_pad_send_event):
7521 Check for correct hierarchy when linking pads. Moving to
7522 strict requirement for ghostpads when linking elements in
7526 Clean ups. Added WRONG_HIERARCHY return value.
7528 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7530 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7531 Better debug if no transform is possible.
7533 2005-07-27 Wim Taymans <wim@fluendo.com>
7535 * docs/random/wtay/network-transp:
7538 2005-07-27 Wim Taymans <wim@fluendo.com>
7540 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7541 (gst_dp_event_from_packet):
7542 Fix serialization of seek events.
7544 2005-07-27 Wim Taymans <wim@fluendo.com>
7546 * check/gst-libs/gdp.c: (GST_START_TEST):
7547 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7548 Fix compilation and fix event serialization.
7550 2005-07-27 Wim Taymans <wim@fluendo.com>
7553 * docs/design/part-TODO.txt:
7554 * docs/design/part-events.txt:
7557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7558 (gst_base_sink_event), (gst_base_sink_do_sync),
7559 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7560 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7561 (gst_base_src_do_seek), (gst_base_src_event_handler),
7562 (gst_base_src_loop):
7563 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7564 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7565 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7566 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7567 (gst_base_transform_set_passthrough),
7568 (gst_base_transform_is_passthrough):
7569 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7570 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7576 * gst/gstelement.c: (gst_element_seek):
7578 Update gst_element_seek.
7580 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7581 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7582 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7583 (gst_event_new_eos), (gst_event_new_newsegment),
7584 (gst_event_parse_newsegment), (gst_event_new_tag),
7585 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7586 (gst_event_parse_qos), (gst_event_new_seek),
7587 (gst_event_parse_seek), (gst_event_new_navigation):
7589 Make GstEvent use GstStructure. Add parsing code, make sure the
7590 API is sufficiently generic.
7591 Mark possible directions of events and serialization.
7593 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7594 (_gst_message_copy), (gst_message_new_segment_start),
7595 (gst_message_new_segment_done), (gst_message_new_custom),
7596 (gst_message_parse_segment_start),
7597 (gst_message_parse_segment_done):
7600 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7601 (gst_pad_set_caps), (gst_pad_send_event):
7602 Update for new events.
7603 Catch events sent in wrong directions.
7605 * gst/gstqueue.c: (gst_queue_link_src),
7606 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7607 (gst_queue_handle_src_query):
7612 Remove event code from this file.
7614 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7615 (gst_dp_event_from_packet):
7618 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7620 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7621 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7622 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7623 Make debugging actually useful.
7625 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7627 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7628 (gst_pad_fixate_caps):
7629 Implement default fixation once again, so that gst_pad_fixate()
7630 actually does anything at all. This probably needs to be some
7631 sort of a last resort, and use profile-based fixation first, but
7632 since that doesn't exist yet, this is the best we have. Fixes
7633 visualization in Totem.
7635 2005-07-22 Wim Taymans <wim@fluendo.com>
7637 * docs/design/part-events.txt:
7640 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7641 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7642 (gst_base_sink_activate_pull):
7645 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7646 (gst_fake_src_create):
7647 Fix handoff marshall.
7649 * gst/elements/gstidentity.c: (gst_identity_class_init),
7650 (gst_identity_transform_ip):
7651 We're a real inplace element.
7653 * gst/gstbus.c: (gst_bus_post):
7654 Added some comments.
7656 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7657 * tests/muxing/case1.c: (main):
7658 * tests/sched/dynamic-pipeline.c: (main):
7659 * tests/sched/interrupt1.c: (main):
7660 * tests/sched/interrupt2.c: (main):
7661 * tests/sched/interrupt3.c: (main):
7662 * tests/sched/runxml.c: (main):
7663 * tests/sched/sched-stress.c: (main):
7664 * tests/seeking/seeking1.c: (event_received), (main):
7665 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7667 * tests/threadstate/threadstate3.c: (main):
7668 * tests/threadstate/threadstate4.c: (main):
7669 * tests/threadstate/threadstate5.c: (main):
7672 2005-07-21 Wim Taymans <wim@fluendo.com>
7674 * docs/design/part-seeking.txt:
7675 Some small additions.
7677 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7678 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7679 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7680 * gst/base/gstbasesink.h:
7681 discont values are gint64, handle the math correctly.
7683 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7684 Make the basesrc report error if the source pad is not linked.
7686 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7687 (gst_queue_loop), (gst_queue_handle_src_query),
7688 (gst_queue_src_activate_push):
7689 Make queue collect data even if the srcpad is not linked.
7690 Start pushing out data as soon as it is linked.
7692 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7694 Added gst_flow_get_name() to ease error reporting.
7696 2005-07-20 Wim Taymans <wim@fluendo.com>
7698 * gst/gstmessage.c: (gst_message_new_segment_start),
7699 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7700 (gst_message_parse_segment_done):
7702 Added a bunch of messages for advanced seeking.
7704 * gst/parse/grammar.y:
7705 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7706 (gst_dpman_state_changed):
7707 Fix some new-pad -> pad-added signals
7709 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7711 * docs/manual/appendix-porting.xml:
7712 * docs/pwg/appendix-porting.xml:
7713 Document new-pad/state-change signal renames and the FixedList
7716 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7718 * docs/manual/advanced-autoplugging.xml:
7719 * docs/manual/basics-helloworld.xml:
7720 * docs/manual/basics-pads.xml:
7721 * docs/random/ds/0.9-suggested-changes:
7722 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7727 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7728 (gst_structure_parse_array), (gst_structure_parse_value):
7729 * gst/gstvalue.c: (gst_type_is_fixed),
7730 (gst_value_list_prepend_value), (gst_value_list_append_value),
7731 (gst_value_list_get_size), (gst_value_list_get_value),
7732 (gst_value_transform_array_string), (gst_value_serialize_array),
7733 (gst_value_deserialize_array), (gst_value_intersect_array),
7734 (gst_value_is_fixed), (_gst_value_initialize):
7736 GstElement::new-pad -> pad-added, GstElement::state-change ->
7737 state-changed, GstValueFixedList -> GstValueArray, add format and
7738 flags as their own arguments in gst_element_seek() (should improve
7739 "bindeability"), remove function generators since they don't work
7740 under a whole bunch of compilers (they were deprecated already
7743 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7745 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7746 (_gst_debug_register_funcptr):
7748 Fix illegal cast on some platforms (#309253).
7750 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7752 * gst/gstmessage.c: (gst_message_new_custom):
7754 Add _new_custom, make _new_application a macro to _new_custom.
7756 2005-07-20 Wim Taymans <wim@fluendo.com>
7758 * gst/base/gstbasesrc.c: (gst_base_src_init),
7759 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7760 * gst/base/gstbasesrc.h:
7761 Add a gboolean to decide when to push out a discont.
7763 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7764 (gst_queue_loop), (gst_queue_handle_src_query),
7765 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7766 (gst_queue_set_property), (gst_queue_get_property):
7769 * tests/threadstate/threadstate1.c: (main):
7770 Make a thread test compile and run... very silly..
7773 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7775 * docs/manual/appendix-porting.xml:
7776 Mention removal of libgstgconf-0.9.la and existence of gconf
7779 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7781 * docs/pwg/advanced-clock.xml:
7782 * docs/pwg/appendix-porting.xml:
7783 * docs/pwg/intro-preface.xml:
7784 * docs/pwg/other-base.xml:
7785 * docs/pwg/other-manager.xml:
7786 * docs/pwg/other-nton.xml:
7787 * docs/pwg/other-ntoone.xml:
7788 * docs/pwg/other-oneton.xml:
7790 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7791 demuxer), remove n-to-n (was never written), fix some code examples
7792 and links and update the porting section to include all this.
7794 2005-07-19 Wim Taymans <wim@fluendo.com>
7796 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7797 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7798 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7799 (gst_queue_src_activate_push), (gst_queue_change_state),
7800 (gst_queue_get_property):
7802 Propagate GstFlowReturn more intelligently upstream and output
7803 an ERROR/EOS when streaming stopped due to fatal error.
7805 2005-07-19 Wim Taymans <wim@fluendo.com>
7807 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7808 Don't block forever for the state change to complete, the
7809 pipeline already did with a sensible timeout.
7811 2005-07-19 Wim Taymans <wim@fluendo.com>
7813 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7814 Make sure we never call the create function is we
7817 2005-07-19 Andy Wingo <wingo@pobox.com>
7819 * gst/parse/parse.l: Attempt to solve bug #172815.
7821 2005-07-19 Wim Taymans <wim@fluendo.com>
7823 * docs/design/part-clocks.txt:
7824 * docs/design/part-events.txt:
7825 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7827 Only update the seeking values when we are not
7830 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7832 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7833 Oops, ignore the result of gst_pad_push_event here.
7835 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7837 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7838 (gst_base_src_activate_push):
7839 Send discont event from the loop function, as pads
7840 aren't activated yet in the activate_push handler.
7842 * gst/gstbin.c: (bin_bus_handler):
7843 Don't leak element name.
7845 2005-07-18 Andy Wingo <wingo@pobox.com>
7847 * configure.ac: Use AS_LIBTOOL_TAGS.
7849 2005-07-18 Wim Taymans <wim@fluendo.com>
7851 * docs/gst/gstreamer.types:
7852 Remove deleted types.
7854 2005-07-18 Wim Taymans <wim@fluendo.com>
7856 * check/elements/gstfakesrc.c: (GST_START_TEST):
7859 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7860 (init_popt_callback):
7862 * gst/gst_private.h:
7863 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7864 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7867 * gst/gstconfig.h.in:
7868 * gst/gstelement.c: (gst_element_class_init),
7869 (gst_element_set_base_time), (gst_element_get_base_time),
7870 (iterator_fold_with_resync), (gst_element_change_state),
7871 (gst_element_dispose), (gst_element_get_bus):
7873 * gst/gstelementfactory.h:
7874 * gst/gsterror.c: (_gst_core_errors_init):
7877 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7879 * gst/gstinfo.c: (_gst_debug_init):
7880 * gst/gstmessage.c: (_gst_message_copy):
7882 * gst/gstminiobject.h:
7885 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7886 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7889 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7890 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7891 (gst_pipeline_get_last_stream_time):
7892 * gst/gstpipeline.h:
7893 * gst/gstpluginfeature.h:
7895 * gst/gstscheduler.c:
7896 * gst/gstscheduler.h:
7897 * gst/gststructure.h:
7898 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7899 (gst_task_finalize), (gst_task_func), (gst_task_create),
7900 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7901 (gst_task_stop), (gst_task_pause):
7903 * gst/gsttypefind.h:
7905 * gst/registries/gstlibxmlregistry.c: (load_feature),
7906 (gst_xml_registry_load), (gst_xml_registry_save_feature):
7907 * gst/registries/gstxmlregistry.c:
7908 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7909 * gst/schedulers/threadscheduler.c:
7910 * libs/gst/control/dparammanager.h:
7911 * tools/gst-inspect.c: (print_element_list),
7912 (print_plugin_features), (print_element_features):
7913 * tools/gst-xmlinspect.c: (print_element_list),
7914 (print_plugin_info), (main):
7915 Removed plugable schedulers.
7916 Removed Scheduler/Manager from elements.
7917 Removed gsttypes.h, rearranged includes.
7918 Removed dependency pad<->element, element<>pipeline, and
7919 various others, fix includes.
7920 implement gst_pad_get_parent() with gst_object_get_parent()
7921 Make GstTask sefcontained.
7922 Fix _get_state() on GstBin, it did not return ASYNC with a 0
7924 Fix endless loop in iterator_fold_with_resync.
7927 2005-07-18 Wim Taymans <wim@fluendo.com>
7933 2005-07-18 Wim Taymans <wim@fluendo.com>
7938 2005-07-18 Wim Taymans <wim@fluendo.com>
7944 2005-07-18 Wim Taymans <wim@fluendo.com>
7946 * docs/design/part-dynamic.txt:
7947 * docs/design/part-events.txt:
7948 * docs/design/part-seeking.txt:
7949 Some more docs in the works.
7951 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7952 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7953 (gst_base_transform_setcaps), (gst_base_transform_get_size),
7954 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7955 (gst_base_transform_handle_buffer),
7956 (gst_base_transform_sink_activate_push),
7957 (gst_base_transform_src_activate_pull),
7958 (gst_base_transform_set_passthrough),
7959 (gst_base_transform_is_passthrough):
7962 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7965 * gst/gstevent.c: (gst_event_finalize):
7968 * gst/gstutils.c: (gst_element_unlink),
7969 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7970 (gst_pad_proxy_setcaps):
7972 Add _get_parent_element() to get a pads parent as an element.
7974 2005-07-18 Wim Taymans <wim@fluendo.com>
7976 * check/gst/gstbin.c: (GST_START_TEST):
7979 2005-07-18 Wim Taymans <wim@fluendo.com>
7981 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7982 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7983 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7984 (gst_base_sink_event), (gst_base_sink_do_sync),
7985 (gst_base_sink_chain), (gst_base_sink_loop),
7986 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7987 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7989 Fix logic for returning ASYNC when not prerolled.
7991 2005-07-18 Wim Taymans <wim@fluendo.com>
7993 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7994 Fix nasty refcount bug.
7996 2005-07-16 Philippe Khalaf <burger@speedy.org>
7998 * gst/elements/gstfdsrc.c:
7999 * gst/elements/gstfdsrc.h:
8000 * gst/elements/gstelements.c:
8001 * gst/elements/Makefile.am:
8002 Ported fdsrc to 0.9.
8004 2005-07-16 Wim Taymans <wim@fluendo.com>
8006 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8007 (gst_base_sink_do_sync):
8010 2005-07-16 Wim Taymans <wim@fluendo.com>
8012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8013 (gst_base_sink_event), (gst_base_sink_get_times),
8014 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8015 * gst/base/gstbasesink.h:
8016 Store and use discont values when syncing buffers as described
8019 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8020 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8021 (gst_base_src_activate_push):
8022 Push discont event when starting.
8024 * gst/elements/gstidentity.c: (gst_identity_transform):
8027 * gst/gstbin.c: (gst_bin_change_state):
8028 Small cleanups in base_time distribution.
8030 * gst/gstelement.c: (gst_element_set_base_time),
8031 (gst_element_get_base_time), (gst_element_change_state):
8033 Added methods for the base_time of the element.
8036 * gst/gstpipeline.c: (gst_pipeline_send_event),
8037 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8038 (gst_pipeline_get_last_stream_time):
8039 * gst/gstpipeline.h:
8041 Handle seeking as described in design doc, remove stream_time
8043 Cleanups clock and stream_time selection code. Added accessors
8044 for the stream_time.
8047 2005-07-16 Andy Wingo <wingo@pobox.com>
8049 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8052 2005-07-16 Wim Taymans <wim@fluendo.com>
8054 * check/gst/gstbin.c: (GST_START_TEST):
8055 Make elements silent as the deep_notify refs the
8056 parent, which might make the test fail.
8058 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8059 Don't hold the lock for too long.
8061 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8063 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8064 Don't unref the caps we passed to gst_caps_make_writable() after
8065 passing them. gst_caps_make_writable() will do that for us.
8067 2005-07-15 Andy Wingo <wingo@pobox.com>
8069 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8072 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8073 own marshalling function for the handoff signal. Properly type the
8074 buffer as a buffer. Fixes some warnings. Should do a more general
8076 (gst_identity_class_init): Plug into the right marshaller.
8078 2005-07-15 Wim Taymans <wim@fluendo.com>
8080 * docs/design/part-TODO.txt:
8081 * docs/design/part-clocks.txt:
8082 * docs/design/part-element-sink.txt:
8083 * docs/design/part-events.txt:
8084 * docs/design/part-gstpipeline.txt:
8085 Updated docs, mostly DISCONT related.
8087 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8089 * docs/pwg/building-pads.xml:
8090 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8092 2005-07-15 Andy Wingo <wingo@pobox.com>
8094 * tools/gst-typefind.c: Update, add copyright block.
8096 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8097 Normalize and truncate caps before fixation.
8100 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8101 discards all but the first structure from its argument.
8103 2005-07-15 Wim Taymans <wim@fluendo.com>
8105 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8106 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8107 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8108 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8109 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8110 (gst_base_transform_chain), (gst_base_transform_change_state),
8111 (gst_base_transform_set_passthrough),
8112 (gst_base_transform_is_passthrough):
8113 * gst/base/gstbasetransform.h:
8114 Make passthrough work using the bufferpools.
8115 Changed API a bit, subclasses have to write into a buffer
8116 provided by the base class.
8117 More debug info in nego functions.
8119 * gst/elements/gstidentity.c: (gst_identity_init),
8120 (gst_identity_transform):
8121 Port to new base class.
8123 2005-07-15 Wim Taymans <wim@fluendo.com>
8125 * gst/gstmessage.c: (gst_message_new_state_changed):
8126 * tools/gst-launch.c: (event_loop), (main):
8127 Totally dump messages in -launch with the -m option.
8128 Fix message name for State messages,
8130 2005-07-14 Wim Taymans <wim@fluendo.com>
8132 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8133 Post error messages on errors.
8135 2005-07-14 Wim Taymans <wim@fluendo.com>
8137 * gst/gstcaps.c: (gst_caps_do_simplify):
8141 Define error for stream stopped.
8143 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8144 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8145 Do proper return values.
8147 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8148 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8149 (gst_pad_get_range):
8150 Better return values.
8153 Reorganise return values, add macro to check for fatal errors.
8155 * gst/gstqueue.c: (gst_queue_chain):
8156 Return proper GstFlowReturn values,
8158 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8160 * docs/gst/gstreamer-sections.txt:
8161 * docs/gst/gstreamer.types:
8162 * docs/gst/tmpl/gst.sgml:
8163 * docs/gst/tmpl/gstbasesink.sgml:
8164 * docs/gst/tmpl/gstbasesrc.sgml:
8165 * docs/gst/tmpl/gstbasetransform.sgml:
8166 * docs/gst/tmpl/gstbin.sgml:
8167 * docs/gst/tmpl/gstbuffer.sgml:
8168 * docs/gst/tmpl/gstcaps.sgml:
8169 * docs/gst/tmpl/gstclock.sgml:
8170 * docs/gst/tmpl/gstcompat.sgml:
8171 * docs/gst/tmpl/gstconfig.sgml:
8172 * docs/gst/tmpl/gstelement.sgml:
8173 * docs/gst/tmpl/gstelementdetails.sgml:
8174 * docs/gst/tmpl/gstelementfactory.sgml:
8175 * docs/gst/tmpl/gstenumtypes.sgml:
8176 * docs/gst/tmpl/gsterror.sgml:
8177 * docs/gst/tmpl/gstevent.sgml:
8178 * docs/gst/tmpl/gstfakesink.sgml:
8179 * docs/gst/tmpl/gstfakesrc.sgml:
8180 * docs/gst/tmpl/gstfilesink.sgml:
8181 * docs/gst/tmpl/gstfilesrc.sgml:
8182 * docs/gst/tmpl/gstfilter.sgml:
8183 * docs/gst/tmpl/gstformat.sgml:
8184 * docs/gst/tmpl/gstghostpad.sgml:
8185 * docs/gst/tmpl/gstimplementsinterface.sgml:
8186 * docs/gst/tmpl/gstindex.sgml:
8187 * docs/gst/tmpl/gstindexfactory.sgml:
8188 * docs/gst/tmpl/gstinfo.sgml:
8189 * docs/gst/tmpl/gstiterator.sgml:
8190 * docs/gst/tmpl/gstmacros.sgml:
8191 * docs/gst/tmpl/gstmemchunk.sgml:
8192 * docs/gst/tmpl/gstminiobject.sgml:
8193 * docs/gst/tmpl/gstobject.sgml:
8194 * docs/gst/tmpl/gstpad.sgml:
8195 * docs/gst/tmpl/gstpadtemplate.sgml:
8196 * docs/gst/tmpl/gstparse.sgml:
8197 * docs/gst/tmpl/gstpipeline.sgml:
8198 * docs/gst/tmpl/gstplugin.sgml:
8199 * docs/gst/tmpl/gstpluginfeature.sgml:
8200 * docs/gst/tmpl/gstquery.sgml:
8201 * docs/gst/tmpl/gstqueue.sgml:
8202 * docs/gst/tmpl/gstregistry.sgml:
8203 * docs/gst/tmpl/gstregistrypool.sgml:
8204 * docs/gst/tmpl/gstscheduler.sgml:
8205 * docs/gst/tmpl/gstschedulerfactory.sgml:
8206 * docs/gst/tmpl/gststructure.sgml:
8207 * docs/gst/tmpl/gstsystemclock.sgml:
8208 * docs/gst/tmpl/gsttaglist.sgml:
8209 * docs/gst/tmpl/gsttagsetter.sgml:
8210 * docs/gst/tmpl/gsttrace.sgml:
8211 * docs/gst/tmpl/gsttrashstack.sgml:
8212 * docs/gst/tmpl/gsttypefind.sgml:
8213 * docs/gst/tmpl/gsttypefindfactory.sgml:
8214 * docs/gst/tmpl/gsttypes.sgml:
8215 * docs/gst/tmpl/gsturihandler.sgml:
8216 * docs/gst/tmpl/gsturitype.sgml:
8217 * docs/gst/tmpl/gstutils.sgml:
8218 * docs/gst/tmpl/gstvalue.sgml:
8219 * docs/gst/tmpl/gstversion.sgml:
8220 * docs/gst/tmpl/gstxml.sgml:
8221 * docs/libs/tmpl/gstcontrol.sgml:
8222 * docs/libs/tmpl/gstdataprotocol.sgml:
8223 * docs/libs/tmpl/gstdparam.sgml:
8224 * docs/libs/tmpl/gstdplinint.sgml:
8225 * docs/libs/tmpl/gstdpman.sgml:
8226 * docs/libs/tmpl/gstdpsmooth.sgml:
8227 * docs/libs/tmpl/gstgetbits.sgml:
8228 * docs/libs/tmpl/gstunitconvert.sgml:
8229 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8230 (gst_push_src_base_init), (gst_push_src_class_init),
8231 (gst_push_src_init), (gst_push_src_create):
8232 * gst/base/gstpushsrc.h:
8233 * gst/elements/gstelements.c:
8234 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8235 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8236 (gst_fake_sink_init), (gst_fake_sink_set_property),
8237 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8238 (gst_fake_sink_event), (gst_fake_sink_preroll),
8239 (gst_fake_sink_render), (gst_fake_sink_change_state):
8240 * gst/elements/gstfakesink.h:
8241 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8242 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8243 (gst_fake_src_base_init), (gst_fake_src_class_init),
8244 (gst_fake_src_init), (gst_fake_src_event_handler),
8245 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8246 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8247 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8248 (gst_fake_src_create_buffer), (gst_fake_src_create),
8249 (gst_fake_src_start), (gst_fake_src_stop):
8250 * gst/elements/gstfakesrc.h:
8251 * gst/elements/gstfilesink.c: (_do_init),
8252 (gst_file_sink_base_init), (gst_file_sink_class_init),
8253 (gst_file_sink_init), (gst_file_sink_dispose),
8254 (gst_file_sink_set_location), (gst_file_sink_set_property),
8255 (gst_file_sink_get_property), (gst_file_sink_open_file),
8256 (gst_file_sink_close_file), (gst_file_sink_query),
8257 (gst_file_sink_event), (gst_file_sink_render),
8258 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8259 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8260 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8261 * gst/elements/gstfilesink.h:
8262 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8263 (gst_file_src_class_init), (gst_file_src_init),
8264 (gst_file_src_finalize), (gst_file_src_set_location),
8265 (gst_file_src_set_property), (gst_file_src_get_property),
8266 (gst_file_src_map_region), (gst_file_src_map_small_region),
8267 (gst_file_src_create_mmap), (gst_file_src_create_read),
8268 (gst_file_src_create), (gst_file_src_is_seekable),
8269 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8270 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8271 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8272 (gst_file_src_uri_handler_init):
8273 * gst/elements/gstfilesrc.h:
8274 more autistic cleanliness in functions/names/defines
8276 2005-07-13 Andy Wingo <wingo@pobox.com>
8278 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8279 source couldn't negotiate.
8281 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8285 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8286 function. I am channeling Hades. Put your boots on suckers!!!
8288 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8290 * testsuite/caps/Makefile.am:
8291 * testsuite/caps/value_compare.c:
8292 * testsuite/caps/value_intersect.c:
8293 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8294 move two testsuite apps over to the check dir
8296 2005-07-12 Wim Taymans <wim@fluendo.com>
8298 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8299 Added more debug info in the negotiate process.
8302 Prepare for segment playback.
8304 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8310 * tools/gst-launch.c: (main):
8311 NULL pipeline on errors.
8313 2005-07-12 Andy Wingo <wingo@pobox.com>
8315 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8316 not it comes from a malloc region. Make sure our copy gets freed.
8318 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8320 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8321 * check/gst/gstmessage.c: (GST_START_TEST):
8322 * check/gst/gststructure.c: (GST_START_TEST),
8323 (gst_structure_suite), (main):
8325 * gst/gstelement.c: (gst_element_message_full):
8326 clean up GError and debug string now that they get copied
8327 * gst/gstmessage.c: (gst_message_new_error),
8328 (gst_message_new_warning), (gst_message_parse_error),
8329 (gst_message_parse_warning):
8330 use GST_TYPE_G_ERROR for structure_new, and take copies of
8331 arguments, so that we don't mess up refcounting
8333 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8335 * check/Makefile.am:
8336 add per-test valgrind targets
8337 * check/gst-libs/gdp.c: (GST_START_TEST),
8338 (gst_data_protocol_suite), (main):
8341 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8343 * check/Makefile.am:
8344 instate more valgrindable tests
8345 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8346 (GST_START_TEST), (fakesrc_suite):
8347 * check/gst/gstpad.c: (GST_START_TEST):
8348 * check/gst/gststructure.c: (GST_START_TEST):
8350 * docs/gst/tmpl/gstminiobject.sgml:
8351 * gst/gstpad.c: (gst_pad_finalize):
8352 fix the static mutex leak
8354 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8356 * check/Makefile.am:
8357 add two more tests for valgrinding
8358 * check/gst/gstvalue.c: (GST_START_TEST):
8359 test refcount of deserialized buffer, found a leak
8360 * docs/gst/gstreamer-docs.sgml:
8361 * docs/gst/gstreamer-sections.txt:
8362 * docs/gst/gstreamer.types:
8363 * docs/gst/tmpl/gstminiobject.sgml:
8364 add miniobject to docs
8365 * gst/gstminiobject.c:
8367 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8368 (gst_string_unwrap):
8369 fix a hard-to-find invalid write for one of the tests
8370 fix a leak for deserialized buffers
8372 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8374 * docs/pwg/advanced-events.xml:
8375 * docs/pwg/advanced-request.xml:
8376 * docs/pwg/advanced-scheduling.xml:
8377 * docs/pwg/appendix-porting.xml:
8378 * docs/pwg/building-boiler.xml:
8379 * docs/pwg/intro-preface.xml:
8380 * docs/pwg/other-ntoone.xml:
8381 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8382 of example code and explanation for pad activation, loop() and
8383 getrange() functions and a bit more. Remove old comments pointing
8385 * examples/pwg/Makefile.am:
8386 Add loop/getrange examples.
8388 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8391 check for valgrind binary + some fixes
8393 valgrind suppressions for the tests
8394 * check/Makefile.am:
8395 add a valgrind: target that valgrinds the unit tests
8396 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8397 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8398 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8399 * check/gst/gstghostpad.c:
8401 * check/gst/gstdata.c:
8403 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8404 (thread_unref), (gst_mini_object_suite), (main):
8406 * gst/gst.c: (gst_deinit):
8408 add a method to clean up.
8409 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8410 (gst_system_clock_obtain):
8411 allow for disposing the system clock.
8412 * tools/gst-launch.c: (main):
8415 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8417 * docs/gst/tmpl/gstbasesrc.sgml:
8418 * docs/gst/tmpl/gstfakesrc.sgml:
8419 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8420 (gst_base_src_init), (gst_base_src_set_property),
8421 (gst_base_src_get_property), (gst_base_src_get_range),
8422 (gst_base_src_start):
8423 * gst/base/gstbasesrc.h:
8424 add num-buffers property
8425 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8426 (gst_fakesrc_init), (gst_fakesrc_set_property),
8427 (gst_fakesrc_get_property), (gst_fakesrc_create),
8428 (gst_fakesrc_start):
8429 remove num-buffers property
8431 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8433 * docs/gst/gstreamer-sections.txt:
8434 * docs/gst/tmpl/gstbasesink.sgml:
8435 * docs/gst/tmpl/gstbasesrc.sgml:
8436 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8437 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8438 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8439 (gst_base_sink_set_property), (gst_base_sink_get_property),
8440 (gst_base_sink_handle_object), (gst_base_sink_event),
8441 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8442 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8443 (gst_base_sink_loop), (gst_base_sink_deactivate),
8444 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8445 (gst_base_sink_change_state):
8446 * gst/base/gstbasesink.h:
8447 * gst/base/gstbasesrc.h:
8448 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8449 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8450 (gst_filesink_init):
8451 more macro splitting
8453 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8455 * gst/gstelement.c: (gst_element_get_bus):
8457 * tools/gst-launch.c: (check_intr), (event_loop):
8460 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8462 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8465 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8467 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8468 (gst_base_src_finalize):
8469 add finalize method and clean up properly
8470 * gst/gstpipeline.c: (gst_pipeline_dispose):
8473 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8475 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8477 add more things to check
8478 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8482 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8484 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8485 (GST_START_TEST), (fakesrc_suite):
8486 * check/gst-libs/gdp.c: (GST_START_TEST):
8487 * check/gst/gst.c: (GST_START_TEST):
8488 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8489 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8490 * check/gst/gstbus.c: (GST_START_TEST):
8491 * check/gst/gstcaps.c: (GST_START_TEST):
8492 * check/gst/gstdata.c: (GST_START_TEST):
8493 * check/gst/gstelement.c: (GST_START_TEST):
8494 * check/gst/gstghostpad.c: (GST_START_TEST):
8495 * check/gst/gstiterator.c: (GST_START_TEST):
8496 * check/gst/gstmessage.c: (GST_START_TEST):
8497 * check/gst/gstobject.c: (GST_START_TEST):
8498 * check/gst/gstpad.c: (GST_START_TEST):
8499 * check/gst/gststructure.c: (GST_START_TEST):
8500 * check/gst/gstsystemclock.c: (GST_START_TEST),
8501 (gst_systemclock_suite):
8502 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8503 * check/gst/gstvalue.c: (GST_START_TEST):
8504 * check/pipelines/cleanup.c: (GST_START_TEST):
8505 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8506 * check/states/sinks.c: (GST_START_TEST):
8507 * check/gstcheck.c: (gst_check_init):
8509 add debugging category
8510 use GST_START_TEST now, so we add a debug line
8512 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8514 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8515 add test for state change message on a bin
8516 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8518 * gst/gstbin.c: (gst_bin_init):
8519 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8520 * gst/gstelement.c: (gst_element_post_message),
8521 (gst_element_set_state):
8522 * gst/gstelementfactory.c: (gst_element_factory_create):
8523 * gst/gstmessage.c: (gst_message_new):
8524 * gst/gstscheduler.c:
8525 various debugging additions and cleanups
8527 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8529 * check/Makefile.am:
8530 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8532 adding tests for elements
8533 * gst/gstelement.c: (gst_element_dispose):
8535 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8537 * gst/registries/gstlibxmlregistry.c: (load_feature):
8538 plug more leaks. A simple gst_init() now is leakfree, yay.
8540 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8542 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8543 (gst_xml_registry_load):
8544 plug another memleak
8546 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8549 use GST_SET_ERROR_CFLAGS
8551 change to ERROR_CFLAGS
8553 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8556 make GST_ERROR_CFLAGS overridable and re-enable Werror
8558 add a note about error CFLAGS
8559 * docs/gst/tmpl/gstfakesrc.sgml:
8560 * gst/elements/gstfakesrc.c:
8561 comment out some unused code
8562 * gst/gst.c: (split_and_iterate):
8563 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8567 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8569 * common/Makefile.am:
8570 * common/gtk-doc.mak:
8571 * docs/gst/Makefile.am:
8572 factor out gtk-doc.mak
8574 2005-07-07 Wim Taymans <wim@fluendo.com>
8576 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8577 (gst_thread_scheduler_dispose):
8578 Unlock the STREAM_LOCK completely.
8580 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8582 * check/Makefile.am:
8583 * check/elements/.cvsignore:
8584 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8585 (START_TEST), (fakesrc_suite), (main):
8586 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8587 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8588 (gst_fakesrc_create), (gst_fakesrc_start):
8589 * gst/elements/gstfakesrc.h:
8590 adding a first element test
8592 2005-07-07 Andy Wingo <wingo@pobox.com>
8594 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8597 2005-07-07 Wim Taymans <wim@fluendo.com>
8603 2005-07-07 Wim Taymans <wim@fluendo.com>
8605 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8606 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8607 Allow subclasses to implement their own negotiation.
8609 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8611 * docs/design/part-gstbin.txt:
8612 * docs/design/part-gstpipeline.txt:
8613 Update design notes to reflect the movement of
8614 responsibility for bus handling from GstPipeline to
8617 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8620 Remove unnecessary queue2/3/4 examples.
8622 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8624 * examples/Makefile.am:
8625 * examples/helloworld/helloworld.c: (event_loop), (main):
8626 * examples/queue/queue.c: (event_loop), (main):
8627 * examples/queue2/queue2.c: (main):
8628 Update a couple of the examples to work again.
8630 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8631 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8632 Spelling corrections and extra debug.
8634 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8635 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8636 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8638 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8639 (gst_pipeline_change_state):
8640 * gst/gstpipeline.h:
8641 Move the bus handler for children to the GstBin, and create a
8642 separate bus for receiving messages from children to the one the
8643 bus sends 'upwards' on.
8645 2005-07-06 Wim Taymans <wim@fluendo.com>
8648 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8649 (gst_base_sink_handle_object), (gst_base_sink_loop),
8650 (gst_base_sink_change_state):
8651 * gst/base/gstbasesink.h:
8652 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8653 (gst_base_src_init), (gst_base_src_setcaps),
8654 (gst_base_src_getcaps), (gst_base_src_loop),
8655 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8656 (gst_base_src_start), (gst_base_src_change_state):
8657 * gst/base/gstbasesrc.h:
8658 Make basesrc negotiate.
8659 Handle the case where preroll fails in basesink.
8662 2005-07-06 Wim Taymans <wim@fluendo.com>
8664 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8665 Implement the fixate function.
8666 Clean up acceptcaps.
8668 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8670 * docs/pwg/building-filterfactory.xml:
8672 Remove never-written filter-factory chapter; I'll add the various
8673 base classes to part 4 ("other element types") later on.
8675 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8677 * docs/pwg/advanced-negotiation.xml:
8678 * docs/pwg/building-boiler.xml:
8679 * docs/pwg/building-pads.xml:
8681 * examples/pwg/Makefile.am:
8682 Add a chapter on caps negotiation, simplify the original code
8683 samples a bit w.r.t. caps negotiation, add link to the advanced
8684 section. Add a bunch of examples showing different use cases of
8685 different types of caps negotiation. Upstream renegotiation isn't
8686 fully documented yet since nobody knows how that works.
8688 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8690 * check/gst/gstpad.c:
8692 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8693 if pad has no parent, return NULL as list of internal links
8695 2005-07-05 Andy Wingo <wingo@pobox.com>
8697 * gst/elements/gstfilesrc.c:
8698 * gst/elements/gstfakesrc.c:
8699 * gst/base/gstpushsrc.c:
8700 * gst/base/gstbasesrc.h:
8701 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8703 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8706 better report generation target (lcov needs a patch)
8708 2005-07-05 Andy Wingo <wingo@pobox.com>
8710 * gst/elements, testsuite: Null if we got it...
8712 2005-07-05 Wim Taymans <wim@fluendo.com>
8715 * libs/gst/dataprotocol/Makefile.am:
8716 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8717 * libs/gst/dataprotocol/dataprotocol.h:
8718 * pkgconfig/Makefile.am:
8719 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8720 * pkgconfig/gstreamer-dataprotocol.pc.in:
8721 Ported dataprotol to 0.9.
8722 Added pkgconfig files.
8724 2005-07-05 Andy Wingo <wingo@pobox.com>
8726 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8727 Default to returning TRUE for the case when tranform_caps returns
8728 a fixed caps, like for identity or volume.
8730 * check/gst/gstbus.c (pound_bus_with_messages):
8731 * check/gst/gstmessage.c (START_TEST):
8732 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8735 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8736 logic weaks here: always run transform_caps, trying passthrough
8737 operation only if the original caps intersects with the transform.
8739 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8740 source and sink caps.
8742 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8743 Intersect the peer caps with the pad template before going into
8745 (gst_base_transform_transform_caps): More debugging.
8747 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8750 2005-07-04 Edward Hervey <edward@fluendo.com>
8754 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8757 2005-07-04 Andy Wingo <wingo@pobox.com>
8759 * check/gst/gstpad.c: Only set explicit caps on pads.
8761 2005-07-01 Andy Wingo <wingo@pobox.com>
8763 * tests/network-clock.scm: Commentary update.
8765 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8766 Didn't really make sense, not implementable with basetransform,
8768 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8769 attempt at implementing the sync property, needs an unlock method.
8771 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8772 New func, by default returns the same caps (the identity
8774 (gst_base_transform_getcaps): Uses transform_caps to return
8776 (gst_base_transform_setcaps): Complicated logic to get caps on
8777 both pads, even if they are different, and to call set_caps once
8778 for every time both pads get their caps set.
8779 (gst_base_transform_handle_buffer): Give the ref to the transform
8780 function. Allows in-place modification of the buffer.
8782 * gst/base/gstbasetransform.h (transform_caps): New class method.
8783 Given caps on one side, what can I do on the other.
8784 (set_caps): Take two caps, one for each side of the element.
8787 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8788 caps in place. This is safe because we can check the mutability of
8789 the caps, and a good idea because fixate functions are just called
8790 as a matter of last resort. (Not actually implemented.)
8791 (gst_pad_set_caps): If the caps we're setting is actually the same
8792 as the existing pad caps, just update the pointer without calling
8793 setcaps. Assert that caps is either NULL or fixed, as per the
8796 * gst/gstghostpad.c: Update for fixate changes.
8798 2005-07-02 Andy Wingo <wingo@pobox.com>
8801 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8802 two refcounts makes it immutable, which is enough. Doc more.
8804 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8806 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8807 Put the mini_object into GValue as a mini_object,
8808 not a gpointer, since that's how we declared
8811 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8813 * examples/pwg/Makefile.am:
8816 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8818 * docs/pwg/building-testapp.xml:
8820 * examples/pwg/Makefile.am:
8823 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8826 * examples/Makefile.am:
8827 * examples/pwg/Makefile.am:
8828 * examples/pwg/extract.pl:
8829 Enable building the PWG examples.
8830 * docs/pwg/advanced-interfaces.xml:
8831 Add URI interface stub.
8832 * docs/pwg/advanced-types.xml:
8833 * docs/pwg/other-autoplugger.xml:
8834 * docs/pwg/appendix-porting.xml:
8836 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8837 * docs/pwg/building-boiler.xml:
8838 * docs/pwg/building-chainfn.xml:
8839 * docs/pwg/building-pads.xml:
8840 * docs/pwg/building-props.xml:
8841 * docs/pwg/building-state.xml:
8842 * docs/pwg/building-testapp.xml:
8843 Update the building-*.xml parts for 0.9 changes. All examples
8844 code blocks compile in examples/pwg/*.
8846 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8848 * docs/manual/advanced-autoplugging.xml:
8849 * docs/manual/appendix-checklist.xml:
8850 * docs/manual/appendix-integration.xml:
8851 * docs/manual/highlevel-components.xml:
8852 Fix playbin/decodebin examples, update docs a bit, mention bus
8853 instead of signals in various places, mention kmplayer and
8854 kaffeine since they have a working GStreamer backend in the KDE
8857 2005-06-30 Wim Taymans <wim@fluendo.com>
8860 * docs/design/draft-ghostpads.txt:
8861 * docs/design/draft-push-pull.txt:
8862 * docs/design/draft-query.txt:
8863 * docs/design/part-TODO.txt:
8864 * docs/design/part-query.txt:
8865 Added CHANGES-0.9 doc, updated status of other docs.
8870 2005-06-30 Wim Taymans <wim@fluendo.com>
8872 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8873 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8874 (gst_base_sink_change_state):
8875 * gst/base/gstbasesink.h:
8876 Some tweaks, only EOS and a buffer complete a preroll.
8878 2005-06-30 Andy Wingo <wingo@pobox.com>
8880 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8881 activate_push down to the internal pad as well.
8883 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
8885 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8887 * gst/gsttaginterface.c:
8888 Some documentation fixes (#307394 and #307397).
8890 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
8892 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8894 * gst/gstvalue.c: (gst_value_intersect_list):
8895 Fix memleak (#309125).
8897 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8899 * docs/manual/advanced-dataaccess.xml:
8900 Fix fakesrc example to compile; doesn't work, bug somewhere...?
8901 * docs/manual/basics-pads.xml:
8902 Add reference for filtered caps to above chapter.
8904 2005-06-30 Wim Taymans <wim@fluendo.com>
8906 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8907 (gst_bin_change_state):
8909 Lame attempt at making the state change function a bit
8912 2005-06-30 Wim Taymans <wim@fluendo.com>
8914 * docs/design/part-clocks.txt:
8915 * docs/design/part-element-sink.txt:
8916 * docs/design/part-events.txt:
8917 * docs/design/part-preroll.txt:
8918 * docs/design/part-states.txt:
8919 Some more tweeks and additions to the docs.
8921 2005-06-30 Wim Taymans <wim@fluendo.com>
8923 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8924 (default_have_data), (gst_pad_class_init), (gst_pad_init),
8925 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8926 (gst_pad_check_pull_range), (gst_pad_get_range),
8927 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8929 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8930 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8931 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8932 (gst_pad_remove_buffer_probe):
8933 Removed atomic operations, use existing LOCK.
8934 Move exception handling out of main code path.
8936 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8938 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8939 (silly_return_true_function), (gst_pad_class_init),
8940 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8941 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8942 (gst_pad_send_event):
8943 Fix accumulator, add default value by using _emitv() instead
8944 of _emit() for signal emission.
8946 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8948 * docs/manual/advanced-dataaccess.xml:
8949 * examples/manual/Makefile.am:
8951 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8954 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
8956 * gst/elements/gstfilesink.c: (gst_filesink_render):
8957 Simplify code so that we don't have to handle short
8958 writes and return GST_FLOW_ERROR if an error occured.
8960 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8962 * docs/gst/gstreamer-docs.sgml:
8965 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8967 * docs/gst/gstreamer-sections.txt:
8968 * docs/gst/tmpl/gstpad.sgml:
8969 * docs/gst/tmpl/gstprobe.sgml:
8971 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8972 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8973 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8974 (gst_pad_push_event), (gst_pad_send_event):
8976 * gst/gstutils.c: (gst_pad_add_data_probe),
8977 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8978 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8979 (gst_pad_remove_buffer_probe):
8981 Remove old probes, add new g-signal-based probes and some utility
8984 2005-06-29 Edward Hervey <edward@fluendo.com>
8986 * gst/gstelementfactory.c:
8989 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8990 the definition to the header file.
8992 2005-06-29 Andy Wingo <wingo@pobox.com>
8994 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8995 plugins from the source directory.
8997 2005-06-29 Wim Taymans <wim@fluendo.com>
8999 * docs/gst/tmpl/gstbuffer.sgml:
9000 * docs/gst/tmpl/gstclock.sgml:
9001 Some fixings for blantently wrong text.
9003 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9005 * check/Makefile.am:
9006 * gst/gst.c: (add_path_func), (init_pre):
9007 * gst/gstregistry.c: (gst_registry_add_path):
9008 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9009 only scan the GST_PLUGIN_PATH locations, and not add
9012 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9014 * docs/gst/gstreamer-sections.txt:
9015 * docs/gst/tmpl/gstbasesrc.sgml:
9022 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9024 * docs/manual/advanced-autoplugging.xml:
9025 Fix autoplugging example.
9027 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9029 * docs/manual/advanced-autoplugging.xml:
9030 * docs/manual/mime-world.fig:
9031 Try to get autoplugging working, fix type detection. Fix text
9032 in hello-world image.
9034 2005-06-29 Wim Taymans <wim@fluendo.com>
9036 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9037 (gst_base_sink_change_state):
9041 map SIGNAL and BROADCAST to the right function.
9044 Remove redundant braces.
9046 * gst/gstpad.c: (gst_pad_set_caps):
9047 Don't call setcaps function when reseting caps to NULL.
9049 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9050 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9051 (gst_system_clock_id_unschedule):
9052 Use BROADCAST as this is what we do.
9054 2005-06-29 Wim Taymans <wim@fluendo.com>
9056 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9057 We are actually prerolling before commiting the state
9060 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9062 * docs/manual/advanced-clocks.xml:
9063 * docs/manual/advanced-interfaces.xml:
9064 * docs/manual/advanced-metadata.xml:
9065 * docs/manual/advanced-position.xml:
9066 * docs/manual/advanced-schedulers.xml:
9067 * docs/manual/advanced-threads.xml:
9068 * docs/manual/appendix-porting.xml:
9069 * docs/manual/basics-bins.xml:
9070 * docs/manual/basics-bus.xml:
9071 * docs/manual/basics-elements.xml:
9072 * docs/manual/basics-helloworld.xml:
9073 * docs/manual/basics-pads.xml:
9074 * docs/manual/highlevel-components.xml:
9075 * docs/manual/manual.xml:
9076 * docs/manual/thread.fig:
9077 Update (until threads/scheduling) Application Development Manual;
9078 remove GstThread, add GstBus, add simple porting checklist, add
9079 documentation for tag writing, clocks, make all examples until this
9080 part compile and run.
9081 * examples/manual/Makefile.am:
9082 Update from changes to Application Development Manual; add bus
9083 example, remove thread example.
9085 2005-06-28 Wim Taymans <wim@fluendo.com>
9087 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9088 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9089 (gst_bus_source_dispatch):
9090 Add debugging messages.
9091 Make internal methods static.
9092 Handle the case where the bus is flushed in the handler.
9094 * gst/gstelement.c: (gst_element_get_bus):
9095 Fix refcount in _get_bus();
9097 * gst/gstpipeline.c: (gst_pipeline_change_state),
9098 (gst_pipeline_get_clock_func):
9099 Clock refcounting fixes.
9100 Handle the case where preroll timed out more gracefully.
9102 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9103 Clean up the internal thread in dispose. This is needed
9104 for subclasses that actually get disposed.
9106 * gst/schedulers/threadscheduler.c:
9107 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9108 (gst_thread_scheduler_dispose):
9109 Free thread pool in dispose.
9111 2005-06-28 Andy Wingo <wingo@pobox.com>
9113 * tests/network-clock-utils.scm (debug, print-event): New utils.
9115 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9116 (*packet-loss*): Unified loss probability.
9117 (network-time): Report out-of-band events.
9119 * tests/plot-data: Add support for out-of-band events. Hack it
9120 into this script instead of passing it down the pipe; should fix
9123 2005-06-28 Wim Taymans <wim@fluendo.com>
9125 * docs/gst/gstreamer.types:
9126 * docs/gst/tmpl/gstbasesrc.sgml:
9127 * docs/gst/tmpl/gstpad.sgml:
9130 2005-06-28 Wim Taymans <wim@fluendo.com>
9132 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9133 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9134 (gst_proxy_pad_do_fixatecaps):
9135 Correctly proxy the check_pull_range function.
9137 2005-06-28 Andy Wingo <wingo@pobox.com>
9139 * tests/network-clock.scm: Removed need for slib.
9141 2005-06-28 Wim Taymans <wim@fluendo.com>
9143 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9144 (gst_basesink_preroll_queue_flush):
9145 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9146 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9147 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9148 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9149 (gst_proxy_pad_set_property):
9152 * gst/gstqueue.c: (gst_queue_init):
9153 The deprecated pad loop function is removed now.
9155 2005-06-28 Andy Wingo <wingo@pobox.com>
9157 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9158 New parameters, simulate network packet loss.
9160 * tests/network-clock-utils.scm: Initialize the RNG.
9162 2005-06-28 Wim Taymans <wim@fluendo.com>
9164 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9165 (gst_basesink_event), (gst_basesink_deactivate):
9166 Flushing the preroll queue always needs to unlock the waiters.
9168 2005-06-28 Edward Hervey <edward@fluendo.com>
9170 * gst/gstpipeline.c: (gst_pipeline_send_event):
9171 Wheen a seek was successful on a pipeline, set the stream_time to the
9172 seek offset in order to have a synchronized stream_time.
9174 2005-06-28 Wim Taymans <wim@fluendo.com>
9176 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9177 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9178 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9179 (gst_proxy_pad_do_fixatecaps):
9180 Call wrapper function instead of just calling the function
9181 pointers. This takes care of any locking and whatmore.
9183 2005-06-28 Wim Taymans <wim@fluendo.com>
9185 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9186 (gst_pad_pull_range):
9188 CONNECTED -> LINKED.
9190 2005-06-28 Andy Wingo <wingo@pobox.com>
9192 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9193 source-munging commit!!!
9195 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9196 (gst_object_sink): Take gpointer arguments, not GstObject --
9197 avoids casts. Like GLib.
9199 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9202 2005-06-27 Andy Wingo <wingo@pobox.com>
9204 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9207 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9208 returns a sorted copy of the trace list.
9209 (gst_alloc_trace_print_live): New API, only prints traces with
9210 live objects. Sort the list.
9211 (gst_alloc_trace_print_all): Sort the list.
9212 (gst_alloc_trace_print): Align columns.
9214 * gst/elements/gstttypefindelement.c:
9215 * gst/elements/gsttee.c:
9216 * gst/base/gstbasesrc.c:
9217 * gst/base/gstbasesink.c:
9218 * gst/base/gstbasetransform.c:
9219 * gst/gstqueue.c: Adapt for pad activation changes.
9221 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9223 (gst_pipeline_dispose): Drop ref on sched.
9225 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9226 (gst_pad_activate_default): Push mode by default.
9227 (pre_activate_switch, post_activate_switch): New stubs, things to
9228 do before and after switching activation modes on pads.
9229 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9230 the pad's activate function to choose which mode to activate.
9231 Shortcut on deactivation and call the right function directly.
9232 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9234 (gst_pad_activate_push): New API, same for push mode.
9235 (gst_pad_set_activate_function)
9236 (gst_pad_set_activatepull_function)
9237 (gst_pad_set_activatepush_function): Setters for new API.
9239 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9240 Trace all miniobjects.
9241 (gst_mini_object_make_writable): Unref the arg if we copy, like
9242 gst_caps_make_writable.
9244 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9246 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9247 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9248 Adapt for new pad API.
9250 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9253 * gst/gstelement.c (gst_element_iterate_src_pads)
9254 (gst_element_iterate_sink_pads): New API functions.
9256 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9257 should fold into gstiterator.c in some form.
9258 (gst_element_pads_activate): Simplified via use of fold and
9259 delegation of decisions to gstpad->activate.
9261 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9264 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9265 class once in init, like gstmessage. Didn't run into this issue
9266 but it seems correct. Don't initialize a trace, gstminiobject does
9269 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9270 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9272 (assert_live_count): New util function, uses alloc traces to check
9275 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9276 To be modified when unlink drops the internal pad.
9278 2005-06-27 Wim Taymans <wim@fluendo.com>
9280 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9281 (gst_bin_change_state):
9282 Cleanup the get_state() function a little, make sure it
9283 iterates the same set of elements.
9284 Added stub iterate_state_order().
9286 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9288 * docs/gst/gstreamer-docs.sgml:
9289 * docs/gst/gstreamer-sections.txt:
9290 * docs/gst/gstreamer.types:
9291 * docs/gst/tmpl/gstbasesink.sgml:
9292 * docs/gst/tmpl/gstbasesrc.sgml:
9293 * docs/gst/tmpl/gstbasetransform.sgml:
9294 * docs/gst/tmpl/gstelement.sgml:
9295 * docs/gst/tmpl/gstiterator.sgml:
9296 * gst/base/gstbasesrc.c:
9297 * gst/base/gstbasesrc.h:
9298 * gst/base/gstbasetransform.h:
9300 * gst/gstiterator.h:
9301 adding basetransform and iterator docs
9303 2005-06-27 Andy Wingo <wingo@pobox.com>
9305 * docs/design/part-activation.txt: Notes on how activation should
9306 work -- not quite implemented yet.
9308 2005-06-25 Wim Taymans <wim@fluendo.com>
9310 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9311 At least get the chain function correct, needs more
9314 2005-06-25 Wim Taymans <wim@fluendo.com>
9316 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9317 (gst_basesink_handle_object), (gst_basesink_event),
9318 (gst_basesink_do_sync), (gst_basesink_handle_event),
9319 (gst_basesink_change_state):
9321 Right, two problems here: ghostpads don't take locks and
9322 glib _rec_mutex_lock_full() with depth==0 still locks.
9323 Catch illegal locking and g_warn them.
9325 2005-06-25 Wim Taymans <wim@fluendo.com>
9327 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9328 Have to check for completion now...
9330 2005-06-25 Wim Taymans <wim@fluendo.com>
9332 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9333 (gst_basesink_handle_object), (gst_basesink_event),
9334 (gst_basesink_do_sync), (gst_basesink_handle_event),
9335 (gst_basesink_change_state):
9337 Unlock STREAM_LOCK whatever the recursion was.
9339 2005-06-25 Wim Taymans <wim@fluendo.com>
9341 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9342 (gst_basesink_preroll_queue_empty),
9343 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9344 (gst_basesink_event), (gst_basesink_do_sync),
9345 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9346 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9347 (gst_basesink_change_state):
9348 Reworked the base sink, handle event and buffer serialisation
9349 correctly and removed possible deadlock.
9350 Handle EOS correctly.
9352 2005-06-25 Wim Taymans <wim@fluendo.com>
9354 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9355 (gst_pipeline_change_state):
9356 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9357 Allow elements to post EOS in the state change function.
9358 Fix up -launch, make it exit the poll loop when the
9359 pipeline actually changed state.
9360 Fix up warning parsing in -launch.
9362 2005-06-25 Wim Taymans <wim@fluendo.com>
9364 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9365 (gst_tee_sink_activate):
9366 Core takes STREAM_LOCK for us now.
9368 2005-06-25 Wim Taymans <wim@fluendo.com>
9370 * gst/gstelement.c: (gst_element_get_state_func),
9371 (gst_element_set_state):
9373 * gst/gstmessage.c: (gst_message_parse_error),
9374 (gst_message_parse_warning):
9375 Keep track of current target state while performing a state
9376 change so that subclasses can do something interesting.
9377 Fix parsing of warning/error messages when GError is NULL.
9379 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9381 * docs/gst/Makefile.am:
9382 * docs/gst/gstreamer-docs.sgml:
9383 * docs/gst/gstreamer-sections.txt:
9384 * docs/gst/gstreamer.types:
9385 * docs/gst/tmpl/gstbasesink.sgml:
9386 * docs/gst/tmpl/gstbasesrc.sgml:
9387 * docs/gst/tmpl/gstbin.sgml:
9388 * docs/gst/tmpl/gstcompat.sgml:
9389 * docs/gst/tmpl/gstfakesink.sgml:
9390 * docs/gst/tmpl/gstfakesrc.sgml:
9391 * docs/gst/tmpl/gstfilesink.sgml:
9392 * docs/gst/tmpl/gstfilesrc.sgml:
9393 * docs/gst/tmpl/gstindex.sgml:
9394 * docs/manual/appendix-quotes.xml:
9395 * gst/base/gstbasesrc.h:
9396 * gst/elements/gstfakesrc.h:
9398 start pulling in base classes and elements in our docs
9400 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9402 * docs/gst/Makefile.am:
9403 * docs/libs/Makefile.am:
9404 fixed make distcheck with gtk-doc 1.3
9406 2005-06-23 Wim Taymans <wim@fluendo.com>
9408 * gst/gstelement.c: (gst_element_get_state_func),
9409 (gst_element_set_state), (gst_element_change_state):
9410 When the state did not change, also report NO_PREROLL
9413 2005-06-23 Wim Taymans <wim@fluendo.com>
9415 * gst/gstpad.c: (gst_pad_event_default):
9416 * gst/gstqueue.c: (gst_queue_loop):
9417 No unsafe task pausing please.
9419 2005-06-23 Wim Taymans <wim@fluendo.com>
9421 * gst/schedulers/threadscheduler.c:
9422 (gst_thread_scheduler_task_start),
9423 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9424 Ref the task before pushing it on the threadpool. This
9425 makes sure that we have a ref when the threadfunction is
9428 2005-06-23 Andy Wingo <wingo@pobox.com>
9430 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9431 offset is greater than the file's size.
9433 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9434 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9435 * gst/gstobject.c (gst_object_class_init): Make the class lock
9436 recursive. Wim won't let me drop deep_notify. Decodebin works
9439 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9440 internal pad, and hacks accordingly. Doesn't do it on the target
9441 pad because we change its caps. Probably catches all cases of
9443 (gst_ghost_pad_set_property): Connect to notify::caps as
9446 * tests/network-clock.scm (plot-simulation): Pipe data to the
9447 elite python skript.
9449 * tests/network-clock-utils.scm (define-parameter): New macro,
9450 defines a parameter that can be set via the command line.
9451 (set-parameter!, parse-parameter-arguments): Command line args
9454 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9457 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9459 * gst/elements/gsttypefindelement.c:
9460 (gst_type_find_element_handle_event):
9461 Don't restart typefinding on a discont.
9462 * gst/gstelement.c: (gst_element_set_state):
9464 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9465 Allow changing mode of an active pad.
9467 * gst/registries/gstlibxmlregistry.c: (load_feature):
9468 Don't cast a static pad template to a normal pad template.
9470 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9472 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9473 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9474 remove gst_strtoll completely, since it didn't actually do
9475 anything more than what g_ascii_strtoull already does.
9476 check for range errors when deserializing
9477 do a cast for the unsigned cases; but further fixing needs
9478 a decision on what the interpretation of "(int)" and
9479 deserialization should be for values that fall outside the
9480 type's boundaries (ie, refuse, or interpret as casting)
9482 2005-06-23 Wim Taymans <wim@fluendo.com>
9484 * check/Makefile.am:
9485 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9486 * docs/design/part-live-source.txt:
9487 * docs/design/part-states.txt:
9488 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9489 (gst_basesrc_set_live), (gst_basesrc_is_live),
9490 (gst_basesrc_get_range), (gst_basesrc_activate),
9491 (gst_basesrc_change_state):
9492 * gst/base/gstbasesrc.h:
9493 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9494 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9495 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9496 * gst/gstelement.c: (gst_element_get_state_func),
9497 (gst_element_set_state):
9500 * tools/gst-launch.c: (event_loop), (main):
9501 Added support for live sources and other elements that
9503 Updated design docs, added live-source design doc.
9504 Implemented live source functionality in basesrc
9505 Fix error condition in _bin_get_state()
9506 Implement live source handling in -launch.
9507 Added check for live sources.
9508 Fixed case in GstBin where elements were changed state
9512 2005-06-23 Andy Wingo <wingo@pobox.com>
9514 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9517 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9518 gst_caps_replace takes care of this for us.
9520 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9521 gst_pad_set_caps on the target, not just its setcaps() function.
9523 * tests/network-clock.scm:
9524 * tests/network-clock-utils.scm: A network clock simulator.
9525 Something of an algorithmic testbed before doing something in C.
9527 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9529 * check/Makefile.am:
9530 * check/gst/capslist.h:
9531 copy over from 0.8, and add two with bitmasks specified with
9533 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9534 add test to parse everything from capslist.h
9535 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9537 add test for structure deserialization
9538 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9539 add tests for deserialization of strings to int types
9540 * gst/gststructure.c: (gst_structure_nth_field_name):
9541 * gst/gststructure.h:
9542 add a way to get the name of a field referenced by index
9543 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9544 instead of checking if the resulting long long lies between
9545 min and max, we check if the long long would fit into
9546 a number of bytes for the final type.
9547 This fixes cases where a string represents 2^32 - 1, which
9548 when cast to int would be the (valid) -1, but is bigger than
9551 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9553 * gst/parse/grammar.y:
9554 add a log line for type deserialization
9556 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9558 * check/gst/gstvalue.c: (START_TEST):
9559 * gst/gstvalue.c: (gst_value_deserialize):
9560 return long long, not int, so gint64 deserialization actually
9561 works. Is there any flag that makes the compiler check this ?
9564 2005-06-22 Wim Taymans <wim@fluendo.com>
9567 Added convenience macros for setting buffers in GValue.
9569 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9571 * check/gst/.cvsignore:
9572 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9573 add a test deserializing int64, and comment part out because
9576 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9578 * check/Makefile.am:
9579 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9580 * testsuite/Makefile.am:
9581 * testsuite/caps/Makefile.am:
9582 * testsuite/caps/value_serialize.c:
9583 * testsuite/test_gst_init.c:
9584 move a value_serialize test over
9586 2005-06-20 Wim Taymans <wim@fluendo.com>
9591 * gst/gstvalue.c: (gst_value_compare_buffer),
9592 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9593 (gst_value_compare_flags), (gst_value_serialize_flags),
9594 (gst_value_deserialize_flags), (_gst_value_initialize):
9595 Fix serialisation of buffers, they are not boxed types anymore
9597 2005-06-20 Wim Taymans <wim@fluendo.com>
9599 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9600 Testcase to show error in buffer-on-caps serialisation.
9602 2005-06-20 Andy Wingo <wingo@pobox.com>
9604 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9605 will be adding to later.
9607 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9608 if its socks fill with rocks.
9609 (gst_system_clock_obtain): Set the name on object construction.
9610 Avoid double-checked locking.
9612 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9614 * gst/gsturi.c: (gst_element_make_from_uri):
9615 Fix potential endless loop.
9617 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9619 * check/Makefile.am:
9621 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9623 move over from testsuite dir and clean up
9626 * testsuite/Makefile.am:
9627 * testsuite/tags/.cvsignore:
9628 * testsuite/tags/Makefile.am:
9629 * testsuite/tags/merge.c:
9630 remove testsuite/tags
9632 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9634 * docs/gst/gstreamer-sections.txt:
9635 * docs/gst/tmpl/gstenumtypes.sgml:
9636 * win32/gstenumtypes.c:
9637 clean up documentation build a little
9639 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9642 add macros for checking refcounts on objects and caps
9643 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9644 add some more unit tests
9645 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9646 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9647 fix leaked refcounts (I hope :)) so unittest works
9651 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9653 * configure.ac: back to HEAD
9655 === release 0.9.1 ===
9657 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9663 2005-06-17 Andy Wingo <wingo@pobox.com>
9665 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9666 assert; it's always possible that the pad gets deactivated in
9667 between the checks in gstpad.c and the implementation. Rely on
9668 finish_preroll() to return a FLUSHING or similar instead of on the
9671 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9672 clock and post an EOS message if we come out of finish_preroll in
9675 2005-06-16 David Schleef <ds@schleef.org>
9677 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9678 (gst_capsfilter_set_property): Allow NULL as possible value
9679 for filter_caps property, indicating GST_CAPS_ANY.
9681 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9683 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9685 * gst/schedulers/Makefile.am:
9687 * gstreamer.spec.in:
9690 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9692 * gstreamer.spec.in:
9695 2005-06-08 Andy Wingo <wingo@pobox.com>
9697 * gst/gstutils.c: RPAD fixes all around.
9698 (gst_element_link_pads): Refcounting fixes.
9700 * tools/gst-inspect.c:
9701 * tools/gst-xmlinspect.c:
9703 * gst/base/gsttypefindhelper.c:
9704 * gst/base/gstbasesink.c:
9705 * gst/gstqueue.c: RPAD fixes.
9707 * gst/gstghostpad.h:
9708 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9709 pads. The tricky thing is they provide both source and sink
9710 interfaces, since they proxy the internal pad for the external
9711 pad, and vice versa. Implement with lower-level ProxyPad objects,
9712 with the interior proxy pad as a child of the exterior ghost pad.
9713 Should write a doc on this.
9715 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9716 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9719 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9720 pads are real pads. No ghost pads in this file. Not documenting
9721 the myriad s/RPAD/PAD/ and REALIZE fixes.
9722 (gst_pad_class_init): Add properties for "direction" and
9723 "template". Both are construct-only, so they can't change during
9724 the life of the pad. Fixes properly deriving from GstPad.
9725 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9726 derived objects, just set properties when creating the objects via
9728 (gst_pad_get_parent): Implement as a function, return NULL if the
9729 parent is not an element.
9730 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9731 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9733 * gst/gstobject.c (gst_object_class_init): Make name a construct
9734 property. Don't set it in the object init.
9736 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9737 with UNKNOWN direction.
9738 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9739 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9740 (gst_element_remove_pad): Remove ghost-pad special cases.
9741 (gst_element_pads_activate): Remove rpad cruft.
9743 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9744 catch the pad's-parent-not-an-element case.
9746 * gst/gst.h: Include gstghostpad.h.
9748 * gst/gst.c (init_post): No more real, ghost pads.
9750 * gst/Makefile.am: Add gstghostpad.[ch].
9752 * check/Makefile.am:
9753 * check/gst/gstbin.c:
9754 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9755 into a bin creates ghost pads, and that the refcounts are right.
9756 Partly moved from gstbin.c.
9758 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9760 * check/gst-libs/.cvsignore:
9761 * check/gst/.cvsignore:
9762 * check/pipelines/.cvsignore:
9764 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9765 (START_TEST), (cleanup_suite), (main):
9766 add some tests related to cleanup after running pipelines
9768 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9770 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9771 add a testsuite for GstBuffer
9773 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9775 * gst/gstminiobject.h:
9776 add defines for accessing the refcount
9778 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9780 * Makefile.am: added support for html unit test coverage reports
9782 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9784 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9785 Free existing caps if the capsfilter changes. Add a FIXME about
9786 setting those caps on the pads.
9788 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9789 Before adding a ghost pad to a parent bin, check that there isn't
9790 already one for the element on the bin. Prevents infinite recursion
9791 when using decodebin in parse pipelines. Andy says he'll rewrite the
9792 way this works anyway, so ignore the hack.
9794 2005-06-02 Andy Wingo <wingo@pobox.com>
9796 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9797 file size, pass it on to the type find helper.
9799 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9800 segment_start and segment_end properly according to the seek
9801 method. Segment_end is still a bit flaky because offset can be
9802 negative for CUR and END cases, but it takes -1 as an "unset"
9805 2005-06-02 Wim Taymans <wim@fluendo.com>
9807 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9808 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9809 (gst_basesink_activate):
9810 * gst/base/gstbasesink.h:
9811 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9812 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9813 (gst_pad_query), (gst_pad_start_task):
9815 * gst/gstqueue.c: (gst_queue_bufferalloc),
9816 (gst_queue_handle_sink_event), (gst_queue_chain):
9817 Bufferalloc: return GstFlowReturn to more accuratly report
9818 why allocation failed.
9820 2005-06-02 Wim Taymans <wim@fluendo.com>
9822 * gst/gstpipeline.c: (gst_pipeline_send_event):
9823 Take snapshot of state without blocking.
9825 2005-06-02 Wim Taymans <wim@fluendo.com>
9827 * docs/design/part-TODO.txt:
9828 * docs/design/part-caps.txt:
9829 * docs/design/part-clocks.txt:
9830 * docs/design/part-negotiation.txt:
9831 * docs/design/part-preroll.txt:
9834 2005-05-30 Wim Taymans <wim@fluendo.com>
9836 * gst/elements/gstidentity.c: (gst_identity_event),
9837 (gst_identity_transform), (gst_identity_get_property):
9838 Protect last_message property as it is accessed from
9841 2005-05-30 Wim Taymans <wim@fluendo.com>
9843 * gst/gstelement.c: (gst_element_init),
9844 (gst_element_pads_activate), (gst_element_change_state):
9845 Slicker pad activation code.
9847 2005-05-30 Wim Taymans <wim@fluendo.com>
9851 * gst/gstelementfactory.h:
9853 Move elementfactory methods to separate .h file.
9855 2005-05-30 Wim Taymans <wim@fluendo.com>
9857 * docs/design/part-overview.txt:
9858 * gst/gstsystemclock.h:
9859 Small typo fixes, doc updates.
9861 2005-05-30 Wim Taymans <wim@fluendo.com>
9863 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9864 (init_popt_callback):
9865 Remove cpu-opt flag.
9867 2005-05-30 Wim Taymans <wim@fluendo.com>
9869 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9870 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9872 Avoid typechecking in places where not needed.
9873 Added accessor for malloc_data.
9875 2005-05-30 Wim Taymans <wim@fluendo.com>
9877 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9878 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9879 (gst_pad_configure_sink), (gst_pad_configure_src),
9880 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9881 (gst_pad_start_task):
9882 Propagate errors from _set_caps() in configure_src/sink
9883 functions instead of returning TRUE.
9884 FLUSH events can travel up and downstream
9887 2005-05-30 Wim Taymans <wim@fluendo.com>
9889 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9890 (gst_basesink_activate):
9891 Handle EOS in preroll.
9893 2005-05-30 Wim Taymans <wim@fluendo.com>
9895 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9896 (gst_queue_loop), (gst_queue_handle_src_event):
9897 Remove old pieces of code
9898 Flushing the queue in an upstream event is a very bad idea.
9900 2005-05-26 Andy Wingo <wingo@pobox.com>
9902 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9903 gst_value_set_mini_object so as to add a ref on the object (which
9904 will be removed when the value is unset).
9906 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9907 arg type in ::handoff.
9909 * gst/gstelement.c (gst_element_change_state): Also deactivate
9910 pads in READY->NULL, just in case the element didn't make it to
9911 PAUSED. Wingo tested, Wim approved.
9913 2005-05-26 Wim Taymans <wim@fluendo.com>
9915 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9916 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9917 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9918 A flushing pad cannot be used to alloc_buffer from.
9920 2005-05-26 Wim Taymans <wim@fluendo.com>
9922 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9923 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9924 (gst_bus_source_dispatch), (gst_bus_source_finalize),
9925 (gst_bus_create_watch), (gst_bus_add_watch_full):
9927 Implement a real GSource and use g_main_context_wakeup() to
9928 signal new messages instead of the socketpair.
9930 2005-05-25 Wim Taymans <wim@fluendo.com>
9932 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9933 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9934 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9935 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9936 (gst_pad_send_event), (gst_pad_start_task):
9937 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9938 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9939 (gst_queue_sink_activate), (gst_queue_src_activate),
9940 (gst_queue_change_state):
9942 Fix state changes for non sinks. We now change sinks, then elements
9943 with unconnected srcpads, then the rest.
9944 More efficient queue unlocking in flush and state changes.
9945 Set the pad activate mode even if it does not have an activate
9948 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9950 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9951 Don't go in pull mode for non-seekable sources.
9952 * gst/elements/gsttypefindelement.h:
9953 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9954 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9955 (free_entry), (stop_typefinding),
9956 (gst_type_find_element_handle_event), (find_peek),
9957 (gst_type_find_element_chain), (do_pull_typefind),
9958 (gst_type_find_element_change_state):
9959 Allow typefinding (w/o seeking) in push-mode, simplified version
9961 * gst/gstutils.c: (gst_buffer_join):
9963 gst_buffer_join() from 0.8.
9965 2005-05-25 Wim Taymans <wim@fluendo.com>
9967 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9968 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9969 (gst_pad_send_event), (gst_pad_start_task):
9970 Disable attempt at mode switching until it is figured out.
9972 2005-05-25 Wim Taymans <wim@fluendo.com>
9974 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9975 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9976 (gst_basesink_finish_preroll), (gst_basesink_chain),
9977 (gst_basesink_loop), (gst_basesink_activate),
9978 (gst_basesink_change_state):
9979 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9980 (gst_basesrc_get_range), (gst_basesrc_loop),
9981 (gst_basesrc_activate):
9982 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9983 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9984 (gst_real_pad_init), (gst_real_pad_set_property),
9985 (gst_real_pad_get_property), (gst_pad_set_active),
9986 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9987 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9988 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9989 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9990 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9991 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9992 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9993 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9994 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9995 (gst_pad_stop_task):
9997 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9998 (gst_queue_loop), (gst_queue_src_activate):
9999 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10000 (gst_task_get_state):
10002 * gst/schedulers/threadscheduler.c:
10003 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10004 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10006 Remove ACTIVE pad flag, use FLUSHING everywhere
10007 Added _pad_chain(), _pad_get_range() to call chain/getrange
10009 Add locks around IS_FLUSHING when reading.
10010 Take STREAM lock in chain(), get_range() functions so plugins
10011 don't need to take it anymore.
10015 2005-05-25 Wim Taymans <wim@fluendo.com>
10017 * tools/gst-launch.c: (event_loop):
10018 Unref message after using its contents instead of
10021 2005-05-24 Wim Taymans <wim@fluendo.com>
10023 * docs/design/draft-ghostpads.txt:
10024 * docs/design/draft-push-pull.txt:
10025 * docs/design/draft-query.txt:
10026 * docs/design/part-overview.txt:
10027 Docs updates, added general overview doc.
10029 2005-05-21 David Schleef <ds@schleef.org>
10031 * docs/gst/tmpl/old/GstBin.sgml:
10032 * docs/gst/tmpl/old/GstBuffer.sgml:
10033 * docs/gst/tmpl/old/GstCaps.sgml:
10034 * docs/gst/tmpl/old/GstClock.sgml:
10035 * docs/gst/tmpl/old/GstCompat.sgml:
10036 * docs/gst/tmpl/old/GstData.sgml:
10037 * docs/gst/tmpl/old/GstElement.sgml:
10038 * docs/gst/tmpl/old/GstEvent.sgml:
10039 * docs/gst/tmpl/old/GstIndex.sgml:
10040 * docs/gst/tmpl/old/GstStructure.sgml:
10041 * docs/gst/tmpl/old/GstTag.sgml:
10042 * docs/gst/tmpl/old/cothreads.sgml:
10043 * docs/gst/tmpl/old/cothreads_compat.sgml:
10044 * docs/gst/tmpl/old/gettext.sgml:
10045 * docs/gst/tmpl/old/gobject2gtk.sgml:
10046 * docs/gst/tmpl/old/grammar.tab.sgml:
10047 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10048 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10049 * docs/gst/tmpl/old/gst_private.sgml:
10050 * docs/gst/tmpl/old/gstaggregator.sgml:
10051 * docs/gst/tmpl/old/gstarch.sgml:
10052 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10053 * docs/gst/tmpl/old/gstbufferstore.sgml:
10054 * docs/gst/tmpl/old/gstdata_private.sgml:
10055 * docs/gst/tmpl/old/gstdisksink.sgml:
10056 * docs/gst/tmpl/old/gstdisksrc.sgml:
10057 * docs/gst/tmpl/old/gstelementfactory.sgml:
10058 * docs/gst/tmpl/old/gstextratypes.sgml:
10059 * docs/gst/tmpl/old/gstfakesink.sgml:
10060 * docs/gst/tmpl/old/gstfakesrc.sgml:
10061 * docs/gst/tmpl/old/gstfdsink.sgml:
10062 * docs/gst/tmpl/old/gstfdsrc.sgml:
10063 * docs/gst/tmpl/old/gstfilesink.sgml:
10064 * docs/gst/tmpl/old/gstfilesrc.sgml:
10065 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10066 * docs/gst/tmpl/old/gstidentity.sgml:
10067 * docs/gst/tmpl/old/gstindexfactory.sgml:
10068 * docs/gst/tmpl/old/gstmarshal.sgml:
10069 * docs/gst/tmpl/old/gstmd5sink.sgml:
10070 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10071 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10072 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10073 * docs/gst/tmpl/old/gstpipefilter.sgml:
10074 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10075 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10076 * docs/gst/tmpl/old/gstshaper.sgml:
10077 * docs/gst/tmpl/old/gstspider.sgml:
10078 * docs/gst/tmpl/old/gstspideridentity.sgml:
10079 * docs/gst/tmpl/old/gststatistics.sgml:
10080 * docs/gst/tmpl/old/gsttee.sgml:
10081 * docs/gst/tmpl/old/gsttimecache.sgml:
10082 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10083 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10084 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10085 * docs/gst/tmpl/old/types.sgml:
10086 I didn't intend to add these or check them in.
10088 2005-05-19 David Schleef <ds@schleef.org>
10090 * configure.ac: Use -no-common everywhere. In a sane world, it
10091 would be the default in libtool, because without it, you can't
10092 build DLLs on Windows.
10093 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10094 * docs/gst/gstreamer-sections.txt:
10095 * docs/gst/tmpl/gstcpu.sgml:
10096 * docs/gst/tmpl/gstdata.sgml:
10097 * docs/gst/tmpl/gstthread.sgml:
10099 2005-05-19 David Schleef <ds@schleef.org>
10101 * gst/gstminiobject.c: (gst_value_set_mini_object),
10102 (gst_value_take_mini_object), (gst_value_get_mini_object):
10103 * gst/gstminiobject.h: Add GValue set/get functions.
10105 2005-05-19 Wim Taymans <wim@fluendo.com>
10107 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10108 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10109 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10111 * gst/gstbus.c: (gst_bus_post):
10112 * gst/gstelement.c: (gst_element_get_random_pad):
10113 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10114 Make subbufer unref the parent in finalize.
10115 some more debugging info.
10118 2005-05-19 Wim Taymans <wim@fluendo.com>
10120 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10121 (gst_basesink_init), (gst_basesink_finalize),
10122 (gst_basesink_activate), (gst_basesink_change_state):
10123 Don't free preroll queue too early.
10125 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10129 Hi, I'm outdated. Please shoot me.
10131 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10133 * gst/gstpipeline.c: (gst_pipeline_send_event):
10134 Do not access variables after they have been deleted.
10136 2005-05-19 Wim Taymans <wim@fluendo.com>
10138 * tools/gst-inspect.c: (print_plugin_features):
10139 A plugin feature does unfortunatly not use the
10142 2005-05-18 Wim Taymans <wim@fluendo.com>
10144 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10145 Port _span() functions to new subbuffers.
10147 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10149 * gst/gstbin.c: (gst_bin_add_func):
10150 Fix clock settery in bins when adding kids after the clock has
10153 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10155 * gst/elements/gstidentity.c: (gst_identity_class_init):
10156 Workaround until signals support GstMiniObject.
10158 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10161 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10163 2005-05-18 Wim Taymans <wim@fluendo.com>
10165 * gst/base/Makefile.am:
10166 * gst/base/gstadapter.c: (gst_adapter_base_init),
10167 (gst_adapter_class_init), (gst_adapter_init),
10168 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10169 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10170 (gst_adapter_flush), (gst_adapter_available),
10171 (gst_adapter_available_fast):
10172 * gst/base/gstadapter.h:
10173 Ported and added adapter to the base classes.
10175 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10178 * gst/gstmessage.c:
10179 Make sure the class is reffed/unreffed once before threads can be
10180 used. Fixes #304551.
10182 2005-05-17 Wim Taymans <wim@fluendo.com>
10184 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10185 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10186 * gst/gstminiobject.c: (gst_mini_object_get_type),
10187 (gst_mini_object_free):
10188 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10189 (gst_pad_push), (gst_pad_push_event):
10190 * gst/gstqueue.c: (gst_queue_change_state):
10191 Don't queue buffers in basesink when we are flushing.
10192 Unref buffer when flushing in basesink.
10193 Flush queue when going to READY
10194 Unref buffer when _push() returns an error.
10195 Don't free MiniObject instance when refcount is incremented
10196 in _finalize() so that we can recover objects.
10198 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10200 * docs/manual/advanced-schedulers.xml:
10201 * docs/manual/appendix-checklist.xml:
10202 * docs/pwg/advanced-clock.xml:
10203 * docs/pwg/advanced-interfaces.xml:
10204 * docs/pwg/advanced-request.xml:
10205 * docs/pwg/advanced-types.xml:
10206 * docs/pwg/intro-preface.xml:
10207 * examples/plugins/example.c: (gst_example_get_type),
10208 (gst_example_class_init), (gst_example_chain),
10209 (gst_example_set_property), (gst_example_get_property),
10210 (gst_example_change_state), (plugin_init):
10211 * examples/plugins/example.h:
10214 2005-05-17 Wim Taymans <wim@fluendo.com>
10216 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10217 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10218 * gst/gstqueue.c: (gst_queue_change_state):
10219 Clear queue when going to READY.
10220 Remove IN_SETCAPS flag too.
10222 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10224 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10225 Remove implicit cast from gboolean to GstElementStateReturn;
10226 make sure we still return failure in paused => ready case if
10227 the parent class fails to change state and our own stop
10230 2005-05-17 Wim Taymans <wim@fluendo.com>
10232 * tools/gst-launch.c: (event_loop):
10233 Message was unreffed too soon.
10235 2005-05-16 Andy Wingo <wingo@pobox.com>
10237 * gst/gstbin.c (sink_iterator_filter): Err... um...
10239 * check/gst/gstbin.c (test_ghost_pads): New test for the
10240 ghosting-if-elements-not-in-same-bin behavior.
10242 2005-05-16 David Schleef <ds@schleef.org>
10244 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10245 accessing refcount directly.
10247 2005-05-15 David Schleef <ds@schleef.org>
10249 * check/Makefile.am: remove GstData checks
10250 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10251 * gst/Makefile.am: add miniobject, remove data
10252 * gst/gst.h: add miniobject, remove data
10253 * gst/gstdata.c: remove
10254 * gst/gstdata.h: remove
10255 * gst/gstdata_private.h: remove
10256 * gst/gsttypes.h: remove GstEvent and GstMessage
10257 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10258 * gst/gstmarshal.list: change BOXED -> OBJECT
10260 Implement GstMiniObject.
10261 * gst/gstminiobject.c:
10262 * gst/gstminiobject.h:
10264 Modify to be subclasses of GstMiniObject.
10265 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10266 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10267 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10268 (gst_subbuffer_get_type), (gst_subbuffer_init),
10269 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10272 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10273 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10274 (_gst_event_copy), (gst_event_new):
10276 * gst/gstmessage.c: (_gst_message_initialize),
10277 (gst_message_get_type), (gst_message_class_init),
10278 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10279 (gst_message_new), (gst_message_new_error),
10280 (gst_message_new_warning), (gst_message_new_tag),
10281 (gst_message_new_state_changed), (gst_message_new_application):
10282 * gst/gstmessage.h:
10283 * gst/gstprobe.c: (gst_probe_perform),
10284 (gst_probe_dispatcher_dispatch):
10286 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10287 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10288 (_gst_query_copy), (gst_query_new):
10290 Update elements for GstData -> GstMiniObject changes
10292 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10293 (gst_queue_chain), (gst_queue_loop):
10294 * gst/elements/gstbufferstore.c:
10295 (gst_buffer_store_add_buffer_func),
10296 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10297 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10298 (gst_fakesink_render):
10299 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10300 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10301 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10302 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10303 (gst_filesrc_create_read):
10304 * gst/elements/gstidentity.c: (gst_identity_class_init):
10305 * gst/elements/gsttypefindelement.c:
10306 (gst_type_find_element_src_event), (free_entry_buffers),
10307 (gst_type_find_element_handle_event):
10308 * libs/gst/dataprotocol/dataprotocol.c:
10309 (gst_dp_header_from_buffer):
10310 * libs/gst/dataprotocol/dataprotocol.h:
10311 * libs/gst/dataprotocol/dp-private.h:
10313 2005-05-15 David Schleef <ds@schleef.org>
10315 * gst/elements/gstelements.c: Don't include headers that were
10318 2005-05-15 David Schleef <ds@schleef.org>
10320 * gst/elements/Makefile.am: Remove some elements that don't
10321 need to be in the core (or even exist at all).
10322 * gst/elements/gstaggregator.c:
10323 * gst/elements/gstaggregator.h:
10324 * gst/elements/gstmd5sink.c:
10325 * gst/elements/gstmd5sink.h:
10326 * gst/elements/gstmultifilesrc.c:
10327 * gst/elements/gstmultifilesrc.h:
10328 * gst/elements/gstpipefilter.c:
10329 * gst/elements/gstpipefilter.h:
10330 * gst/elements/gstshaper.c:
10331 * gst/elements/gstshaper.h:
10332 * gst/elements/gststatistics.c:
10333 * gst/elements/gststatistics.h:
10334 * po/POTFILES.in: Remove above files.
10336 2005-05-14 Andy Wingo <wingo@pobox.com>
10338 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10339 so as to get the refs right.
10340 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10341 unreffing objects that don't pass the filter.
10343 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10344 gst_element_set_bus.
10345 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10346 normal cases, this will destroy the bus.
10348 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10351 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10354 2005-05-13 Andy Wingo <wingo@pobox.com>
10356 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10357 gst_pad_link, call pad_link_maybe_ghosting,
10358 (pad_link_maybe_ghosting): Links pads, making sure that the
10359 elements being linked are in the same bin.
10360 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10361 Helpers for pad_link_maybe_ghosting.
10363 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10366 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10368 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10370 * docs/design/part-element-source.txt:
10373 2005-05-12 Wim Taymans <wim@fluendo.com>
10375 * gst/base/gstbasesink.c: (gst_basesink_init),
10376 (gst_basesink_activate):
10377 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10378 (gst_basesrc_is_seekable):
10379 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10380 (bin_element_is_sink), (gst_bin_change_state):
10381 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10382 * gst/gstelement.h:
10383 Identify sinks by their flag to avoid overly complicated
10385 Do state changes even for elements not reachable from the
10387 BaseSink is a sink now :)
10388 Some more debugging info in the basesrc.
10391 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10393 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10394 Implement _query on a bin, similar to _send_event.
10396 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10398 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10399 Discont event offset format should be GST_FORMAT_BYTES,
10400 not GST_FORMAT_TIME.
10402 2005-05-12 Wim Taymans <wim@fluendo.com>
10404 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10405 Same fix as Ronald's but without the signal.
10407 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10409 * gst/gstutils.c: (gst_element_query_position):
10410 No, an element is not a pad.
10412 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10414 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10415 (gst_bin_get_state):
10416 If a child is removed from a bin while we remove the child from
10417 the bin and while we're retrieving its state, signal this to the
10418 get_state function so we abort the wait (instead of waiting for
10419 a timeout) and can immediately re-iterate over all other elements.
10421 2005-05-12 Wim Taymans <wim@fluendo.com>
10423 * gst/base/Makefile.am:
10424 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10425 (gst_basesrc_start):
10426 * gst/base/gstbasesrc.h:
10427 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10428 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10429 (gst_pushsrc_init), (gst_pushsrc_create):
10430 * gst/base/gstpushsrc.h:
10431 Added is_seekable to BaseSrc
10432 Added simple PushSrc.
10434 2005-05-11 Wim Taymans <wim@fluendo.com>
10436 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10437 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10438 (gst_element_link_pads), (gst_element_query_position),
10439 (gst_element_query_convert), (intersect_caps_func),
10440 (gst_pad_query_position), (gst_pad_query_convert):
10441 Fix refcounting in utils function.
10442 No point in trying to activate a pad when it's added, it could
10443 be added from the state change function and then we deadlock, the
10444 element has to decide what to do.
10446 2005-05-10 Andy Wingo <wingo@pobox.com>
10448 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10449 *all* the arguments.
10451 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10452 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10453 lock (according to the docs -- if this is wrong change the docs).
10455 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10456 flush messages in the NULL state.
10458 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10459 message immediately and return.
10460 (gst_bus_set_flushing): New function. If a bus is flushing, it
10461 flushes out any queued messages and immediately unrefs new
10462 messages. This is so when an element goes to NULL, all of the
10463 unhandled messages coming from it can be freed, and their
10464 references to the element dropped. In other words: message source
10465 ref considered harmful :P
10467 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10468 we're finished with it.
10470 * gst/gstmessage.c (gst_message_new_state_changed):
10472 2005-05-10 Wim Taymans <wim@fluendo.com>
10474 * gst/gstvalue.c: (gst_value_compare_flags),
10475 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10476 (_gst_value_initialize):
10477 Added flags serialize/deserialize/compare code.
10479 2005-05-09 Andy Wingo <wingo@pobox.com>
10481 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10482 Intersect the peer's caps with our caps.
10484 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10486 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10487 * gst/elements/gsttypefindelement.c: (find_peek):
10488 Handle negative offsets better. Fixes decodebin.
10490 2005-05-09 Wim Taymans <wim@fluendo.com>
10492 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10493 (gst_base_transform_event):
10494 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10495 Implement accept_caps.
10496 Fix silly lock/unlock mismatch in base class.
10498 2005-05-09 Wim Taymans <wim@fluendo.com>
10500 * docs/design/draft-push-pull.txt:
10501 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10502 * gst/elements/gstfilesink.c: (gst_filesink_init),
10503 (gst_filesink_query):
10504 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10505 (gst_type_find_handle_src_query), (find_element_get_length):
10506 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10507 * gst/gstelement.h:
10508 * gst/gstmessage.c:
10509 * gst/gstmessage.h:
10510 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10511 (gst_real_pad_get_caps_unlocked),
10512 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10513 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10514 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10515 (gst_real_pad_dispose), (gst_real_pad_finalize),
10516 (gst_pad_load_and_link), (gst_pad_save_thyself),
10517 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10518 (gst_pad_check_pull_range), (gst_pad_pull_range),
10519 (gst_pad_template_get_type), (gst_pad_template_class_init),
10520 (gst_pad_template_init), (gst_pad_template_dispose),
10521 (name_is_valid), (gst_static_pad_template_get),
10522 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10523 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10524 (gst_pad_get_element_private), (gst_pad_start_task),
10525 (gst_pad_pause_task), (gst_pad_stop_task),
10526 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10527 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10528 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10529 (gst_ghost_pad_new):
10531 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10532 (gst_query_new_position), (gst_query_set_position),
10533 (gst_query_parse_position), (gst_query_new_convert),
10534 (gst_query_set_convert), (gst_query_parse_convert):
10536 * gst/gstqueryutils.c:
10537 * gst/gstqueryutils.h:
10538 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10539 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10540 (gst_queue_handle_src_query):
10541 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10542 (gst_element_query_position), (gst_element_query_convert),
10543 (intersect_caps_func), (gst_pad_query_position),
10544 (gst_pad_query_convert):
10546 * tools/gst-inspect.c: (print_pad_info):
10547 * tools/gst-xmlinspect.c: (print_element_info):
10548 Remove old query functions. Ported old code.
10549 Added position/convert helper functions to gstutils.
10550 Reordered gstpad.c code, grouping relevant things.
10551 Remove gst_message_new(), always need to speficy a specific
10555 2005-05-09 Andy Wingo <wingo@pobox.com>
10557 * gst/gstiterator.h: Add some includes.
10559 * gst/gstqueryutils.h: Include more headers.
10562 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10563 some uses of gst_pad_query.
10565 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10566 NULL out parameters.
10567 (gst_query_new_position): New proc, allocates a new position
10570 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10571 gstqueryutils.c to the build.
10573 * gst/gststructure.c (gst_structure_set_valist): Implement with
10574 the generic G_VALUE_COLLECT.
10576 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10578 * gst/Makefile.am: (gst_headers):
10579 Added gstqueryutils.h to the list of headers to install, that was
10580 a 'nachty' move wingo :)
10582 2005-05-06 Andy Wingo <wingo@pobox.com>
10585 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10586 GstData, init a memchunk.
10587 (standard_definitions): Add a few query types, deprecate a few.
10588 (gst_query_get_type): New proc.
10589 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10591 (gst_query_new_application, gst_query_get_structure): New public
10594 * docs/design/draft-query.txt: Removed LINKS from the query types,
10595 because all the rest can be dispatched to other pads -- seemed
10596 ugly to have a query that couldn't be dispatched. internal_links
10597 is fine as a pad method.
10599 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10600 in gstpad.c, but maintain binary compatibility for the moment.
10601 Will fix before 0.9 is out.
10603 * gst/gstqueryutils.c:
10604 * gst/gstqueryutils.h: New files, implement 3 methods for each
10605 query type: parse_query, parse_response, and set. Probably need an
10608 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10610 * gst/elements/gstfilesink.c (gst_filesink_query2):
10611 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10612 query_types, and formats methods.
10614 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10615 (gst_pad_set_query2_function): New functions.
10616 (gst_real_pad_init): Set query2_default as the default query2
10617 function. Basically just dispatches to internally linked pads.
10621 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10622 without using the atomic operations. Only one thread can possibly
10623 be accessing the data at this point. Changed so as to avoid
10624 gst_atomic operations.
10626 2005-05-06 Wim Taymans <wim@fluendo.com>
10628 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10629 Also set caps if we use the fallback buffer alloc.
10631 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10633 * docs/gst/Makefile.am:
10634 * docs/gst/gstreamer-docs.sgml:
10635 * docs/gst/gstreamer-sections.txt:
10636 * docs/gst/tmpl/gstatomic.sgml:
10637 * docs/gst/tmpl/gstmemchunk.sgml:
10638 * testsuite/elements/struct_i386.h:
10639 * win32/GStreamer.vcproj:
10641 Purge GstAtomic stuff from docs and win32 makefiles as well
10643 2005-05-06 Wim Taymans <wim@fluendo.com>
10645 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10646 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10647 * gst/gstpad.c: (gst_pad_peer_get_caps):
10648 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10649 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10650 (gst_queue_src_activate), (gst_queue_change_state):
10652 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10653 (intersect_caps_func):
10654 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10655 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10656 Some fixes for the peer_get_caps() change.
10658 2005-05-06 Wim Taymans <wim@fluendo.com>
10660 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10661 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10662 (gst_basesink_activate):
10663 Actually do something with error codes returned from the push
10666 2005-05-06 Wim Taymans <wim@fluendo.com>
10668 * docs/design/part-element-sink.txt:
10669 * docs/design/part-element-source.txt:
10670 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10671 (gst_basesink_event), (gst_basesink_activate):
10672 * gst/base/gstbasesink.h:
10673 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10674 (gst_basesrc_activate):
10675 * gst/base/gstbasesrc.h:
10676 * gst/gstelement.c: (gst_element_pads_activate):
10677 Some more documentation.
10678 Fixed scheduling decision in _pads_activate().
10680 2005-05-05 Andy Wingo <wingo@pobox.com>
10682 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10685 2005-05-05 Wim Taymans <wim@fluendo.com>
10687 * gst/base/Makefile.am:
10688 * gst/base/gstbasesink.h:
10689 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10690 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10691 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10692 (gst_collectpads_class_init), (gst_collectpads_init),
10693 (gst_collectpads_finalize), (gst_collectpads_new),
10694 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10695 (find_pad), (gst_collectpads_remove_pad),
10696 (gst_collectpads_is_active), (gst_collectpads_collect),
10697 (gst_collectpads_collect_range), (gst_collectpads_start),
10698 (gst_collectpads_stop), (gst_collectpads_peek),
10699 (gst_collectpads_pop), (gst_collectpads_available),
10700 (gst_collectpads_read), (gst_collectpads_flush),
10701 (gst_collectpads_chain):
10702 * gst/base/gstcollectpads.h:
10703 * gst/elements/Makefile.am:
10704 * gst/elements/gstelements.c:
10705 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10706 (gst_fakesink_get_times), (gst_fakesink_event),
10707 (gst_fakesink_preroll), (gst_fakesink_render):
10708 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10709 (gst_filesink_init), (gst_filesink_set_location),
10710 (gst_filesink_open_file), (gst_filesink_close_file),
10711 (gst_filesink_pad_query), (gst_filesink_event),
10712 (gst_filesink_render), (gst_filesink_change_state):
10713 * gst/elements/gstfilesink.h:
10714 Added object to help in making collect pad based elements.
10716 Make event function in sink baseclass return gboolean.
10718 2005-05-05 Wim Taymans <wim@fluendo.com>
10720 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10721 (gst_bin_get_by_name):
10723 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10724 (gst_clock_finalize):
10725 * gst/gstdata.c: (gst_data_replace):
10727 * gst/gstelement.c: (gst_element_request_pad),
10728 (gst_element_pads_activate):
10729 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10730 (gst_object_unref):
10731 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10732 (gst_pad_set_checkgetrange_function),
10733 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10734 (gst_pad_check_pull_range), (gst_pad_pull_range),
10735 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10736 (gst_pad_pause_task), (gst_pad_stop_task):
10737 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10738 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10739 Fix name lookup in GstBin.
10740 Added _data_replace() function and _buffer_replace()
10741 Use finalize method to clean up clock.
10742 Fix refcounting on request pads.
10743 Fix pad schedule mode error.
10744 Some more object refcounting debug info,
10747 2005-05-04 Andy Wingo <wingo@pobox.com>
10749 * check/Makefile.am:
10750 * docs/gst/tmpl/gstatomic.sgml:
10751 * docs/gst/tmpl/gstplugin.sgml:
10752 * gst/base/gstbasesink.c: (gst_basesink_activate):
10753 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10754 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10755 (gst_basesrc_query), (gst_basesrc_set_property),
10756 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10757 (gst_basesrc_activate):
10758 * gst/base/gstbasesrc.h:
10759 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10760 (gst_base_transform_src_activate):
10761 * gst/elements/gstelements.c:
10762 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10763 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10764 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10765 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10766 (gst_type_find_element_checkgetrange),
10767 (gst_type_find_element_activate):
10768 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10769 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10770 (gst_caps_load_thyself):
10771 * gst/gstelement.c: (gst_element_pads_activate),
10772 (gst_element_save_thyself), (gst_element_restore_thyself):
10773 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10774 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10776 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10777 (gst_xml_parse_file), (gst_xml_parse_memory),
10778 (gst_xml_get_element), (gst_xml_make_element):
10779 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10780 (_file_index_id_save_xml), (gst_file_index_commit):
10781 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10782 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10784 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10785 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10786 * tools/gst-complete.c: (main):
10787 * tools/gst-compprep.c: (main):
10788 * tools/gst-inspect.c: (print_element_properties_info):
10789 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10790 * tools/gst-xmlinspect.c: (print_element_properties):
10793 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10795 * gst/gstplugin.c: (gst_plugin_check_module),
10796 (gst_plugin_check_file), (gst_plugin_load_file):
10797 apply patch from #172526 to make register work on MacOSX
10799 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10801 * docs/gst/tmpl/gstconfig.sgml:
10802 * gst/gstconfig.h.in:
10803 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10804 * testsuite/debug/printf_extension.c: (main):
10805 Do not use GST_PTR_FORMAT on pointers to types with
10806 sizeof < sizeof(gpointer). Fixes test on 64-bit
10807 * testsuite/elements/property.h:
10808 use correct printf format
10810 2005-05-02 Wim Taymans <wim@fluendo.com>
10812 * docs/design/draft-push-pull.txt:
10813 * docs/design/draft-query.txt:
10814 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10815 (gst_basesrc_start):
10816 Added draft for new query API.
10817 Added draft for better selecting scheduling methods.
10818 Make basesrc ignore length if the subclass does not support
10821 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10824 possible fixes for automake-1.5 - _LIBADD is reserved
10826 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10828 * docs/faq/Makefile.am:
10829 * docs/manual/Makefile.am:
10830 * docs/manuals.mak:
10831 * docs/pwg/Makefile.am:
10833 possible fixes for automake-1.5
10835 2005-04-28 Wim Taymans <wim@fluendo.com>
10837 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10838 (gst_basesink_pad_getcaps), (gst_basesink_init),
10839 (gst_basesink_do_sync):
10840 * gst/gstclock.c: (gst_clock_entry_new):
10841 * gst/gstevent.c: (gst_event_discont_get_value):
10842 * gst/gstpipeline.c: (pipeline_bus_handler),
10843 (gst_pipeline_change_state):
10844 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10845 Better debugging of clocking info.
10846 Allow NULL values when getting discont values.
10848 2005-04-27 Wim Taymans <wim@fluendo.com>
10850 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10851 * check/gst/gstpad.c: (gst_pad_suite):
10852 Increase timeout for checks.
10854 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10856 * check/Makefile.am:
10857 fix the broken rule for cleanup. Apparently this rule is
10858 only needed on FC2, so maybe this warrants further autotool
10861 2005-04-26 Wim Taymans <wim@fluendo.com>
10863 * gst/gsttrashstack.h:
10864 Ooohh. a nasty one! After having a failed pop() from the stack,
10865 it's possible that the stack is empty. In that case, don't
10866 follow the NULL pointer.
10868 2005-04-25 Wim Taymans <wim@fluendo.com>
10870 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10871 (gst_pad_set_checkgetrange_function),
10872 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10873 (gst_pad_check_pull_range), (gst_pad_pull_range),
10874 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10875 (gst_pad_pause_task), (gst_pad_stop_task):
10876 * gst/gstplugin.c: (gst_plugin_load):
10878 Remove gst_library_load as it does more harm than good with
10879 the new g_module flags.
10880 Revert bogus caps template check in pad linking, pad caps
10881 are important when linking not the template, which is more
10882 general than the current caps.
10884 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10886 * gst/autoplug/.cvsignore:
10887 * gst/autoplug/Makefile.am:
10888 * gst/autoplug/gstsearchfuncs.c:
10889 * gst/autoplug/gstsearchfuncs.h:
10890 * gst/autoplug/gstspider.c:
10891 * gst/autoplug/gstspider.h:
10892 * gst/autoplug/gstspideridentity.c:
10893 * gst/autoplug/gstspideridentity.h:
10894 * gst/autoplug/spidertest.c:
10897 2005-04-25 Wim Taymans <wim@fluendo.com>
10899 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10900 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10901 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10902 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10904 Added stubs for unimplemented functions.
10906 2005-04-24 David Schleef <ds@schleef.org>
10908 * gst/gstpad.h: Disable some unimplemented functions. Wim,
10911 2005-04-24 David Schleef <ds@schleef.org>
10913 Convert everything from GstAtomicInt to g_atomic_int_*, and
10918 * gst/gstatomic_impl.h:
10926 * gst/gstdata_private.h:
10930 * gst/gstmessage.c:
10933 * gst/gststructure.c:
10934 * gst/gststructure.h:
10935 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10938 2005-04-24 David Schleef <ds@schleef.org>
10940 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10941 make the regressions tests work. Remove some code that is no
10943 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10944 Disable warning for pads without templates.
10946 2005-04-24 David Schleef <ds@schleef.org>
10948 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
10949 functions that handle filtered links.
10950 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10952 * gst/gstutils.c: Fix/remove utility functions that handle
10955 * gst/gstvalue.c: Add serialization/deserialization of caps
10956 * gst/parse/grammar.y: Ignore filtered caps when linking. This
10957 requires fixing so that the filter caps notation creates
10958 a capsfilter element and sets the filter_caps property. I
10959 think everyone probably wants to keep the shorthand notation.
10960 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10961 * docs/gst/tmpl/gstpad.sgml:
10963 * gst/elements/gstelements.c: Register capsfilter element.
10964 * gst/Makefile.am: fix spacing
10965 * docs/random/ds/0.9-suggested-changes: random
10967 2005-04-23 David Schleef <ds@schleef.org>
10969 * gst/elements/Makefile.am:
10970 * gst/elements/gstcapsfilter.c: New element that acts like an
10971 identity, but filters caps. Will eventually replace filtered
10972 caps in pad linking.
10973 * gst/gstutils.c: (gst_element_create_all_pads): New function
10974 to create all the ALWAYS pads that are registered with an
10975 element class. This functionality should eventually be
10976 merged in with GstElement initialization.
10978 * testsuite/trigger/README: part of trigger test code that should
10979 have been checked in a long time ago.
10981 2005-04-23 David Schleef <ds@schleef.org>
10983 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
10984 needed with new versions of libtool (nobody will confirm this),
10985 and hard to carry around.
10986 * gst/autoplug/Makefile.am:
10987 * gst/base/Makefile.am:
10988 * gst/elements/Makefile.am:
10989 * gst/indexers/Makefile.am:
10990 * gst/schedulers/Makefile.am:
10991 * libs/gst/bytestream/Makefile.am:
10992 * libs/gst/control/Makefile.am:
10993 * libs/gst/dataprotocol/Makefile.am:
10994 * libs/gst/getbits/Makefile.am:
10996 2005-04-21 Wim Taymans <wim@fluendo.com>
10998 * docs/design/draft-push-pull.txt:
10999 * docs/design/part-MT-refcounting.txt:
11000 * docs/design/part-TODO.txt:
11001 * docs/design/part-caps.txt:
11002 * docs/design/part-events.txt:
11003 * docs/design/part-gstbus.txt:
11004 * docs/design/part-gstpipeline.txt:
11005 * docs/design/part-messages.txt:
11006 * docs/design/part-push-pull.txt:
11007 * docs/design/part-query.txt:
11010 2005-04-21 Wim Taymans <wim@fluendo.com>
11012 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11013 (gst_message_new), (gst_message_new_error),
11014 (gst_message_new_warning), (gst_message_new_tag),
11015 (gst_message_new_state_changed), (gst_message_new_application),
11016 (gst_message_get_structure):
11017 * gst/gstmessage.h:
11018 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11019 (gst_structure_copy_conditional):
11020 Use parent refcount in GstMessage to ensure GstStructure
11022 Cleaned up headers a bit.
11025 2005-04-20 Wim Taymans <wim@fluendo.com>
11027 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11028 (gst_basesink_pad_getcaps), (gst_basesink_init),
11029 (gst_basesink_chain_unlocked):
11030 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11031 (gst_type_find_helper):
11032 * gst/elements/gsttypefindelement.c:
11033 (gst_type_find_element_have_type), (gst_type_find_element_init),
11034 (stop_typefinding), (gst_type_find_element_handle_event),
11035 (find_suggest), (gst_type_find_element_chain),
11036 (gst_type_find_element_checkgetrange),
11037 (gst_type_find_element_getrange), (do_typefind),
11038 (gst_type_find_element_activate):
11039 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11040 (gst_buffer_default_free), (gst_buffer_default_copy),
11041 (gst_buffer_set_caps):
11042 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11043 (gst_caps_replace):
11044 * gst/gstmessage.c: (gst_message_new),
11045 (gst_message_new_state_changed):
11046 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11047 (gst_pad_set_checkgetrange_function),
11048 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11049 (gst_pad_set_caps), (gst_pad_check_pull_range),
11050 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11052 * gst/gsttypefind.c: (gst_type_find_register):
11053 Make gst_caps_replace() work like other _replace() functions.
11054 Use _caps_replace() where possible.
11055 Make sure _message_new() initialises its field.
11056 Add gst_static_pad_template_get_caps()
11059 2005-04-18 Andy Wingo <wingo@pobox.com>
11061 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11062 on the peer, not the pad. I think that was a typo. Pass an extra
11063 arg to see if random access is possible. Activate the pads as
11064 PULL_RANGE if possible.
11066 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11068 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11069 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11072 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11074 * docs/faq/using.xml:
11075 Add note on gstreamer-properties (#154996).
11077 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11079 * docs/random/bbb/optional-properties:
11080 Some analysis on optional properties.
11082 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11084 * docs/gst/tmpl/gstelementfactory.sgml:
11085 * gst/gstelement.h:
11086 * gst/gstelementfactory.c: (gst_element_factory_init),
11087 (gst_element_factory_cleanup), (gst_element_register),
11088 (__gst_element_factory_add_static_pad_template),
11089 (gst_element_factory_get_static_pad_templates),
11090 (gst_element_factory_can_src_caps),
11091 (gst_element_factory_can_sink_caps):
11092 * gst/registries/Makefile.am:
11093 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11094 (gst_xml_registry_class_init), (gst_xml_registry_init),
11095 (gst_xml_registry_new), (gst_xml_registry_set_property),
11096 (gst_xml_registry_get_property), (get_time), (make_dir),
11097 (gst_xml_registry_get_perms_func),
11098 (plugin_times_older_than_recurse), (plugin_times_older_than),
11099 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11100 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11101 (add_to_char_array), (read_string), (read_uint), (read_enum),
11102 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11103 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11104 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11105 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11106 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11107 (gst_xml_registry_rebuild):
11108 * gst/registries/gstlibxmlregistry.h:
11109 * tools/gst-compprep.c: (main):
11110 * tools/gst-inspect.c: (print_pad_templates_info):
11111 * tools/gst-xmlinspect.c: (print_element_info):
11112 Use libxml2 for registry parsing, use staticpadtemplates in
11113 elementfactories. Makes gst_init() +/- 10x faster.
11115 2005-04-12 Wim Taymans <wim@fluendo.com>
11117 * gst/base/Makefile.am:
11118 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11119 (gst_basesink_pad_getcaps), (gst_basesink_init),
11120 (gst_basesink_event), (gst_basesink_change_state):
11121 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11122 (gst_basesrc_init), (gst_basesrc_query),
11123 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11124 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11125 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11126 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11127 (gst_basesrc_stop), (gst_basesrc_activate),
11128 (gst_basesrc_change_state):
11129 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11130 (helper_find_suggest), (gst_type_find_helper):
11131 * gst/base/gsttypefindhelper.h:
11132 * gst/elements/Makefile.am:
11133 * gst/elements/gstelements.c:
11134 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11135 (gst_fakesink_get_times), (gst_fakesink_event),
11136 (gst_fakesink_preroll), (gst_fakesink_render):
11137 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11138 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11139 (gst_fakesrc_get_property), (gst_fakesrc_create),
11140 (gst_fakesrc_start), (gst_fakesrc_stop):
11141 * gst/elements/gstfakesrc.h:
11142 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11143 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11144 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11145 (gst_filesrc_create_read), (gst_filesrc_create),
11146 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11147 (gst_filesrc_start):
11148 * gst/elements/gsttypefindelement.c:
11149 (gst_type_find_element_have_type), (gst_type_find_element_init),
11150 (start_typefinding), (stop_typefinding), (push_buffer_store),
11151 (gst_type_find_element_handle_event),
11152 (gst_type_find_element_chain),
11153 (gst_type_find_element_checkgetrange),
11154 (gst_type_find_element_getrange), (do_typefind),
11155 (gst_type_find_element_activate),
11156 (gst_type_find_element_change_state):
11157 * gst/elements/gsttypefindelement.h:
11158 * gst/gstpipeline.c: (pipeline_bus_handler):
11159 Added typefind helper.
11160 Small preroll fix in the base sink.
11161 Disable typefind code in basesrc.
11162 Crude port of typefindelement.
11166 2005-04-11 Wim Taymans <wim@fluendo.com>
11168 * check/gst/gstbus.c: (gstbus_suite):
11169 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11170 * check/gstcheck.h:
11171 Fix up the timeout so that the test does not fail.
11173 2005-04-06 Wim Taymans <wim@fluendo.com>
11176 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11177 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11178 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11179 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11180 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11181 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11182 (gst_basesrc_stop), (gst_basesrc_activate),
11183 (gst_basesrc_change_state), (basesrc_find_peek),
11184 (basesrc_find_suggest), (gst_basesrc_type_find):
11185 * gst/base/gstbasesrc.h:
11186 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11187 (gst_filesrc_class_init), (gst_filesrc_init),
11188 (gst_filesrc_finalize), (gst_filesrc_set_location),
11189 (gst_filesrc_set_property), (gst_filesrc_get_property),
11190 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11191 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11192 (gst_filesrc_create_read), (gst_filesrc_create),
11193 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11194 * gst/elements/gstfilesrc.h:
11195 * gst/gstelement.c: (gst_element_get_state_func),
11196 (gst_element_lost_state), (gst_element_pads_activate):
11197 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11198 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11199 (gst_pad_pull_range):
11201 More work on the generic source base class, implement seeking,
11203 Make filesrc extend the base source class.
11204 Added gst_pad_set_checkgetrange_function to GstPad.
11206 2005-04-06 Andy Wingo <wingo@pobox.com>
11208 * pkgconfig/gstreamer-base.pc.in:
11209 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11211 * pkgconfig/Makefile.am:
11212 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11214 2005-04-04 Wim Taymans <wim@fluendo.com>
11216 * gst/base/Makefile.am:
11218 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11219 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11220 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11221 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11222 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11223 (gst_basesrc_base_init), (gst_basesrc_class_init),
11224 (gst_basesrc_init), (gst_basesrc_get_formats),
11225 (gst_basesrc_get_query_types), (gst_basesrc_query),
11226 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11227 (gst_basesrc_set_property), (gst_basesrc_get_property),
11228 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11229 (gst_basesrc_loop), (gst_basesrc_activate),
11230 (gst_basesrc_change_state):
11231 * gst/base/gstbasesrc.h:
11232 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11233 (gst_fakesrc_class_init), (gst_fakesrc_init),
11234 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11235 (gst_fakesrc_get_property), (gst_fakesrc_create):
11236 * gst/elements/gstfakesrc.h:
11237 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11238 (gst_filesrc_open_file), (gst_filesrc_loop),
11239 (gst_filesrc_activate), (filesrc_find_peek),
11240 (gst_filesrc_type_find):
11241 Made base source class, make fakesrc extend it.
11242 Add comments to basesink class.
11243 Some filesrc cleanup.
11245 2005-03-31 David Schleef <ds@schleef.org>
11247 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11248 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11249 expected to link against libgstreamer.
11250 * gst/base/Makefile.am: link against libgstreamer
11251 * gst/elements/Makefile.am: same
11253 2005-03-31 Andy Wingo <wingo@pobox.com>
11255 * tests/instantiate/Makefile.am:
11256 * tests/instantiate/caps.c: Add test to test speed of caps copy
11259 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11260 GMemChunk to be fair.
11262 * gst/gsttrashstack.h: Remove warning about using the fallback
11263 trash stack implementation, it's still faster than malloc.
11265 2005-03-30 Andy Wingo <wingo@pobox.com>
11267 * tests/complexity.c: Add a copyright.
11269 2005-03-31 Wim Taymans <wim@fluendo.com>
11271 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11272 (gst_base_transform_class_init), (gst_base_transform_init),
11273 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11274 (gst_base_transform_get_property),
11275 (gst_base_transform_sink_activate),
11276 (gst_base_transform_src_activate),
11277 (gst_base_transform_change_state):
11278 * gst/base/gstbasetransform.h:
11279 * gst/elements/gstidentity.c: (gst_identity_class_init),
11280 (gst_identity_event), (gst_identity_check_perfect),
11281 (gst_identity_transform), (gst_identity_start),
11282 (gst_identity_stop):
11283 Added start/stop methods to transform base class so subclasses
11284 don't need to deal with state changes even.
11286 2005-03-31 Wim Taymans <wim@fluendo.com>
11288 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11289 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11291 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11292 (gst_pad_pull_range):
11293 Added rate to the discont event to prepare for variable speed
11294 and reverse playback.
11296 2005-03-29 David Schleef <ds@schleef.org>
11299 * testsuite/trigger/Makefile.am:
11300 * testsuite/trigger/trigger.c: A little example program to show
11301 how trigger-based elements can work.
11303 2005-03-29 Wim Taymans <wim@fluendo.com>
11305 * gst/base/Makefile.am:
11307 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11308 (gst_basesink_base_init), (gst_basesink_class_init),
11309 (gst_basesink_pad_getcaps), (gst_basesink_init),
11310 (gst_basesink_activate), (gst_basesink_change_state):
11311 * gst/base/gstbasesink.h:
11312 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11313 (gst_base_transform_base_init), (gst_base_transform_finalize),
11314 (gst_base_transform_class_init), (gst_base_transform_init),
11315 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11316 (gst_base_transform_event), (gst_base_transform_getrange),
11317 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11318 (gst_base_transform_set_property),
11319 (gst_base_transform_get_property),
11320 (gst_base_transform_sink_activate),
11321 (gst_base_transform_src_activate),
11322 (gst_base_transform_change_state):
11323 * gst/base/gstbasetransform.h:
11324 * gst/elements/gstidentity.c: (gst_identity_finalize),
11325 (gst_identity_class_init), (gst_identity_init),
11326 (gst_identity_event), (gst_identity_check_perfect),
11327 (gst_identity_transform), (gst_identity_set_property),
11328 (gst_identity_get_property), (gst_identity_change_state):
11329 * gst/elements/gstidentity.h:
11330 * gst/gstelement.c: (gst_element_get_state_func),
11331 (gst_element_lost_state), (gst_element_pads_activate):
11332 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11333 (gst_pad_check_pull_range), (gst_pad_pull_range):
11335 Simplify pad activation.
11336 Added function to check if pull_range can be performed.
11337 Error out when pulling inactive or flushing pads.
11338 Removed const from refcounted types as it does not make sense.
11339 Simplify pad templates in basesink
11340 Added base class for simple 1-to-1 transforms.
11341 Make identity subclass the base transform.
11343 2005-03-29 Andy Wingo <wingo@pobox.com>
11345 * docs/libs/gstreamer-libs-overrides.txt:
11346 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11347 really don't understand what's going on, but like whatever. I want
11350 * docs/gst/Makefile.am:
11351 * docs/libs/Makefile.am: Dist the overrides files.
11353 * check/Makefile.am (clean-local): Remove .libs directories.
11355 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11356 elements to EXTRA_DIST, so po/ files are happy.
11358 * po/POTFILES.in: Er, remove it here.
11360 * po/POTFILES: Remove gstspider.c.
11362 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11364 * docs/libs/gstreamer-libs-docs.sgml:
11365 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11368 * tests/complexity.c (main): Set the length of the preroll queue
11369 on the sinks to prevent a lockup.
11371 * libs/gst/dataprotocol/Makefile.am:
11372 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11373 the same as the one in check/gst-libs/gdp.c.
11375 * po/, docs/gst/: Commit automatic changes to docs and po files.
11377 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11378 the versioned libgstbase.
11380 * check/Makefile.am: Depend on an unversioned gst-register, seems
11381 to make autoconf happier.
11383 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11385 2005-03-28 Wim Taymans <wim@fluendo.com>
11388 * docs/design/part-gstelement.txt:
11389 * docs/design/part-negotiation.txt:
11390 * docs/design/part-preroll.txt:
11391 * docs/design/part-scheduling.txt:
11392 * docs/design/part-states.txt:
11394 * gst/base/Makefile.am:
11396 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11397 (gst_basesink_base_init), (gst_basesink_class_init),
11398 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11399 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11400 (gst_basesink_set_pad_functions),
11401 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11402 (gst_basesink_set_property), (gst_basesink_get_property),
11403 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11404 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11405 (gst_basesink_preroll_queue_push),
11406 (gst_basesink_preroll_queue_empty),
11407 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11408 (gst_basesink_event), (gst_basesink_get_times),
11409 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11410 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11411 (gst_basesink_loop), (gst_basesink_activate),
11412 (gst_basesink_change_state):
11413 * gst/base/gstbasesink.h:
11414 * gst/elements/Makefile.am:
11415 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11416 (gst_fakesink_class_init), (gst_fakesink_init),
11417 (gst_fakesink_set_property), (gst_fakesink_get_property),
11418 (gst_fakesink_get_times), (gst_fakesink_event),
11419 (gst_fakesink_preroll), (gst_fakesink_render),
11420 (gst_fakesink_change_state):
11421 * gst/elements/gstfakesink.h:
11422 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11423 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11424 * gst/gstelement.c: (gst_element_add_pad),
11425 (gst_element_get_state_func), (gst_element_abort_state),
11426 (gst_element_commit_state), (gst_element_lost_state),
11427 (gst_element_set_state), (gst_element_pads_activate):
11428 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11429 * gst/gstpipeline.c: (gst_pipeline_send_event),
11430 (gst_pipeline_change_state):
11431 Added state change code.
11432 Added/updated docs.
11433 Added sink base class, make fakesink extend the base class.
11434 Small cleanups in GstPipeline.
11436 2005-03-26 David Schleef <ds@schleef.org>
11438 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11439 is broken and should be implemented in a different library.
11440 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11441 * gst/gst.h: remove gstcpu.h
11442 * gst/gstcpu.c: remove
11443 * gst/gstcpu.h: remove
11444 * gst/Makefile.am.future: Remove this file. It's ancient.
11446 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11448 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11449 (gst_bin_send_event):
11450 Add default event/set_manager handlers. The set_manager handler
11451 takes care that the manager is distributed over kids that were
11452 already in the bin before the manager was set. The event handler
11453 is a utility virtual function that sends the event over all sinks,
11454 so that gst_element_send_event (bin, event); has the expected
11456 * gst/gstpad.c: (gst_pad_event_default):
11457 Re-install default event handling for discontinuities, so that
11458 seeking works without requiring hacks in applications or extra
11460 * gst/gstpipeline.c: (gst_pipeline_class_init),
11461 (gst_pipeline_send_event):
11462 Half hack, half utility: set a pipeline to PAUSED for seek events,
11463 since that is the only way we can guarantee a/v sync. Means that
11464 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11465 and it "just works".
11467 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11469 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11470 Lock/unlock mismatch.
11472 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11474 * docs/faq/gst-uninstalled:
11475 add gst-plugins-base
11476 * docs/gst/Makefile.am:
11477 don't error out until docs are fixed
11478 * docs/gst/gstreamer.types:
11481 2005-03-22 Wim Taymans <wim@fluendo.com>
11483 * check/Makefile.am:
11484 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11485 * gst/gststructure.c: (gst_structure_set_valist),
11486 (gst_structure_copy_conditional):
11487 Activated more tests.
11488 Added message test.
11489 Added G_TYPE_POINTER to GstStructure.
11492 2005-03-22 Wim Taymans <wim@fluendo.com>
11494 * docs/design/part-TODO.txt:
11495 * docs/design/part-events.txt:
11496 * docs/design/part-gstbin.txt:
11497 * docs/design/part-gstbus.txt:
11498 * docs/design/part-gstpipeline.txt:
11499 * docs/design/part-messages.txt:
11501 * gst/gstmessage.c:
11504 2005-03-21 Wim Taymans <wim@fluendo.com>
11506 * gst/gstbus.c: (gst_bus_post):
11507 Fix copy-and-paste error.
11509 2005-03-21 Wim Taymans <wim@fluendo.com>
11511 * check/Makefile.am:
11513 * gst/elements/Makefile.am:
11514 * gst/elements/gstelements.c:
11515 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11516 (gst_fakesink_event), (gst_fakesink_chain):
11517 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11518 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11519 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11520 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11521 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11522 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11523 (gst_fakesrc_loop), (gst_fakesrc_activate),
11524 (gst_fakesrc_change_state):
11525 * gst/elements/gstfakesrc.h:
11526 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11527 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11528 (gst_filesrc_open_file), (gst_filesrc_loop),
11529 (gst_filesrc_activate), (gst_filesrc_change_state),
11530 (filesrc_find_peek), (filesrc_find_suggest),
11531 (gst_filesrc_type_find):
11532 * gst/elements/gstidentity.c: (gst_identity_finalize),
11533 (gst_identity_class_init), (gst_identity_init),
11534 (gst_identity_proxy_getcaps), (identity_queue_push),
11535 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11536 (gst_identity_getrange), (gst_identity_chain),
11537 (gst_identity_sink_loop), (gst_identity_src_loop),
11538 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11539 (gst_identity_set_property), (gst_identity_get_property),
11540 (gst_identity_change_state):
11541 * gst/elements/gstidentity.h:
11542 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11543 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11544 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11545 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11546 (gst_tee_sink_activate):
11547 * gst/elements/gsttee.h:
11548 * gst/gst.c: (gst_register_core_elements), (init_post):
11550 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11551 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11552 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11553 (gst_bin_change_state):
11555 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11556 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11557 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11558 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11559 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11560 (bus_watch_callback), (bus_watch_destroy),
11561 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11562 (poll_timeout), (gst_bus_poll):
11566 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11567 (gst_element_post_message), (gst_element_message_full),
11568 (gst_element_get_state_func), (gst_element_get_state),
11569 (gst_element_abort_state), (gst_element_commit_state),
11570 (gst_element_lost_state), (gst_element_set_state),
11571 (gst_element_pads_activate), (gst_element_change_state),
11572 (gst_element_dispose), (gst_element_set_manager_func),
11573 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11574 (gst_element_set_manager), (gst_element_get_manager),
11575 (gst_element_set_bus), (gst_element_get_bus),
11576 (gst_element_set_scheduler), (gst_element_get_scheduler):
11577 * gst/gstelement.h:
11578 * gst/gstevent.c: (gst_event_new_segment_seek),
11579 (gst_event_new_flush):
11581 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11582 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11583 (gst_message_new_eos), (gst_message_new_error),
11584 (gst_message_new_warning), (gst_message_new_tag),
11585 (gst_message_new_state_changed), (gst_message_new_application),
11586 (gst_message_get_structure), (gst_message_parse_tag),
11587 (gst_message_parse_state_changed), (gst_message_parse_error),
11588 (gst_message_parse_warning):
11589 * gst/gstmessage.h:
11590 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11591 (gst_real_pad_set_property), (gst_pad_set_active),
11592 (gst_pad_is_active), (gst_pad_set_blocked_async),
11593 (gst_pad_set_blocked), (gst_pad_is_blocked),
11594 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11595 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11596 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11597 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11598 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11599 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11600 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11601 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11602 (gst_pad_set_caps), (gst_pad_configure_sink),
11603 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11604 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11605 (gst_real_pad_dispose), (gst_real_pad_finalize),
11606 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11607 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11608 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11610 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11611 (pipeline_bus_handler), (gst_pipeline_change_state),
11612 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11613 * gst/gstpipeline.h:
11615 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11616 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11617 (gst_queue_link_src), (gst_queue_bufferalloc),
11618 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11619 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11620 (gst_queue_loop), (gst_queue_handle_src_event),
11621 (gst_queue_handle_src_query), (gst_queue_src_activate),
11622 (gst_queue_change_state):
11624 * gst/gstscheduler.c: (gst_scheduler_init),
11625 (gst_scheduler_dispose), (gst_scheduler_create_task),
11626 (gst_scheduler_factory_create):
11627 * gst/gstscheduler.h:
11628 * gst/gststructure.c: (gst_structure_get_type),
11629 (gst_structure_copy_conditional):
11630 * gst/gststructure.h:
11631 * gst/gsttaginterface.h:
11632 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11633 (gst_task_init), (gst_task_dispose), (gst_task_create),
11634 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11640 * gst/schedulers/Makefile.am:
11641 * gst/schedulers/cothreads_compat.h:
11642 * gst/schedulers/entryscheduler.c:
11643 * gst/schedulers/faircothreads.c:
11644 * gst/schedulers/faircothreads.h:
11645 * gst/schedulers/fairscheduler.c:
11646 * gst/schedulers/gstbasicscheduler.c:
11647 * gst/schedulers/gstoptimalscheduler.c:
11648 * gst/schedulers/gthread-cothreads.h:
11649 * gst/schedulers/threadscheduler.c:
11650 (gst_thread_scheduler_task_get_type),
11651 (gst_thread_scheduler_task_class_init),
11652 (gst_thread_scheduler_task_init),
11653 (gst_thread_scheduler_task_start),
11654 (gst_thread_scheduler_task_stop),
11655 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11656 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11657 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11658 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11660 * libs/gst/Makefile.am:
11661 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11662 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11663 (gst_file_pad_parent_set):
11664 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11665 (gst_dp_event_from_packet):
11666 * tests/complexity.c: (main):
11667 * tests/mass_elements.c: (main):
11668 * testsuite/states/locked.c: (message_received), (main):
11669 * testsuite/states/parent.c: (main):
11670 * tools/gst-inspect.c: (print_element_flag_info),
11671 (print_implementation_info), (print_pad_info):
11672 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11674 * tools/gst-md5sum.c: (event_loop), (main):
11675 * tools/gst-typefind.c: (main):
11676 * tools/gst-xmlinspect.c: (print_element_info):
11678 Added GstBus for mainloop integration.
11679 Added GstMessage for sending notifications on the bus.
11680 Added GstTask as an abstraction for pipeline entry points.
11682 Removed Schedulers.
11683 Simplified GstQueue for multithreaded core.
11684 Made _link threadsafe, removed old capsnego.
11685 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11686 Added pad blocking functions.
11687 Reworked scheduling functions in GstPad to prepare for
11688 scheduling updates soon.
11689 Moved events out of data stream.
11690 Simplified GstEvent types.
11691 Added return values to push/pull.
11692 Removed clocking from GstElement.
11693 Added prototypes for state change function for next merge.
11694 Removed iterate from bins and state change management.
11695 Fixed some elements, disabled others for now.
11696 Fixed -inspect and -launch.
11697 Added check for GstBus.
11699 2005-03-10 Wim Taymans <wim@fluendo.com>
11701 * docs/design/part-MT-refcounting.txt:
11702 * docs/design/part-clocks.txt:
11703 * docs/design/part-gstelement.txt:
11704 * docs/design/part-gstobject.txt:
11705 * docs/design/part-standards.txt:
11706 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11707 (gst_bin_remove_func), (gst_bin_remove):
11711 * testsuite/clock/clock1.c: (main):
11712 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11714 * testsuite/dlopen/loadgst.c: (do_test):
11715 * testsuite/refcounting/bin.c: (add_remove_test1),
11716 (add_remove_test2), (main):
11717 * testsuite/refcounting/element.c: (main):
11718 * testsuite/refcounting/element_pad.c: (main):
11719 * testsuite/refcounting/pad.c: (main):
11720 * tools/gst-launch.c: (sigint_handler_sighandler):
11721 * tools/gst-typefind.c: (main):
11723 Added doc about clock.
11724 removed gst_bin_iterate_recurse_up(), marked methods
11726 Fix more testsuites.
11728 2005-03-09 Wim Taymans <wim@fluendo.com>
11730 * gst/gstpad.c: (gst_pad_get_direction),
11731 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11732 (gst_pad_collect_valist):
11733 * testsuite/bins/interface.c: (main):
11734 * testsuite/caps/audioscale.c: (test_caps):
11735 * testsuite/caps/caps.c: (test1), (test2), (test3):
11736 * testsuite/caps/deserialize.c: (main):
11737 * testsuite/caps/enumcaps.c: (main):
11738 * testsuite/caps/filtercaps.c: (main):
11739 * testsuite/caps/intersect2.c: (main):
11740 * testsuite/caps/random.c: (main):
11741 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11742 * testsuite/caps/sets.c: (check_caps):
11743 * testsuite/caps/simplify.c: (check_caps), (main):
11744 * testsuite/caps/subtract.c: (check_caps):
11745 Fix _pad_get_direction wrt ghostpads.
11746 Fix caps testsuite.
11748 2005-03-09 Wim Taymans <wim@fluendo.com>
11750 * check/Makefile.am:
11751 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11752 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11753 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11754 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11755 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11756 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11757 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11758 (bin_element_is_sink), (gst_bin_iterate_sinks),
11759 (gst_bin_iterate_all_by_interface):
11761 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11762 (gst_element_change_state), (gst_element_dispose),
11763 (gst_element_finalize), (gst_element_set_loop_function):
11764 * gst/gstelement.h:
11765 * gst/gstiterator.c: (find_custom_fold_func):
11766 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11767 (gst_pad_collectv), (gst_pad_collect_valist),
11768 (gst_pad_template_new):
11769 * gst/gstpipeline.c: (gst_pipeline_class_init),
11770 (gst_pipeline_dispose), (gst_pipeline_set_property),
11771 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11772 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11773 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11775 * gst/schedulers/entryscheduler.c:
11776 * gst/schedulers/gstbasicscheduler.c:
11777 (gst_basic_scheduler_cothreaded_chain),
11778 (gst_basic_scheduler_chain_add_element):
11779 * testsuite/bins/interface.c: (main):
11781 Added GstSystemClock test.
11782 Implemented clock distribution code in GstBin.
11783 Implemented iterate sinks method for future use.
11784 Rearranged gstelement.h
11785 Fix GstIterator comparison bug.
11786 Moved some code to GstPipeline, mostly clocking related.
11788 2005-03-09 Wim Taymans <wim@fluendo.com>
11791 * gst/gst_private.h:
11792 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11793 (gst_bin_remove_func), (gst_bin_remove),
11794 (gst_bin_get_by_name_recurse_up):
11795 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11796 (gst_clock_id_compare_func), (gst_clock_id_wait),
11797 (gst_clock_id_wait_async), (gst_clock_init),
11798 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11799 * gst/gstelement.h:
11800 * gst/gstinfo.c: (_gst_debug_init):
11802 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11803 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11805 Bump version number, we're now 0.9.0
11806 Add future debugging category.
11807 Fix NULL _unref() in _get_by_name_recurse_up
11808 Rearrange gstpad.h.
11811 2005-03-08 Wim Taymans <wim@fluendo.com>
11813 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11814 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11815 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11816 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11817 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11818 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11819 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11820 * gst/elements/gstidentity.c: (gst_identity_class_init):
11821 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11822 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11823 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11824 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11825 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11827 * gst/gstelement.c: (gst_element_class_init),
11828 (gst_element_base_class_init), (gst_element_init),
11829 (gst_element_get_random_pad), (gst_element_wait_state_change),
11830 (gst_element_change_state), (gst_element_dispose),
11831 (gst_element_finalize), (gst_element_set_loop_function):
11832 * gst/gstelement.h:
11833 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11834 * gst/gstthread.c: (gst_thread_class_init),
11835 (gst_thread_release_children_locks), (gst_thread_change_state):
11836 * gst/schedulers/gstbasicscheduler.c:
11837 (gst_basic_scheduler_loopfunc_wrapper),
11838 (gst_basic_scheduler_chain_wrapper),
11839 (gst_basic_scheduler_src_wrapper),
11840 (gst_basic_scheduler_remove_element):
11841 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11842 Remove threadsafe properties. Fix elements because GObject
11843 complains when installing a property before declaring a
11844 set/get_property handler.
11845 Rearrange gstelement.h file, use STATE macros for state locks.
11846 Free mutexes in the finalize method instead of dispose.
11848 2005-03-08 Wim Taymans <wim@fluendo.com>
11850 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11851 * gst/gstthread.c: (gst_thread_release_children_locks):
11852 Added parentage check.
11853 Fix build og GstThread again.
11855 2005-03-08 Wim Taymans <wim@fluendo.com>
11857 * docs/design/part-MT-refcounting.txt:
11858 * docs/design/part-conventions.txt:
11859 * docs/design/part-gstobject.txt:
11860 * docs/design/part-relations.txt:
11861 * docs/design/part-standards.txt:
11862 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11863 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11864 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11865 (gst_bin_iterate_all_by_interface):
11868 * gst/gstelement.c: (gst_element_class_init),
11869 (gst_element_change_state), (gst_element_set_loop_function):
11870 * gst/gstelement.h:
11871 * gst/gstiterator.c:
11872 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11873 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11874 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11875 (gst_object_set_parent), (gst_object_unparent),
11876 (gst_object_check_uniqueness):
11878 Docs updates, clean up some headers.
11880 2005-03-07 Wim Taymans <wim@fluendo.com>
11882 * check/.cvsignore:
11883 * check/Makefile.am:
11884 * check/gst-libs/.cvsignore:
11885 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11886 * check/gst/.cvsignore:
11887 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11888 (START_TEST), (gstbus_suite), (main):
11889 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11890 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11891 (gst_data_suite), (main):
11892 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11893 (add_fold_func), (gstiterator_suite), (main):
11894 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11895 (thread_name_object), (thread_name_object_default),
11896 (gst_object_name_compare), (gst_object_suite), (main):
11897 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11898 (gst_pad_suite), (main):
11899 * check/gstcheck.c: (gst_check_log_message_func),
11900 (gst_check_log_critical_func), (gst_check_init):
11901 * check/gstcheck.h:
11902 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11903 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11906 2005-03-07 Wim Taymans <wim@fluendo.com>
11908 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11909 (gst_list_iterator_next), (gst_list_iterator_resync),
11910 (gst_list_iterator_free), (gst_iterator_new_list),
11911 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11912 (gst_iterator_free), (gst_iterator_push), (filter_next),
11913 (filter_resync), (filter_uninit), (filter_free),
11914 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11915 (gst_iterator_foreach), (find_custom_fold_func),
11916 (gst_iterator_find_custom):
11917 * gst/gstiterator.h:
11918 Added missing files.
11920 2005-03-07 Wim Taymans <wim@fluendo.com>
11924 * docs/design/part-MT-refcounting.txt:
11925 * docs/design/part-conventions.txt:
11926 * docs/design/part-gstobject.txt:
11927 * docs/design/part-relations.txt:
11928 * examples/mixer/mixer.c: (main):
11929 * examples/thread/thread.c: (eos), (main):
11931 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11932 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11933 (gst_spider_plug_from_srcpad):
11934 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11935 (gst_spider_identity_change_state),
11936 (gst_spider_identity_sink_loop_type_finding):
11937 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11938 * gst/elements/gstidentity.c: (gst_identity_init):
11939 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11940 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11941 * gst/elements/gsttypefindelement.c: (free_entry):
11944 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11945 (gst_bin_set_clock_func), (gst_bin_auto_clock),
11946 (gst_bin_set_index), (gst_bin_set_element_sched),
11947 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11948 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11949 (gst_bin_iterate_elements), (iterate_child_recurse),
11950 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11951 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11952 (compare_interface), (gst_bin_get_by_interface),
11953 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11955 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11956 (gst_buffer_default_free), (gst_buffer_default_copy),
11957 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11958 (gst_buffer_create_sub):
11960 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11961 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11962 (gst_caps_unref), (gst_static_caps_get),
11963 (gst_caps_remove_and_get_structure), (gst_caps_append),
11964 (gst_caps_append_structure), (gst_caps_remove_structure),
11965 (gst_caps_copy_nth), (gst_caps_set_simple),
11966 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11967 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11968 (gst_caps_structure_intersect_field), (gst_caps_intersect),
11969 (gst_caps_structure_subtract_field), (gst_caps_subtract),
11970 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11971 (gst_caps_structure_figure_out_union),
11972 (gst_caps_switch_structures), (gst_caps_do_simplify),
11973 (gst_caps_replace), (gst_caps_from_string),
11974 (gst_caps_copy_conditional):
11976 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11977 (_gst_clock_id_free), (gst_clock_id_unref),
11978 (gst_clock_id_compare_func), (gst_clock_id_wait),
11979 (gst_clock_id_wait_async), (gst_clock_class_init),
11980 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11981 (gst_clock_get_time), (gst_clock_set_time_adjust),
11982 (gst_clock_set_property), (gst_clock_get_property):
11985 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11986 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11988 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11989 (gst_element_requires_clock), (gst_element_provides_clock),
11990 (gst_element_set_clock), (gst_element_clock_wait),
11991 (gst_element_wait), (gst_element_set_time_delay),
11992 (gst_element_is_indexable), (gst_element_add_pad),
11993 (gst_element_add_ghost_pad), (gst_element_remove_pad),
11994 (pad_compare_name), (gst_element_get_static_pad),
11995 (gst_element_request_pad), (gst_element_get_request_pad),
11996 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11997 (gst_element_class_get_pad_template_list),
11998 (gst_element_class_get_pad_template), (gst_element_error_func),
11999 (gst_element_get_random_pad), (gst_element_get_event_masks),
12000 (gst_element_send_event), (gst_element_seek),
12001 (gst_element_get_query_types), (gst_element_query),
12002 (gst_element_get_formats), (gst_element_convert),
12003 (gst_element_is_locked_state), (gst_element_set_locked_state),
12004 (gst_element_sync_state_with_parent), (gst_element_change_state),
12005 (gst_element_finalize), (gst_element_yield),
12006 (gst_element_interrupt), (gst_element_set_scheduler),
12007 (gst_element_get_scheduler), (gst_element_set_loop_function):
12008 * gst/gstelement.h:
12010 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12011 (gst_format_get_by_nick), (gst_format_get_details),
12012 (gst_format_iterate_definitions):
12014 * gst/gstindex.c: (gst_index_gtype_resolver):
12017 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12018 (gst_mem_chunk_free):
12019 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12020 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12021 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12022 (gst_object_dispatch_properties_changed),
12023 (gst_object_set_name_default), (gst_object_set_name),
12024 (gst_object_get_name), (gst_object_set_name_prefix),
12025 (gst_object_get_name_prefix), (gst_object_set_parent),
12026 (gst_object_get_parent), (gst_object_unparent),
12027 (gst_object_check_uniqueness), (gst_object_save_thyself),
12028 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12029 (gst_object_set_property), (gst_object_get_property),
12030 (gst_object_get_path_string):
12032 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12033 (gst_real_pad_init), (gst_real_pad_get_property),
12034 (gst_pad_custom_new), (gst_pad_get_direction),
12035 (gst_pad_set_active), (gst_pad_is_active),
12036 (gst_pad_set_event_function), (gst_pad_is_linked),
12037 (gst_pad_link_free), (gst_pad_link_intersect),
12038 (gst_pad_link_fixate), (gst_pad_set_caps),
12039 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12040 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12041 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12042 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12043 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12044 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12045 (gst_pad_realize), (gst_pad_get_allowed_caps),
12046 (gst_real_pad_dispose), (gst_real_pad_finalize),
12047 (gst_pad_collectv), (gst_pad_collect_valist),
12048 (gst_pad_template_dispose), (gst_pad_template_new),
12049 (gst_pad_get_internal_links):
12051 * gst/gstpipeline.c: (gst_pipeline_dispose),
12052 (gst_pipeline_change_state):
12053 * gst/gstpipeline.h:
12055 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12056 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12057 * gst/gstpluginfeature.h:
12058 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12059 * gst/gstquery.c: (_gst_query_type_initialize),
12060 (gst_query_type_register), (gst_query_type_get_by_nick),
12061 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12063 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12064 * gst/gstscheduler.c: (gst_scheduler_add_element),
12065 (gst_scheduler_factory_create):
12066 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12067 (gst_structure_free), (gst_structure_set_name),
12068 (gst_structure_id_set_value), (gst_structure_set_value),
12069 (gst_structure_set_valist), (gst_structure_remove_field),
12070 (gst_structure_remove_fields),
12071 (gst_structure_remove_fields_valist),
12072 (gst_structure_remove_all_fields), (gst_structure_foreach),
12073 (gst_structure_map_in_place),
12074 (gst_caps_structure_fixate_field_nearest_int),
12075 (gst_caps_structure_fixate_field_nearest_double):
12076 * gst/gststructure.h:
12077 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12078 (gst_system_clock_init), (gst_system_clock_dispose),
12079 (gst_system_clock_async_thread),
12080 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12081 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12082 * gst/gstsystemclock.h:
12083 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12084 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12085 * gst/gsttaginterface.c:
12086 * gst/gstthread.c: (gst_thread_dispose),
12087 (gst_thread_release_children_locks), (gst_thread_change_state),
12088 (gst_thread_main_loop):
12089 * gst/gsttrashstack.h:
12090 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12092 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12093 (gst_element_request_pad), (gst_element_get_pad_from_template),
12094 (gst_element_request_compatible_pad),
12095 (gst_element_get_compatible_pad_filtered),
12096 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12097 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12098 (gst_element_link_many), (gst_element_link),
12099 (gst_element_link_pads), (gst_element_unlink_pads),
12100 (gst_element_unlink_many), (gst_element_unlink),
12101 (gst_pad_can_link_filtered), (gst_pad_can_link),
12102 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12103 (gst_object_default_error), (gst_bin_add_many),
12104 (gst_bin_remove_many), (gst_element_populate_std_props),
12105 (gst_element_class_install_std_props), (gst_buffer_merge),
12106 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12107 (link_fold_func), (gst_pad_proxy_setcaps):
12109 * gst/gstvalue.c: (gst_value_deserialize_string):
12110 * gst/parse/grammar.y:
12111 * gst/schedulers/gstbasicscheduler.c:
12112 (gst_basic_scheduler_cothreaded_chain),
12113 (gst_basic_scheduler_chain_recursive_add),
12114 (gst_basic_scheduler_pad_link):
12115 * gst/schedulers/gstoptimalscheduler.c:
12116 (get_group_schedule_function),
12117 (gst_opt_scheduler_state_transition),
12118 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12119 * libs/gst/bytestream/bytestream.c:
12120 * libs/gst/dataprotocol/dataprotocol.c:
12121 (gst_dp_header_from_buffer):
12124 * tests/threadstate/threadstate2.c: (eos):
12125 * tools/gst-compprep.c: (main):
12126 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12127 (print_pad_info), (print_children_info):
12128 * tools/gst-launch.c: (idle_func), (main):
12129 * tools/gst-md5sum.c: (idle_func), (main):
12130 * tools/gst-xmlinspect.c: (print_element_info):
12131 First THREADED backport attempt, focusing on adding locks and
12132 making sure the API is threadsafe. Needs more work. More docs
12135 2005-02-24 Andy Wingo <wingo@pobox.com>
12137 * tests/bench-complexity.scm:
12138 * tests/complexity.gnuplot: New files, good for running complexity
12141 * tests/Makefile.am:
12142 * tests/complexity.c: New test, sets up N elements, at each level
12143 teeing into M streams per element. Eeeenteresting.
12145 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12146 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12147 running bench-mass_elements.scm.
12149 * tests/bench-mass_elements.scm: New script, runs mass_elements
12150 for various numbers of identities, outputting the results to a
12151 file. Requires guile 1.6. Just for testing.
12153 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12155 * gst/schedulers/fairscheduler.c:
12156 compile with debug disabled
12158 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12161 hunting season on 0.9 is now OPEN