3 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6 releasing 0.9.6, "Always On Time"
8 2005-11-23 Wim Taymans <wim@fluendo.com>
10 * docs/gst/gstreamer-sections.txt:
14 * gst/net/gstnetclientclock.c:
15 * gst/net/gstnettimepacket.h:
18 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
21 * docs/libs/tmpl/gstcontrol.sgml:
22 * docs/manual/advanced-dparams.xml:
23 * docs/manual/appendix-checklist.xml:
24 * docs/manual/basics-elements.xml:
25 * docs/pwg/other-source.xml:
26 * docs/random/moving-plugins:
28 * tools/gst-launch.1.in:
29 remove mentions of sinesrc
31 2005-11-23 Michael Smith <msmith@fluendo.com>
33 * docs/gst/gstreamer-sections.txt:
34 Update for new API and API changes.
36 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
38 Documentation typo fix.
39 * gst/net/gstnettimepacket.c:
40 Documentation fixes for arguments.
42 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
44 * gst/gststructure.c: (gst_structure_get_fraction),
45 (gst_structure_parse_value),
46 (gst_structure_fixate_field_nearest_fraction):
48 * gst/gstutils.c: (gst_util_uint64_scale_int):
50 * scripts/update-funcnames:
52 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
53 Make gst_structure_fixate_field_nearest_fraction take a numerator
54 and denominator argument instead of a GValue
55 add gst_structure_get_fraction helper function.
57 2005-11-23 Wim Taymans <wim@fluendo.com>
59 * docs/design/part-TODO.txt:
62 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
63 * gst/net/gstnetclientclock.h:
64 Use parent fields for timeout and window_size.
66 2005-11-23 Andy Wingo <wingo@pobox.com>
68 * check/net/gstnetclientclock.c (test_functioning): Adjust to
69 rate_num/rate_denom change.
71 * gst/net/gstnetclientclock.c
72 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
73 OBJECT_LOCK. Don't call add_observation with the lock.
75 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
77 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
79 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
80 deal with rate as a fraction whose numerator and denominator are
82 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
83 master; the other fields are protected by the SLAVE_LOCK.
84 (do_linear_regression): Note that this must be called with the
86 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
87 OBJECT_LOCK. Call set_calibration instead of touching the
89 (gst_clock_set_property, gst_clock_get_property): Protect
90 master/slave parameters with the SLAVE_LOCK.
92 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
93 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
94 note that all of the instance variables that add_observation and
95 the set_master functions use are protected by that lock and not
97 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
99 * gst/gstclock.c (gst_clock_add_observation): No longer requires
100 the caller to take the object lock.
102 2005-11-23 Wim Taymans <wim@fluendo.com>
104 * gst/gsterror.c: (_gst_core_errors_init):
106 Add error for clock stuff.
108 * gst/gstpipeline.c: (gst_pipeline_change_state),
109 (gst_pipeline_set_clock):
110 Post clock error when clock cannot be used in a pipeline.
112 2005-11-23 Stefan Kost <ensonic@users.sf.net>
114 * docs/gst/gstreamer-sections.txt:
115 make two symbols from gstinfo private for the docs
116 * gst/base/gstcollectpads.h:
118 fix doc typos, update docs
120 2005-11-22 Wim Taymans <wim@fluendo.com>
122 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
123 (gst_base_sink_wait), (gst_base_sink_do_sync),
124 (gst_base_sink_handle_event):
125 * gst/base/gstbasesink.h:
126 No need to store the clock, the parent element class already
129 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
130 Updates for clock_set returning a gboolean
132 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
133 (gst_clock_id_wait_async), (gst_clock_class_init),
134 (gst_clock_init), (gst_clock_finalize),
135 (gst_clock_get_internal_time), (gst_clock_get_time),
136 (gst_clock_slave_callback), (gst_clock_set_master),
137 (gst_clock_get_master), (do_linear_regression),
138 (gst_clock_add_observation), (gst_clock_set_property),
139 (gst_clock_get_property):
141 Implement master/slave. When setting a clock as a slave, a
142 periodic timeout is scheduled to sample master and slave times.
143 Then the slave clock is recalibrated to match offset and rate
145 Update logging a bit.
146 Add flag so that a clock can state that is cannot be slaved to
149 * gst/gstelement.c: (gst_element_set_clock):
151 The set clock returns a gboolean for when an element cannot
152 deal with the selected clock in the pipeline.
154 * gst/gstpipeline.c: (gst_pipeline_change_state),
155 (gst_pipeline_set_clock):
157 Handle the case where the selected clock cannot be set on
160 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
161 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
162 (gst_net_client_clock_set_property),
163 (gst_net_client_clock_get_property),
164 (gst_net_client_clock_observe_times):
165 * gst/net/gstnetclientclock.h:
166 Use regression code in GstClock parent, remove duplicated
169 2005-11-22 Michael Smith <msmith@fluendo.com>
171 * gst/gstutils.c: (gst_util_clock_time_scale):
173 * docs/gst/gstreamer-sections.txt:
174 Rename method to have extra underscore.
176 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
178 * gst/elements/Makefile.am:
179 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
180 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
181 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
182 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
183 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
184 * gst/elements/gstfakesrc.h:
185 * gst/gstqueue.c: (queue_leaky_get_type):
186 correctly fix GEnumValues so that nick is the short lowercase
188 * tools/gst-inspect.c: (print_element_properties_info):
189 also show the nick, since it's useful to use from parse_launch
193 2005-11-22 Michael Smith <msmith@fluendo.com>
195 * gst/gstutils.c: (gst_util_clocktime_scale):
197 * docs/gst/gstreamer-sections.txt:
198 Add util method for scaling a clocktime by a fraction. Useful
199 implementation is left as an exercise for the reader.
201 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
203 * gst/gstvalue.c: (gst_value_collect_fraction_range):
204 If needed, allocate storage in the destination value during
207 2005-11-22 Edward Hervey <edward@fluendo.com>
209 * docs/gst/gstreamer-sections.txt:
214 * gst/gstutils.c: (gst_util_set_object_arg):
215 * tools/gst-compprep.c: (main):
216 * tools/gst-inspect.c: (print_element_properties_info):
217 Removed GstURI, closes bug #321061
219 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
221 * check/gst/gststructure.c: (GST_START_TEST):
222 * gst/gststructure.c: (gst_structure_parse_value):
223 Oops, broke automatic string type parsing.
224 Add a test to catch it in future.
226 2005-11-22 Andy Wingo <wingo@pobox.com>
228 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
229 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
230 Actually rename the function implementations. Grr.
232 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
234 * check/gst/capslist.h:
236 * check/gst/gststructure.c: (GST_START_TEST),
237 (gst_structure_suite):
238 Test automatic value type detection in gst_structure_from_string.
239 * gst/gststructure.c: (gst_structure_parse_value):
240 Add fraction as a type we try and guess automatically in
241 caps/structure strings.
243 2005-11-22 Andy Wingo <wingo@pobox.com>
245 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
247 * gst/gsttagsetter.h:
248 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
249 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
250 (gst_tag_setter_add_tag_valist)
251 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
252 _add_values, _add_valist, and _add_valist_values. Since this is an
253 interface the function suffixes should be more explicit so
254 language binding don't end up with element.add_valist ->
255 gst_tag_setter_add_valist, for example. Fixes #322069.
257 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
259 * check/gst/gstcaps.c: (GST_START_TEST):
260 Extend caps string tests to check that a caps to string
261 conversion is reversible and produces the same caps.
263 * gst/gststructure.c: (gst_structure_value_get_generic_type):
264 Output "fraction" as the generic type fraction range, so caps
265 serialisation and deserialisation works.
266 * check/gst/capslist.h:
267 * gst/gstvalue.c: (gst_value_deserialize_fraction):
268 Support 'MIN' and 'MAX' for deserialising fractions.
270 2005-11-22 Andy Wingo <wingo@pobox.com>
272 * gst/gstevent.h (gst_event_new_new_segment)
273 (gst_event_parse_new_segment, gst_event_new_buffer_size)
274 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
275 Renamed from *_newsegment, *_buffersize, *_notarget.
277 * scripts/update-funcnames: New script, performs the changes
280 2005-11-22 Wim Taymans <wim@fluendo.com>
282 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
283 Make sure the GstFlowReturn is returned.
285 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
286 (gst_bus_add_signal_watch):
288 add gst_bus_add_signal_watch_full.
290 * gst/gstplugin.c: (gst_plugin_load_file):
293 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
295 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
296 Block the fakesrc srcpad when we send an event, to avoid
297 contention on the stream_lock causing random test failures.
299 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
301 * check/gst/gstvalue.c: (GST_START_TEST):
302 * gst/gstvalue.c: (gst_value_fraction_subtract):
305 2005-11-22 Stefan Kost <ensonic@users.sf.net>
308 include "gstchildproxy.h"
309 * gst/gstchildproxy.h:
310 * libs/gst/controller/gstcontroller.h:
311 use G_GNUC_NULL_TERMINATED
313 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
315 * check/gst/capslist.h:
316 * check/gst/gstcaps.c: (GST_START_TEST):
317 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
318 * gst/gststructure.c: (gst_structure_parse_range),
319 (gst_structure_fixate_field_nearest_fraction):
320 * gst/gststructure.h:
321 * gst/gstvalue.c: (gst_value_init_fraction_range),
322 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
323 (gst_value_collect_fraction_range),
324 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
325 (gst_value_set_fraction_range_full),
326 (gst_value_get_fraction_range_min),
327 (gst_value_get_fraction_range_max),
328 (gst_value_serialize_fraction_range),
329 (gst_value_transform_fraction_range_string),
330 (gst_value_compare_fraction_range),
331 (gst_value_deserialize_fraction_range),
332 (gst_value_intersect_fraction_fraction_range),
333 (gst_value_intersect_fraction_range_fraction_range),
334 (gst_value_subtract_fraction_fraction_range),
335 (gst_value_subtract_fraction_range_fraction),
336 (gst_value_subtract_fraction_range_fraction_range),
337 (gst_value_collect_fraction), (gst_value_fraction_multiply),
338 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
339 (gst_value_transform_string_fraction), (_gst_value_initialize):
341 Implement fraction ranges and extend GstFraction to support
342 arithmetic subtraction, as well as deserialization from integer
343 strings such as "100"
344 Add a testsuite as for int and double range set operations
346 2005-11-21 Andy Wingo <wingo@pobox.com>
350 * gst/gststructure.h: Add glib-compat.h.
352 2005-11-21 Wim Taymans <wim@fluendo.com>
354 * gst/gstbin.c: (gst_bin_change_state_func):
357 2005-11-21 Wim Taymans <wim@fluendo.com>
360 And add a nice define too.
362 2005-11-21 Wim Taymans <wim@fluendo.com>
364 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
365 (gst_segment_new), (gst_segment_free), (gst_segment_init),
366 (gst_segment_set_duration), (gst_segment_set_last_stop),
367 (gst_segment_set_seek), (gst_segment_set_newsegment),
368 (gst_segment_to_stream_time), (gst_segment_to_running_time),
371 Make binding friendly.
373 2005-11-21 Andy Wingo <wingo@pobox.com>
375 * gst/gsttagsetter.h:
377 * gst/gststructure.h:
379 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
382 * gst/gsterror.c (_gst_core_errors_init):
383 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
386 * gst/Makefile.am (gst_headers): Add glib-compat.h.
387 (noinst_HEADERS): noinst the -private.
389 2005-11-21 Michael Smith <msmith@fluendo.com>
393 Remove unimplemented declarations for which we can see no sensible
396 2005-11-21 Andy Wingo <wingo@pobox.com>
398 * gst/gst.h: Include glib-compat.h.
400 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
402 * gst/glib-compat.c: Include the public and the private header.
404 * gst/glib-compat-private.h: Copied here from glib-compat.h.
408 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
410 * check/gst/gstevent.c (create_custom_events): Check that
411 FLUSH_STOP is serialized.
413 * check/elements/identity.c (event_func):
414 * check/elements/fakesrc.c (event_func): No stream lock, the core
417 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
418 stream lock taking, yay.
420 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
421 ensure that core takes the stream lock.
423 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
426 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
427 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
428 it already. For the flush start we do take it though so we get the
429 right preroll state change messages.
431 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
432 the stream lock here, the core does it for us.
434 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
436 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
437 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
438 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
439 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
440 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
441 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
443 * gst/gstpad.c: Update for stream lock name change.
445 * gst/base/gstbasesink.c: Update for preroll lock name change.
447 2005-11-21 Wim Taymans <wim@fluendo.com>
449 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
450 (gst_clock_get_master):
452 * gst/gstsystemclock.c: (gst_system_clock_init):
453 Convert Clock flags to object flags.
454 Added methods to manage master/slave clocks.
456 2005-11-21 Wim Taymans <wim@fluendo.com>
458 * check/gst/gstsegment.c: (GST_START_TEST):
459 * docs/design/part-TODO.txt:
460 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
461 (gst_base_sink_event), (gst_base_sink_do_sync),
462 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
463 (gst_base_sink_query), (gst_base_sink_change_state):
464 * gst/base/gstbasesink.h:
465 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
466 (gst_base_src_default_newsegment),
467 (gst_base_src_configure_segment), (gst_base_src_do_seek),
468 (gst_base_src_get_range), (gst_base_src_loop),
469 (gst_base_src_change_state):
470 * gst/base/gstbasesrc.h:
471 * gst/base/gstbasetransform.c:
472 (gst_base_transform_prepare_output_buf),
473 (gst_base_transform_event), (gst_base_transform_change_state):
474 * gst/base/gstbasetransform.h:
475 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
476 (gst_collect_pads_event):
477 * gst/base/gstcollectpads.h:
478 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
479 (gst_fake_src_create):
480 * gst/elements/gstfakesrc.h:
481 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
482 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
483 (gst_segment_set_last_stop), (gst_segment_set_seek),
484 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
485 (gst_segment_to_running_time), (gst_segment_clip):
487 More segment updates, replace code in plugins with segment
490 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
492 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
493 Don't ignore sscanf results
495 2005-11-21 Andy Wingo <wingo@pobox.com>
497 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
500 * *.c: Ran scripts/update-macros. Oh yes.
502 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
503 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
506 * scripts/update-macros: New script. Run it on your files to
507 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
510 2005-11-21 Stefan Kost <ensonic@users.sf.net>
512 * docs/gst/Makefile.am:
513 * docs/gst/gstreamer-docs.sgml:
514 * docs/gst/gstreamer-sections.txt:
515 * docs/gst/gstreamer.types:
517 more docs fixes, add new api to the docs
519 2005-11-21 Andy Wingo <wingo@pobox.com>
521 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
522 state_broadcast call.
524 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
526 2005-11-21 Julien MOUTTE <julien@moutte.net>
528 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
529 function calls for arrays.
531 2005-11-21 Stefan Kost <ensonic@users.sf.net>
533 * docs/random/ensonic/media-device-daemon.txt:
534 wild idea, can this be done?
535 * docs/gst/gstreamer-sections.txt:
540 * gst/gstpluginfeature.c:
544 doc fixes and additions
546 2005-11-21 Andy Wingo <wingo@pobox.com>
548 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
549 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
550 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
551 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
552 private to the basesrc implementation.
554 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
555 behalf of event function if necessary. It should no longer be
556 necessary to take the stream lock in pad's event functions. Fixes
559 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
560 * docs/gst/gstreamer-sections.txt:
561 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
562 (gst_structure_fixate_field_nearest_double),
563 (gst_structure_fixate_field_boolean):
564 * gst/gststructure.h:
565 * win32/common/libgstreamer.def:
566 * win32/gstreamer.def:
568 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
571 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
573 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
574 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
575 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
576 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
577 (gst_fdsrc_uri_handler_init):
578 * gst/elements/gstfdsrc.h:
579 Port fd:// URI handler from 0.8 to fdsrc
581 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
583 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
584 (gst_value_serialize_fourcc):
586 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
587 consistent with our other format defines (#320324).
589 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
591 * gst/gstvalue.c: (gst_value_is_fixed):
592 Revert previous commit. Value lists are by definition
593 not fixed, as they are a list of possible values.
595 2005-11-21 Andy Wingo <wingo@pobox.com>
597 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
598 during the stable series if we need it. Fixes #319178.
600 * gst/gstevent.c (gst_event_new_filler): Removed.
602 * check/gst/gstevent.c: Update comment about filler events.
604 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
606 * gst/gstvalue.c: (gst_value_is_fixed):
607 Should handle both value arrays and value lists.
609 2005-11-21 Andy Wingo <wingo@pobox.com>
611 patch by: Alessandro Dessina <alessandro nnva org>
613 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
614 functions to access arrays. Fixes #321962.
616 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
618 * docs/gst/gstreamer.types:
619 gst_collectpads_get_type => gst_collect_pads_get_type.
621 * gst/base/gstbasetransform.c:
622 Remove unused SIGNAL_HANDOFF enum.
624 2005-11-21 Andy Wingo <wingo@pobox.com>
626 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
627 the event type (upstream, downstream, serialized). Renamed
628 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
629 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
630 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
632 * gst/gstevent.c: Update for new CUSTOM event names.
634 * check/gst/gstevent.c: Update check for new CUSTOM event names.
637 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
640 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
642 * docs/gst/gstreamer-sections.txt:
643 * win32/common/libgstbase.def:
644 * win32/libgstbase.def:
645 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
646 (gst_collect_pads_class_init), (gst_collect_pads_init),
647 (gst_collect_pads_finalize), (gst_collect_pads_new),
648 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
649 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
650 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
651 (gst_collect_pads_start), (gst_collect_pads_stop),
652 (gst_collect_pads_peek), (gst_collect_pads_pop),
653 (gst_collect_pads_available), (gst_collect_pads_read),
654 (gst_collect_pads_flush), (gst_collect_pads_event),
655 (gst_collect_pads_chain):
656 * gst/base/gstcollectpads.h:
657 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
658 unimplemented functions as unimplemented. Add padding to
659 GstCollectData. (#320766, #320423)
661 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
664 Improve docs for DURATION message (usage of duration parameter)
667 2005-11-20 Wim Taymans <wim@fluendo.com>
670 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
674 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
675 (gst_segment_set_seek), (gst_segment_set_newsegment),
676 (gst_segment_to_stream_time), (gst_segment_to_running_time),
679 Added segment helper structure and methods. Not fully implemented
683 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
685 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
686 Add a deserialisation test for fractions
687 * examples/metadata/read-metadata.c: (message_loop),
688 (make_pipeline), (main):
689 Fix up metadata reading sample.
690 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
692 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
693 Don't try and fixate empty caps
695 Wrap in G_BEGIN_DECLS/G_END_DECLS
696 * gst/gstvalue.c: (gst_value_collect_fraction),
697 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
698 (gst_value_transform_string_fraction),
699 (gst_value_compare_fraction):
700 Add some extra guards to ensure that we don't end up
701 with an invalid denominator of 0 in a gstfraction and
702 that fractions always get reduced.
704 2005-11-20 Wim Taymans <wim@fluendo.com>
706 * docs/gst/gstreamer-sections.txt:
717 2005-11-20 Wim Taymans <wim@fluendo.com>
719 * docs/design/part-TODO.txt:
721 Make a proper enum of the flag.
723 2005-11-19 Wim Taymans <wim@fluendo.com>
725 * docs/design/part-TODO.txt:
726 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
727 (gst_format_to_quark), (gst_format_register):
729 * gst/gstquery.c: (_gst_query_initialize),
730 (gst_query_type_get_name), (gst_query_type_to_quark),
731 (gst_query_type_register):
733 Add type to quark and type to string conversions.
735 2005-11-19 Andy Wingo <wingo@pobox.com>
737 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
740 2005-11-19 Wim Taymans <wim@fluendo.com>
742 * docs/design/part-TODO.txt:
743 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
744 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
745 (gst_bin_handle_message_func):
747 Make message handling overridable.
749 2005-11-19 Andy Wingo <wingo@pobox.com>
751 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
754 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
756 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
757 is a GstClockTime. Fixes #321710.
759 * gst/gstclock.h (GstClock): Remove offset property. Add
760 internal_calibration and external_calibration. Fix padding. Pad
761 also by GstClockTime so we don't run into problems.
763 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
764 (gst_clock_get_rate_offset): Remove.
765 (gst_clock_set_time_adjust): Remove. Fixes #321712.
768 * gst/gstutils.c (g_static_rec_cond_wait)
769 (g_static_rec_cond_timed_wait): Removed, no longer needed.
771 * gst/gstbin.c: Remove terrible continue_state prototype.
773 * gst/gstelement.h (gst_element_continue_state): Make public.
776 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
777 by continue_state. Fixes #319389.
779 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
780 Really fixes #168438. However I don't see anywhere where the
781 filter function is called... stupid GStreamer...
783 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
784 don't have a dispose function, so it won't get called when the
785 object is unreffed, but oh well!
787 * gst/gstindex.c (gst_index_set_filter_full): New API function,
788 allows a destroy function to be set so user_data can be freed.
790 (gst_index_set_filter): Call gst_index_set_filter_full.
792 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
794 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
795 string should produce an error, given the lack of a way to
796 represent NULL strings. Fixes #165650.
799 * gst/gstvalue.c (gst_value_array_append_value)
800 (gst_value_array_prepend_value, gst_value_array_get_size)
801 (gst_value_array_get_value): New API, copied from
802 gst_value_list_*, only operates on arrays.
803 (gst_value_list_append_value, gst_value_list_prepend_value)
804 (gst_value_list_concat, gst_value_list_get_size)
805 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
807 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
808 init_list, because it works on both.
809 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
810 (gst_value_copy_list_or_array): Renamed from copy_list.
811 (gst_value_free_list_or_array): Renamed from free_list.
812 (gst_value_collect_list_or_array): Renamed from collect_list.
813 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
814 (gst_value_list_or_array_peek_pointer): Renamed from
816 (_gst_value_array_value_table, _gst_value_list_value_table):
817 Update value table functions.
818 (gst_value_compare_list_or_array): Renamed from compare_list.
820 * gsttaglist.h: Whoops, foreach function returns void. Also fix
824 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
825 GstTagList*. Fixes #143472.
827 * gst/gststructure.h: Clarify what the foreach/map functions can
828 or can't do to their arguments.
830 2005-11-18 Wim Taymans <wim@fluendo.com>
832 * gst/gstclock.c: (gst_clock_set_calibration),
833 (gst_clock_get_calibration):
835 Calibration can be set with internal time equal to current
838 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
844 2005-11-18 Andy Wingo <wingo@pobox.com>
847 * pkgconfig/gstreamer-net.pc.in:
848 * pkgconfig/gstreamer-net-uninstalled.pc.in:
849 * pkgconfig/Makefile.am: Add net pkgconfig files.
851 2005-11-18 Stefan Kost <ensonic@users.sf.net>
860 2005-11-18 Andy Wingo <wingo@pobox.com>
862 * gst/net/gstnetclientclock.c: Turn off debugging.
864 * check/net/gstnetclientclock.c (test_functioning): Assert that the
865 times connverge somewhat. Can't make a real test.
867 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
868 integer arithmetic. Return the minimum of the domain, which can be
869 set as "internal" for gst_clock_set_calibration.
870 (gst_net_client_clock_observe_times): Call _set_calibration.
871 (gst_net_client_clock_new): Call _set_calibration instead of
874 * check/net/gstnetclientclock.c (test_functioning): Use the right
878 * gst/gstclock.c (gst_clock_get_calibration)
879 (gst_clock_set_calibration): New functions, obsolete the ones I
880 added yesterday. Doh. Precision issues mean we have to extrapolate
881 from a point in the more recent past than 1970.
882 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
884 (gst_clock_adjust_unlocked): Use the right calibration data.
886 2005-11-18 Edward Hervey <edward@fluendo.com>
888 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
889 Also reset the ->current_* values in READY->PAUSED
891 2005-11-18 Andy Wingo <wingo@pobox.com>
893 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
894 Whoops, check the right fd. Also add some debugging.
895 (gst_net_client_clock_observe_times): Adjust for int64 offset.
896 (do_linear_regression): Add a crapload of debugging. Subtract off
897 the minimum values from the input series to discard unneeded bits.
898 Use only int arithmetic. There is still double arithmetic when
899 calculating the intercept that needs fixing. Return boolean to
900 indicate success; FALSE would mean the domain or range is too
901 great. Still needs fixes.
903 2005-11-18 Wim Taymans <wim@fluendo.com>
905 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
906 For the current position in stream time, we need to subtract
909 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
910 Release lock before calling the callback function of async
913 2005-11-18 Andy Wingo <wingo@pobox.com>
915 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
916 Port goes all the way to MAXUINT16.
918 * gst/net/gstnettimeprovider.c: Make the port range the same as
919 for the kernel: 0 assigns, otherwise ports are less than
922 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
925 * check/net/gstnetclientclock.c (test_functioning): Add the start
928 2005-11-18 Wim Taymans <wim@fluendo.com>
930 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
931 (gst_bin_remove_func), (bin_bus_handler):
933 Removing a clock provider from a bin, triggers a clock lost message
934 so that a new clock will be selected.
935 Adding a clock to a bin triggers a clock provider message.
936 Make sure we reselect a clock when we received a clock lost message.
937 Keep a reference to the element that provided the clock.
939 2005-11-18 Andy Wingo <wingo@pobox.com>
941 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
942 the clock initially so it produces values around the base time.
943 (gst_net_client_clock_class_init): Typo fix.
944 (gst_net_client_clock_thread): Add note on when the socket gets
947 2005-11-17 Wim Taymans <wim@fluendo.com>
949 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
950 Free remote and local time arrays.
952 2005-11-17 Wim Taymans <wim@fluendo.com>
954 * gst/net/gstnetclientclock.c: (do_linear_regression),
955 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
956 Fix compilation, uninitialized vars and a forgotten continue.
958 2005-11-17 Andy Wingo <wingo@pobox.com>
960 * check/Makefile.am (check_PROGRAMS):
961 * check/net/gstnetclientclock.c: Add a most minimal test for the
962 net client clock. More to come later.
965 * gst/net/Makefile.am: Add netclientclock.
967 * gst/net/gstnetclientclock.h:
968 * gst/net/gstnetclientclock.c: New files, implement an untested
969 GstClock that takes its time from a network time provider.
970 Implements the algorithm in network-clock.scm.
972 * tests/network-clock.scm (*window-size*): Rename from
974 * tests/network-clock.scm (network-time):
975 * tests/network-clock-utils.scm (q-push): Update callers.
977 2005-11-17 Wim Taymans <wim@fluendo.com>
979 * gst/gstbin.c: (gst_bin_provide_clock_func),
980 (gst_bin_sort_iterator_new):
981 And unref the child too..
983 2005-11-17 Wim Taymans <wim@fluendo.com>
985 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
986 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
987 Refactor the sort iterator so it can be used while holding the
989 Make clock selection select a clock closest to the source.
991 2005-11-17 Michael Smith <msmith@fluendo.com>
993 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
994 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
996 Anonymous structs are a gcc (and some other compilers) extension, so
997 don't use them. Since this is only for ABI-compatibility, and our
998 API/ABI freeze is over in a few days, this whole thing will only
999 last a few days, so don't bother trying to think up a meaningful
1000 name for the struct.
1002 2005-11-17 Andy Wingo <wingo@pobox.com>
1004 * gst/gstclock.h (GstClock): Add rate and offset properties,
1005 preserving ABI stability. Add rate/offset accessors. Will file bug
1006 for the freeze break.
1008 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1009 and offset, trying to keep precision and avoiding
1011 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1012 functions. Make gst_clock_set_time_adjust obsolete.
1013 (gst_clock_set_time_adjust): Note that this function is obsolete.
1016 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1017 greppable by using GST_PADDING-1+1.
1019 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1021 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1023 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1024 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1026 * gst/gstpadtemplate.h:
1027 * gst/gstpluginfeature.h:
1028 Don't use c++ style comments in headers (#321638).
1030 2005-11-16 Andy Wingo <wingo@pobox.com>
1032 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1035 * check/net/gstnettimeprovider.c: Check to see that the time
1036 provider actually provides times. Works, yo!
1038 2005-11-16 Wim Taymans <wim@fluendo.com>
1040 * check/Makefile.am:
1043 * check/elements/fakesrc.c: (GST_START_TEST):
1044 Set element to NULL before disposing it.
1046 2005-11-16 Andy Wingo <wingo@pobox.com>
1048 * gst/net/Makefile.am:
1050 * gst/net/gstnettimeprovider.c:
1051 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1052 provider, include it from gstnet.h, and add it to the build.
1054 * gst/net/gstnettimepacket.h:
1055 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1056 sending and receiving.
1058 2005-11-16 Wim Taymans <wim@fluendo.com>
1060 * check/Makefile.am:
1061 Enable valgrind check.
1063 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1064 (gst_fake_src_alloc_buffer):
1067 2005-11-16 Wim Taymans <wim@fluendo.com>
1069 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1070 Call parent finalize too.
1072 2005-11-16 Wim Taymans <wim@fluendo.com>
1074 * check/Makefile.am:
1075 Enable valgrind check that should work fine now.
1077 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1078 * gst/gstqueue.c: (gst_queue_init):
1079 Fix memleaks in pad allocation.
1081 2005-11-16 Andy Wingo <wingo@pobox.com>
1083 * gst/net/Makefile.am:
1084 * gst/net/gstnet.h: New part of core to hold network elements and
1085 objects. Put in core because it exposes API that applications want
1086 to use. The library is named libgstnet-tempname right now because
1087 of the existing libgstnet in gst-plugins-base. Solution is
1088 probably to rename the one in plugins-base; will file a bug for
1091 * gst/net/gstnettimeprovider.c:
1092 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1093 get_time call over the network.
1096 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1098 * check/Makefile.am:
1099 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1100 get additions shortly.
1102 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1104 * gst/gstpad.c: (gst_pad_new_from_static_template):
1106 add gst_pad_new_from_static_template functions
1107 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1108 (gst_check_setup_sink_pad):
1109 * gst/elements/gsttee.c: (gst_tee_init):
1112 2005-11-16 Wim Taymans <wim@fluendo.com>
1114 * gst/gstpad.c: (gst_pad_pause_task):
1115 Removed warning, it's not really an error either.
1117 2005-11-16 Wim Taymans <wim@fluendo.com>
1119 * gst/base/gstbasetransform.c:
1120 (gst_base_transform_prepare_output_buf),
1121 (gst_base_transform_event):
1122 Check if the caps are NULL, this can happen if the element
1123 is shutting down and the pad caps are set to NULL.
1125 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1127 * gst/elements/gsttee.c: (gst_tee_init):
1128 fix pad template leak in tee
1130 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1132 * gst/glib-compat.c: (g_value_dup_gst_object):
1133 * gst/glib-compat.h:
1134 * gst/gstpad.c: (gst_pad_set_property):
1135 use gst_object_ref when setting the pad template; this will
1136 trigger the pad template leaks on GLib 2.6 and the slaves
1138 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1140 * gst/glib-compat.c: (gst_flags_get_first_value):
1141 * gst/glib-compat.h:
1142 * gst/gstregistryxml.c:
1143 remove functions copied from GLib 2.6
1145 2005-11-16 Michael Smith <msmith@fluendo.com>
1148 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1149 do, but only breaks with newer valgrind versions. We're not a
1150 valgrind tool, we have no link-time dependencies on libcoregrind.
1152 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1154 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1159 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1161 * gst/base/gstbasesrc.c: (gst_base_src_init):
1162 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1163 * gst/gstqueue.c: (gst_queue_init):
1164 * gst/gstregistryxml.c: (load_feature):
1165 Revert all these unrefs, they don't even pass make check !
1167 2005-11-15 Johan Dahlin <johan@gnome.org>
1169 * gst/base/gstbasesrc.c: (gst_base_src_init):
1170 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1171 * gst/gstqueue.c: (gst_queue_init):
1172 Free pad templates, fixes a couple of leaks.
1174 2005-11-15 Daniel Fischer <dan at f3c dot com>
1176 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1178 * gst/gstpad.c: (gst_pad_get_property):
1179 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1180 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1183 2005-11-15 Wim Taymans <wim@fluendo.com>
1188 2005-11-15 Andy Wingo <wingo@pobox.com>
1190 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1192 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1193 using GST_CLOCK_TIME_NONE to disable base time management.
1194 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1195 time if it was NONE before.
1196 (gst_pipeline_change_state): Only munge the base time if
1197 stream_time != GST_CLOCK_TIME_NONE.
1199 * check/gst/gstpipeline.c (test_base_time): Punt around the
1200 problem of the probe not being called, because that's not the
1201 issue I'm looking at. Add a check that setting stream_time to NONE
1202 disables base time management.
1204 2005-11-15 Wim Taymans <wim@fluendo.com>
1206 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1207 segment_stop == -1 at startup.
1209 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1210 (gst_base_transform_change_state):
1211 Init segment values at start.
1213 2005-11-15 Wim Taymans <wim@fluendo.com>
1215 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1216 0 segment values are 0 in any format.
1218 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1219 * gst/base/gstbasetransform.h:
1220 Parse newsegment correctly in basetransform
1222 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1223 Sync to clock using updated segment values.
1225 2005-11-15 Andy Wingo <wingo@pobox.com>
1227 * check/gst/gstpipeline.c (test_base_time): Add check that the
1228 base time and stream time are reset correctly.
1230 2005-11-15 Wim Taymans <wim@fluendo.com>
1232 * docs/design/part-TODO.txt:
1233 Some more TODO items.
1235 2005-11-15 Andy Wingo <wingo@pobox.com>
1237 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1238 error if the user selected "no clock" as the clocking method.
1240 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1241 timestamps with live capture.
1243 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1244 is 0 but we are a live source, timestamp the buffers using the
1247 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1249 * docs/gst/gstreamer-sections.txt:
1251 * gst/gstghostpad.c:
1256 2005-11-14 Wim Taymans <wim@fluendo.com>
1259 add suppressions from Wim's Debian machine
1261 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1264 add suppressions from Andy's AMD64 Ubuntu machine
1266 2005-11-14 Andy Wingo <wingo@pobox.com>
1268 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1269 STATE_LOCK not necessary. Fixes #311489.
1271 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1274 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1275 this function is not implemented.
1277 2005-11-14 Julien MOUTTE <julien@moutte.net>
1279 * gst/base/gstbasetransform.c:
1280 (gst_base_transform_prepare_output_buf):
1281 Ref the source pad caps while we need them.
1284 2005-11-11 Wim Taymans <wim@fluendo.com>
1286 * docs/gst/gstreamer-sections.txt:
1287 Added some docs for GstCollectData.
1289 * gst/base/gstadapter.c:
1290 Some small code example fix.
1292 * gst/base/gstcollectpads.c:
1293 * gst/base/gstcollectpads.h:
1296 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1298 * configure.ac: back to HEAD
1300 === release 0.9.5 ===
1302 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1305 releasing 0.9.5, "Bike Lunch Day"
1307 2005-11-11 Wim Taymans <wim@fluendo.com>
1309 * gst/gstbuffer.c: (_gst_buffer_copy):
1312 * gst/gstcaps.c: (gst_caps_is_equal):
1314 Make _is_equal fast in the trivial cases.
1316 * gst/gstminiobject.c:
1317 * gst/gstminiobject.h:
1318 More docs. Spifify .h file.
1323 2005-11-11 Wim Taymans <wim@fluendo.com>
1325 * gst/base/gstbasetransform.c:
1326 (gst_base_transform_prepare_output_buf),
1327 (gst_base_transform_handle_buffer):
1329 If we're processing a buffer and need to allocate an output
1330 buffer, we cannot accept a format change. If we did get a
1331 format change, we have to alloc a buffer ourselves of the
1334 2005-11-11 Wim Taymans <wim@fluendo.com>
1336 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1337 While checking the flag for reentrancy in the gstcaps function
1338 is nice to detect recursive invocations, it also makes it
1339 impossible to call getcaps from multiple threads, which must be
1340 possible. So, checking for recursive calls has to go.
1342 2005-11-11 Michael Smith <msmith@fluendo.com>
1344 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1345 Don't sync on buffers that fall partially outside our current
1346 segment. Prevents an assertion failure/abort playing some files.
1348 2005-11-10 Andy Wingo <wingo@pobox.com>
1350 * check/gst/gstbin.c (test_message_state_changed_children): Style
1353 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1354 gst_bus_poll with the signal watch. Ensures that poll and a signal
1355 watch see the same messages.
1357 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1358 a poll and a watch at the same time get the same messages.
1360 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1362 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1363 * gst/gstcaps.c: (gst_caps_intersect):
1364 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1365 and it's not needed.
1367 2005-11-10 Wim Taymans <wim@fluendo.com>
1369 * docs/design/part-TODO.txt:
1372 2005-11-10 Wim Taymans <wim@fluendo.com>
1374 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1375 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1376 (gst_base_src_do_sync), (gst_base_src_get_range):
1377 Implement clock sync in base class.
1379 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1381 patch by: Tim-Philipp Müller <tim at centricular dot net>
1383 * gst/gststructure.c: (gst_structure_parse_field),
1384 (gst_structure_from_string):
1385 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1386 so that gst_parse_launch() can deal with spaces in filtered link
1387 caps (fixes #164479)
1388 * check/gst/capslist.h:
1389 * check/gst/gststructure.c: (GST_START_TEST):
1390 add unit tests for this change
1392 2005-11-10 Wim Taymans <wim@fluendo.com>
1394 * docs/gst/gstreamer-sections.txt:
1397 Fix docs, move some STATE macros to private.
1399 2005-11-10 Wim Taymans <wim@fluendo.com>
1401 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1402 Added check for bug #317341
1406 Some more spiffifying.
1408 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1409 Call peer linkfunction if we are a source pad. Totally fixes
1413 Update docs, source pads should call the peer linkfunction
1414 so they can atomically perform the pad link.
1416 2005-11-09 Wim Taymans <wim@fluendo.com>
1420 Uber-spiffy-spiffify some more.
1422 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1424 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1425 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1426 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1427 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1428 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1429 * gst/gstpad.c: (gst_pad_init):
1430 Use GST_DEBUG_FUNCPTR() more extensively.
1432 2005-11-09 Wim Taymans <wim@fluendo.com>
1434 * gst/gstobject.c: (gst_object_class_init):
1436 Documentation fixes.
1438 2005-11-09 Edward Hervey <edward@fluendo.com>
1440 * gst/gsttypefindfactory.c:
1443 2005-11-09 Edward Hervey <edward@fluendo.com>
1445 * gst/base/gsttypefindhelper.c:
1446 * gst/gsttypefind.c:
1447 * gst/gsttypefind.h:
1450 2005-11-09 Wim Taymans <wim@fluendo.com>
1452 * gst/gstiterator.c:
1459 2005-11-09 Wim Taymans <wim@fluendo.com>
1465 2005-11-09 Wim Taymans <wim@fluendo.com>
1467 * docs/gst/gstreamer-sections.txt:
1468 Moved the message async delivery private lock and cond
1469 to the private section.
1475 2005-11-09 Edward Hervey <edward@fluendo.com>
1477 * docs/gst/gstreamer-sections.txt:
1480 Document GstURIHandler
1482 2005-11-09 Wim Taymans <wim@fluendo.com>
1484 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1485 (gst_iterator_find_custom):
1486 * gst/gstiterator.h:
1489 2005-11-09 Wim Taymans <wim@fluendo.com>
1492 Document another field.
1494 * gst/gststructure.c:
1495 * gst/gststructure.h:
1498 2005-11-09 Wim Taymans <wim@fluendo.com>
1503 2005-11-09 Wim Taymans <wim@fluendo.com>
1505 * docs/gst/gstreamer-sections.txt:
1506 Added some new macros.
1513 2005-11-09 Wim Taymans <wim@fluendo.com>
1515 * docs/design/part-TODO.txt:
1516 Some more items for the TODO
1522 2005-11-09 Andy Wingo <wingo@pobox.com>
1524 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1525 to work on something else now tho...
1527 * gst/base/gstadapter.c: More adapter docs.
1529 * gst/elements/gstfilesink.c (gst_file_sink_start)
1530 (gst_file_sink_stop): New functions, replace the state change
1532 (gst_file_sink_class_init): Hook up the start and stop functions.
1533 (gst_file_sink_base_init): Don't set the state change handler any
1534 more. It was a bit ugly too, being set from here...
1535 (gst_file_sink_get_property, gst_file_sink_set_property):
1537 (gst_file_sink_set_location): More robust check that doesn't call
1540 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1542 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1543 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1545 2005-11-08 Wim Taymans <wim@fluendo.com>
1547 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1548 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1549 (gst_base_sink_chain), (gst_base_sink_change_state):
1550 * gst/base/gstbasesink.h:
1551 * gst/base/gstbasesrc.h:
1554 Avoid excessive typechecking in macros.
1556 * gst/gstminiobject.c: (gst_mini_object_get_type),
1557 (gst_mini_object_init), (gst_mini_object_new),
1558 (gst_mini_object_free):
1559 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1560 (gst_object_finalize):
1561 Remove cruft code, optimize alloc_trace.
1563 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1565 * docs/faq/gst-uninstalled:
1566 fix up PS1 for systems that try to reset it
1568 2005-11-07 Wim Taymans <wim@fluendo.com>
1570 * gst/base/gstbasesrc.c: (gst_base_src_init),
1571 (gst_base_src_get_range):
1572 Set the segment_end to -1 initially. Fixed typefind.
1574 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1576 * gst/base/gstadapter.c:
1577 Debug category should be 'adapter', not 'GstAdapter'.
1579 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1580 (gst_collectpads_class_init), (gst_collectpads_init),
1581 (gst_collectpads_peek), (gst_collectpads_pop),
1582 (gst_collectpads_event), (gst_collectpads_chain):
1583 Add debug category and some debugging output. Use boilerplate
1584 macros. Remove some extraneous words from docs.
1586 2005-11-05 Andy Wingo <wingo@pobox.com>
1588 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1591 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1593 * docs/gst/gstreamer-sections.txt:
1596 * gst/gstminiobject.h:
1601 2005-11-04 Wim Taymans <wim@fluendo.com>
1603 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1604 Small update to stop at the configured segment_end
1607 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1609 * gst/gstregistry.c:
1610 * gst/gstregistry.h:
1613 2005-11-04 Edward Hervey <edward@fluendo.com>
1615 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1616 Check if we are doing a segment seek and have arrived at the
1617 end of that segment.
1619 2005-11-04 Wim Taymans <wim@fluendo.com>
1621 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1622 Don't leak a mutex unlock in case of an error.
1627 2005-11-04 Wim Taymans <wim@fluendo.com>
1629 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1631 Get the context to wake up only once.
1633 2005-11-03 Wim Taymans <wim@fluendo.com>
1635 * check/states/sinks.c: (GST_START_TEST):
1636 Uncomment fixed check.
1638 * docs/design/part-TODO.txt:
1641 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1642 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1643 (gst_base_sink_get_position):
1644 If we are going to PLAYING, post the right pending state
1645 when we post the intermediate paused message.
1647 * gst/gstelement.c: (gst_element_continue_state),
1648 (gst_element_set_state_func), (gst_element_change_state):
1649 Don't post state changes that were between the same state
1652 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1654 * docs/gst/gstreamer-sections.txt:
1657 * gst/gstminiobject.h:
1660 more docs and doc style fixes
1662 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1664 * docs/gst/gstreamer-sections.txt:
1666 * gst/gstminiobject.c:
1669 2005-11-03 Andy Wingo <wingo@pobox.com>
1671 * check/states/sinks.c (test_livesrc_sink): Add checks that the
1672 state-changed messages actually have the right order and the right
1675 2005-11-03 Wim Taymans <wim@fluendo.com>
1677 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1678 Added some more checks. Specifically the case where NO_PREROLL
1679 elements are in the pipeline.
1681 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1682 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1683 (gst_base_sink_get_position):
1684 Post READY->PAUSED state change messages too.
1685 Fix bug where VOID was posted as pending state...
1687 * gst/gstbin.c: (gst_bin_recalc_state):
1688 use _element_continue_state() to continue the state change.
1690 * gst/gstelement.c: (gst_element_continue_state),
1691 (gst_element_commit_state), (gst_element_set_state_func),
1692 (gst_element_change_state), (gst_element_change_state_func):
1693 Lots of state change cleanups, assign the STATE_RETURN in
1694 a new continue_state() function that also propagates the
1695 last return value from a state change to the app.
1696 Update some debug statements with proper category.
1698 2005-11-03 Wim Taymans <wim@fluendo.com>
1700 * docs/design/part-events.txt:
1701 * docs/design/part-gstpipeline.txt:
1702 * docs/design/part-messages.txt:
1703 * docs/design/part-overview.txt:
1704 * docs/design/part-seeking.txt:
1705 * docs/design/part-states.txt:
1706 * docs/design/part-trickmodes.txt:
1707 * docs/manual/advanced-position.xml:
1711 People think !! is ugly, this looks better.
1713 * gst/gstpad.c: (gst_pad_set_blocked_async):
1714 Remove !! since it's fixed elsewhere now.
1716 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1718 * gst/gstminiobject.h:
1720 Add !! to _FLAG_IS_SET macros to make the result boolean.
1722 2005-11-03 Edward Hervey <edward@fluendo.com>
1724 * gst/gstpad.c: (gst_pad_set_blocked_async):
1725 comparing a flag and a gboolean rarely returns coherent results...
1726 Added two characters (!!) to make that work correctly.
1728 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1730 * gst/gstbus.c: (gst_bus_class_init):
1733 * gst/gstqueue.c: (gst_queue_loop):
1734 Don't assume a miniobject that isn't a buffer is an
1735 event (it could be that there is a refcounting
1736 problem somewhere and the pointer is stale and
1737 refers to an already destroyed miniobject).
1739 2005-11-03 Julien MOUTTE <julien@moutte.net>
1741 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1743 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1745 * docs/manual/advanced-position.xml:
1746 Update seek example and explanations to current 0.9 API.
1748 * gst/elements/gsttypefindelement.c:
1749 (gst_type_find_element_activate):
1750 Remove FIXME comment now that the found caps
1753 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
1755 * gst/gstregistryxml.c: (load_feature):
1756 Add another GST_STR_NULL instance
1758 2005-11-02 Edward Hervey <edward@fluendo.com>
1760 * gst/gstpad.c: (handle_pad_block):
1761 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1763 2005-11-02 Wim Taymans <wim@fluendo.com>
1768 * gst/gstelement.c: (gst_element_commit_state):
1769 Remove unused value.
1771 * gst/gstiterator.c:
1772 Mention that the returned element is reffed in the docs.
1774 2005-11-02 Wim Taymans <wim@fluendo.com>
1776 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1777 (gst_pad_push), (gst_pad_push_event):
1778 Unlock blocked pads when they are flushed.
1780 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1783 * docs/gst/gstreamer-sections.txt:
1786 * gst/gstregistry.c: (gst_registry_scan_path_level):
1787 fix for a nasty little missed situation where an installed plug-in
1788 which was in the cache did not get overridden by an uninstalled one
1789 which was earlier in the plugin path because the newly created plugin
1790 for the uninstalled one (not in the registry) didn't get its
1791 ->registered set to TRUE
1793 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1795 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1796 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1797 (gst_collectpads_is_active), (gst_collectpads_collect),
1798 (gst_collectpads_collect_range), (gst_collectpads_start),
1799 (gst_collectpads_stop), (gst_collectpads_peek),
1800 (gst_collectpads_pop), (gst_collectpads_available),
1801 (gst_collectpads_read), (gst_collectpads_flush):
1802 Guard public API with assertions.
1805 Fix docs for gst_pad_set_link_function().
1807 2005-11-02 Johan Dahlin <johan@gnome.org>
1809 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
1810 Unref found_caps after we used it.
1812 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1814 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1815 Don't try to ref NULL.
1817 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1819 * win32/common/config.h.in:
1820 provide a GST_FUNCTION that just gives a string for now
1822 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1824 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1825 (gst_object_flags_get_type), (register_gst_bin_flags),
1826 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1827 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1828 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1829 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1830 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1831 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1832 (gst_clock_flags_get_type), (register_gst_state),
1833 (gst_state_get_type), (register_gst_state_change_return),
1834 (gst_state_change_return_get_type), (register_gst_state_change),
1835 (gst_state_change_get_type), (register_gst_element_flags),
1836 (gst_element_flags_get_type), (register_gst_core_error),
1837 (gst_core_error_get_type), (register_gst_library_error),
1838 (gst_library_error_get_type), (register_gst_resource_error),
1839 (gst_resource_error_get_type), (register_gst_stream_error),
1840 (gst_stream_error_get_type), (register_gst_event_type),
1841 (gst_event_type_get_type), (register_gst_seek_type),
1842 (gst_seek_type_get_type), (register_gst_seek_flags),
1843 (gst_seek_flags_get_type), (register_gst_format),
1844 (gst_format_get_type), (register_gst_index_certainty),
1845 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1846 (gst_index_entry_type_get_type),
1847 (register_gst_index_lookup_method),
1848 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1849 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1850 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1851 (gst_index_flags_get_type), (register_gst_debug_level),
1852 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1853 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1854 (gst_iterator_result_get_type), (register_gst_iterator_item),
1855 (gst_iterator_item_get_type), (register_gst_message_type),
1856 (gst_message_type_get_type), (register_gst_mini_object_flags),
1857 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1858 (gst_pad_link_return_get_type), (register_gst_flow_return),
1859 (gst_flow_return_get_type), (register_gst_activate_mode),
1860 (gst_activate_mode_get_type), (register_gst_pad_direction),
1861 (gst_pad_direction_get_type), (register_gst_pad_flags),
1862 (gst_pad_flags_get_type), (register_gst_pad_presence),
1863 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1864 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1865 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1866 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1867 (gst_plugin_flags_get_type), (register_gst_rank),
1868 (gst_rank_get_type), (register_gst_query_type),
1869 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1870 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1871 (gst_tag_flag_get_type), (register_gst_task_state),
1872 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1873 (gst_alloc_trace_flags_get_type),
1874 (register_gst_type_find_probability),
1875 (gst_type_find_probability_get_type), (register_gst_uri_type),
1876 (gst_uri_type_get_type), (register_gst_parse_error),
1877 (gst_parse_error_get_type):
1878 * win32/common/gstversion.h:
1881 2005-11-01 Luca Ognibene <luogni@tin.it>
1884 fix docs. popt is dead, long live GOption.
1886 2005-10-31 Wim Taymans <wim@fluendo.com>
1891 2005-10-31 Andy Wingo <wingo@pobox.com>
1895 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1897 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1898 need to serialize property notifications on GLib 2.8. GLib 2.6 has
1899 the possibility of deadlocks here if code calling notify() or
1900 set() has a lock that can be taken in another notify handler (ABBA
1901 with class lock and e.g. python GIL state lock).
1903 2005-10-28 Julien MOUTTE <julien@moutte.net>
1905 * gst/gstbus.c: Doc updates.
1907 2005-10-28 Wim Taymans <wim@fluendo.com>
1909 * docs/design/part-TODO.txt:
1910 * gst/gstiterator.c:
1911 * gst/gstsystemclock.c:
1912 * gst/gstsystemclock.h:
1915 2005-10-28 Edward Hervey <edward@fluendo.com>
1917 * docs/gst/gstreamer-docs.sgml:
1918 * docs/gst/gstreamer-sections.txt:
1919 the GstURIType documentation page is private, it only defines GstURIType
1920 which should be defined in the GstURIHandler page
1922 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
1924 * gst/gstbin.c: (gst_bin_class_init):
1927 Documentation updates.
1929 2005-10-28 Wim Taymans <wim@fluendo.com>
1931 * docs/gst/gstreamer-sections.txt:
1934 Documented the clocks.
1936 2005-10-28 Stefan Kost <ensonic@users.sf.net>
1938 * docs/gst/gstreamer-sections.txt:
1939 move some macros to private sections
1940 * gst/gstminiobject.c:
1941 * gst/gstminiobject.h:
1942 add descriptions provided by ds and some more
1944 mark macro as to be removed
1946 2005-10-28 Wim Taymans <wim@fluendo.com>
1948 * docs/design/part-TODO.txt:
1949 Add an item to TODO.
1951 * gst/gstiterator.c: (gst_iterator_fold),
1952 (gst_iterator_find_custom):
1953 * gst/gstiterator.h:
1956 2005-10-28 Wim Taymans <wim@fluendo.com>
1958 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1959 (gst_base_transform_init):
1962 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1963 An EOS event marks the queue as completely filled.
1965 2005-10-27 Wim Taymans <wim@fluendo.com>
1967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1968 (gst_base_sink_do_sync), (gst_base_sink_get_position):
1969 Some more debugging.
1971 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1972 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1973 (gst_base_transform_event), (gst_base_transform_getrange),
1974 (gst_base_transform_chain):
1975 * gst/base/gstbasetransform.h:
1977 Protect transform and concurrent buffer alloc with a new lock.
1978 Try not to break ABI/API.
1980 2005-10-27 Wim Taymans <wim@fluendo.com>
1982 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1983 (gst_base_src_init), (gst_base_src_query),
1984 (gst_base_src_default_newsegment),
1985 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1986 (gst_base_src_send_event), (gst_base_src_event_handler),
1987 (gst_base_src_pad_get_range), (gst_base_src_loop),
1988 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1989 (gst_base_src_start), (gst_base_src_deactivate),
1990 (gst_base_src_activate_push), (gst_base_src_change_state):
1991 Move some stuff around and cleanup things.
1993 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1995 * gst/base/gstbasesrc.c: (gst_base_src_query):
1996 Add missing break statements.
1998 2005-10-27 Wim Taymans <wim@fluendo.com>
2000 * check/gst/gstbin.c: (GST_START_TEST):
2001 An extra refcount is taken in basesrc.
2003 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2004 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2005 (gst_base_src_loop):
2006 Small cleanups, check for flushing after being unlocked from the
2007 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2008 Don't send out EOS when going to READY.
2010 2005-10-27 Wim Taymans <wim@fluendo.com>
2012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2013 (gst_base_sink_get_position):
2016 * gst/gstbin.c: (message_check), (bin_replace_message),
2017 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2018 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2019 (bin_query_duration_init), (bin_query_duration_fold),
2020 (bin_query_duration_done), (bin_query_generic_fold),
2022 * tools/gst-launch.c: (main):
2025 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2027 * examples/controller/audio-example.c: (main):
2028 * examples/queue/queue.c: (event_loop):
2029 * gst/base/gstbasetransform.h:
2030 * gst/gstelement.c: (gst_element_send_event):
2032 * gst/gstpad.c: (gst_pad_send_event):
2035 changing log priority in error situations
2037 2005-10-25 Wim Taymans <wim@fluendo.com>
2039 * gst/gstbin.c: (message_check), (bin_replace_message),
2040 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2041 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2042 (bin_query_duration_init), (bin_query_duration_fold),
2043 (bin_query_duration_done), (bin_query_generic_fold),
2045 Some doc and debug updates.
2046 Cache previously requested query DURATION for speed. invalidate
2047 cached duration if element posts a DURATION message.
2049 2005-10-25 Wim Taymans <wim@fluendo.com>
2051 * docs/design/part-TODO.txt:
2054 * gst/gstbin.c: (message_check), (bin_replace_message),
2055 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2056 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2057 (bin_query_duration_init), (bin_query_duration_fold),
2058 (bin_query_duration_done), (bin_query_generic_fold),
2060 Handle SEGMENT_START/DONE messages correctly.
2061 More evolved query algorithm that handles duration queries
2064 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2065 (gst_element_get_state_func), (gst_element_abort_state),
2066 (gst_element_commit_state), (gst_element_lost_state):
2067 Some more debugging.
2072 2005-10-25 Wim Taymans <wim@fluendo.com>
2074 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2075 Don't use invalid stream_time.
2077 * gst/gstevent.c: (gst_event_new_newsegment):
2078 stream_time in newsegment cannot be undefined.
2080 2005-10-24 Wim Taymans <wim@fluendo.com>
2085 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2087 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2089 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2091 * docs/libs/tmpl/gstdparam.sgml:
2092 * docs/libs/tmpl/gstdplinint.sgml:
2093 * docs/libs/tmpl/gstdpman.sgml:
2094 * docs/libs/tmpl/gstdpsmooth.sgml:
2095 * docs/libs/tmpl/gstunitconvert.sgml:
2098 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2103 === release 0.9.4 ===
2105 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2108 releasing 0.9.4, "Tyrannosaurus Rex"
2110 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2112 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2113 (gst_file_sink_get_current_offset):
2114 Use fseeko() and ftello() if available. When falling back on
2115 lseek() to get the current offset, fflush() first to make sure
2116 everything is up-to-date and we get the right offset.
2118 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2120 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2121 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2122 * gst/gsterror.c: (_gst_stream_errors_init):
2124 * gst/gstqueue.c: (gst_queue_loop):
2126 remove prematurely added error category and clean up the instances
2128 2005-10-21 Wim Taymans <wim@fluendo.com>
2130 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2131 (gst_base_sink_get_position), (gst_base_sink_query),
2132 (gst_base_sink_change_state):
2133 Simply set the right flag when going to playing, that's all
2134 we need to do instead of calling a function inside the object
2135 lock (that could take the lock as well and deadlock)
2137 2005-10-21 Wim Taymans <wim@fluendo.com>
2139 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2140 (gst_base_src_loop):
2141 Don't warn, the peer element knows what to do best when
2142 the seek failed, it might try something else.
2144 2005-10-21 Wim Taymans <wim@fluendo.com>
2146 * gst/base/gstbasesrc.c: (gst_base_src_init),
2147 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2150 2005-10-21 Wim Taymans <wim@fluendo.com>
2152 * docs/design/part-segments.txt:
2155 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2156 Correctly set caps, even on the subbufer.
2158 2005-10-21 Wim Taymans <wim@fluendo.com>
2160 * docs/gst/gstreamer-docs.sgml:
2161 * docs/gst/gstreamer-sections.txt:
2168 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2172 And 2% more doc coverage.
2174 2005-10-21 Andy Wingo <wingo@pobox.com>
2176 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2179 2005-10-20 Wim Taymans <wim@fluendo.com>
2181 * gst/gsterror.c: (gst_error_get_message):
2184 * gst/gststructure.c:
2189 2005-10-20 Wim Taymans <wim@fluendo.com>
2194 Another 1% more coverage.
2196 2005-10-20 Wim Taymans <wim@fluendo.com>
2198 * docs/gst/gstreamer-sections.txt:
2199 * gst/gstelement.c: (gst_element_get_state_func),
2200 (gst_element_abort_state), (gst_element_commit_state),
2201 (gst_element_lost_state):
2203 * gst/gstquery.c: (gst_query_set_position),
2204 (gst_query_parse_position), (gst_query_set_duration),
2205 (gst_query_parse_duration), (gst_query_new_convert):
2207 Yay! 1% more docs coverage.
2209 2005-10-20 Wim Taymans <wim@fluendo.com>
2212 * gst/gstquery.c: (gst_query_set_position),
2213 (gst_query_parse_position), (gst_query_set_duration),
2214 (gst_query_parse_duration), (gst_query_new_convert):
2216 * gst/gstutils.c: (gst_element_query_convert):
2218 Docs and consistency fixes.
2220 2005-10-20 Wim Taymans <wim@fluendo.com>
2226 2005-10-20 Wim Taymans <wim@fluendo.com>
2228 * gst/gstbin.c: (message_check), (bin_replace_message),
2229 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2230 (update_degree), (gst_bin_sort_iterator_next),
2231 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2232 Reworked the message handling a bit, cache the messages instead of
2233 only the senders. alows us to do more in the future.
2235 2005-10-20 Wim Taymans <wim@fluendo.com>
2237 * docs/design/part-TODO.txt:
2240 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2241 (gst_base_sink_query):
2242 Don't use clock time to report position when in EOS.
2244 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2246 * tools/gst-inspect.c: (print_interfaces),
2247 (print_element_properties_info), (print_element_info):
2248 Fix interface output with gst-inspect -a; don't print
2249 newlines after double/float properties.
2251 2005-10-20 Wim Taymans <wim@fluendo.com>
2253 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2254 (gst_base_sink_query):
2255 Speed up current position calculation.
2257 * gst/base/gstbasesrc.c: (gst_base_src_query),
2258 (gst_base_src_default_newsegment):
2259 Correctly set stream position in newsegment.
2261 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2262 (update_degree), (gst_bin_sort_iterator_next),
2263 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2264 * gst/gstmessage.c: (gst_message_new_custom):
2265 Clean up debugging info
2267 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2268 (gst_queue_loop), (gst_queue_handle_src_query):
2271 2005-10-19 Wim Taymans <wim@fluendo.com>
2273 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2274 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2275 Fix query handling again.
2277 2005-10-19 Wim Taymans <wim@fluendo.com>
2279 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2280 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2281 * gst/base/gstbasesrc.c: (gst_base_src_query):
2282 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2283 * gst/elements/gsttypefindelement.c:
2284 (gst_type_find_handle_src_query), (find_element_get_length),
2285 (gst_type_find_element_activate):
2288 * gst/gstquery.c: (gst_query_new_position),
2289 (gst_query_set_position), (gst_query_parse_position),
2290 (gst_query_new_duration), (gst_query_set_duration),
2291 (gst_query_parse_duration), (gst_query_set_segment),
2292 (gst_query_parse_segment):
2294 Bundling query position/duration is not a good idea since duration
2295 does not change much and we don't want to recalculate it for every
2296 position query, so they are separated again..
2297 Base value in segment query is not needed.
2299 * gst/gstqueue.c: (gst_queue_handle_src_query):
2300 * gst/gstutils.c: (gst_element_query_position),
2301 (gst_element_query_duration), (gst_pad_query_position),
2302 (gst_pad_query_duration):
2304 Updates for query API change.
2305 Added some docs here and there.
2307 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2309 * check/gst/gstbin.c: (GST_START_TEST):
2310 * check/gst/gstghostpad.c: (GST_START_TEST):
2311 * check/pipelines/cleanup.c: (GST_START_TEST):
2312 wait on thread to die so we can check refcount correctly
2314 2005-10-18 Wim Taymans <wim@fluendo.com>
2316 * check/pipelines/stress.c: (GST_START_TEST):
2317 Make check a little more time consuming.
2319 2005-10-18 Wim Taymans <wim@fluendo.com>
2321 * check/Makefile.am:
2322 * check/pipelines/stress.c: (GST_START_TEST),
2323 (simple_launch_lines_suite), (main):
2324 Small state change torture test.
2326 * docs/design/part-states.txt:
2327 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2328 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2329 (gst_base_sink_change_state):
2330 Never take state lock from streaming thread, clean up ugly
2331 hacks. Unfortunatly core does not yet support nice ways to
2334 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2336 Start state recalc if a STATE_DIRTY message is posted, but only
2337 on the toplevel bin.
2339 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2340 (gst_element_get_state_func), (gst_element_abort_state),
2341 (gst_element_commit_state), (gst_element_lost_state),
2342 (gst_element_set_state_func), (gst_element_change_state):
2344 State variables are now protected with the LOCK, the state
2345 lock is only used to serialize _set_state().
2347 2005-10-18 Wim Taymans <wim@fluendo.com>
2349 * check/gst/gstbin.c: (GST_START_TEST):
2350 * check/gst/gstmessage.c: (GST_START_TEST):
2351 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2354 * gst/gstelement.c: (gst_element_abort_state),
2355 (gst_element_commit_state), (gst_element_lost_state):
2356 * gst/gstmessage.c: (gst_message_new_state_changed),
2357 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2358 (gst_message_new_segment_done), (gst_message_new_duration),
2359 (gst_message_parse_state_changed),
2360 (gst_message_parse_segment_start),
2361 (gst_message_parse_segment_done), (gst_message_parse_duration):
2363 * tools/gst-launch.c: (event_loop):
2364 Seriously, this is better than a previous commit as we only need
2365 to notify the fact that an element changed state in a streaming
2366 thread, marking the state of the parents dirty, hence the
2367 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2370 2005-10-18 Wim Taymans <wim@fluendo.com>
2372 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2373 (gst_bin_recalc_func):
2374 * gst/gstelement.c: (gst_element_set_clock),
2375 (gst_element_abort_state), (gst_element_lost_state):
2376 Cleanups, prepare for state change fixes.
2378 2005-10-18 Wim Taymans <wim@fluendo.com>
2381 * gst/gstelement.c: (gst_element_class_init),
2382 (gst_element_set_state), (gst_element_set_state_func):
2384 Pending ABI changes.
2385 GThreadPool in GstBinClass to monitor async state changes.
2386 state_cookie in GstElement to detect concurrent gst/set state.
2387 set_state is now virtual too in case a very complicated element
2388 has to be constructed.
2390 2005-10-18 Wim Taymans <wim@fluendo.com>
2392 * check/gst/gstbin.c: (GST_START_TEST):
2393 * check/gst/gstmessage.c: (GST_START_TEST):
2394 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2395 * gst/gstbin.c: (bin_bus_handler):
2396 * gst/gstelement.c: (gst_element_commit_state),
2397 (gst_element_lost_state):
2398 * gst/gstmessage.c: (gst_message_new_state_changed),
2399 (gst_message_new_segment_start), (gst_message_new_segment_done),
2400 (gst_message_new_duration), (gst_message_parse_state_changed),
2401 (gst_message_parse_segment_start),
2402 (gst_message_parse_segment_done), (gst_message_parse_duration):
2404 * tools/gst-launch.c: (event_loop):
2405 Make messages future proof.
2406 state-change gets a flag if it was a message comming from the
2408 segment-start/stop can also be specified in other formats.
2409 A message to notify an app that a pipeline changed playback
2411 Also fix a GstMessage leak in -launch
2413 2005-10-18 Andy Wingo <wingo@pobox.com>
2415 * gst/gstelement.c (gst_element_dispose): More helpful message.
2417 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2419 reviewed by: <delete if not using a buddy>
2421 * common/gtk-doc.mak:
2423 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2425 * gst/gstregistry.c: (gst_registry_scan_path_level):
2426 unref a plug-in we get that was already initialized
2428 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2430 * docs/gst/gstreamer-sections.txt:
2431 * docs/libs/gstreamer-libs-sections.txt:
2436 2005-10-17 Andy Wingo <wingo@pobox.com>
2438 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2441 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2443 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2445 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2446 (gst_element_get_state_func): Better debug message.
2447 (gst_element_commit_state): s/INFO/DEBUG/.
2448 (gst_element_lost_state, gst_element_change_state):
2450 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2451 (gst_message_new_custom): s/INFO/LOG/.
2453 2005-10-17 Michael Smith <msmith@fluendo.com>
2455 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2456 Check if end time is valid using end time, not start time.
2458 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2460 * check/gst-libs/controller.c: (GST_START_TEST),
2461 (gst_controller_suite):
2462 * libs/gst/controller/gstcontroller.c:
2463 (gst_controlled_property_set_interpolation_mode):
2464 * libs/gst/controller/gstcontroller.h:
2465 * libs/gst/controller/gstinterpolation.c:
2466 * testsuite/controller/.cvsignore:
2467 * testsuite/controller/Makefile.am:
2468 * testsuite/controller/interpolator.c:
2469 merge controller testsuites
2471 remove mem-chunk from docs
2473 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2475 * gst/gstmemchunk.c:
2476 * gst/gstmemchunk.h:
2477 * gst/gsttrashstack.c:
2478 * gst/gsttrashstack.h:
2479 out. get out. you're fired. to the Attic !
2481 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2483 * gst/gstcaps.c: (gst_caps_intersect):
2484 fix signedness issues in a (hopefully) correct way
2485 * gst/gstelement.c: (gst_element_pads_activate):
2487 * gst/gstobject.c: (gst_object_set_parent):
2490 2005-10-17 Julien MOUTTE <julien@moutte.net>
2492 * gst/gstvalue.h: Fix prototypes.
2494 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2496 * docs/gst/gstreamer-sections.txt:
2497 * gst/gst.c: (gst_version_string):
2499 * gst/gstversion.h.in:
2500 * win32/common/libgstreamer.def:
2501 add gst_version_string ()
2503 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2507 * gst/gst.c: (init_post):
2508 * win32/common/config.h.in:
2510 * gst/gstcaps.c: (gst_caps_intersect):
2511 use gint64, the range could be bigger than a guint
2513 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2516 document potential problem in 2038
2518 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2520 * gst/gstcaps.c: (gst_caps_intersect):
2521 Fix guint j diving under 0
2523 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2526 * win32/common/config.h:
2527 * win32/common/config.h.in:
2528 check for process.h, declares getpid() on Windows
2530 include process.h if we have it
2531 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2532 * gst/gstmemchunk.h:
2533 fix signedness issues
2534 * win32/common/libgstreamer.def:
2537 2005-10-16 Julien MOUTTE <julien@moutte.net>
2539 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2540 fix. Because of unsigned ints, caps intersection was going nuts and
2541 trying to access structures with G_MAXUINT index. That fixes
2542 videotestsrc ! ffmpegcolorspace ! fakesink
2543 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2546 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2549 use the gettext macro
2550 * gst/elements/gstelements.c:
2552 * gst/indexers/gstindexers.c:
2553 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2554 * win32/common/config.h:
2556 * win32/common/config.h.in:
2557 add the template to generate config.h
2558 * win32/common/gstenumtypes.c:
2559 * win32/common/gstversion.h:
2562 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2564 * gst/gst.c: (gst_version):
2565 * gst/gstversion.h.in:
2568 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2571 Oops, add missing closing bracket.
2573 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2576 use common m4's for argument checking
2578 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2580 * docs/gst/gstreamer-sections.txt:
2582 Add GST_EVENT_TYPE_NAME() macro.
2584 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2587 * gst/gstpluginfeature.c:
2589 privatize more symbols
2591 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2594 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2595 everything that uses GStreamer API should have the includes
2597 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2599 * docs/gst/gstreamer-sections.txt:
2600 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2602 give each value a _get_type, removes the DATA exports
2604 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2608 remove _gst_registry_auto_load, not used anymore
2609 * gst/gstbin.c: (gst_bin_get_type):
2611 * gst/gstelement.c: (gst_element_get_type):
2613 * gst/gstobject.c: (gst_object_get_type):
2615 * gst/gstpad.c: (gst_pad_get_type):
2617 make _get_type functions similar, fixes data export from library
2619 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2622 correctly make conditionals
2623 * gst/elements/Makefile.am:
2624 * gst/elements/gstelements.c:
2625 fix typo causing fdsrc not to build
2627 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2629 * testsuite/Makefile.am:
2630 * testsuite/bytestream/.cvsignore:
2631 * testsuite/bytestream/Makefile.am:
2632 * testsuite/bytestream/filepadsink.c:
2633 * testsuite/bytestream/gstbstest.c:
2634 * testsuite/bytestream/test1.c:
2635 * testsuite/bytestream/testfile1:
2636 * testsuite/caps/normalisation.c:
2637 * testsuite/caps/random.c: (main):
2638 * testsuite/cleanup/.cvsignore:
2639 * testsuite/cleanup/Makefile.am:
2640 * testsuite/cleanup/cleanup1.c:
2641 * testsuite/cleanup/cleanup2.c:
2642 * testsuite/cleanup/cleanup3.c:
2643 * testsuite/cleanup/cleanup4.c:
2644 * testsuite/cleanup/cleanup5.c:
2645 * testsuite/controller/interpolator.c:
2646 * testsuite/debug/printf_extension.c: (main):
2647 * testsuite/elements/tee.c:
2648 * testsuite/negotiation/.cvsignore:
2649 * testsuite/negotiation/Makefile.am:
2650 * testsuite/negotiation/pad_link.c:
2651 * testsuite/pad/Makefile.am:
2652 * testsuite/pad/chainnopull.c:
2653 * testsuite/pad/getnopush.c:
2654 * testsuite/pad/link.c:
2655 * testsuite/refcounting/sched.c: (create_pipeline):
2656 * testsuite/registry/Makefile.am:
2657 * testsuite/registry/gst-print-formats.c:
2658 * testsuite/schedulers/.cvsignore:
2659 * testsuite/schedulers/142183-2.c:
2660 * testsuite/schedulers/142183.c:
2661 * testsuite/schedulers/143777-2.c:
2662 * testsuite/schedulers/143777.c:
2663 * testsuite/schedulers/147713.c:
2664 * testsuite/schedulers/147819.c:
2665 * testsuite/schedulers/147894-2.c:
2666 * testsuite/schedulers/147894.c:
2667 * testsuite/schedulers/Makefile.am:
2668 * testsuite/schedulers/group_link.c:
2669 * testsuite/schedulers/queue_link.c:
2670 * testsuite/schedulers/relink.c:
2671 * testsuite/schedulers/unlink.c:
2672 * testsuite/schedulers/unref.c:
2673 * testsuite/schedulers/useless_iteration.c:
2674 * testsuite/states/bin.c:
2675 clean out/remove some stuff from the testsuite directories
2677 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2680 check for some headers
2681 * gst/elements/Makefile.am:
2682 * gst/elements/gstelements.c:
2683 don't compile fdsrc without sys/socket.h
2684 * gst/indexers/Makefile.am:
2685 * gst/indexers/gstindexers.c: (plugin_init):
2686 don't compile fileindex without mmap
2688 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2695 * check/Makefile.am:
2696 * docs/gst/Makefile.am:
2697 * examples/helloworld/Makefile.am:
2699 * gst/base/Makefile.am:
2700 * gst/check/Makefile.am:
2701 * gst/elements/Makefile.am:
2702 * gst/indexers/Makefile.am:
2703 * gst/parse/Makefile.am:
2704 * libs/gst/controller/Makefile.am:
2705 * libs/gst/dataprotocol/Makefile.am:
2706 * examples/helloworld/helloworld.c: (event_loop):
2707 compile fixes, though it's not being compiled currently
2709 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2711 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2712 Add some simple tests for the new taglist date API.
2714 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2716 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2717 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2718 Beautify 'last-message' output: print 'none' for buffer timestamps
2719 and durations if none is set; improve alignment with next messages.
2721 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2723 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2724 * gst/gstpluginfeature.h:
2725 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2726 * gst/gstregistry.h:
2727 * docs/gst/gstreamer-sections.txt:
2728 Add new API to check plugin feature version requirements.
2730 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2731 Some basic tests for the above.
2733 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2735 * gst/gststructure.c: (gst_structure_to_string):
2736 guard against NULL printf - happens when for example
2737 a message structure with GstClock gets serialized
2739 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2741 * gst/base/gstcollectpads.c: (gst_collectpads_event):
2742 Fix presumable copy'n'pasto.
2744 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2746 * gst/elements/gstfakesrc.h:
2747 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2748 * gst/elements/gsttypefindelement.c:
2750 * gst/elements/gstfilesink.c: (gst_file_sink_render):
2751 I wonder if this could actually write +2GB files before
2753 2005-10-13 Andy Wingo <wingo@pobox.com>
2755 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2756 Fix Timmeke Waymans bug.
2757 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2758 string of the proper length to gst_caps_from_string. There's a
2759 potential for, before this fix, that this could cause someone
2760 connecting over the network to cause a segfault if the payload is
2763 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2765 * docs/design/draft-push-pull.txt:
2766 * docs/design/part-overview.txt:
2767 * docs/random/TODO-pre-0.9:
2768 * docs/random/old/ChangeLog.gstreamer:
2769 * gst/base/gstpushsrc.c:
2773 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2775 * gst/glib-compat.c: (gst_flags_get_first_value):
2776 * gst/glib-compat.h:
2777 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2778 (gst_value_compare_double), (gst_value_serialize_flags):
2779 GLib 2.6 g_flags_get_first_value has a bug that triggers an
2782 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2784 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2785 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2787 * tools/gst-launch.c: (event_loop):
2788 print out clock nicely
2790 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2792 * docs/gst/gstreamer-sections.txt:
2794 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2795 (gst_tag_list_get_date_index):
2796 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2797 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2799 2005-10-13 Julien MOUTTE <julien@moutte.net>
2801 * gst/base/gstcollectpads.c: (gst_collectpads_event),
2802 (gst_collectpads_chain):
2803 * gst/base/gstcollectpads.h: Handle newsegment and store informations
2806 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2808 * docs/gst/gstreamer-sections.txt:
2811 * tools/gst-inspect.c: (main):
2812 * tools/gst-launch.c: (main):
2813 * tools/gst-run.c: (main):
2814 * tools/gst-xmlinspect.c: (main):
2815 fix GOption context leaks
2818 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2822 * win32/common/config.h:
2824 * win32/vs6/grammar.dsp:
2825 * win32/vs6/libgstelements.dsp:
2826 * win32/vs6/libgstreamer.dsp:
2829 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2831 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2832 * gst/base/gstbasesrc.c: (gst_base_src_query):
2833 fix more guint64<->gdouble conversions
2835 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2838 add win32-update target
2839 * win32/common/gstconfig.h:
2840 * win32/common/gstenumtypes.c:
2841 * win32/common/gstenumtypes.h:
2842 * win32/common/gstversion.h:
2843 add files that visual studio can't generate
2845 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2848 add a win32-update target
2851 2005-10-12 Wim Taymans <wim@fluendo.com>
2853 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2854 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2855 * gst/gstelement.c: (gst_element_commit_state),
2856 (gst_element_set_state):
2857 Protect flags with proper lock.
2858 unref provided cached clock in dispose.
2860 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2863 * gst/gstminiobject.h:
2865 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2866 removed unused flags from miniobject
2869 2005-10-12 Wim Taymans <wim@fluendo.com>
2871 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2872 (gst_file_sink_event), (gst_file_sink_render):
2873 Flush before seeking.
2875 2005-10-12 Andy Wingo <wingo@pobox.com>
2877 * gst/gst.c (gst_init_check): Ignore unknown options, as has
2878 always been the case.
2880 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2882 * check/gst/gstbin.c: (GST_START_TEST):
2883 * docs/gst/gstreamer-sections.txt:
2884 * gst/base/gstbasesink.c: (gst_base_sink_init):
2885 * gst/base/gstbasesrc.c: (gst_base_src_init),
2886 (gst_base_src_get_range), (gst_base_src_check_get_range),
2887 (gst_base_src_start), (gst_base_src_stop):
2888 * gst/base/gstbasesrc.h:
2889 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2890 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2891 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2895 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2897 * gst/gstelement.c: (gst_element_is_locked_state),
2898 (gst_element_set_locked_state), (gst_element_commit_state),
2899 (gst_element_set_state):
2901 * gst/gstindex.c: (gst_index_init):
2903 * gst/gstminiobject.h:
2904 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2905 (gst_object_set_parent):
2907 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2908 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2910 * gst/gstpadtemplate.h:
2911 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2912 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2913 * gst/gstpipeline.h:
2914 * gst/indexers/gstfileindex.c: (gst_file_index_load),
2915 (gst_file_index_commit):
2916 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2917 * testsuite/pad/link.c: (gst_test_src_init),
2918 (gst_test_filter_init), (gst_test_sink_init):
2919 * testsuite/states/locked.c: (main):
2920 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2921 moved bitshift from macro to enum definition
2923 2005-10-12 Wim Taymans <wim@fluendo.com>
2925 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2926 * gst/elements/gstfilesink.c: (gst_file_sink_event),
2927 (gst_file_sink_render):
2928 Some more debugging info.
2930 2005-10-12 Wim Taymans <wim@fluendo.com>
2932 * docs/design/part-states.txt:
2933 * tools/gst-launch.c: (main):
2935 Revert non-intentional change.
2937 2005-10-12 Wim Taymans <wim@fluendo.com>
2939 * check/gst/gstbin.c: (GST_START_TEST):
2940 * check/gst/gstelement.c: (GST_START_TEST):
2941 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2942 * check/gst/gstghostpad.c: (GST_START_TEST):
2943 * check/gst/gstpipeline.c: (GST_START_TEST):
2944 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2945 * check/states/sinks.c: (GST_START_TEST):
2946 * gst/elements/gsttypefindelement.c: (stop_typefinding):
2947 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2948 (gst_bin_remove_func), (gst_bin_get_state_func),
2949 (gst_bin_recalc_state), (gst_bin_change_state_func),
2951 * gst/gstelement.c: (gst_element_get_state_func),
2952 (gst_element_get_state), (gst_element_abort_state),
2953 (gst_element_commit_state), (gst_element_set_state),
2954 (gst_element_change_state), (gst_element_change_state_func):
2956 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2957 (gst_pipeline_provide_clock_func):
2958 * gst/gstutils.c: (gst_element_link_pads_filtered):
2959 * tools/gst-launch.c: (main):
2960 * tools/gst-typefind.c: (main):
2961 Use GstClockTime in _get_state() instead of GTimeVal.
2962 Remove old code in gstutils.c
2964 2005-10-12 Andy Wingo <wingo@pobox.com>
2966 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2969 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2970 there is no task. Shouldn't affect any code, as nothing in our
2971 plugins checks this return value.
2972 (gst_pad_stop_task): Also take the stream lock if the pad has no
2975 2005-10-12 Wim Taymans <wim@fluendo.com>
2977 * gst/gstpad.c: (pre_activate), (post_activate),
2978 (gst_pad_activate_pull), (gst_pad_activate_push):
2979 Cleanup activation code. Reset old state if
2982 2005-10-12 Wim Taymans <wim@fluendo.com>
2984 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2985 (gst_base_sink_change_state):
2986 No need to prerol after receiving EOS.
2988 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2989 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2990 * gst/elements/gstidentity.c: (gst_identity_event):
2991 Print events more verbosely.
2993 2005-10-12 Wim Taymans <wim@fluendo.com>
2995 * check/Makefile.am:
2996 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2997 * check/states/sinks2.c:
2998 Moved sinks2 testcode in sinks check.
3000 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3001 (gst_bin_remove_func), (gst_bin_recalc_state),
3002 (gst_bin_change_state_func), (bin_bus_handler):
3003 Fix potential race condition when _get_state() iterated over an
3004 ASYNC element right before it posted a state completion.
3007 Do proper cast here.
3009 * gst/gstevent.c: (gst_event_new_newsegment),
3010 (gst_event_parse_newsegment):
3011 A playback rate of 0.0 is not allowed.
3013 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3015 * win32/common/config.h:
3016 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3017 (_trewinddir), (_ttelldir), (_tseekdir):
3018 * win32/common/dirent.h:
3019 * win32/common/gtchar.h:
3020 * win32/common/libgstbase.def:
3021 * win32/common/libgstreamer.def:
3022 * win32/vs6/grammar.dsp:
3023 * win32/vs6/gst_inspect.dsp:
3024 * win32/vs6/gst_launch.dsp:
3025 * win32/vs6/gstreamer.dsw:
3026 * win32/vs6/libgstbase.dsp:
3027 * win32/vs6/libgstelements.dsp:
3028 * win32/vs6/libgstreamer.dsp:
3029 Visual Studio 6 project files, and a new common directory.
3032 2005-10-11 Wim Taymans <wim@fluendo.com>
3034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3035 (gst_base_sink_do_sync), (gst_base_sink_query),
3036 (gst_base_sink_change_state):
3037 * gst/base/gstbasesink.h:
3038 Correctly parse newsegment info.
3040 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3042 * gst/gst.c: (init_post):
3043 split plugin paths correctly
3045 2005-10-11 Wim Taymans <wim@fluendo.com>
3047 * check/gst/gstevent.c: (GST_START_TEST):
3048 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3049 (gst_base_sink_change_state):
3050 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3051 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3052 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3053 * gst/gstevent.c: (gst_event_new_newsegment),
3054 (gst_event_parse_newsegment):
3056 Added extra flag to newsegment for future API freeze.
3057 Updated check and base elements.
3059 2005-10-11 Julien MOUTTE <julien@moutte.net>
3061 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3062 (gst_collectpads_add_pad), (gst_collectpads_pop),
3063 (gst_collectpads_event), (gst_collectpads_chain):
3064 * gst/base/gstcollectpads.h: Handle EOS correctly.
3066 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3068 * tools/gst-launch.c: (main):
3069 more null protecting
3071 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3073 * gst/gst-i18n-lib.h:
3074 check for ENABLE_NLS, not GETTEXT_PACKAGE
3075 * gst/gstregistry.c: (gst_registry_add_plugin),
3076 (gst_registry_scan_path_level),
3077 (_gst_registry_remove_cache_plugins):
3078 protect possibly NULL strings
3079 * gst/parse/types.h:
3080 config.h already included before
3081 * tools/gst-inspect.c: (main):
3082 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3083 check for ENABLE_NLS, not GETTEXT_PACKAGE
3084 * tools/gst-launch.c: (main):
3085 check for ENABLE_NLS, not GETTEXT_PACKAGE
3087 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3090 if we don't have glib, fail before testing 2.8
3091 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3092 fix a leak, should fix plugins-base testsuite
3094 2005-10-11 Andy Wingo <wingo@pobox.com>
3096 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3097 take the mode we're going to as an arg. Go head and set the mode
3098 and flushing flags now, so that if the activate function starts a
3099 thread all the flags will be in the right state.
3100 (post_activate): Renamed also. Just handle making sure streaming
3101 finishes for the deactivation case, and setting the deactivated
3103 (gst_pad_set_active): Complain loudly if deactivation fails.
3104 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3105 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3106 remove the terrible hack.
3108 2005-10-11 Wim Taymans <wim@fluendo.com>
3110 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3111 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3112 (gst_bin_recalc_state), (gst_bin_change_state_func),
3113 (gst_bin_dispose), (bin_bus_handler):
3115 Prepare to make current EOS message queue more generic.
3118 * gst/gstevent.c: (gst_event_new_newsegment),
3119 (gst_event_parse_newsegment):
3121 Rename base to stream_time.
3126 2005-10-11 Wim Taymans <wim@fluendo.com>
3128 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3129 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3130 (gst_bin_change_state_func), (bin_bus_handler):
3132 Work on proper clock selection.
3134 2005-10-11 Edward Hervey <edward@fluendo.com>
3136 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3137 * libs/gst/controller/gstcontroller.h:
3138 Added GList* version of _remove_properties() in order to be able to wrap
3141 2005-10-11 Wim Taymans <wim@fluendo.com>
3143 * docs/design/part-states.txt:
3146 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3147 (gst_bin_change_state_func), (bin_bus_handler):
3148 Doc updates. Don't distribute the same clock over and over again.
3154 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3155 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3156 (gst_pad_send_event):
3158 Make probe emission threadsafe again.
3159 Register quarks and move _get_name() from utils.
3162 * gst/gstpipeline.c: (gst_pipeline_class_init),
3163 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3164 Only redistribute the clock of it changed.
3166 * gst/gstsystemclock.h:
3171 Moved the _flow_get_name() to GstPad.
3173 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3175 * check/gst-libs/gdp.c: (GST_START_TEST):
3176 * check/gst/gstcaps.c: (GST_START_TEST):
3177 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3178 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3179 (gst_dp_packet_from_caps):
3180 fix more valgrind warnings before turning up the heat
3182 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3184 * gst/parse/grammar.y:
3185 some cleanup before the hacking
3187 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3189 * gst/base/gstbasesrc.c: (gst_base_src_query):
3191 * gst/gstutils.c: (gst_guint64_to_gdouble),
3192 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3194 externalize, basesrc uses it
3195 obviously the implementation needs testing
3197 2005-10-10 Wim Taymans <wim@fluendo.com>
3199 * tests/sched/Makefile.am:
3200 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3201 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3203 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3205 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3206 apparently converting from guint64 to double is not implemented
3209 2005-10-10 Wim Taymans <wim@fluendo.com>
3211 * check/Makefile.am:
3212 * check/generic/states.c: (GST_START_TEST):
3213 * check/gst/gstbin.c: (GST_START_TEST):
3214 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3215 * check/states/sinks.c: (GST_START_TEST):
3216 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3218 Check fixes, use API as stated in design docs, remove hacks.
3220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3221 (gst_base_sink_change_state):
3222 Catch stopping our task while we're shutting down.
3224 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3225 (gst_bin_remove_func), (gst_bin_get_state_func),
3226 (gst_bin_recalc_state), (gst_bin_change_state_func),
3229 * gst/gstelement.c: (gst_element_init),
3230 (gst_element_get_state_func), (gst_element_abort_state),
3231 (gst_element_commit_state), (gst_element_lost_state),
3232 (gst_element_set_state), (gst_element_change_state),
3233 (gst_element_change_state_func):
3235 New state change algorithm (see #318116)
3237 * gst/gstpipeline.c: (gst_pipeline_class_init),
3238 (gst_pipeline_init), (gst_pipeline_set_property),
3239 (gst_pipeline_get_property), (do_pipeline_seek),
3240 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3241 * gst/gstpipeline.h:
3242 Remove crude state change hacks.
3247 * tools/gst-launch.c: (main):
3248 Fixes for state change. Needs some more work to fully use the
3251 2005-10-10 Andy Wingo <wingo@pobox.com>
3253 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3255 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3256 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3259 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3261 * gst/gstiterator.c: (gst_iterator_new):
3262 Fix my previous commit: GTypes passed to gst_iterator_new()
3263 can be fundamental types.
3265 2005-10-10 Wim Taymans <wim@fluendo.com>
3267 * gst/gstelement.c: (gst_element_iterate_pad_list),
3268 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3269 (gst_element_iterate_sink_pads):
3270 Use src/sink pads lists for the respective iterators instead
3273 2005-10-10 Andy Wingo <wingo@pobox.com>
3275 Merged in popt removal + GOption addition patch from Ronald, bug
3278 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3279 GstElement macros around, remove popt-related symbols, add goption
3282 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3284 * docs/gst/Makefile.am:
3285 * docs/libs/Makefile.am: No POPT_CFLAGS.
3287 * examples/manual/Makefile.am:
3288 * docs/manual/basics-init.xml: Doc updates with an example.
3290 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3291 (gst_init), (parse_one_option), (parse_goption_arg):
3292 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3293 bit of hand merging and debugging to get the GOption stuff working
3296 * tests/Makefile.am:
3297 * tools/Makefile.am:
3298 * tools/gst-inspect.c: (main):
3299 * tools/gst-launch.c: (main):
3300 * tools/gst-run.c: (main):
3301 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3303 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3305 * gst/gstiterator.c: (gst_iterator_new):
3306 Add assertions to make sure passed GType is likely to really
3307 be a GType (as the compiler won't catch it if the size and
3308 GType arguments get mixed up, see #318447).
3310 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3312 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3314 * gst/gstbin.c: (gst_bin_iterate_sorted):
3315 Pass GType and size arguments to gst_iterator_new() in the right
3316 order (maybe we should make _new() take the GType as first argument
3317 just like _new_list()?) (#318447).
3320 2005-10-10 Wim Taymans <wim@fluendo.com>
3322 * gst/gstelement.c: (gst_element_finalize):
3323 And free the GStaticRecMutex too
3325 2005-10-10 Andy Wingo <wingo@pobox.com>
3327 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3328 Allocate and free the mutex properly.
3330 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3332 (GstElement): The state_lock is now recursive. Rebuild your
3333 plugins, suckers. Old macros adapted.
3335 * docs/gst/gstreamer-sections.txt: Doc updates.
3338 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3339 (g_static_rec_cond_wait): Ported from state changes patch, while
3340 we wait on bug #317802 to be solved in a well-distributed GLib.
3342 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3343 gst_element_change_state, variable name changes.
3344 (gst_element_change_state): Split out of gst_element_set_state in
3345 preparation for the state change merge. Doesn't pay attention to
3346 the 'transition' argument.
3347 (gst_element_set_state): Updates, hopefully purely cosmetic.
3348 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3350 (gst_element_get_state_func): Renamed from get_state, cosmetic
3353 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3355 * gst/elements/gstelements.c:
3356 * win32/GStreamer.vcproj:
3358 * win32/dirent.c: (_tseekdir):
3359 * win32/gst-inspect.vcproj:
3360 * win32/gst-launch.vcproj:
3361 * win32/gstconfig.h:
3362 * win32/gstelements.vcproj:
3363 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3364 * win32/gstreamer.def:
3366 updates for the win32 build (patch from Sebastien Moutte)
3368 2005-10-10 Andy Wingo <wingo@pobox.com>
3370 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3371 gst_bin_get_state, cleaned up (but no logic changes).
3372 (bin_element_is_sink): Comment updates.
3373 (sink_iterator_filter): Remove needless cast.
3374 (gst_bin_iterate_sinks): Doc update.
3375 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3376 cleaned up (but no logic changes).
3378 * check/states/sinks.c (test_src_sink): Cleanups from the state
3380 (test_livesrc_sink): Sync on the state.
3382 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3383 the state change patch.
3385 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3388 * check/gst/gstbin.c: Merge in some style fixes and additional
3389 checks from Wim's state change patch.
3391 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3393 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3394 (gst_type_find_helper):
3395 Check whether we have the requested data already in our list of
3396 cached buffers before pulling a new buffer; also make the buffer
3397 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3399 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3404 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3405 don't use long long, it's not portable. Replacing with
3406 gint64 seems to work; let's hope no skeletons fall out of the closet.
3408 2005-10-10 Andy Wingo <wingo@pobox.com>
3410 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3412 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3414 * docs/gst/gstreamer-sections.txt:
3419 * gst/gstmessage.c: (gst_message_parse_state_changed):
3422 more docs, fix compilation
3424 2005-10-09 Philippe Khalaf <burger@speedy.org>
3426 Fixed a few forgotten variables on previous commit
3428 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3430 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3431 Fix evil typefind crasher: getrange() might return a short
3432 buffer at the end of a file, but gst_type_find_peek() must
3433 either return the full data as requested or NULL, but
3434 never a short buffer.
3436 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3438 * gst/gstmessage.c: (gst_message_new_state_changed),
3439 (gst_message_parse_state_changed):
3441 don't use "new", it's a C++ keyword
3443 2005-10-08 Wim Taymans <wim@fluendo.com>
3445 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3446 * gst/gstelement.c: (gst_element_post_message):
3447 * gst/gstpipeline.c: (gst_pipeline_change_state):
3448 Small docs and debug updates.
3450 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3452 * docs/gst/gstreamer-sections.txt:
3453 * gst/gstelementfactory.c:
3458 2005-10-08 Wim Taymans <wim@fluendo.com>
3460 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3461 (gst_bin_dispose), (bin_bus_handler):
3462 Fix typos, add comments.
3463 Clear EOS list when going to PAUSED from any direction and do it
3464 in a threadsafe way.
3465 Get base time in a threadsafe way too.
3466 Fix confusing debug in the change_state function.
3467 Various other small cleanups.
3469 * gst/gstelement.c: (gst_element_post_message):
3470 Fix very verbose bus posting code.
3472 * gst/gstpipeline.c: (gst_pipeline_class_init),
3473 (gst_pipeline_set_property), (gst_pipeline_get_property),
3474 (gst_pipeline_change_state):
3475 Small ARG_ -> PROP_ cleanup
3477 2005-10-08 Wim Taymans <wim@fluendo.com>
3479 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3480 Do a less CPU demanding EOS check because we can.
3482 2005-10-08 Wim Taymans <wim@fluendo.com>
3484 * libs/gst/dataprotocol/dataprotocol.c:
3485 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3486 (gst_dp_packet_from_event):
3487 * libs/gst/dataprotocol/dataprotocol.h:
3488 * libs/gst/dataprotocol/dp-private.h:
3489 It's about time we bump the version number.
3490 Since event types don't fit in the guint8 anymore describing
3491 the payload type, make payload type 16 bits wide.
3493 2005-10-08 Wim Taymans <wim@fluendo.com>
3495 * docs/design/part-TODO.txt:
3496 * docs/design/part-clocks.txt:
3497 * docs/design/part-events.txt:
3498 * docs/design/part-gstbin.txt:
3499 * docs/design/part-gstelement.txt:
3500 * docs/design/part-gstpipeline.txt:
3501 * docs/design/part-live-source.txt:
3502 * docs/design/part-messages.txt:
3503 * docs/design/part-overview.txt:
3504 * docs/design/part-states.txt:
3507 2005-10-08 Wim Taymans <wim@fluendo.com>
3511 Fix event quark registration.
3512 Add some space between events so we can insert them in the
3515 2005-10-08 Wim Taymans <wim@fluendo.com>
3517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3518 (gst_base_sink_handle_buffer):
3525 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3526 (gst_queue_set_property), (gst_queue_get_property):
3528 Remove old unused properties.
3530 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3531 * docs/gst/gstreamer-sections.txt:
3534 * gst/gstminiobject.c:
3535 * gst/gstminiobject.h:
3539 lots of new docs and doc fixes
3541 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3543 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3545 * gst/gstregistry.c: (gst_registry_lookup_locked),
3546 (gst_registry_scan_path_level):
3547 * gst/gstregistryxml.c: (load_plugin):
3548 Only ever load one plugin for a given plugin basename.
3549 This ensures correct overriding of GST_PLUGIN_PATH over
3550 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3551 system installed plugins.
3553 2005-10-08 Wim Taymans <wim@fluendo.com>
3555 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3556 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3557 Prepare for doing QOS.
3559 2005-10-08 Wim Taymans <wim@fluendo.com>
3561 * check/gst/gstbin.c: (GST_START_TEST):
3562 * check/pipelines/cleanup.c: (GST_START_TEST):
3563 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3564 Allow new clock message too.
3566 2005-10-08 Wim Taymans <wim@fluendo.com>
3568 * gst/gstmessage.c: (gst_message_new_error),
3569 (gst_message_new_warning), (gst_message_new_tag),
3570 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3571 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3572 (gst_message_new_segment_start), (gst_message_new_segment_done),
3573 (gst_message_parse_state_changed),
3574 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3575 (gst_message_parse_new_clock):
3577 Also carry the clock in question.
3579 2005-10-08 Wim Taymans <wim@fluendo.com>
3581 * gst/gstmessage.c: (gst_message_new_custom),
3582 (gst_message_new_eos), (gst_message_new_error),
3583 (gst_message_new_warning), (gst_message_new_tag),
3584 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3585 (gst_message_new_new_clock), (gst_message_new_segment_start),
3586 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3587 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3590 Added clock related messages.
3592 * gst/gstpipeline.c: (gst_pipeline_change_state):
3593 Post message when the clock changed.
3595 * tools/gst-launch.c: (event_loop):
3598 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3600 * tools/gst-inspect.c: (print_element_properties_info):
3601 Can't pass NULL strings to g_print() on windows.
3603 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3606 * docs/gst/Makefile.am:
3607 * docs/gst/gstreamer-docs.sgml:
3608 * docs/gst/running.xml:
3609 * docs/version.entities.in:
3610 add a chapter on running GStreamer.
3611 document GST_DEBUG and GST_PLUGIN* env vars
3613 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3618 remove PLUGINS_BUILDDIR stuff
3619 * gst/gst.c: (init_post):
3620 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3622 remove, it was condescending and not needed
3624 2005-10-08 Wim Taymans <wim@fluendo.com>
3626 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3627 (gst_base_sink_handle_object), (gst_base_sink_event),
3628 (gst_base_sink_wait), (gst_base_sink_handle_event),
3629 (gst_base_sink_change_state):
3630 * gst/base/gstbasesink.h:
3631 Repost EOS message while going to PLAYING if still EOS.
3632 Make sure that when receiving a FLUSH_START we don't attempt
3633 to sync on the clock anymore.
3635 2005-10-08 Wim Taymans <wim@fluendo.com>
3637 * tools/gst-launch.c: (event_loop):
3638 Better message printout.
3640 2005-10-08 Wim Taymans <wim@fluendo.com>
3642 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3643 (gst_bin_child_proxy_get_children_count):
3644 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3645 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3646 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3647 (gst_child_proxy_set_valist):
3648 * gst/parse/grammar.y:
3649 Make ChildProxy threadsafe and fix mem leaks.
3651 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3653 * gst/gst.c: (init_post):
3654 debug the GST_PLUGIN_ env vars
3656 2005-10-08 Wim Taymans <wim@fluendo.com>
3658 * check/gst/gstbin.c: (GST_START_TEST):
3659 * check/gst/gstmessage.c: (GST_START_TEST):
3660 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3661 * gst/gstelement.c: (gst_element_commit_state),
3662 (gst_element_lost_state):
3663 * gst/gstmessage.c: (gst_message_new_state_changed),
3664 (gst_message_parse_state_changed):
3666 * tools/gst-launch.c: (event_loop):
3667 Added extra field to STATE_CHANGE message with the pending
3668 state, which will be different from the new state soon.
3670 2005-10-08 Wim Taymans <wim@fluendo.com>
3672 * gst/gstbus.c: (gst_bus_pop):
3674 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3675 Small cleanups and doc updates.
3677 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3679 * gst/gst.c: (init_pre):
3680 * gst/gstbin.c: (gst_bin_add_func):
3681 log distributing clocks and base time
3682 * gst/gstregistry.c: (gst_registry_add_plugin),
3683 (gst_registry_scan_path_level), (gst_registry_scan_path):
3684 clean up the debugging output a little
3685 * gst/gstutils.c: (gst_element_state_get_name):
3686 warn about a memleak (I've actually seen this be used, though
3687 it was probably a bug)
3689 2005-10-07 Wim Taymans <wim@fluendo.com>
3691 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3692 (gst_base_src_init), (gst_base_src_default_newsegment),
3693 (gst_base_src_newsegment), (gst_base_src_do_seek),
3694 (gst_base_src_loop), (gst_base_src_start):
3695 * gst/base/gstbasesrc.h:
3696 Make the newsegment event customizable by subclasses.
3698 2005-10-07 Wim Taymans <wim@fluendo.com>
3700 * gst/gstevent.c: (gst_event_new_buffersize),
3701 (gst_event_parse_buffersize):
3703 New event for future idea.
3705 2005-10-07 Andy Wingo <wingo@pobox.com>
3707 * gst/gstelement.c (gst_element_post_message): Doc update.
3709 * docs/gst/gstreamer-sections.txt: Update.
3711 * gst/gstmessage.c (gst_message_new_application): Made into a
3712 function like honest API calls.
3713 (gst_message_new_element): New message type.
3715 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3717 * check/elements/fakesrc.c (test_no_preroll): New check, checks
3718 that setting a live fakesrc to PAUSED returns NO_PREROLL both
3721 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3722 NO_PREROLL from gst_element_change_state to fall through.
3724 2005-10-07 Wim Taymans <wim@fluendo.com>
3726 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3727 (gst_ghost_pad_do_activate_push):
3728 Activating a ghostpad with no internal pad in push mode
3731 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
3734 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3735 Fixes compilation on Windows.
3737 2005-10-07 Michael Smith <msmith@fluendo.com>
3739 * tools/gst-inspect.c:
3740 Print out feature and plugin count at the end when printing out
3743 2005-10-04 Michael Smith <msmith@fluendo.com>
3745 * gst/gsterror.c: (_gst_stream_errors_init):
3746 Add another error string used in a few existing plugins.
3749 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3750 * tools/gst-inspect.c: (print_element_info):
3751 When a feature disappears from a plugin (and the feature exists in
3752 the cached registry file), things went horribly wrong. This isn't a
3753 complete fix, we should actually be removing the 'missing' features
3754 from the features list when we load the actual plugin. That's not
3757 2005-10-04 Johan Dahlin <johan@gnome.org>
3759 * check/gst/gstiterator.c: (GST_START_TEST):
3760 * gst/gstbin.c: (gst_bin_iterate_elements),
3761 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3762 * gst/gstelement.c: (gst_element_iterate_pads):
3763 * gst/gstformat.c: (gst_format_iterate_definitions):
3764 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3765 (gst_iterator_new_list), (gst_iterator_filter):
3766 * gst/gstiterator.h:
3767 * gst/gstquery.c: (gst_query_type_iterate_definitions):
3768 Add a GType to GstIterator, update callsites and tests.
3770 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3772 * gst/gstpad.c: (gst_pad_event_default_dispatch):
3773 give events a chance to be handled by event probes when the pad
3776 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3778 * gst/gstevent.c: (gst_event_type_get_name),
3779 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3781 add string representations for event types
3783 2005-10-06 Wim Taymans <wim@fluendo.com>
3785 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3786 Don't use NULL pointers.
3788 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3790 * gst/gst_private.h:
3794 * gst/gstpluginfeature.c:
3795 widen the debug category in output to fit the biggest one we have
3796 add a bus category and use it
3797 play with the colors
3798 fix up some categories
3800 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3802 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3803 add push activation of sink ghost pads.
3804 Andye, please verify
3806 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3808 * gst/gstutils.c: (gst_element_link_pads):
3809 fix a bug in the case where neither element has a pad
3810 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3811 add a test for that case
3813 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3815 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3816 emit have-data before checking for peers. This allows
3817 for probe handlers to connect elements. This helps autopluggers.
3818 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3820 add six checks, linked/unlinked with no/true/false probe
3822 2005-10-04 Wim Taymans <wim@fluendo.com>
3824 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3825 (gst_fake_sink_event), (gst_fake_sink_preroll),
3826 (gst_fake_sink_render), (gst_fake_sink_change_state):
3827 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3828 (gst_fake_src_get_property), (gst_fake_src_create),
3829 (gst_fake_src_stop):
3830 * gst/elements/gstidentity.c: (gst_identity_stop):
3831 Protect last_message with lock.
3833 2005-10-04 Edward Hervey <edward@fluendo.com>
3836 Added precision in the comments for GST_FORMAT_DEFAULT
3838 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
3840 * tools/gst-launch.c: (main):
3841 Don't try to run erroneous pipelines.
3843 2005-10-04 Julien MOUTTE <julien@moutte.net>
3845 * gst/gstbus.c: We don't need this header.
3847 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3852 === release 0.9.3 ===
3854 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3858 Releasing 0.9.3, "Unregistered"
3860 2005-10-03 Andy Wingo <wingo@pobox.com>
3862 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3863 whereby calling a pad's activatepush() function can start a thread
3864 that starts to push or pull before the pad gets the FLUSHING flag
3865 unset. Hack around it by holding the stream lock until the flag is
3866 set. Need to replace this with a proper solution. Together with
3867 the ghost pad fixes, this fixes mp3 playing/tagreading.
3869 * docs/design/part-gstghostpad.txt: Add a note about activation of
3870 proxy pads outside of ghost pads.
3872 * gst/gstghostpad.c: Implement the ghost pad activation design.
3874 2005-10-02 Andy Wingo <wingo@pobox.com>
3876 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3877 It is volatile, after all.
3879 * docs/design/part-gstghostpad.txt: Flesh out activation with
3882 * gst/base/gstbasesrc.c (gst_base_src_init): Use
3885 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
3888 Fix (unused) AM_CONDITIONAL tests.
3890 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
3892 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3894 * gst/gstutils.c: (gst_pad_query_convert):
3895 Add assertion that makes sure src_val is >=0, just like
3896 gst_query_new_convert() has. (#315895)
3898 2005-09-30 Edward Hervey <edward@fluendo.com>
3900 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3901 Let's not iterate pads we're not interested in, it avoids getting
3902 sky-high refcounts on sinkpad.
3904 2005-09-30 Wim Taymans <wim@fluendo.com>
3906 * gst/gstelement.c: (gst_element_set_state),
3907 (gst_element_change_state):
3908 Small tweak, element in ASYNC remains ASYNC.
3910 2005-09-30 Wim Taymans <wim@fluendo.com>
3912 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3913 Only error is an error.
3915 * gst/gstbin.c: (gst_bin_change_state):
3918 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3919 Also call pad_block in pad alloc.
3921 * gst/gstutils.c: (gst_flow_get_name):
3924 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3926 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3927 (gst_base_src_get_range):
3928 Fix documentation typos. Add some more debug info.
3930 2005-09-29 David Schleef <ds@schleef.org>
3932 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3933 more end-user friendly.
3934 * tools/gst-inspect.c: (main): Check if command-line argument is
3935 a file and attempt to load that file as a plugin.
3937 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3939 * check/gst/gstbin.c:
3940 * check/states/sinks.c:
3941 fix tests for the new warning
3942 * check/gst/gstpipeline.c:
3943 add a test for pipeline and bus interaction
3945 elements should be NULL if they get disposed; add a warning if not
3947 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3950 for 2.6 refcounting, make debug log more correct by printing
3951 the actual refcounts at the time of swap (Wim)
3953 2005-09-29 Andy Wingo <wingo@pobox.com>
3955 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3956 removes signal watches previously added via
3957 gst_bus_add_signal_watch.
3958 (gst_bus_add_signal_watch): Don't return the source id, just store
3959 it on the bus if there wasn't an id already.
3961 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3962 add_signal_watch and remove_signal_watch.
3964 2005-09-29 Edward Hervey <edward@fluendo.com>
3966 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3967 Better if we actually iterate the list :)
3969 2005-09-29 Wim Taymans <wim@fluendo.com>
3971 * check/gst/gstbin.c: (GST_START_TEST):
3972 Change for new bus API.
3974 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3975 (send_messages), (GST_START_TEST), (gstbus_suite):
3976 Change for new bus signal API.
3978 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3979 (gst_bus_source_prepare), (gst_bus_source_check),
3980 (gst_bus_create_watch), (gst_bus_add_watch_full),
3981 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3982 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3984 Remove support for multiple GSources operating on different
3985 message types as it is too complex and unneeded when using
3987 Added support for receiving signals from the bus.
3989 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3991 * docs/libs/tmpl/gstdataprotocol.sgml:
3992 * docs/manual/advanced-dataaccess.xml:
3993 * gst/elements/gstcapsfilter.c:
3995 rename filter-caps to caps property
3997 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3999 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4000 More robust fraction string parsing.
4002 * docs/pwg/appendix-porting.xml:
4003 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4005 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4007 * gst/gstcaps.c: (gst_caps_do_simplify):
4008 Thou shalt not free a structure and then continue using it
4009 in the next loop iteration.
4011 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4013 Add test case for caps simplification.
4015 2005-09-29 Wim Taymans <wim@fluendo.com>
4017 * check/gst/gstbin.c: (GST_START_TEST):
4020 2005-09-29 Wim Taymans <wim@fluendo.com>
4022 * check/gst/gstbin.c: (GST_START_TEST):
4025 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4026 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4027 (find_element), (gst_bin_sort_iterator_next),
4028 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4029 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4030 (gst_bin_change_state), (gst_bin_dispose):
4031 A bin does not have a bus, it gets the bus from the parent.
4033 * gst/gstelement.c: (gst_element_requires_clock),
4034 (gst_element_provides_clock), (gst_element_is_indexable),
4035 (gst_element_is_locked_state), (gst_element_change_state),
4036 (gst_element_set_bus_func):
4039 * gst/gstpipeline.c: (gst_pipeline_class_init),
4040 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4041 The pipeline provides a bus.
4043 2005-09-28 Johan Dahlin <johan@gnome.org>
4045 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4046 gst_structure_get_enum instead of gst_structure_get_int
4048 * gst/gststructure.c (gst_structure_get_enum): Impl.
4050 * gst/gststructure.h (gst_structure_get_enum): Add
4052 * docs/gst/gstreamer-sections.txt: Ditto
4054 * gst/gstmessage.c (gst_message_new_state_changed): Use
4055 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4056 which does introspection.
4057 Reviewed by Christian Schaller
4059 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4061 * gst/gstinfo.c: (gst_debug_log_default):
4062 don't do dummy g_strdup()s
4063 * libs/gst/controller/gstcontroller.c:
4064 (on_object_controlled_property_changed),
4065 (gst_controlled_property_new), (gst_controller_new_valist),
4066 (gst_controller_new_list),
4067 (gst_controller_remove_properties_valist), (gst_controller_set),
4068 (gst_controller_get), (gst_controller_sync_values),
4069 (gst_controller_get_value_array), (_gst_controller_class_init),
4070 (gst_controller_get_type):
4071 * libs/gst/controller/gstcontroller.h:
4072 * libs/gst/controller/gstinterpolation.c:
4073 (gst_controlled_property_find_timed_value_node):
4074 convert // to /**/ comments
4076 2005-09-28 Wim Taymans <wim@fluendo.com>
4078 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4079 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4080 (gst_bus_sync_signal_handler):
4082 Added async-message and sync-message signals to the bus.
4083 Added helper BusFunc to emit signals for all posted messages.
4085 * gst/gstmessage.c: (gst_message_type_get_name),
4086 (gst_message_type_to_quark), (gst_message_get_type):
4088 Register quarks for message names.
4090 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4092 * docs/libs/gstreamer-libs-sections.txt:
4093 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4094 (gst_controller_new_list):
4095 * libs/gst/controller/gstcontroller.h:
4096 added another constructor for language bindings
4098 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4100 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4104 * gst/gstinfo.c: (_gst_debug_init):
4105 slightly more readable color for refcount debugging
4107 2005-09-28 Wim Taymans <wim@fluendo.com>
4109 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4110 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4111 (find_element), (gst_bin_sort_iterator_next),
4112 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4113 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4114 (gst_bin_change_state), (gst_bin_dispose):
4115 Small doc fixes. get_clock -> provide_clock.
4117 * gst/gstelement.c: (gst_element_class_init),
4118 (gst_element_provides_clock), (gst_element_provide_clock),
4119 (gst_element_get_clock), (gst_element_commit_state),
4120 (gst_element_lost_state):
4122 Make get/set_clock() symetric. Add provide_clock vmethod since
4123 that is actually what this function does.
4125 * gst/gstpipeline.c: (gst_pipeline_class_init),
4126 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4127 (gst_pipeline_get_clock):
4128 get_clock -> provide_clock.
4130 2005-09-28 Andy Wingo <wingo@pobox.com>
4132 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4133 lieu of real docs...
4135 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4137 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4139 * gst/elements/gstcapsfilter.c:
4140 * gst/elements/gstfakesink.c:
4141 * gst/elements/gstfakesrc.c:
4142 * gst/elements/gstfdsink.c:
4143 * gst/elements/gstfdsrc.c:
4144 * gst/elements/gstfilesink.c:
4145 * gst/elements/gstfilesrc.c:
4146 * gst/elements/gstidentity.c:
4147 * gst/elements/gsttee.c:
4148 * gst/elements/gsttypefindelement.c:
4149 Make element details static.
4151 2005-09-28 Wim Taymans <wim@fluendo.com>
4153 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4154 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4155 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4156 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4157 (gst_bin_change_state), (gst_bin_dispose):
4158 Some documentation updates.
4159 Clean up dispose handlers.
4161 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4162 * gst/gstpad.c: (gst_pad_dispose):
4163 Clean up dispose handler.
4165 * gst/gstpipeline.c: (gst_pipeline_change_state):
4166 Removed spurious UNLOCK.
4168 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4170 * docs/gst/gstreamer-sections.txt:
4171 * gst/base/gstbasesrc.h:
4176 * gst/gstpipeline.c:
4177 * gst/gstpipeline.h:
4180 added two new functions to the docs
4181 documents all undocumented GstXXXFlags
4182 completed some incomplete docs
4184 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4186 * gst/gstbin.c: (gst_bin_dispose):
4187 * gst/gstelement.c: (gst_element_dispose):
4188 remove now useless and leaky resurrection code in dispose
4189 * gst/base/gstbasesrc.c: (gst_base_src_init):
4190 * gst/gstelementfactory.c: (gst_element_factory_create):
4191 * gst/gstobject.c: (gst_object_set_parent):
4194 2005-09-27 Wim Taymans <wim@fluendo.com>
4196 * docs/design/part-TODO.txt:
4199 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4200 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4201 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4202 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4203 (gst_bin_change_state):
4205 Remove element variable, we keep element info in the iterator now.
4207 2005-09-27 Andy Wingo <wingo@pobox.com>
4209 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4212 2005-09-27 Wim Taymans <wim@fluendo.com>
4214 * check/gst/gstbin.c: (GST_START_TEST):
4215 Enable check that works now.
4217 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4218 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4219 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4220 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4221 (gst_bin_change_state):
4223 Redid the state change algorithm using a topological sort algo.
4224 Handles all cases correctly.
4225 Exposed iterator for state change order.
4228 Temp storage for state changes. Need to get rid of this soon.
4230 2005-09-27 Wim Taymans <wim@fluendo.com>
4232 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4233 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4234 (link_fold_func), (gst_pad_proxy_setcaps):
4235 Leak fixes, the fold functions need to unref the passed object and
4236 _get_parent_*() returns ref to parent.
4238 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4240 * check/gst/gstbuffer.c: (test_make_writable):
4241 Plug leak in test case and fix 'make check-valgrind'
4243 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4245 * gst/gstbuffer.c: (gst_subbuffer_init):
4246 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4247 works correctly in all circumstances (we could have just copied
4248 the parent buffer's readonly flag, but conceptually it seems
4249 cleaner to mark all subbuffers as read-only). (based on patch
4250 by Alessandro Decina, #314710).
4252 * check/gst/gstbuffer.c: (create_read_only_buffer),
4253 (test_make_writable), (test_subbuffer_make_writable),
4255 Add some tests for gst_buffer_make_writable().
4257 2005-09-27 Wim Taymans <wim@fluendo.com>
4259 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4260 use gst_object_has_ancestor().
4262 * gst/gstobject.c: (gst_object_has_ancestor):
4264 gst_object_has_ancestor() copied from gstbin.c as it is a
4267 * tests/instantiate/create.c: (create_all_elements):
4268 * tests/lat.c: (handoff_src), (handoff_sink):
4269 * tests/sched/runxml.c: (main):
4270 * tests/seeking/seeking1.c: (main):
4271 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4273 Fix compilation of some tests.
4275 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4278 Remove comment. GST_TYPE_G_ERROR is here to stay,
4279 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4282 2005-09-26 Wim Taymans <wim@fluendo.com>
4284 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4285 Added check that shows error in state change order.
4287 2005-09-26 Wim Taymans <wim@fluendo.com>
4289 * gst/gstbin.c: (gst_bin_change_state):
4290 Make state change function use 3 queues again, we were
4291 adding elements in the wrong order.
4293 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4296 * gst/gstpad.c: (gst_pad_dispose):
4297 Added some debug info first.
4299 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4301 * docs/design/draft-push-pull.txt:
4302 * docs/design/part-events.txt:
4303 * docs/design/part-overview.txt:
4304 * docs/design/part-scheduling.txt:
4305 Replace all _pull_region() with _pull_range()
4307 2005-09-26 Andy Wingo <wingo@pobox.com>
4309 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4311 * check/gst-libs/controller.c: Update for controller api change.
4314 * tests/Makefile.am:
4315 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4316 over by GLib bug 118439.
4318 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4319 routines to a function.
4321 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4323 * libs/gst/controller/gsthelper.c:
4324 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4325 (gst_object_sync_values): Renamed from sink_values. Ugh.
4327 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4329 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4330 Renamed from controller_key, as it is exported.
4332 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4334 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4339 * gst/gstpadtemplate.h:
4342 * gst/gstqueryutils.c:
4343 * gst/gstqueryutils.h:
4344 remove queryutils headers after moving the two used functions
4345 to gstquery. also fixes build problem for gstsiddec
4347 2005-09-26 Michael Smith <msmith@fluendo.com>
4349 * tools/gst-launch.1.in:
4350 Correct documentation in manpage of debug syntax
4352 2005-09-26 Wim Taymans <wim@fluendo.com>
4354 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4355 (gst_base_src_is_seekable), (gst_base_src_change_state):
4356 Some more debugging info.
4358 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4360 * docs/gst/gstreamer-sections.txt:
4361 * gst/base/gstbasetransform.h:
4365 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4367 * docs/gst/.cvsignore:
4368 * docs/gst/tmpl/.cvsignore:
4369 * docs/gst/tmpl/gstpipeline.sgml:
4370 * docs/gst/tmpl/gstplugin.sgml:
4371 * gst/gstpipeline.c:
4374 inlined the last two docs files
4375 removed the tmpl directory from cvs (no more conflicts here!)
4377 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4379 * docs/gst/gstreamer-sections.txt:
4380 * docs/gst/tmpl/.cvsignore:
4381 * docs/gst/tmpl/gstpad.sgml:
4382 * docs/gst/tmpl/gstpadtemplate.sgml:
4384 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4385 (gst_pad_finalize), (gst_pad_set_pad_template):
4387 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4388 (gst_pad_template_class_init), (gst_pad_template_init),
4389 (gst_pad_template_dispose), (name_is_valid),
4390 (gst_static_pad_template_get), (gst_pad_template_new),
4391 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4392 (gst_pad_template_pad_created):
4393 * gst/gstpadtemplate.h:
4394 inlined two more docs
4395 factored gstpadtemplate out of gstpad
4397 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4399 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4400 (test_children_state_change_order_semi_sink):
4401 Fix test case: we can't rely on a fixed state change order when
4402 going from READY => PAUSED because the sink might commit its
4403 new state first when the first buffer created by the source
4404 reaches the sink before the source has finished its change state.
4405 (Test case still fails at times, see #316856, comment 5 onwards)
4407 2005-09-24 Wim Taymans <wim@fluendo.com>
4409 * docs/design/part-events.txt:
4410 * docs/design/part-gstbus.txt:
4411 * docs/design/part-gstpipeline.txt:
4412 * docs/design/part-messages.txt:
4413 * docs/design/part-overview.txt:
4414 * docs/design/part-segments.txt:
4421 * gst/gstiterator.c:
4422 Various documentation updates.
4424 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4427 Well, that's embarassing. Luckily we weren't using
4428 GST_CLOCK_DIFF anywhere.
4430 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4432 * common/gtk-doc.mak:
4433 don't fail on building XML, FC4 slave shows a bunch of doc
4434 missing bits that I don't get
4436 * gst/gstpipeline.c:
4437 * gst/gststructure.c:
4440 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4442 * docs/design/part-gstbin.txt:
4443 * docs/design/part-gstbus.txt:
4445 Add blurb about how the bus goes into flushing mode and
4446 drops all messages when its bin goes from READY into NULL
4449 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4451 * docs/gst/gstreamer-sections.txt:
4452 * gst/gststructure.c: (gst_structure_get_clock_time):
4453 * gst/gststructure.h:
4454 add a method to get a GstClockTime out of a structure
4456 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4458 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4459 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4460 Added test to check state change order in bins (can still be made
4461 to fail here under heavy disk load; bails out with 'Push on pad
4462 fakesink:sink0, but it was not activated in push mode').
4464 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4465 Fix state change order when there is only a semi sink (#316856)
4467 * gst/gstbus.c: (gst_bus_class_init):
4468 Use _class_peek_parent(), not _class_ref(); fix docs to say
4469 'default main context' instead of 'mainloop' where that is
4472 * gst/gstelement.c: (gst_element_commit_state),
4473 (gst_element_set_state):
4474 Fix typos in debug messages
4476 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4479 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4480 * gst/gstpluginfeature.c:
4483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4484 change an assert into an error until it gets fixed properly
4486 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4488 * docs/gst/gstreamer-sections.txt:
4489 * docs/gst/tmpl/.cvsignore:
4490 * docs/gst/tmpl/gstelement.sgml:
4491 * docs/gst/tmpl/gstinfo.sgml:
4492 * docs/gst/tmpl/gstobject.sgml:
4497 * gst/gstobject.c: (gst_object_class_init):
4499 inlined 3 more biiiig doc files and added some missing docs on the fly
4501 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4503 * check/gst/.cvsignore:
4504 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4505 * gst/gstregistryxml.c: (load_plugin),
4506 (gst_registry_xml_save_plugin):
4507 put back source in registry. add checks for find_plugin.
4508 * testsuite/states/bin.c: (assert_state), (empty_bin),
4509 (test_adding_one_element), (main):
4510 * testsuite/states/locked.c: (main):
4511 some compile/run fixes
4513 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4515 * check/gst/gstvalue.c: (GST_START_TEST):
4516 fix leaks in the test itself
4518 2005-09-22 Wim Taymans <wim@fluendo.com>
4520 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4521 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4522 (gst_base_sink_query):
4523 Prepare for more accurate position reporting and query
4526 * gst/gstelement.c: (gst_element_send_event),
4527 (gst_element_set_state):
4530 2005-09-22 Wim Taymans <wim@fluendo.com>
4532 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4533 (gst_query_parse_segment):
4536 Add segment query for future use.
4538 2005-09-22 Wim Taymans <wim@fluendo.com>
4540 * gst/gstbin.c: (gst_bin_add_func):
4541 Some more debug info.
4543 * gst/gstelement.c: (gst_element_send_event):
4547 Don't know how flags got broken.
4552 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4554 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4555 Add simplistic test suite for GST_TYPE_DATE serialisation and
4558 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4560 * docs/gst/gstreamer-sections.txt:
4561 * gst/gststructure.c: (gst_structure_set_valist),
4562 (gst_structure_get_date):
4563 * gst/gststructure.h:
4564 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4565 (gst_date_copy), (gst_value_compare_date),
4566 (gst_value_serialize_date), (gst_value_deserialize_date),
4567 (gst_value_transform_date_string),
4568 (gst_value_transform_string_date), (_gst_value_initialize):
4570 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4571 bunch of utility functions along with a hack that checks that
4572 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4573 is required. Part of the grand scheme in #170777.
4575 2005-09-22 Andy Wingo <wingo@pobox.com>
4577 * gst/gstconfig.h.in: Psych out gtk-doc.
4579 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4581 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4583 * tools/gst-inspect.c (print_element_list): Plug some
4584 inconsequential leaks.
4586 * gst/gstregistry.c (gst_registry_get_default): Doc.
4588 * check/gst/gstplugin.c:
4589 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4590 * gst/gstelementfactory.c (gst_element_factory_create):
4591 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4594 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4595 (gst_plugin_feature_load): Doc, don't eat refs.
4597 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4598 (gst_plugin_list_free): Doc.
4599 (gst_plugin_load_file): Doc updates.
4601 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4602 accessors returning refcounted objects, return a ref.
4604 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4605 accessor for caps. IDEMPOTENCE. Oh yes.
4607 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4609 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4611 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4612 (_gst_debug_register_funcptr):
4613 Add mutex to serialise access to the hash table with
4614 the function pointer => function name string mapping;
4615 make that hash table static scope (#316809).
4617 * gst/registries/.cvsignore:
4618 Remove left-over file.
4620 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4622 * docs/pwg/appendix-porting.xml:
4623 And something about newsegment events and caps-on-buffers to
4624 the porting guide (feel free to improve).
4626 2005-09-21 Andy Wingo <wingo@pobox.com>
4628 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4629 data and event probes on the same pad.
4630 (test_buffer_probe_once): Test that removing probes from within
4631 the probe functions works.
4633 2005-09-21 Andy Wingo <wingo@pobox.com>
4635 * check/gst/gstutils.c: New file.
4636 (test_buffer_probe_n_times): A simple buffer probe test. More to
4639 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4640 have-data::buffer, not have-data.
4641 (gst_pad_add_event_probe): Likewise for have-data::event.
4642 (gst_pad_add_data_probe): More docs. The part about 'resolving the
4643 peer' isn't quite right yet though.
4644 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
4645 (gst_pad_remove_data_probe): Change to take the guint handler_id
4646 as their arg, not the function+data, which is more glib-like.
4648 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4649 the signal emission to indicate if the data is a buffer or an
4651 (gst_pad_get_type): Initialize buffer and event quarks.
4652 (gst_pad_class_init): have-data is now a detailed signal, yes it
4655 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4657 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4658 * gst/gstutils.c: (gst_util_set_value_from_string),
4659 (gst_util_set_object_arg):
4660 Don't put functional code in g_return_if_fail() or
4661 g_return_val_if_fail() statements, otherwise things will
4662 break when G_DISABLE_CHECKS is defined during compilation.
4664 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4666 * docs/gst/tmpl/.cvsignore:
4667 * docs/gst/tmpl/gstvalue.sgml:
4670 inlied another one and added some obvious docs
4672 2005-09-21 Wim Taymans <wim@fluendo.com>
4674 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4675 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4676 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4677 (gst_fdsrc_get_property), (gst_fdsrc_create):
4678 * gst/elements/gstfdsrc.h:
4679 Properly implement fdsrc. Removed signal and timeout,
4680 better implemented somewhere else.
4682 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4684 * docs/gst/tmpl/.cvsignore:
4685 * docs/gst/tmpl/gstimplementsinterface.sgml:
4686 * gst/gstinterface.c:
4689 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4691 * docs/gst/gstreamer-sections.txt:
4692 * docs/gst/tmpl/.cvsignore:
4693 * docs/gst/tmpl/gstenumtypes.sgml:
4694 remove obsolete doc file
4696 2005-09-21 David Schleef <ds@schleef.org>
4698 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4699 little beer, fix a little leak.
4701 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4703 * docs/gst/gstreamer-docs.sgml:
4704 * docs/gst/gstreamer-sections.txt:
4705 * docs/gst/tmpl/.cvsignore:
4710 * gst/gstindex.c: (gst_index_class_init):
4712 * gst/gstindexfactory.c: (gst_index_factory_get_type),
4713 (gst_index_factory_class_init), (gst_index_factory_init),
4714 (gst_index_factory_finalize), (gst_index_factory_new),
4715 (gst_index_factory_destroy), (gst_index_factory_find),
4716 (gst_index_factory_create), (gst_index_factory_make):
4717 * gst/gstindexfactory.h:
4718 * gst/gstpluginfeature.c:
4719 * gst/gstpluginfeature.h:
4720 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4721 more docs inlined, splitted gstindex.{c,h}
4723 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4725 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4728 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4730 * gst/elements/gstfilesink.c: (gst_file_sink_init):
4731 Set sync to FALSE by default.
4733 2005-09-20 Wim Taymans <wim@fluendo.com>
4735 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4736 (gst_base_sink_init):
4737 Make sync property settable from subclass.
4739 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4740 (gst_fake_sink_change_state):
4741 Set sync to FALSE by default.
4743 2005-09-20 Wim Taymans <wim@fluendo.com>
4745 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4746 * tools/gst-launch.c: (main):
4747 The timeout handler should have lower priority than the source
4748 so we don't timeout before popping a message with 0 timeout.
4749 Dump error messages after failed state change.
4751 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4753 * tools/gst-inspect.c: (print_element_properties_info):
4756 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4758 * check/gst/gstevent.c:
4759 * gst/elements/gstfakesink.c:
4760 * gst/elements/gstfakesink.h:
4761 remove the sync property from fakesink.
4762 has the side effect of setting sync TRUE
4763 for fakesink, which is a change. Anyone who knows how
4764 to fix this nicely in a GObject-y way, feel free.
4766 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4768 * docs/gst/gstreamer-docs.sgml:
4769 remove probe refsection
4771 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4773 * check/Makefile.am:
4774 disable valgrinding the controller test again
4775 * docs/gst/gstreamer-sections.txt:
4776 update for api-changes
4778 2005-09-20 Wim Taymans <wim@fluendo.com>
4780 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4781 (gst_base_sink_set_property), (gst_base_sink_get_property),
4782 (gst_base_sink_do_sync):
4783 * gst/base/gstbasesink.h:
4784 Added sync property to basesink to disable clock sync.
4786 2005-09-20 Andy Wingo <wingo@pobox.com>
4788 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4789 eating the caller's refcount.
4791 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
4792 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4795 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4796 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4797 of GLib 2.8 public, so we can know which refcount to check in
4800 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4801 (gst_object_init): Only set the gst refcount if we're going ahead
4802 with the refcount hack.
4804 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4806 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4807 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4808 more leaks plumbed, added more debug-logging
4812 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4815 remove include of gstmemchunk.h
4817 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4819 * gst/gstclock.c: (_gst_clock_id_free):
4820 Commit from the Political Party For More Atomic CVS Commits,
4821 so that people don't waste too much of their day fishing
4822 out obvious leaks out of massive commits.
4823 Oh, and fix a pretty damn obvious leak in the memchunk
4826 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4828 * check/Makefile.am:
4829 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4830 plug mem-leak, re-add to valgrindable tests
4832 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4835 unbreak the build for those who have chronic arthritis
4836 and typing "make check" is just too taxing on the hands
4838 2005-09-20 Andy Wingo <wingo@pobox.com>
4840 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4841 really want it out, you should fix plugins at the same time.
4843 2005-09-19 Stefan Kost <ensonic@users.sf.net>
4846 * docs/gst/gstreamer-sections.txt:
4848 added missing symbols to api docs
4849 disable ref-count hack if we have glib >= 2.8
4851 2005-09-19 David Schleef <ds@schleef.org>
4853 * docs/gst/Makefile.am: Ignore a few more internal headers
4854 * docs/gst/gstreamer-docs.sgml: Remove old sections
4855 * docs/gst/gstreamer-sections.txt: Remove old sections
4856 * docs/gst/tmpl/gstobject.sgml: update
4857 * docs/gst/tmpl/gstplugin.sgml: update
4858 * docs/gst/tmpl/gstpluginfeature.sgml: update
4859 * docs/random/ds/0.9-suggested-changes: update.
4860 * gst/Makefile.am: remove memchunk and trashstack, since they're
4862 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4863 * gst/gst.h: don't include some headers
4864 * gst/gstchildproxy.c: add gstmarshal.h
4865 * gst/gstclock.c: Don't use memchunks
4866 * gst/gstminiobject.c: Add some docs
4867 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4868 * gst/gstobject.h: same
4869 * gst/gstplugin.c: include gstmacros.h
4870 * gst/gstplugin.h: don't include gstmacros.h, since it's private
4871 * gst/gstquery.c: don't use memchunks
4872 * gst/gstregistry.c: rename gst_registry_deinit()
4873 * gst/gstregistry.h: same
4875 2005-09-19 David Schleef <ds@schleef.org>
4877 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4878 * docs/libs/gstreamer-libs-sections.txt:
4879 * docs/libs/tmpl/gstgetbits.sgml:
4880 * docs/libs/tmpl/gstputbits.sgml:
4882 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
4884 * win32/gstenumtypes.c:
4885 * win32/gstenumtypes.h:
4888 2005-09-19 Wim Taymans <wim@fluendo.com>
4890 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4891 Automatically PAUSE and RESUME a pipeline when a flushing seek
4894 2005-09-19 Andy Wingo <wingo@pobox.com>
4896 * gst/gstregistry.h: Spacing fixen.
4898 2005-09-19 Wim Taymans <wim@fluendo.com>
4900 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4901 Handle state change failure more correctly.
4903 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4905 * check/Makefile.am:
4906 * check/pipelines/cleanup.c: (run_pipeline):
4907 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4909 enable cleanup again after fixing the leak
4911 some more info on docs
4913 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4915 * check/Makefile.am:
4916 re-enable tests now that leaks are plugged
4918 * check/gst/gstbin.c:
4919 * check/gst/gstpipeline.c:
4920 add some more tests while fixing leaks
4922 make sure binaries are uptodate when valgrinding/gdbing
4924 * gst/gstelementfactory.c:
4925 remove a ref too many, and add a FIXME for when we get
4926 round to disposing of classes
4928 fix the refcounting when loading a plugin from a file and
4929 the code pretends that the pointer is the same even though
4930 of course it can change
4931 * gst/gstpluginfeature.c:
4932 unref plugins marked cached (a bit confusing as a name)
4933 as the docs state should be done
4934 various doc additions to explain refcounting
4935 * gst/gstregistry.c:
4936 * gst/gstregistryxml.c:
4939 2005-09-19 Wim Taymans <wim@fluendo.com>
4941 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4942 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4943 (send_messages), (GST_START_TEST), (gstbus_suite):
4944 * check/gst/gstpipeline.c: (GST_START_TEST):
4945 * check/pipelines/cleanup.c: (run_pipeline):
4946 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4948 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4949 (gst_bus_source_check), (gst_bus_source_dispatch),
4950 (gst_bus_create_watch), (gst_bus_add_watch_full),
4951 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4953 * tools/gst-launch.c: (event_loop):
4954 * tools/gst-md5sum.c: (event_loop):
4955 GstBusHandler -> GstBusFunc, return value has the same meaning as
4956 any other GSource (FALSE == remove source).
4957 _add_watch() and _add_watch_full() now take a MessageType mask to
4958 only handle specific types of messages.
4959 _poll() returns the GstMessage instead of the message type to avoid
4961 _have_pending() takes a MessageType mask now too.
4962 Added testsuite for multiple bus watches.
4963 Fix testsuites and applications for new bus API.
4965 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4967 * check/Makefile.am:
4968 mark a bunch of the tests as to fix until we fix them
4970 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4973 use GST_PLUGIN settings for valgrind tests as well, so we're
4974 valgrinding the correct thing
4975 * gst/gst.c: (init_post):
4978 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4980 * gst/gst.c: (init_post), (gst_deinit):
4981 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4982 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4983 * gst/gstindex.c: (gst_index_factory_class_init),
4984 (gst_index_factory_finalize):
4985 * gst/gstobject.c: (gst_object_dispose):
4986 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4987 (gst_plugin_load_file), (gst_plugin_desc_free):
4988 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4989 (gst_plugin_feature_finalize):
4990 * gst/gstregistry.c: (gst_registry_class_init),
4991 (gst_registry_init), (gst_registry_finalize),
4992 (gst_registry_get_default), (gst_registry_deinit):
4993 * gst/gstregistry.h:
4994 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4995 various cleanups and memleak plugging. make valgrind is happy now.
4997 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5000 add a check-valgrind target
5002 2005-09-18 David Schleef <ds@schleef.org>
5004 * tools/gst-inspect.c: Revert the GOption code.
5006 2005-09-17 David Schleef <ds@schleef.org>
5008 * check/Makefile.am: Fix environment variables.
5009 * check/gst/gstplugin.c: Fix for API changes.
5010 * tools/gst-inspect.c: Fix for API changes.
5011 * tools/gst-xmlinspect.c: Fix for API changes.
5012 * gst/gstelementfactory.c:
5015 * gst/gstpluginfeature.c:
5016 * gst/gstpluginfeature.h:
5017 * gst/gstregistry.c:
5018 * gst/gstregistry.h:
5019 * gst/gstregistryxml.c:
5020 * gst/gsttypefind.c:
5021 * gst/gsttypefindfactory.c:
5022 * gst/indexers/gstfileindex.c:
5023 * gst/indexers/gstmemindex.c:
5024 * gst/schedulers/Makefile.am:
5025 Change registry to keep track of both plugins and features,
5026 removing the feature tracking from plugins themselves.
5028 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5030 * check/Makefile.am:
5031 * tools/gst-register.1.in:
5034 2005-09-15 David Schleef <ds@schleef.org>
5036 * check/gst/gstplugin.c:
5037 * gst/gstelementfactory.c:
5039 * gst/gstpluginfeature.c:
5040 * gst/gstregistry.c:
5041 Getting tired of debugging. Disabled all the unreffing of
5042 plugins and features, which fixes the segfaults, but of
5043 course leaks like crazy. At least playbin works.
5045 2005-09-15 David Schleef <ds@schleef.org>
5047 * check/gst/gstplugin.c: (register_check_elements),
5048 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5050 * gst/elements/gsttypefindelement.c: Fix refcounting.
5051 * gst/gsttypefind.c:
5052 * gst/gsttypefindfactory.c:
5053 * gst/gsttypefindfactory.h:
5055 2005-09-15 David Schleef <ds@schleef.org>
5057 * gst/gstindex.c: get refcounting correct.
5058 * gst/gstregistry.c: Handle the case where a feature/plugin is
5061 2005-09-15 David Schleef <ds@schleef.org>
5063 * check/Makefile.am:
5064 * check/gst/gstplugin.c: Add test
5065 * gst/gstplugin.c: Fix problems noticed by testsuite
5067 * gst/gstregistry.c:
5068 * gst/gstregistry.h:
5070 2005-09-15 David Schleef <ds@schleef.org>
5072 * gst/gstplugin.c: Implement semi-decent recounting and locking
5073 in plugins and plugin features.
5075 * gst/gstpluginfeature.c:
5076 * gst/gstpluginfeature.h:
5077 * gst/gstregistry.c:
5079 2005-09-15 Michael Smith <msmith@fluendo.com>
5081 * gst/gstregistry.c: (gst_registry_get_feature_list):
5082 Implement this. Makes oggdemux work; decodebin still broken.
5084 2005-09-14 David Schleef <ds@schleef.org>
5086 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5088 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5089 * gst/check/Makefile.am:
5090 * libs/gst/controller/Makefile.am:
5091 * libs/gst/dataprotocol/Makefile.am:
5093 2005-09-14 David Schleef <ds@schleef.org>
5095 * configure.ac: Remove getbits library. Nothing uses it, and
5096 it should be in something like liboil if someone did want
5098 * libs/gst/Makefile.am:
5099 * libs/gst/getbits/Makefile.am:
5100 * libs/gst/getbits/gbtest.c:
5101 * libs/gst/getbits/getbits.c:
5102 * libs/gst/getbits/getbits.h:
5103 * libs/gst/getbits/gstgetbits_generic.c:
5104 * libs/gst/getbits/gstgetbits_i386.s:
5105 * libs/gst/getbits/gstgetbits_inl.h:
5107 2005-09-14 David Schleef <ds@schleef.org>
5109 * gst/Makefile.am: Dist glib-compat.h
5111 2005-09-14 David Schleef <ds@schleef.org>
5113 * configure.ac: Remove gst/registries, since it's no longer used.
5114 * gst/registries/Makefile.am:
5115 * gst/registries/gstlibxmlregistry.c:
5116 * gst/registries/gstlibxmlregistry.h:
5117 * gst/registries/gstxmlregistry.c:
5118 * gst/registries/gstxmlregistry.h:
5119 * gst/registries/registrytest.c:
5121 2005-09-14 David Schleef <ds@schleef.org>
5123 * gst/glib-compat.h:
5124 * gst/gstregistryxml.c:
5125 Convergence is near. Seriously.
5127 2005-09-14 David Schleef <ds@schleef.org>
5129 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5130 * gst/glib-compat.h:
5131 Attempt #4 to appease the buildbots.
5133 2005-09-14 David Schleef <ds@schleef.org>
5135 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5138 2005-09-14 David Schleef <ds@schleef.org>
5140 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5143 2005-09-14 David Schleef <ds@schleef.org>
5145 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5148 2005-09-14 David Schleef <ds@schleef.org>
5150 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5151 * gst/glib-compat.h: Add some functions that are in newer versions
5152 of glib than we care to require.
5153 * gst/gstregistryxml.c: Use them.
5155 2005-09-14 David Schleef <ds@schleef.org>
5157 * po/POTFILES.in: remove gst-register.c
5159 2005-09-14 David Schleef <ds@schleef.org>
5161 * docs/gst/gstreamer-docs.sgml:
5162 * docs/gst/gstreamer-sections.txt:
5163 * docs/gst/gstreamer.types:
5164 * docs/gst/tmpl/gstelement.sgml:
5165 * docs/gst/tmpl/gstplugin.sgml:
5166 * docs/gst/tmpl/gstpluginfeature.sgml:
5167 Documentation updates for registry changes.
5169 2005-09-14 David Schleef <ds@schleef.org>
5171 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5172 because we don't require glib-2.8.
5174 2005-09-14 David Schleef <ds@schleef.org>
5176 * gst/gstregistryxml.c: Added. Essentially moved out of the
5177 registries directory.
5179 2005-09-14 David Schleef <ds@schleef.org>
5181 * check/Makefile.am:
5182 * check/generic/states.c:
5186 * gst/gst_private.h:
5187 * gst/gstelementfactory.c:
5192 * gst/gstpluginfeature.c:
5193 * gst/gstpluginfeature.h:
5194 * gst/gstregistry.c:
5195 * gst/gstregistry.h:
5196 * gst/gstregistrypool.c: remove
5197 * gst/gstregistrypool.h: remove
5198 * gst/gsttypefind.c:
5199 * gst/gsttypefindfactory.c:
5201 * tools/Makefile.am:
5202 * tools/gst-compprep.c:
5203 * tools/gst-inspect.c:
5204 * tools/gst-register.c: remove
5205 * tools/gst-xmlinspect.c:
5206 Registry rewrite. Changes registry from being a file created
5207 by a tool into a simple cache file created automatically by
5208 libgstreamer. Removed gst-register (because it's no longer
5209 needed). Remove registry pools, because we only have one
5210 registry implementation (XML). Fix up other subsystems as
5213 2005-09-13 Michael Smith <msmith@fluendo.com>
5215 * gst/gstconfig.h.in:
5216 Don't Use windows linking attributes for MinGW. Fixes #316157
5218 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5220 * gst/gstutils.c: (set_state_async_thread_func),
5221 (gst_element_set_state_async):
5222 Apparently people think it's better if this function doesn't
5223 try to set the state to whatever state was asked for on the first
5224 call to this function for any object. Seriously.
5226 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5228 * check/gst/gstpipeline.c: (GST_START_TEST):
5229 * docs/gst/gstreamer-sections.txt:
5230 * gst/gstutils.c: (set_state_async_thread_func),
5231 (gst_element_set_state_async):
5233 add a "gst_element_set_state_async" method that
5234 sets the state and starts a thread to make sure the state
5235 change completes as best as it can
5237 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5239 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5240 codify design+behaviour in testsuite after discussion
5242 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5244 * docs/gst/tmpl/gstelement.sgml:
5245 * docs/manual/appendix-quotes.xml:
5247 * gst/gstelement.c: (gst_element_set_state):
5250 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5252 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5253 (gst_base_transform_prepare_output_buf),
5254 (gst_base_transform_handle_buffer):
5255 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5256 (gst_capsfilter_prepare_buf):
5257 Remove the requirement for sub-classes to call the parent
5258 implementation of prepare_output_buffer with a wrapper function.
5261 * gst/gsttagsetter.h:
5264 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5266 * docs/gst/gstreamer-sections.txt:
5269 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5271 * docs/gst/gstreamer-sections.txt:
5272 * docs/gst/tmpl/gstelement.sgml:
5273 * docs/gst/tmpl/gstplugin.sgml:
5274 * gst/gstminiobject.c:
5276 docs now stop throwing warnings
5278 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5280 * docs/gst/gstreamer-sections.txt:
5281 * docs/gst/gstreamer.types:
5282 * docs/gst/tmpl/gstpad.sgml:
5283 * docs/gst/tmpl/gsttypes.sgml:
5284 * gst/base/gstadapter.h:
5285 * gst/base/gstbasesink.h:
5286 * gst/base/gstbasesrc.h:
5296 * gst/gststructure.c:
5297 * gst/registries/gstlibxmlregistry.h:
5298 various documentation fixes
5300 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5302 * docs/gst/gstreamer-sections.txt:
5303 * docs/gst/tmpl/gstvalue.sgml:
5304 rearrange gstvalue section
5305 * gst/gstutils.c: (gst_element_state_get_name):
5307 * gst/gstvalue.c: (_gst_value_initialize):
5311 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5313 * check/gst-libs/controller.c:
5315 * gst/base/gstbasetransform.c:
5316 (gst_base_transform_default_prepare_buf),
5317 (gst_base_transform_handle_buffer):
5318 * gst/base/gstbasetransform.h:
5319 Some more basetransform changes and fixes to enable sub-classes
5320 that modify buffer metadata only.
5321 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5322 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5323 (gst_capsfilter_prepare_buf):
5324 If the output pad has fixed allowed caps and input buffers
5325 don't have any, set the fixed caps on outgoing buffers.
5327 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5328 * check/elements/identity.c: (GST_START_TEST):
5329 Make the error a little clearer when the test fails because
5330 identity made a copy of the buffer.
5331 * docs/gst/gstreamer-sections.txt:
5332 New symbols in gstbasetransform.h
5333 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5334 (gst_base_transform_init), (gst_base_transform_transform_size),
5335 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5336 (gst_base_transform_default_prepare_buf),
5337 (gst_base_transform_get_unit_size),
5338 (gst_base_transform_buffer_alloc),
5339 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5340 (gst_base_transform_change_state),
5341 (gst_base_transform_set_passthrough),
5342 (gst_base_transform_set_in_place),
5343 (gst_base_transform_is_in_place):
5344 * gst/base/gstbasetransform.h:
5345 Change BaseTransform to separate in_place operate from same_caps
5346 output. in_place implies that the element can perform the transform
5347 on incoming buffers in-place, even if the caps on the output are
5349 Sub-class elements can now implement special buffer allocation
5350 methods for outgoing buffers if they wish to.
5351 Big documentation addition.
5352 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5353 * gst/elements/gstelements.c:
5354 Changes for basetransform modifications.
5355 * gst/elements/Makefile.am:
5356 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5357 Compile fix. Extra debug output.
5359 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5361 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5363 add tests for valid pad naming
5364 * gst/check/gstcheck.c: (gst_check_log_message_func),
5365 (gst_check_log_critical_func):
5367 remove printing of code, it is fragile when the code contains
5368 % and the line number is enough info
5369 * gst/check/gstcheck.h:
5370 * gst/gstpad.c: (gst_pad_template_new):
5373 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5376 say what CHECK flags we use
5377 * docs/libs/gstreamer-libs.types:
5378 * libs/gst/controller/Makefile.am:
5379 * libs/gst/controller/gst-controller.c:
5380 * libs/gst/controller/gst-controller.h:
5381 * libs/gst/controller/gst-helper.c:
5382 * libs/gst/controller/gst-interpolation.c:
5383 * libs/gst/controller/gstcontroller.c:
5384 * libs/gst/controller/gsthelper.c:
5385 * libs/gst/controller/gstinterpolation.c:
5386 * tools/gst-inspect.c: (print_plugin_info):
5387 we don't use dashes in header names
5389 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5391 * check/Makefile.am:
5392 * check/gst/.cvsignore:
5393 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5394 (gst_pipeline_suite), (main):
5395 adding a test for pipelines and state changes
5396 * gst/gstutils.c: (get_state_func):
5398 * gstreamer.spec.in:
5401 2005-09-08 Michael Smith <msmith@fluendo.com>
5403 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5404 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5405 (gst_file_src_is_seekable), (gst_file_src_get_size),
5406 (gst_file_src_start):
5407 * gst/elements/gstfilesrc.h:
5408 Various fixes for unseekable, unmmapable, and non-normal files, so
5409 that fallback to read() rather than mmap() works.
5410 * gst/gstevent.c: (gst_event_new_newsegment):
5411 Allow newsegment events with segment_start == segment_end, as will
5412 correctly happen if you use filesrc on a zero-size file, for
5415 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5417 * gst/gstplugin.c: (gst_plugin_load_file):
5418 Call g_module_close when we don't load the module
5420 * gst/registries/gstlibxmlregistry.c:
5421 (gst_xml_registry_get_property):
5422 Port leak fix from 0.8
5424 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5426 * docs/gst/gstreamer-docs.sgml:
5427 * docs/gst/tmpl/.cvsignore:
5428 * docs/gst/tmpl/gsttrace.sgml:
5429 * docs/gst/tmpl/gsttrashstack.sgml:
5438 * gst/gsttaginterface.c:
5439 * gst/gsttaginterface.h:
5442 * gst/gsttagsetter.c:
5443 * gst/gsttagsetter.h:
5446 * gst/gsttrashstack.c:
5447 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5448 inlined docs for gsttrace, gsttrashstack
5450 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5453 * gst/elements/gstbufferstore.h:
5454 * gst/elements/gsttypefindelement.c:
5455 * gst/elements/gsttypefindelement.h:
5457 * gst/gsttypefind.c:
5458 * gst/gsttypefind.h:
5459 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5460 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5461 (gst_type_find_factory_dispose),
5462 (gst_type_find_factory_unload_thyself),
5463 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5464 (gst_type_find_factory_get_caps),
5465 (gst_type_find_factory_get_extensions),
5466 (gst_type_find_factory_call_function):
5467 * gst/gsttypefindfactory.h:
5468 * gst/registries/gstlibxmlregistry.c:
5469 * gst/registries/gstxmlregistry.c:
5470 splitted gsttypefind into gsttypefind, gsttypefindfactory
5472 2005-09-07 Andy Wingo <wingo@pobox.com>
5474 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5475 condition whereby the pad's task function is entered before the
5476 pad_mode variable was set.
5478 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5480 * gst/gstpad.c: (gst_pad_alloc_buffer):
5481 Catch misbehaving pad_alloc functions that don't
5482 set up caps and do it for them.
5484 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5486 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5488 * docs/gst/tmpl/.cvsignore:
5489 * docs/gst/tmpl/gstmemchunk.sgml:
5490 * docs/gst/tmpl/gstparse.sgml:
5491 * docs/gst/tmpl/gsttaglist.sgml:
5492 * docs/gst/tmpl/gsttagsetter.sgml:
5493 * docs/gst/tmpl/gsttypefind.sgml:
5494 * docs/gst/tmpl/gsttypefindfactory.sgml:
5495 * gst/gstmemchunk.c:
5498 * gst/gsttaginterface.c:
5499 * gst/gsttypefind.c:
5500 * gst/gsttypefind.h:
5503 === release 0.9.2 ===
5505 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5510 releasing 0.9.2, "South"
5512 2005-09-05 Andy Wingo <wingo@pobox.com>
5514 * gst/registries/gstxmlregistry.h:
5515 * gst/registries/gstxmlregistry.c: Um... resurrect...
5517 * gst/registries/gstxmlregistry.h:
5518 * gst/registries/gstxmlregistry.c: and update to newer API.
5519 Incidentally they should be a bit faster now that they don't have
5522 2005-09-05 Andy Wingo <wingo@pobox.com>
5524 * gst/registries/gstxmlregistry.h:
5525 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5526 replaced by the libxml registry a while back
5528 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5530 * docs/gst/tmpl/gstplugin.sgml:
5531 * gst/elements/gstelements.c:
5533 * gst/gstplugin.c: (gst_plugin_register_func),
5534 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5535 (gst_plugin_get_source):
5537 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5538 (gst_xml_registry_save_plugin):
5539 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5540 (gst_xml_registry_save_plugin):
5541 * tools/gst-inspect.c: (print_plugin_info):
5542 add a "source" plugin description field, to represent the source
5543 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5544 will set it to PACKAGE, which is automake's idea of the name of
5547 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5553 * docs/faq/Makefile.am:
5554 * docs/gst/tmpl/gstelement.sgml:
5555 * docs/gst/tmpl/gsttypes.sgml:
5556 * docs/htmlinstall.mak:
5557 * docs/manual/Makefile.am:
5558 * docs/pwg/Makefile.am:
5559 reorganize doc build a little
5560 split out docbook and gtk-doc stuff
5561 have two separate --enable's and enable them through autogen
5562 but disable by default in configure (to be similar to other
5564 * gstreamer.spec.in:
5565 clean up docs install
5585 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5587 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5590 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5591 (gst_fake_sink_change_state):
5592 Make state change function thread-safe.
5594 * gst/gstpad.c: (gst_pad_alloc_buffer):
5595 Set offset on generic buffer allocated by fallback.
5597 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5599 * docs/gst/gstreamer-sections.txt:
5600 * docs/gst/tmpl/gstelement.sgml:
5602 * libs/gst/controller/gst-controller.c:
5603 (gst_controlled_property_set_interpolation_mode),
5604 (gst_controlled_property_new),
5605 (gst_controller_find_controlled_property):
5606 run the wingo-magic script against the docs
5608 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5610 * docs/gst/gstreamer-docs.sgml:
5611 * docs/gst/gstreamer-sections.txt:
5612 * docs/gst/tmpl/.cvsignore:
5613 * docs/gst/tmpl/gstelementdetails.sgml:
5614 * docs/gst/tmpl/gstelementfactory.sgml:
5617 * gst/gstelementfactory.c:
5618 * gst/gstelementfactory.h:
5619 merged elementdetails docs into elementfactory docs
5622 2005-09-02 Andy Wingo <wingo@pobox.com>
5624 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5625 consider this enum an enum and not a flags.
5627 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5629 * docs/gst/gstreamer-docs.sgml:
5630 * docs/gst/tmpl/.cvsignore:
5631 * docs/gst/tmpl/gstghostpad.sgml:
5632 * docs/gst/tmpl/gstiterator.sgml:
5633 * docs/gst/tmpl/gstmacros.sgml:
5634 * docs/gst/tmpl/gstrealpad.sgml:
5635 * docs/gst/tmpl/gstregistry.sgml:
5636 * docs/gst/tmpl/gstregistrypool.sgml:
5637 * docs/gst/tmpl/gststructure.sgml:
5638 * docs/gst/tmpl/gstsystemclock.sgml:
5639 * docs/gst/tmpl/gsttrace.sgml:
5640 * gst/gstghostpad.c:
5642 * gst/gstmemchunk.c:
5643 * gst/gstmemchunk.h:
5645 * gst/gstregistry.c:
5646 * gst/gstregistrypool.c:
5647 * gst/gststructure.c:
5648 * gst/gstsystemclock.c:
5651 2005-09-02 Andy Wingo <wingo@pobox.com>
5653 * gst/gstelement.h (GstState): Renamed from GstElementState,
5654 changed to be a normal enum instead of flags.
5655 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5656 munged to be GST_STATE_CHANGE_*.
5657 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5658 work with the new state representation.
5659 (GstStateChange): New enumeration of possible state transitions.
5660 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5661 (GstElementClass::change_state): Pass the GstStateChange along as
5662 an argument. Helps language bindings, so they don't have to use
5663 tricky lock-needing macros like GST_STATE_CHANGE ().
5665 * scripts/update-states (file): New script. Run it on a file to
5666 update it for state naming and API changes. Updates files in
5669 * All files updated for the new API.
5671 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
5673 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5674 * gst/gstutils.c: (gst_util_set_value_from_string),
5675 (gst_util_set_object_arg):
5676 fix a bunch of unchecked return values
5677 * tools/gst-complete.c: (main):
5678 * gstreamer.spec.in:
5681 2005-09-01 Wim Taymans <wim@fluendo.com>
5683 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5684 (gst_base_sink_event), (gst_base_sink_do_sync),
5685 (gst_base_sink_handle_event):
5686 * gst/base/gstbasesink.h:
5687 Handle newsegments more correctly.
5692 * gst/gstevent.c: (gst_event_new_newsegment):
5693 A newsegment cannot have a start_time of -1
5695 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
5697 * win32/gstenumtypes.c:
5698 * win32/gstenumtypes.h:
5701 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5703 * libs/gst/controller/gst-controller.c:
5704 (gst_controlled_property_set_interpolation_mode),
5705 (gst_controlled_property_new):
5708 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
5710 * docs/faq/gst-uninstalled:
5715 * gst/gstutils.c: (gst_element_link_filtered):
5717 add gst_element_link_filtered
5719 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5721 * docs/gst/gstreamer-docs.sgml:
5722 * docs/gst/gstreamer-sections.txt:
5723 * docs/gst/tmpl/.cvsignore:
5724 * docs/gst/tmpl/gsterror.sgml:
5725 * docs/gst/tmpl/gstfilter.sgml:
5726 * docs/gst/tmpl/gsturihandler.sgml:
5727 * docs/gst/tmpl/gsturitype.sgml:
5728 * docs/gst/tmpl/gstutils.sgml:
5729 * docs/gst/tmpl/gstxml.sgml:
5737 inlined more docs, fixed double id-ref
5739 2005-08-31 Wim Taymans <wim@fluendo.com>
5741 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5742 (gst_base_transform_handle_buffer):
5743 Passthrough elements don't need the caps as they don't care.
5745 2005-08-31 Wim Taymans <wim@fluendo.com>
5747 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5748 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5749 Don't leak refcounts on buffers.
5751 2005-08-31 Wim Taymans <wim@fluendo.com>
5753 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5754 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5755 (gst_base_transform_chain), (gst_base_transform_change_state):
5756 * gst/base/gstbasetransform.h:
5757 Handle the case where we are not negotiated more gracefully.
5759 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
5761 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5762 (gst_file_src_map_region):
5763 Set READONLY flag on mmap'ed buffers, otherwise
5764 gst_buffer_make_writable() won't work properly (#314708).
5766 2005-08-31 Wim Taymans <wim@fluendo.com>
5768 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5769 passthrough elements can even do inplace on non writable
5770 buffers (as they don't touch them).
5772 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5774 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5775 (gst_test_mono_source_set_property),
5776 (gst_test_mono_source_class_init), (GST_START_TEST),
5777 (gst_controller_suite):
5778 more tests (hehe I have the most)
5780 describe popping messages whenusing mulltiple sources
5781 * libs/gst/controller/gst-controller.c:
5782 (gst_controlled_property_set_interpolation_mode),
5783 (gst_controlled_property_new):
5784 * libs/gst/controller/gst-controller.h:
5785 * libs/gst/controller/gst-interpolation.c:
5786 implement boolean properties
5788 2005-08-31 Wim Taymans <wim@fluendo.com>
5790 * gst/gstminiobject.c: (gst_mini_object_ref):
5791 Cannot assert that the refcount has to be positive
5792 since a disposed object can be resurrected.
5794 2005-08-31 Wim Taymans <wim@fluendo.com>
5796 * gst/gstpad.c: (gst_pad_init):
5797 Revert change, need to first fix badly behaving
5800 2005-08-30 Wim Taymans <wim@fluendo.com>
5802 * check/elements/fakesrc.c: (setup_fakesrc):
5803 * check/elements/identity.c: (setup_identity):
5804 Activate pads before using them.
5806 2005-08-30 Wim Taymans <wim@fluendo.com>
5808 * gst/base/gstadapter.c: (gst_adapter_flush):
5809 Flushing out 0 bytes is ok for this function.
5811 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5812 no newsegment gives a warning and sets the start/stop to
5815 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5816 (gst_base_transform_set_passthrough):
5819 * gst/gstminiobject.c: (gst_mini_object_ref):
5820 Check refcount here too.
5822 * gst/gstpad.c: (gst_pad_init):
5823 Pads are initially flushing and refusing data.
5825 * gst/gstutils.c: (gst_element_link_pads_filtered):
5826 When adding a capsfilter element make sure it has the
5827 same state as the parent bin.
5829 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5831 * docs/gst/tmpl/.cvsignore:
5832 * docs/gst/tmpl/gstformat.sgml:
5833 * docs/gst/tmpl/gstversion.sgml:
5837 * gst/gstversion.h.in:
5838 more docs and two more inlined
5840 2005-08-30 Wim Taymans <wim@fluendo.com>
5842 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5843 Don't sync to clock.
5845 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5847 * docs/gst/gstreamer-sections.txt:
5848 ultral33t func10ns deserve to appear in the docs actually
5849 * docs/gst/tmpl/.cvsignore:
5850 * docs/gst/tmpl/gstcompat.sgml:
5851 * docs/gst/tmpl/gstconfig.sgml:
5852 * gst/check/gstcheck.c:
5854 * gst/gstconfig.h.in:
5857 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5859 * docs/gst/tmpl/.cvsignore:
5860 * docs/gst/tmpl/gstquery.sgml:
5861 * docs/gst/tmpl/gstutils.sgml:
5864 inlined and extended docs
5866 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5868 * check/gst-libs/controller.c: (GST_START_TEST),
5869 (gst_controller_suite):
5871 * docs/gst/tmpl/gstutils.sgml:
5872 * docs/libs/gstreamer-libs-sections.txt:
5873 * docs/libs/tmpl/gstdataprotocol.sgml:
5875 * examples/controller/audio-example.c: (main):
5876 controller example works now
5879 * tools/gst-inspect.c: (print_element_properties_info):
5880 show param spec flags
5882 2005-08-29 Andy Wingo <wingo@pobox.com>
5884 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5886 2005-08-28 Andy Wingo <wingo@pobox.com>
5888 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5889 as having two arguments instead of just one. Allows superclasses
5890 to access information on subclasses -- see the terrible for() loop
5891 in gtype.c:g_type_create_instance for the reason why. All callers
5894 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5896 * docs/design/part-messages.txt:
5898 * docs/gst/tmpl/.cvsignore:
5899 * docs/gst/tmpl/gstcaps.sgml:
5900 * docs/gst/tmpl/gstclock.sgml:
5907 added descriptions for bus and message
5908 inline caps and clock docs
5910 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5916 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5918 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5921 2005-08-26 Andy Wingo <wingo@pobox.com>
5923 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5924 element_set_state's return val.
5925 (test_2_elements): Add test that's been disabled for months.
5927 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5928 can-activate-pull properties.
5930 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5931 can-activate-pull properties. Implement is_seekable so fakesrc can
5932 operate in pull mode.
5934 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5936 (gst_base_sink_activate, gst_base_sink_activate_pull)
5937 (gst_base_sink_activate_push): Make activation mode choosing work.
5939 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5940 is right. Make pull mode work. Post an eos before pausing in pull
5942 (gst_base_sink_change_state): Pay attention to the core's
5943 change_state() return val.
5945 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5946 has-getrange properties. Cleanups.
5948 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5949 has_getrange and replace with can_activate_pull and
5952 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5953 locking comments. Remove has_loop, has_chain and replace with
5954 can_activate_pull and can_activate_push.
5956 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
5959 * examples/Makefile.am:
5960 * examples/metadata/Makefile.am:
5961 * examples/metadata/read-metadata.c: (message_loop),
5962 (have_pad_handler), (make_pipeline), (print_tag), (main):
5963 Add metadata reading example that loops over a list of filenames,
5964 dumping any tags found.
5966 * gst/gstbus.c: (gst_bus_dispose):
5967 * gst/gstelement.c: (gst_element_dispose):
5968 Release a few potentially-held references in dispose.
5970 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5972 * docs/gst/tmpl/gstminiobject.sgml:
5973 do *not* add tmpl/*.sgml files to CVS!
5975 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5977 * libs/gst/bytestream/.cvsignore:
5978 * libs/gst/bytestream/Makefile.am:
5979 * libs/gst/bytestream/adapter.c:
5980 * libs/gst/bytestream/adapter.h:
5981 * libs/gst/bytestream/bytestream.c:
5982 * libs/gst/bytestream/bytestream.h:
5983 * libs/gst/bytestream/filepad.c:
5984 * libs/gst/bytestream/filepad.h:
5985 removing obsolete files
5987 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5989 * docs/gst/gstreamer-docs.sgml:
5990 * docs/libs/gstreamer-libs-docs.sgml:
5991 disabed additional index entries again, as this makes docs-gen just
5992 slow and they aren't useful yet
5993 * docs/libs/gstreamer-libs-sections.txt:
5994 little -section.txt cleanup for libs
5996 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
5998 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5999 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6000 fix up some debugging
6001 (gst_base_transform_get_unit_size),
6002 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6003 (gst_base_transform_handle_buffer):
6004 * gst/base/gstbasetransform.h:
6005 handle and store timed NEWSEGMENT events so that subclasses that
6006 calculate time by counting samples have a segment_start time they
6007 need to add to their timestamps - see audioresample
6009 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6012 removed ';' from the end of macro defs
6013 * docs/gst/gstreamer-docs.sgml:
6014 * docs/gst/gstreamer-sections.txt:
6015 * docs/gst/tmpl/.cvsignore:
6017 * gst/gstelement.c: (gst_element_class_init),
6018 (gst_element_set_state), (activate_pads),
6019 (gst_element_save_thyself):
6020 * gst/gstevent.c: (gst_event_new_newsegment):
6022 * gst/gstiterator.c:
6023 * gst/gstiterator.h:
6026 * gst/gstutils.c: (gst_pad_query_convert):
6028 fixed parameter name mismatches between source, header and docs
6029 added some more docs, resolved the last batch of unused elements in
6030 docs (now someone needs to doc them)
6032 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6034 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6035 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6036 don't walk through the plugins backwards. Where is all this
6037 reversed logic coming from ?
6039 2005-08-25 Wim Taymans <wim@fluendo.com>
6041 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6042 (gst_base_transform_transform_size),
6043 (gst_base_transform_configure_caps),
6044 (gst_base_transform_get_unit_size),
6045 (gst_base_transform_buffer_alloc),
6046 (gst_base_transform_change_state):
6047 * gst/base/gstbasetransform.h:
6048 Cache caps unit_size.
6049 Make sure we cannot negotiate up and downstream at the
6052 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6054 * gst/gst.c: (init_pre), (init_post):
6055 register the installed plugin path after the env var
6056 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6057 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6058 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6059 directories, so the tests can prefer uninstalled over installed
6061 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6063 * gst/base/gstbasetransform.h:
6068 2005-08-25 Wim Taymans <wim@fluendo.com>
6070 * gst/gstbin.c: (bin_bus_handler):
6071 Be a bit more conservative about the posted message.
6073 * gst/gstbus.c: (gst_bus_post):
6074 Some cleanups, warn wrong return values.
6076 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6078 * check/gst/gstbin.c: (GST_START_TEST):
6079 * gst/gstbin.c: (bin_bus_handler):
6080 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6081 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6082 (gst_message_new_warning), (gst_message_new_tag),
6083 (gst_message_new_state_changed), (gst_message_new_segment_start),
6084 (gst_message_new_segment_done), (gst_message_new_custom):
6086 * tools/gst-launch.c: (event_loop):
6087 * tools/gst-md5sum.c: (event_loop):
6088 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6090 2005-08-25 Wim Taymans <wim@fluendo.com>
6092 * check/generic/states.c: (GST_START_TEST):
6093 Cleanup can be done at the end.
6095 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6096 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6097 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6098 Oh boy.. Thanks for finding this, Thomas.
6100 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6102 * docs/gst/gstreamer.types:
6105 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6107 * docs/gst/gstreamer-docs.sgml:
6108 * docs/gst/gstreamer-sections.txt:
6109 * docs/gst/tmpl/.cvsignore:
6111 * gst/gstiterator.c:
6113 * gst/registries/gstxmlregistry.h:
6114 added missing classes and symbols (123 more to go)
6115 removed removed symbols from section file
6116 fixed many doc-comments
6118 2005-08-24 Wim Taymans <wim@fluendo.com>
6120 * check/generic/states.c: (GST_START_TEST):
6121 Make sure all tasks are stopped.
6123 * check/gst/gstbin.c: (GST_START_TEST):
6124 Unref after usage for proper valgrinding.
6126 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6127 Really wait for the task to stop before destroying the
6130 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6131 (gst_queue_src_activate_push):
6132 Small cleanups. Don't stop the task when we did not start
6135 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6136 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6137 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6140 Protect the stream lock with the object lock.
6141 Disallow setting the stream lock when running.
6142 Add cleanup_all to wait for the threadpool to finish.
6143 Remove code to autoallocate a mutex if none was provided.
6144 Add _join() to wait for a task to stop.
6145 Protect the thread pool with a global lock.
6147 2005-08-24 Wim Taymans <wim@fluendo.com>
6149 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6150 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6151 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6152 * gst/base/gstbasesink.h:
6153 Handle newsegment events correctly.
6154 Drop buffers out of the segment range.
6156 2005-08-22 Andy Wingo <wingo@pobox.com>
6158 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6159 macro, implements an interface and gstimplementsinterface for a
6162 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6164 * check/Makefile.am:
6165 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6166 add a test that does a bunch of state changes on elements
6167 needs some fixing for valgrind
6168 * check/states/sinks.c: (gst_object_suite):
6171 add prototype for gst_caps_is_equal_fixed
6173 * gst/gstregistrypool.c:
6176 2005-08-24 Andy Wingo <wingo@pobox.com>
6178 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6179 convert a negative value. Doesn't make much sense. Mostly this is
6180 here to force callers to ensure -1 maps to -1.
6182 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6184 * docs/pwg/advanced-types.xml:
6185 Well done to Michael for catching my deliberate introduction
6186 of this spelling mistake.
6187 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6189 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6190 unlink pads before removing the element from the bin.
6192 2005-08-24 Andy Wingo <wingo@pobox.com>
6194 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6195 the same thing as GST_DEBUG=*:4.
6196 (parse_debug_level, parse_debug_category): New helper parsers.
6198 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6200 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6201 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6202 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6203 (gst_base_transform_buffer_alloc),
6204 (gst_base_transform_handle_buffer):
6205 use gboolean return values and pointers to size so we can use the
6206 full GST_BUFFER_SIZE range (guint) for buffer sizes
6207 use GstPadDirection for transform_caps
6208 * gst/base/gstbasetransform.h:
6209 rename get_size to get_unit_size since that's what it is
6210 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6211 use GstPadDirection for transform_caps
6212 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6214 cleanup and debugging
6216 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6218 * gst/gstelement.c: (gst_element_class_init),
6219 (gst_element_set_state), (activate_pads),
6220 (gst_element_save_thyself):
6221 * tools/gst-compprep.c: (main):
6222 * tools/gst-inspect.c: (print_element_properties_info):
6223 * tools/gst-xmlinspect.c: (print_element_properties):
6224 Fixed long standing mem-leak
6226 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6228 * check/gst/gstbin.c: (GST_START_TEST):
6229 * gst/gstbin.c: (bin_bus_handler):
6230 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6231 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6232 (gst_message_new_warning), (gst_message_new_tag),
6233 (gst_message_new_state_changed), (gst_message_new_segment_start),
6234 (gst_message_new_segment_done), (gst_message_new_custom):
6236 * tools/gst-launch.c: (event_loop):
6237 * tools/gst-md5sum.c: (event_loop):
6238 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6239 that applications can sensibly post custom messages with references
6240 to their own objects.
6242 2005-08-24 Andy Wingo <wingo@pobox.com>
6244 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6247 2005-08-24 Wim Taymans <wim@fluendo.com>
6249 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6250 (gst_base_transform_transform_caps),
6251 (gst_base_transform_transform_size),
6252 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6253 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6254 (gst_base_transform_handle_buffer):
6255 * gst/base/gstbasetransform.h:
6256 Many fixes and new features added by Thomas. Can now also do
6257 transforms with variable sizes and a custom fixate_caps function.
6259 2005-08-24 Wim Taymans <wim@fluendo.com>
6261 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6265 Cast to ClockTime before formatting to time.
6270 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6272 * check/gst-libs/controller.c: (GST_START_TEST),
6273 (gst_controller_suite):
6274 * docs/gst/tmpl/gstcaps.sgml:
6275 * docs/gst/tmpl/gstghostpad.sgml:
6276 * docs/gst/tmpl/gstquery.sgml:
6277 * docs/gst/tmpl/gstutils.sgml:
6278 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6279 (gst_object_sink_values), (gst_object_get_value_arrays),
6280 (gst_object_get_value_array):
6281 gracefully handle helper method calls to objects that are not beeing
6282 controlled, added test case for that
6284 2005-08-23 Wim Taymans <wim@fluendo.com>
6286 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6287 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6288 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6289 (gst_event_parse_qos), (gst_event_new_seek),
6290 (gst_event_parse_seek):
6292 Some more debugging output and doc cleanups.
6294 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6295 Fix possible deadlock.
6297 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6299 * docs/gst/gstreamer-docs.sgml:
6300 * docs/gst/gstreamer-sections.txt:
6301 * docs/gst/gstreamer.types:
6302 * docs/gst/tmpl/.cvsignore:
6307 added 100 symbols from gstreamer-unused.txt to the right sections
6308 fixed more broken comments
6309 added GstBus to docs
6311 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6313 * docs/gst/gstreamer-sections.txt:
6314 * docs/gst/tmpl/.cvsignore:
6315 * docs/gst/tmpl/gstbin.sgml:
6316 * docs/gst/tmpl/gstbuffer.sgml:
6317 * gst/base/gstbasesrc.c:
6318 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6321 * tools/gst-launch.1.in:
6322 inlined more doc comments, added missing comments and fixed comments
6325 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6327 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6331 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6333 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6334 * gst/gststructure.h:
6335 add a fixate function for booleans; add a FIXME that these func
6336 names should probably be gst_structure_fixate_*
6338 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6340 * docs/gst/gstreamer-docs.sgml:
6341 * docs/gst/gstreamer-sections.txt:
6343 * gst/gstbin.c: (gst_bin_get_type),
6344 (gst_bin_child_proxy_get_child_by_index),
6345 (gst_bin_child_proxy_get_children_count),
6346 (gst_bin_child_proxy_init):
6347 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6348 (gst_child_proxy_get_child_by_index),
6349 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6350 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6351 (gst_child_proxy_get), (gst_child_proxy_set_property),
6352 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6353 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6354 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6355 * gst/gstchildproxy.h:
6356 * gst/parse/grammar.y:
6357 * tools/gst-inspect.c: (print_interfaces),
6358 (print_element_properties_info), (print_element_info):
6359 ported gstchildproxy over from 0.8
6360 ported gst-inspect fixes and enhancements over from 0.8
6362 2005-08-22 Wim Taymans <wim@fluendo.com>
6364 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6365 (gst_base_transform_handle_buffer):
6366 Also call the transform function if we have ANY caps.
6368 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6371 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6373 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6374 Don't pretend to handle seek events if the source is not seekable
6376 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6379 Remove extra parameter to debug output
6381 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6382 (gst_base_src_do_seek), (gst_base_src_activate_push):
6383 Fix seek event handling.
6385 * gst/gstpipeline.c: (gst_pipeline_change_state):
6386 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6387 (gst_queue_src_activate_push):
6388 Don't start the src pad task on FLUSH_STOP if the pad
6392 2005-08-22 Wim Taymans <wim@fluendo.com>
6394 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6395 Added check for gst_static_caps_get() refcounting.
6397 2005-08-22 Wim Taymans <wim@fluendo.com>
6399 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6400 Make _static_caps_get() refcounting sane.
6402 * gst/gstelement.c: (gst_element_set_state):
6403 Add g_return_val_if_fail() to protect against segfaults.
6405 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6407 * docs/gst/tmpl/gstevent.sgml:
6410 inlined remaining docs, added missing doc comments
6412 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6414 * check/gst/gstbin.c: (GST_START_TEST):
6415 since we don't know when preroll is done, use refcount range
6417 * gst/check/gstcheck.h:
6418 add macro for checking refcount range
6420 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6422 * check/Makefile.am:
6423 clean up environment for when registry gets built versus
6424 when actual tests are run; valgrind seems to not report
6425 leaks if GST_PLUGIN_PATH is set to some specific values
6426 * check/gst/gstbin.c: (GST_START_TEST):
6427 add more refcounting checks; maybe this exposes a
6430 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6431 * gst/check/gstcheck.h:
6432 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6433 (gst_bin_change_state):
6434 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6435 add/fix debugging/whitespace
6437 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6439 * check/gst/gstevent.c: (event_probe), (test_event),
6441 Er, don't call gst_bin_watch_for_state_change you idiot.
6443 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6445 * check/Makefile.am:
6446 Use CHECK_CFLAGS and CHECK_LIBS
6447 * check/gst/gstevent.c: (event_probe), (test_event),
6450 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6451 (gst_base_src_start), (gst_base_src_stop),
6452 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6453 (gst_base_src_change_state):
6454 Sprinkle gst_base_src_stop liberally around error paths to fix
6455 problems reusing a source after failed state changes.
6456 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6457 (helper_find_suggest), (gst_type_find_helper):
6458 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6460 * docs/gst/tmpl/gstevent.sgml:
6461 Migrate part of the docs from the SGML file. Wait for ensonic to
6462 tell me how I did it wrong ;)
6463 * tools/gst-typefind.c: (main):
6464 Extra robustness to state changes between files.
6466 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6468 * check/Makefile.am:
6469 don't valgrind the controller test - it's leaking - Stefan, HELP
6470 * gst/check/gstcheck.c: (gst_check_message_error),
6471 (gst_check_chain_func), (gst_check_setup_element),
6472 (gst_check_teardown_element), (gst_check_setup_src_pad),
6473 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6474 (gst_check_teardown_sink_pad):
6475 * gst/check/gstcheck.h:
6476 add a bunch of methods to set up elements, and src and sink pads
6477 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6478 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6483 whitespace/doc fixes
6485 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6488 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6489 be handled by the application and not always printed as well
6491 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6493 * check/Makefile.am:
6495 * gst/check/gstcheck.c: (gst_check_message_error):
6496 * gst/check/gstcheck.h:
6497 add a fail_unless_equals_int
6498 add fail_unless for error messages
6500 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6502 * check/Makefile.am:
6504 * common/Makefile.am:
6507 factor out some of the common stuff so we can use it
6509 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6511 * check/Makefile.am:
6512 * check/gst/gstiterator.c: (GST_START_TEST):
6513 * check/gst/gstsystemclock.c: (GST_START_TEST),
6514 (gst_systemclock_suite):
6515 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6519 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6521 * check/elements/.cvsignore:
6522 * check/elements/gstfakesrc.c:
6523 rename to name of element
6524 * check/elements/identity.c: (chain_func), (event_func),
6525 (setup_identity), (cleanup_identity), (GST_START_TEST),
6526 (identity_suite), (main):
6527 add a test for identity
6528 * check/Makefile.am:
6529 * pkgconfig/Makefile.am:
6530 * pkgconfig/gstreamer-check.pc.in:
6531 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6535 move the check stuff to a library that gets installed
6536 * check/gst-libs/controller.c: (GST_START_TEST):
6537 * check/gst-libs/gdp.c:
6538 * check/gst/gst.c: (GST_START_TEST):
6539 * check/gst/gstbin.c:
6540 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6541 * check/gst/gstbus.c:
6542 * check/gst/gstcaps.c: (GST_START_TEST):
6543 * check/gst/gstelement.c:
6544 * check/gst/gstghostpad.c:
6545 * check/gst/gstiterator.c:
6546 * check/gst/gstmessage.c:
6547 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6548 * check/gst/gstobject.c:
6549 * check/gst/gstpad.c: (GST_START_TEST):
6550 * check/gst/gststructure.c: (GST_START_TEST):
6551 * check/gst/gstsystemclock.c: (GST_START_TEST),
6552 (gst_systemclock_suite):
6553 * check/gst/gsttag.c: (gst_tag_suite):
6554 * check/gst/gstvalue.c:
6555 * check/pipelines/cleanup.c:
6556 * check/pipelines/simple_launch_lines.c:
6557 * check/states/sinks.c:
6558 change include statement
6560 * docs/gst/gstreamer-sections.txt:
6561 * docs/gst/tmpl/gstpad.sgml:
6562 document more pad stuff
6563 * gst/gstminiobject.c: (gst_mini_object_ref),
6564 (gst_mini_object_unref):
6567 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6569 * docs/gst/tmpl/gst.sgml:
6571 eliminate another tmpl file, fix spelling in the long-description
6573 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6575 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6576 (test_event), (timediff), (gstevents_suite):
6577 Should fix build on 64-bit arch's
6579 2005-08-18 Andy Wingo <wingo@pobox.com>
6581 Make sure that when a pipeline goes to PLAYING, that data has
6582 actually hit the sink.
6584 * check/states/sinks.c (test_sink): A sink that doesn't get any
6585 data shouldn't return SUCCESS for going to either PLAYING or
6586 PAUSED. Test also the return values on the way back down.
6588 * gst/gstelement.c (gst_element_set_state): When changing the
6589 state of an element currently changing state asynchronously, go to
6590 lost-state after commiting the pending state. Makes future calls
6591 to get_state continue to return ASYNC.
6593 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6594 ASYNC when going to PLAYING if we still don't have preroll, as can
6595 happen with live sources.
6597 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6599 * docs/pwg/advanced-types.xml:
6600 Hack long paragraph into 2 chunks as a workaround for buggy
6601 jadetex version in sid and breezy that loops infinitely and
6604 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6606 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6607 (test_event), (timediff), (gstevents_suite):
6608 Provide more error margin in clock measurements to allow for
6609 g_get_current_time inaccuracies.
6611 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6613 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6614 (test_event), (timediff), (gstevents_suite):
6615 Fix error message output so I might be able to tell why the
6616 test works here but fails on the build farm.
6618 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6620 * check/Makefile.am:
6621 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6622 (test_event), (timediff), (gstevents_suite), (main):
6625 * docs/design/part-seeking.txt:
6628 * docs/gst/tmpl/gstevent.sgml:
6629 * docs/gst/tmpl/gstfakesrc.sgml:
6632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6633 Treat a buffer-without-newsegment the same as a receiving
6634 a newsegment not in time format, and disable syncing to the clock
6637 * gst/gstbus.c: (gst_bus_set_sync_handler):
6638 Assert if anyone tries to replace the existing sync_handler for bus,
6639 as only the owner should be setting it.
6642 Have a fixed set of custom event enums with events identified by
6643 their structure name (as in 0.8), rather than a free-for-all
6644 allowing collisions between enum values from different plugins.
6646 * gst/gstpad.c: (gst_pad_class_init):
6649 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6650 Handle out-of-band downstream events from the sending thread.
6652 2005-08-17 Andy Wingo <wingo@pobox.com>
6654 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6655 play-timeout==0 to mean no timeout at all. In that case, don't
6656 bother with a get_state or a warning, just return directly, even
6659 * gst/base/gstbasetransform.c: Debug changes.
6662 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6663 ensure bins post state change messages. A bit of a hack but I can't
6664 think of a way to avoid it.
6666 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6668 2005-08-16 Andy Wingo <wingo@pobox.com>
6670 * gst/base/gstadapter.h:
6671 * gst/base/gstadapter.c (gst_adapter_take): New function, like
6672 peek() but you own the data. Not terribly efficient atm.
6674 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6676 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6677 (gst_element_found_tags):
6679 Add two utility functions for tag handling.
6681 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6683 * docs/manual/advanced-dataaccess.xml:
6684 * docs/manual/basics-helloworld.xml:
6685 Fix docs to use _bin_add() before _link(), which fixes the examples
6686 with recent core versions (reported by Madhan Raj M
6687 <raj_madan@rediffmail.com>, #313199).
6689 2005-08-16 Wim Taymans <wim@fluendo.com>
6691 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6692 Added subtract checks.
6694 * docs/design/part-events.txt:
6695 Some more docs about newsegment
6697 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6700 * gst/gstcaps.c: (gst_caps_to_string):
6701 Add comments, cleanups.
6703 * gst/gstelement.c: (gst_element_save_thyself):
6706 * gst/gstvalue.c: (gst_value_collect_int_range),
6707 (gst_string_unwrap), (gst_value_union_int_int_range),
6708 (gst_value_union_int_range_int_range),
6709 (gst_value_intersect_int_int_range),
6710 (gst_value_intersect_int_range_int_range),
6711 (gst_value_intersect_double_double_range),
6712 (gst_value_intersect_double_range_double_range),
6713 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6714 (gst_value_subtract_int_range_int),
6715 (gst_value_subtract_double_range_double),
6716 (gst_value_subtract_double_range_double_range),
6717 (gst_value_subtract_from_list), (gst_value_subtract_list),
6718 (gst_value_can_compare), (gst_value_compare_fraction):
6719 Cleanups, add comments, remove unneeded asserts.
6721 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6723 * tools/gst-launch.c: (event_loop):
6724 don't convert NULL structures to strings
6726 2005-08-15 Stefan Kost <ensonic@users.sf.net>
6728 * docs/gst/gstreamer-sections.txt:
6729 made some defines private
6730 * docs/gst/tmpl/gstconfig.sgml:
6731 * docs/gst/tmpl/gstqueue.sgml:
6732 * docs/gst/tmpl/gsttaglist.sgml:
6733 * docs/gst/tmpl/gsttypes.sgml:
6734 * docs/gst/tmpl/gstutils.sgml:
6735 * docs/pwg/appendix-porting.xml:
6736 * gst/base/gstbasesink.h:
6737 * gst/base/gstbasesrc.c:
6738 * gst/base/gstbasesrc.h:
6739 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6740 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6741 * gst/gstelement.c: (gst_element_class_init):
6742 * gst/gstpad.c: (gst_pad_class_init):
6743 * gst/gstqueue.c: (gst_queue_class_init):
6744 * gst/gstxml.c: (gst_xml_class_init):
6745 documented all undocumented signal inline
6746 * libs/gst/controller/gst-controller.h:
6749 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6751 * docs/pwg/appendix-porting.xml:
6752 Document _set_link_function -> _set_setcaps_function.
6754 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6756 * check/Makefile.am:
6757 add a .check target for running the check
6758 * check/gst-libs/controller.c: (GST_START_TEST):
6760 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6761 complete checks for gstbuffer; would be nice if I could get the
6762 gcov stuff to work so I can see if I actually completed gstbuffer.c
6764 add ASSERT_BUFFER_REFCOUNT
6766 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
6768 * docs/gst/gstreamer-sections.txt:
6769 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6771 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6772 spew out a warning if a tag that is already registered
6773 is re-registered, unless it is re-registered with a
6774 different type (#308438).
6776 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
6778 * docs/pwg/appendix-porting.xml:
6779 * docs/pwg/building-state.xml:
6780 Add some paragraphs about state changes in 0.9 to the PWG
6781 and the porting guide, in particular about the new meaning
6782 of GST_STATE_PAUSED and how to write state change functions
6783 with concurrent access by multiple threads in mind.
6785 2005-08-11 Stefan Kost <ensonic@users.sf.net>
6787 * docs/gst/gstreamer-docs.sgml:
6788 * docs/libs/gstreamer-libs-docs.sgml:
6789 added deprecation and since indexes
6790 * libs/gst/controller/gst-controller.c:
6791 * libs/gst/controller/gst-helper.c:
6795 2005-08-11 Wim Taymans <wim@fluendo.com>
6797 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6798 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6799 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6800 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6801 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6802 (gst_ghost_pad_set_target):
6803 Actually implement (re)setting the target on a ghostpad
6804 as described in the docs.
6806 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6808 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6809 Check whether GST_DEBUG_NO_COLOR environment variable is
6810 set and disable coloured debug output if that is the case.
6812 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6814 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6815 (gst_type_find_helper):
6816 The memory returned by gst_type_find_peek() needs to
6817 stay valid until the end of a typefind function, and
6818 typefind functions may keep results from different
6819 offsets around, so we can't just unref the buffer from
6820 the previous _peek(), but have to save all buffers
6821 returned by _peek() until typefinding is done and only
6824 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
6826 * docs/gst/gstreamer-sections.txt:
6828 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6830 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6832 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6833 Fix a pretty good memleak.
6835 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6837 * gst/gstiterator.h:
6838 Fix wrong include and 'make distcheck'.
6840 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6842 * gst/gstbin.c: (bin_bus_handler):
6843 Use gst_element_post_message() instead.
6845 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6847 * gst/base/gstadapter.h:
6848 * gst/base/gstbasesink.h:
6849 * gst/base/gstbasesrc.h:
6850 * gst/base/gstbasetransform.h:
6851 * gst/base/gstcollectpads.h:
6852 * gst/base/gstpushsrc.h:
6853 * gst/gstiterator.h:
6854 Add padding to our base elements' class and instance structs and
6855 to GstIterator (you will need to rebuild all plugins and apps!)
6857 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6859 * gst/gstbin.c: (bin_bus_handler):
6860 Make default message forwarding from child->bus to bin->bus
6861 threadsafe and make it not emit warnings if the parent has no bus.
6863 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6865 * gst/gstelement.c: (activate_pads):
6866 On paused->ready, set pad->caps to NULL, as is the documented
6867 behaviour in this state change. Fixes playback of series of
6868 media files when visualization is enabled in Totem.
6870 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6872 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6873 Allow NULL as filter-caps (which means "any").
6875 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6877 * docs/libs/gstreamer-libs-sections.txt:
6878 * libs/gst/controller/gst-controller.c:
6879 * libs/gst/controller/gst-controller.h:
6880 * libs/gst/controller/gst-helper.c:
6881 adding more entries to the docs and fix small doc-bugs
6883 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6885 * docs/gst/gstreamer-docs.sgml:
6886 * docs/gst/gstreamer-sections.txt:
6887 * docs/gst/gstreamer.types:
6888 * docs/gst/tmpl/gstbasesink.sgml:
6889 * docs/gst/tmpl/gstbasesrc.sgml:
6890 * docs/gst/tmpl/gstbasetransform.sgml:
6891 * docs/gst/tmpl/gstfakesrc.sgml:
6892 * gst/base/gstcollectpads.c:
6893 * gst/base/gstcollectpads.h:
6894 * libs/gst/controller/gst-controller.c:
6895 * libs/gst/controller/gst-controller.h:
6896 * libs/gst/controller/gst-helper.c:
6897 * libs/gst/controller/gst-interpolation.c:
6898 * libs/gst/controller/lib.c:
6899 added long/short desc for controller docs
6900 added collectpads base class docs
6901 added correct includes to base-class docs
6903 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6905 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6906 (gst_test_mono_source_set_property),
6907 (gst_test_mono_source_class_init), (GST_START_TEST),
6908 (gst_controller_suite):
6909 * docs/gst/gstreamer-docs.sgml:
6910 * docs/gst/gstreamer-sections.txt:
6911 * docs/gst/gstreamer.types:
6912 * docs/libs/gstreamer-libs-docs.sgml:
6913 * docs/libs/gstreamer-libs-sections.txt:
6914 * gst/base/gstadapter.c:
6915 * libs/gst/controller/gst-controller.c:
6916 (gst_controlled_property_new), (gst_controlled_property_free),
6917 (gst_controller_new_valist),
6918 (gst_controller_remove_properties_valist),
6919 (gst_controller_sink_values), (_gst_controller_finalize):
6920 * libs/gst/controller/gst-controller.h:
6921 * libs/gst/controller/gst-helper.c:
6922 (gst_object_control_properties), (gst_object_uncontrol_properties),
6923 (gst_object_get_controller), (gst_object_set_controller),
6924 (gst_object_sink_values), (gst_object_get_value_arrays),
6925 (gst_object_get_value_array):
6926 more tests (and fixes) for the controller
6927 more docs for the controller
6928 integrated companies docs for the adapter
6930 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6932 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6933 (GST_START_TEST), (fakesrc_suite):
6934 add tests for sizetype
6936 2005-08-04 Andy Wingo <wingo@pobox.com>
6938 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6939 fixes buffer_alloc proxying among other things.
6941 * gst/base/gstbasetransform.c:
6942 * gst/base/gstbasetransform.h:
6943 Revert patch to gstbasetransform from 7-28 removing
6946 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6947 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6948 Semantics changed, should return not the size of the output buffer
6949 but the byte size of a buffer with a given caps.
6951 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6953 (gst_base_transform_configure_caps): Don't set out_size here: (in,
6954 out) are not the pad caps until setcaps finishes.
6955 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6956 not-in-place case as well. Deal with changing from in-place to
6957 not-in-place within calling pad_alloc_buffer. Still a bit
6958 concerned about the overhead here...
6960 2005-08-03 Andy Wingo <wingo@pobox.com>
6962 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6963 fixating is an error.
6965 2005-08-04 Edward Hervey <edward@fluendo.com>
6967 * gst/base/gstadapter.h:
6968 Added gst_adapter_get_type() to the header
6970 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6972 * check/Makefile.am:
6973 * check/gst-libs/controller.c:
6974 * libs/gst/controller/gst-controller.c:
6975 (gst_controller_new_valist):
6976 added check test suite for the controller
6977 * gst/base/gstpushsrc.c:
6980 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6982 * docs/gst/Makefile.am:
6983 * docs/gst/gstreamer-docs.sgml:
6984 * docs/gst/gstreamer-sections.txt:
6985 * docs/gst/gstreamer.types:
6986 * docs/gst/tmpl/gstfakesrc.sgml:
6988 * gst/base/gstbasesink.c:
6989 * gst/base/gstbasesink.h:
6990 * gst/base/gstbasesrc.c:
6991 * gst/base/gstbasesrc.h:
6992 * gst/base/gstbasetransform.c:
6993 * gst/base/gstpushsrc.c:
6994 * gst/base/gstpushsrc.h:
6995 add short/long description docs to base classes
6996 add pushsrc to the docs
6997 remove consolidated doc fragments
6999 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7002 * docs/libs/Makefile.am:
7003 * docs/libs/gstreamer-libs-docs.sgml:
7004 * docs/libs/gstreamer-libs-sections.txt:
7005 * docs/libs/gstreamer-libs.types:
7006 * examples/Makefile.am:
7007 * examples/controller/.cvsignore:
7008 * examples/controller/Makefile.am:
7009 * examples/controller/audio-example.c: (main):
7010 * libs/gst/Makefile.am:
7011 * libs/gst/controller/.cvsignore:
7012 * libs/gst/controller/Makefile.am:
7013 * libs/gst/controller/gst-controller.c:
7014 (on_object_controlled_property_changed), (gst_timed_value_compare),
7015 (gst_timed_value_find),
7016 (gst_controlled_property_set_interpolation_mode),
7017 (gst_controlled_property_new), (gst_controlled_property_free),
7018 (gst_controller_find_controlled_property),
7019 (gst_controller_new_valist), (gst_controller_new),
7020 (gst_controller_remove_properties_valist),
7021 (gst_controller_remove_properties), (gst_controller_set),
7022 (gst_controller_set_from_list), (gst_controller_unset),
7023 (gst_controller_get), (gst_controller_get_all),
7024 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7025 (gst_controller_get_value_array),
7026 (gst_controller_set_interpolation_mode),
7027 (_gst_controller_finalize), (_gst_controller_init),
7028 (_gst_controller_class_init), (gst_controller_get_type):
7029 * libs/gst/controller/gst-controller.h:
7030 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7031 (g_object_uncontrol_properties), (g_object_get_controller),
7032 (g_object_set_controller), (g_object_sink_values),
7033 (g_object_get_value_arrays), (g_object_get_value_array):
7034 * libs/gst/controller/gst-interpolation.c:
7035 (gst_controlled_property_find_timed_value_node),
7036 (interpolate_none_get), (interpolate_trigger_get),
7037 (interpolate_trigger_get_value_array):
7038 * libs/gst/controller/lib.c: (gst_controller_init):
7039 * pkgconfig/Makefile.am:
7040 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7041 * pkgconfig/gstreamer-control.pc.in:
7042 * testsuite/Makefile.am:
7043 * testsuite/controller/.cvsignore:
7044 * testsuite/controller/Makefile.am:
7045 * testsuite/controller/interpolator.c: (main):
7046 added controller code
7047 removed dparam pc files
7049 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7050 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7051 (gst_collectpads_stop):
7052 Broadcast the condition when shutting down, to make sure we wake all
7053 threads up. Shut down pads on finalize, for safety.
7055 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7056 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7057 (gst_base_transform_handle_buffer),
7058 (gst_base_transform_change_state):
7059 Handle PAUSED->READY->PAUSED transition after negotiation
7061 * gst/gstmessage.c: (gst_message_init):
7062 Extra piece of debug for new messages.
7064 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7067 * docs/gst/tmpl/gstbasesrc.sgml:
7068 * docs/gst/tmpl/gstelement.sgml:
7069 * docs/gst/tmpl/gstevent.sgml:
7070 * docs/gst/tmpl/gstfakesrc.sgml:
7071 * docs/gst/tmpl/gstformat.sgml:
7072 * docs/gst/tmpl/gstghostpad.sgml:
7073 * docs/gst/tmpl/gstpad.sgml:
7074 * docs/gst/tmpl/gstquery.sgml:
7075 * docs/gst/tmpl/gststructure.sgml:
7076 * docs/gst/tmpl/gsttaglist.sgml:
7077 * docs/gst/tmpl/gstvalue.sgml:
7078 * docs/libs/gstreamer-libs-docs.sgml:
7079 * docs/libs/gstreamer-libs-sections.txt:
7080 * docs/libs/gstreamer-libs.types:
7081 * libs/gst/Makefile.am:
7082 * libs/gst/control/.cvsignore:
7083 * libs/gst/control/Makefile.am:
7084 * libs/gst/control/control.c:
7085 * libs/gst/control/control.h:
7086 * libs/gst/control/dparam.c:
7087 * libs/gst/control/dparam.h:
7088 * libs/gst/control/dparam_smooth.c:
7089 * libs/gst/control/dparam_smooth.h:
7090 * libs/gst/control/dparamcommon.h:
7091 * libs/gst/control/dparammanager.c:
7092 * libs/gst/control/dparammanager.h:
7093 * libs/gst/control/dplinearinterp.c:
7094 * libs/gst/control/dplinearinterp.h:
7095 * libs/gst/control/unitconvert.c:
7096 * libs/gst/control/unitconvert.h:
7097 * testsuite/Makefile.am:
7098 * testsuite/dynparams/.cvsignore:
7099 * testsuite/dynparams/Makefile.am:
7100 * testsuite/dynparams/dparamstest.c:
7101 * tools/Makefile.am:
7102 * tools/gst-inspect.c: (print_element_info), (main):
7103 * tools/gst-xmlinspect.c: (print_element_info), (main):
7104 deactivate and remove dparams (libgstcontrol)
7106 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7108 * gst/elements/gsttypefindelement.c:
7109 (gst_type_find_element_have_type), (gst_type_find_element_init),
7110 (stop_typefinding), (gst_type_find_element_handle_event),
7111 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7112 * gst/elements/gsttypefindelement.h:
7113 Set caps on all outgoing buffers, not just the first one.
7115 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7117 * gst/elements/gsttypefindelement.c:
7118 (gst_type_find_element_have_type),
7119 (gst_type_find_element_check_set_buffer_caps),
7120 (gst_type_find_element_init), (stop_typefinding),
7121 (gst_type_find_element_handle_event),
7122 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7123 * gst/elements/gsttypefindelement.h:
7124 Set caps on first outgoing buffer when we've found the type.
7126 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7128 * docs/gst/gstreamer-docs.sgml:
7129 * docs/gst/gstreamer-sections.txt:
7130 * docs/gst/tmpl/gstscheduler.sgml:
7131 * docs/gst/tmpl/gstschedulerfactory.sgml:
7132 Remove some old cruft from docs.
7134 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7137 Fix inline docs for GstPadLinkReturn.
7139 * gst/gststructure.c: (gst_structure_has_name):
7140 * gst/gststructure.h:
7141 * docs/gst/gstreamer-sections.txt:
7142 New API: gst_structure_has_name().
7144 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7147 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7148 and _LARGEFILE_SOURCE in config.h as required. Do not
7149 export those flags in our .pc files any longer (#142209).
7151 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7153 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7154 (gst_file_sink_do_seek), (gst_file_sink_event),
7155 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7156 Redo seek/tell calls with large file support in mind; add some
7157 debugging messages; add log message that tells us when large
7158 file support is unavailable or not enabled for some reason.
7160 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7161 Add log message that tells us when large file support
7162 is unavailable or not enabled for some reason.
7164 2005-07-29 Wim Taymans <wim@fluendo.com>
7166 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7167 Added test for removing an element with ghostpad from a bin.
7168 Fixed test as current implementation does the right thing.
7170 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7171 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7172 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7173 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7174 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7175 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7176 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7177 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7178 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7179 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7180 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7181 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7182 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7183 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7184 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7185 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7186 * gst/gstghostpad.h:
7187 Clean up ghostpads, remove properties for internal stuff.
7190 Prepare for switching targets, not all use cases work yet.
7192 2005-07-29 Wim Taymans <wim@fluendo.com>
7194 * docs/design/part-gstghostpad.txt:
7197 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7198 (gst_bin_remove_func):
7199 Unlinking pads while holding the bin LOCK is not a good
7202 * gst/gstpad.c: (gst_pad_class_init),
7203 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7204 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7205 No prob setting template after creating the pad.
7207 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7209 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7210 (gst_bus_peek), (gst_bus_source_dispatch),
7211 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7212 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7213 gst_bus_poll may be called from other threads. Handle
7214 this nicely by not making poll_data disappear off the
7215 stack once gst_bus_poll returns.
7216 gst_bus_peek now increments the refcount on the returned
7219 2005-07-29 Wim Taymans <wim@fluendo.com>
7221 * docs/design/part-gstghostpad.txt:
7222 Overview of current GhostPad datastructures and use
7223 cases for changing the target.
7225 2005-07-28 Wim Taymans <wim@fluendo.com>
7227 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7228 Added checks for hierarchy consistency whan adding linked
7231 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7232 Added check to test element scheduling without bin/pipeline.
7234 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7235 First add elements to bin, then link.
7237 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7238 (gst_bin_remove_func):
7239 Unlink pads from elements added/removed from bin to maintain
7240 hierarchy consistency.
7242 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7244 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7245 (gst_base_transform_handle_buffer):
7246 * gst/base/gstbasetransform.h:
7247 Remove broken delay_configure (fixes renegotiation of software
7248 scaling pipelines); remove some leftover printf()s.
7250 2005-07-28 Wim Taymans <wim@fluendo.com>
7252 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7253 Added some more tests for wrong hierarchy
7255 * docs/design/part-overview.txt:
7258 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7261 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7262 (gst_element_dispose):
7265 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7266 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7267 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7268 (gst_pad_set_caps), (gst_pad_send_event):
7269 Check for correct hierarchy when linking pads. Moving to
7270 strict requirement for ghostpads when linking elements in
7274 Clean ups. Added WRONG_HIERARCHY return value.
7276 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7278 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7279 Better debug if no transform is possible.
7281 2005-07-27 Wim Taymans <wim@fluendo.com>
7283 * docs/random/wtay/network-transp:
7286 2005-07-27 Wim Taymans <wim@fluendo.com>
7288 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7289 (gst_dp_event_from_packet):
7290 Fix serialization of seek events.
7292 2005-07-27 Wim Taymans <wim@fluendo.com>
7294 * check/gst-libs/gdp.c: (GST_START_TEST):
7295 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7296 Fix compilation and fix event serialization.
7298 2005-07-27 Wim Taymans <wim@fluendo.com>
7301 * docs/design/part-TODO.txt:
7302 * docs/design/part-events.txt:
7305 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7306 (gst_base_sink_event), (gst_base_sink_do_sync),
7307 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7308 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7309 (gst_base_src_do_seek), (gst_base_src_event_handler),
7310 (gst_base_src_loop):
7311 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7312 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7313 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7314 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7315 (gst_base_transform_set_passthrough),
7316 (gst_base_transform_is_passthrough):
7317 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7318 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7324 * gst/gstelement.c: (gst_element_seek):
7326 Update gst_element_seek.
7328 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7329 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7330 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7331 (gst_event_new_eos), (gst_event_new_newsegment),
7332 (gst_event_parse_newsegment), (gst_event_new_tag),
7333 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7334 (gst_event_parse_qos), (gst_event_new_seek),
7335 (gst_event_parse_seek), (gst_event_new_navigation):
7337 Make GstEvent use GstStructure. Add parsing code, make sure the
7338 API is sufficiently generic.
7339 Mark possible directions of events and serialization.
7341 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7342 (_gst_message_copy), (gst_message_new_segment_start),
7343 (gst_message_new_segment_done), (gst_message_new_custom),
7344 (gst_message_parse_segment_start),
7345 (gst_message_parse_segment_done):
7348 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7349 (gst_pad_set_caps), (gst_pad_send_event):
7350 Update for new events.
7351 Catch events sent in wrong directions.
7353 * gst/gstqueue.c: (gst_queue_link_src),
7354 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7355 (gst_queue_handle_src_query):
7360 Remove event code from this file.
7362 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7363 (gst_dp_event_from_packet):
7366 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7368 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7369 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7370 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7371 Make debugging actually useful.
7373 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7375 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7376 (gst_pad_fixate_caps):
7377 Implement default fixation once again, so that gst_pad_fixate()
7378 actually does anything at all. This probably needs to be some
7379 sort of a last resort, and use profile-based fixation first, but
7380 since that doesn't exist yet, this is the best we have. Fixes
7381 visualization in Totem.
7383 2005-07-22 Wim Taymans <wim@fluendo.com>
7385 * docs/design/part-events.txt:
7388 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7389 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7390 (gst_base_sink_activate_pull):
7393 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7394 (gst_fake_src_create):
7395 Fix handoff marshall.
7397 * gst/elements/gstidentity.c: (gst_identity_class_init),
7398 (gst_identity_transform_ip):
7399 We're a real inplace element.
7401 * gst/gstbus.c: (gst_bus_post):
7402 Added some comments.
7404 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7405 * tests/muxing/case1.c: (main):
7406 * tests/sched/dynamic-pipeline.c: (main):
7407 * tests/sched/interrupt1.c: (main):
7408 * tests/sched/interrupt2.c: (main):
7409 * tests/sched/interrupt3.c: (main):
7410 * tests/sched/runxml.c: (main):
7411 * tests/sched/sched-stress.c: (main):
7412 * tests/seeking/seeking1.c: (event_received), (main):
7413 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7415 * tests/threadstate/threadstate3.c: (main):
7416 * tests/threadstate/threadstate4.c: (main):
7417 * tests/threadstate/threadstate5.c: (main):
7420 2005-07-21 Wim Taymans <wim@fluendo.com>
7422 * docs/design/part-seeking.txt:
7423 Some small additions.
7425 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7426 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7427 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7428 * gst/base/gstbasesink.h:
7429 discont values are gint64, handle the math correctly.
7431 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7432 Make the basesrc report error if the source pad is not linked.
7434 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7435 (gst_queue_loop), (gst_queue_handle_src_query),
7436 (gst_queue_src_activate_push):
7437 Make queue collect data even if the srcpad is not linked.
7438 Start pushing out data as soon as it is linked.
7440 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7442 Added gst_flow_get_name() to ease error reporting.
7444 2005-07-20 Wim Taymans <wim@fluendo.com>
7446 * gst/gstmessage.c: (gst_message_new_segment_start),
7447 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7448 (gst_message_parse_segment_done):
7450 Added a bunch of messages for advanced seeking.
7452 * gst/parse/grammar.y:
7453 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7454 (gst_dpman_state_changed):
7455 Fix some new-pad -> pad-added signals
7457 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7459 * docs/manual/appendix-porting.xml:
7460 * docs/pwg/appendix-porting.xml:
7461 Document new-pad/state-change signal renames and the FixedList
7464 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7466 * docs/manual/advanced-autoplugging.xml:
7467 * docs/manual/basics-helloworld.xml:
7468 * docs/manual/basics-pads.xml:
7469 * docs/random/ds/0.9-suggested-changes:
7470 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7475 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7476 (gst_structure_parse_array), (gst_structure_parse_value):
7477 * gst/gstvalue.c: (gst_type_is_fixed),
7478 (gst_value_list_prepend_value), (gst_value_list_append_value),
7479 (gst_value_list_get_size), (gst_value_list_get_value),
7480 (gst_value_transform_array_string), (gst_value_serialize_array),
7481 (gst_value_deserialize_array), (gst_value_intersect_array),
7482 (gst_value_is_fixed), (_gst_value_initialize):
7484 GstElement::new-pad -> pad-added, GstElement::state-change ->
7485 state-changed, GstValueFixedList -> GstValueArray, add format and
7486 flags as their own arguments in gst_element_seek() (should improve
7487 "bindeability"), remove function generators since they don't work
7488 under a whole bunch of compilers (they were deprecated already
7491 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7493 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7494 (_gst_debug_register_funcptr):
7496 Fix illegal cast on some platforms (#309253).
7498 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7500 * gst/gstmessage.c: (gst_message_new_custom):
7502 Add _new_custom, make _new_application a macro to _new_custom.
7504 2005-07-20 Wim Taymans <wim@fluendo.com>
7506 * gst/base/gstbasesrc.c: (gst_base_src_init),
7507 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7508 * gst/base/gstbasesrc.h:
7509 Add a gboolean to decide when to push out a discont.
7511 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7512 (gst_queue_loop), (gst_queue_handle_src_query),
7513 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7514 (gst_queue_set_property), (gst_queue_get_property):
7517 * tests/threadstate/threadstate1.c: (main):
7518 Make a thread test compile and run... very silly..
7521 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7523 * docs/manual/appendix-porting.xml:
7524 Mention removal of libgstgconf-0.9.la and existence of gconf
7527 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7529 * docs/pwg/advanced-clock.xml:
7530 * docs/pwg/appendix-porting.xml:
7531 * docs/pwg/intro-preface.xml:
7532 * docs/pwg/other-base.xml:
7533 * docs/pwg/other-manager.xml:
7534 * docs/pwg/other-nton.xml:
7535 * docs/pwg/other-ntoone.xml:
7536 * docs/pwg/other-oneton.xml:
7538 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7539 demuxer), remove n-to-n (was never written), fix some code examples
7540 and links and update the porting section to include all this.
7542 2005-07-19 Wim Taymans <wim@fluendo.com>
7544 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7545 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7546 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7547 (gst_queue_src_activate_push), (gst_queue_change_state),
7548 (gst_queue_get_property):
7550 Propagate GstFlowReturn more intelligently upstream and output
7551 an ERROR/EOS when streaming stopped due to fatal error.
7553 2005-07-19 Wim Taymans <wim@fluendo.com>
7555 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7556 Don't block forever for the state change to complete, the
7557 pipeline already did with a sensible timeout.
7559 2005-07-19 Wim Taymans <wim@fluendo.com>
7561 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7562 Make sure we never call the create function is we
7565 2005-07-19 Andy Wingo <wingo@pobox.com>
7567 * gst/parse/parse.l: Attempt to solve bug #172815.
7569 2005-07-19 Wim Taymans <wim@fluendo.com>
7571 * docs/design/part-clocks.txt:
7572 * docs/design/part-events.txt:
7573 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7575 Only update the seeking values when we are not
7578 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7580 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7581 Oops, ignore the result of gst_pad_push_event here.
7583 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7585 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7586 (gst_base_src_activate_push):
7587 Send discont event from the loop function, as pads
7588 aren't activated yet in the activate_push handler.
7590 * gst/gstbin.c: (bin_bus_handler):
7591 Don't leak element name.
7593 2005-07-18 Andy Wingo <wingo@pobox.com>
7595 * configure.ac: Use AS_LIBTOOL_TAGS.
7597 2005-07-18 Wim Taymans <wim@fluendo.com>
7599 * docs/gst/gstreamer.types:
7600 Remove deleted types.
7602 2005-07-18 Wim Taymans <wim@fluendo.com>
7604 * check/elements/gstfakesrc.c: (GST_START_TEST):
7607 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7608 (init_popt_callback):
7610 * gst/gst_private.h:
7611 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7612 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7615 * gst/gstconfig.h.in:
7616 * gst/gstelement.c: (gst_element_class_init),
7617 (gst_element_set_base_time), (gst_element_get_base_time),
7618 (iterator_fold_with_resync), (gst_element_change_state),
7619 (gst_element_dispose), (gst_element_get_bus):
7621 * gst/gstelementfactory.h:
7622 * gst/gsterror.c: (_gst_core_errors_init):
7625 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7627 * gst/gstinfo.c: (_gst_debug_init):
7628 * gst/gstmessage.c: (_gst_message_copy):
7630 * gst/gstminiobject.h:
7633 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7634 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7637 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7638 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7639 (gst_pipeline_get_last_stream_time):
7640 * gst/gstpipeline.h:
7641 * gst/gstpluginfeature.h:
7643 * gst/gstscheduler.c:
7644 * gst/gstscheduler.h:
7645 * gst/gststructure.h:
7646 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7647 (gst_task_finalize), (gst_task_func), (gst_task_create),
7648 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7649 (gst_task_stop), (gst_task_pause):
7651 * gst/gsttypefind.h:
7653 * gst/registries/gstlibxmlregistry.c: (load_feature),
7654 (gst_xml_registry_load), (gst_xml_registry_save_feature):
7655 * gst/registries/gstxmlregistry.c:
7656 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7657 * gst/schedulers/threadscheduler.c:
7658 * libs/gst/control/dparammanager.h:
7659 * tools/gst-inspect.c: (print_element_list),
7660 (print_plugin_features), (print_element_features):
7661 * tools/gst-xmlinspect.c: (print_element_list),
7662 (print_plugin_info), (main):
7663 Removed plugable schedulers.
7664 Removed Scheduler/Manager from elements.
7665 Removed gsttypes.h, rearranged includes.
7666 Removed dependency pad<->element, element<>pipeline, and
7667 various others, fix includes.
7668 implement gst_pad_get_parent() with gst_object_get_parent()
7669 Make GstTask sefcontained.
7670 Fix _get_state() on GstBin, it did not return ASYNC with a 0
7672 Fix endless loop in iterator_fold_with_resync.
7675 2005-07-18 Wim Taymans <wim@fluendo.com>
7681 2005-07-18 Wim Taymans <wim@fluendo.com>
7686 2005-07-18 Wim Taymans <wim@fluendo.com>
7692 2005-07-18 Wim Taymans <wim@fluendo.com>
7694 * docs/design/part-dynamic.txt:
7695 * docs/design/part-events.txt:
7696 * docs/design/part-seeking.txt:
7697 Some more docs in the works.
7699 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7700 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7701 (gst_base_transform_setcaps), (gst_base_transform_get_size),
7702 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7703 (gst_base_transform_handle_buffer),
7704 (gst_base_transform_sink_activate_push),
7705 (gst_base_transform_src_activate_pull),
7706 (gst_base_transform_set_passthrough),
7707 (gst_base_transform_is_passthrough):
7710 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7713 * gst/gstevent.c: (gst_event_finalize):
7716 * gst/gstutils.c: (gst_element_unlink),
7717 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7718 (gst_pad_proxy_setcaps):
7720 Add _get_parent_element() to get a pads parent as an element.
7722 2005-07-18 Wim Taymans <wim@fluendo.com>
7724 * check/gst/gstbin.c: (GST_START_TEST):
7727 2005-07-18 Wim Taymans <wim@fluendo.com>
7729 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7730 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7731 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7732 (gst_base_sink_event), (gst_base_sink_do_sync),
7733 (gst_base_sink_chain), (gst_base_sink_loop),
7734 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7735 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7737 Fix logic for returning ASYNC when not prerolled.
7739 2005-07-18 Wim Taymans <wim@fluendo.com>
7741 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7742 Fix nasty refcount bug.
7744 2005-07-16 Philippe Khalaf <burger@speedy.org>
7746 * gst/elements/gstfdsrc.c:
7747 * gst/elements/gstfdsrc.h:
7748 * gst/elements/gstelements.c:
7749 * gst/elements/Makefile.am:
7750 Ported fdsrc to 0.9.
7752 2005-07-16 Wim Taymans <wim@fluendo.com>
7754 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7755 (gst_base_sink_do_sync):
7758 2005-07-16 Wim Taymans <wim@fluendo.com>
7760 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7761 (gst_base_sink_event), (gst_base_sink_get_times),
7762 (gst_base_sink_do_sync), (gst_base_sink_change_state):
7763 * gst/base/gstbasesink.h:
7764 Store and use discont values when syncing buffers as described
7767 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7768 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7769 (gst_base_src_activate_push):
7770 Push discont event when starting.
7772 * gst/elements/gstidentity.c: (gst_identity_transform):
7775 * gst/gstbin.c: (gst_bin_change_state):
7776 Small cleanups in base_time distribution.
7778 * gst/gstelement.c: (gst_element_set_base_time),
7779 (gst_element_get_base_time), (gst_element_change_state):
7781 Added methods for the base_time of the element.
7784 * gst/gstpipeline.c: (gst_pipeline_send_event),
7785 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7786 (gst_pipeline_get_last_stream_time):
7787 * gst/gstpipeline.h:
7789 Handle seeking as described in design doc, remove stream_time
7791 Cleanups clock and stream_time selection code. Added accessors
7792 for the stream_time.
7795 2005-07-16 Andy Wingo <wingo@pobox.com>
7797 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7800 2005-07-16 Wim Taymans <wim@fluendo.com>
7802 * check/gst/gstbin.c: (GST_START_TEST):
7803 Make elements silent as the deep_notify refs the
7804 parent, which might make the test fail.
7806 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7807 Don't hold the lock for too long.
7809 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
7811 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7812 Don't unref the caps we passed to gst_caps_make_writable() after
7813 passing them. gst_caps_make_writable() will do that for us.
7815 2005-07-15 Andy Wingo <wingo@pobox.com>
7817 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7820 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7821 own marshalling function for the handoff signal. Properly type the
7822 buffer as a buffer. Fixes some warnings. Should do a more general
7824 (gst_identity_class_init): Plug into the right marshaller.
7826 2005-07-15 Wim Taymans <wim@fluendo.com>
7828 * docs/design/part-TODO.txt:
7829 * docs/design/part-clocks.txt:
7830 * docs/design/part-element-sink.txt:
7831 * docs/design/part-events.txt:
7832 * docs/design/part-gstpipeline.txt:
7833 Updated docs, mostly DISCONT related.
7835 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
7837 * docs/pwg/building-pads.xml:
7838 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7840 2005-07-15 Andy Wingo <wingo@pobox.com>
7842 * tools/gst-typefind.c: Update, add copyright block.
7844 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7845 Normalize and truncate caps before fixation.
7848 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7849 discards all but the first structure from its argument.
7851 2005-07-15 Wim Taymans <wim@fluendo.com>
7853 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7854 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7855 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7856 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7857 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7858 (gst_base_transform_chain), (gst_base_transform_change_state),
7859 (gst_base_transform_set_passthrough),
7860 (gst_base_transform_is_passthrough):
7861 * gst/base/gstbasetransform.h:
7862 Make passthrough work using the bufferpools.
7863 Changed API a bit, subclasses have to write into a buffer
7864 provided by the base class.
7865 More debug info in nego functions.
7867 * gst/elements/gstidentity.c: (gst_identity_init),
7868 (gst_identity_transform):
7869 Port to new base class.
7871 2005-07-15 Wim Taymans <wim@fluendo.com>
7873 * gst/gstmessage.c: (gst_message_new_state_changed):
7874 * tools/gst-launch.c: (event_loop), (main):
7875 Totally dump messages in -launch with the -m option.
7876 Fix message name for State messages,
7878 2005-07-14 Wim Taymans <wim@fluendo.com>
7880 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7881 Post error messages on errors.
7883 2005-07-14 Wim Taymans <wim@fluendo.com>
7885 * gst/gstcaps.c: (gst_caps_do_simplify):
7889 Define error for stream stopped.
7891 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7892 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7893 Do proper return values.
7895 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7896 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7897 (gst_pad_get_range):
7898 Better return values.
7901 Reorganise return values, add macro to check for fatal errors.
7903 * gst/gstqueue.c: (gst_queue_chain):
7904 Return proper GstFlowReturn values,
7906 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
7908 * docs/gst/gstreamer-sections.txt:
7909 * docs/gst/gstreamer.types:
7910 * docs/gst/tmpl/gst.sgml:
7911 * docs/gst/tmpl/gstbasesink.sgml:
7912 * docs/gst/tmpl/gstbasesrc.sgml:
7913 * docs/gst/tmpl/gstbasetransform.sgml:
7914 * docs/gst/tmpl/gstbin.sgml:
7915 * docs/gst/tmpl/gstbuffer.sgml:
7916 * docs/gst/tmpl/gstcaps.sgml:
7917 * docs/gst/tmpl/gstclock.sgml:
7918 * docs/gst/tmpl/gstcompat.sgml:
7919 * docs/gst/tmpl/gstconfig.sgml:
7920 * docs/gst/tmpl/gstelement.sgml:
7921 * docs/gst/tmpl/gstelementdetails.sgml:
7922 * docs/gst/tmpl/gstelementfactory.sgml:
7923 * docs/gst/tmpl/gstenumtypes.sgml:
7924 * docs/gst/tmpl/gsterror.sgml:
7925 * docs/gst/tmpl/gstevent.sgml:
7926 * docs/gst/tmpl/gstfakesink.sgml:
7927 * docs/gst/tmpl/gstfakesrc.sgml:
7928 * docs/gst/tmpl/gstfilesink.sgml:
7929 * docs/gst/tmpl/gstfilesrc.sgml:
7930 * docs/gst/tmpl/gstfilter.sgml:
7931 * docs/gst/tmpl/gstformat.sgml:
7932 * docs/gst/tmpl/gstghostpad.sgml:
7933 * docs/gst/tmpl/gstimplementsinterface.sgml:
7934 * docs/gst/tmpl/gstindex.sgml:
7935 * docs/gst/tmpl/gstindexfactory.sgml:
7936 * docs/gst/tmpl/gstinfo.sgml:
7937 * docs/gst/tmpl/gstiterator.sgml:
7938 * docs/gst/tmpl/gstmacros.sgml:
7939 * docs/gst/tmpl/gstmemchunk.sgml:
7940 * docs/gst/tmpl/gstminiobject.sgml:
7941 * docs/gst/tmpl/gstobject.sgml:
7942 * docs/gst/tmpl/gstpad.sgml:
7943 * docs/gst/tmpl/gstpadtemplate.sgml:
7944 * docs/gst/tmpl/gstparse.sgml:
7945 * docs/gst/tmpl/gstpipeline.sgml:
7946 * docs/gst/tmpl/gstplugin.sgml:
7947 * docs/gst/tmpl/gstpluginfeature.sgml:
7948 * docs/gst/tmpl/gstquery.sgml:
7949 * docs/gst/tmpl/gstqueue.sgml:
7950 * docs/gst/tmpl/gstregistry.sgml:
7951 * docs/gst/tmpl/gstregistrypool.sgml:
7952 * docs/gst/tmpl/gstscheduler.sgml:
7953 * docs/gst/tmpl/gstschedulerfactory.sgml:
7954 * docs/gst/tmpl/gststructure.sgml:
7955 * docs/gst/tmpl/gstsystemclock.sgml:
7956 * docs/gst/tmpl/gsttaglist.sgml:
7957 * docs/gst/tmpl/gsttagsetter.sgml:
7958 * docs/gst/tmpl/gsttrace.sgml:
7959 * docs/gst/tmpl/gsttrashstack.sgml:
7960 * docs/gst/tmpl/gsttypefind.sgml:
7961 * docs/gst/tmpl/gsttypefindfactory.sgml:
7962 * docs/gst/tmpl/gsttypes.sgml:
7963 * docs/gst/tmpl/gsturihandler.sgml:
7964 * docs/gst/tmpl/gsturitype.sgml:
7965 * docs/gst/tmpl/gstutils.sgml:
7966 * docs/gst/tmpl/gstvalue.sgml:
7967 * docs/gst/tmpl/gstversion.sgml:
7968 * docs/gst/tmpl/gstxml.sgml:
7969 * docs/libs/tmpl/gstcontrol.sgml:
7970 * docs/libs/tmpl/gstdataprotocol.sgml:
7971 * docs/libs/tmpl/gstdparam.sgml:
7972 * docs/libs/tmpl/gstdplinint.sgml:
7973 * docs/libs/tmpl/gstdpman.sgml:
7974 * docs/libs/tmpl/gstdpsmooth.sgml:
7975 * docs/libs/tmpl/gstgetbits.sgml:
7976 * docs/libs/tmpl/gstunitconvert.sgml:
7977 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7978 (gst_push_src_base_init), (gst_push_src_class_init),
7979 (gst_push_src_init), (gst_push_src_create):
7980 * gst/base/gstpushsrc.h:
7981 * gst/elements/gstelements.c:
7982 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7983 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7984 (gst_fake_sink_init), (gst_fake_sink_set_property),
7985 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7986 (gst_fake_sink_event), (gst_fake_sink_preroll),
7987 (gst_fake_sink_render), (gst_fake_sink_change_state):
7988 * gst/elements/gstfakesink.h:
7989 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7990 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7991 (gst_fake_src_base_init), (gst_fake_src_class_init),
7992 (gst_fake_src_init), (gst_fake_src_event_handler),
7993 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7994 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7995 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7996 (gst_fake_src_create_buffer), (gst_fake_src_create),
7997 (gst_fake_src_start), (gst_fake_src_stop):
7998 * gst/elements/gstfakesrc.h:
7999 * gst/elements/gstfilesink.c: (_do_init),
8000 (gst_file_sink_base_init), (gst_file_sink_class_init),
8001 (gst_file_sink_init), (gst_file_sink_dispose),
8002 (gst_file_sink_set_location), (gst_file_sink_set_property),
8003 (gst_file_sink_get_property), (gst_file_sink_open_file),
8004 (gst_file_sink_close_file), (gst_file_sink_query),
8005 (gst_file_sink_event), (gst_file_sink_render),
8006 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8007 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8008 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8009 * gst/elements/gstfilesink.h:
8010 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8011 (gst_file_src_class_init), (gst_file_src_init),
8012 (gst_file_src_finalize), (gst_file_src_set_location),
8013 (gst_file_src_set_property), (gst_file_src_get_property),
8014 (gst_file_src_map_region), (gst_file_src_map_small_region),
8015 (gst_file_src_create_mmap), (gst_file_src_create_read),
8016 (gst_file_src_create), (gst_file_src_is_seekable),
8017 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8018 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8019 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8020 (gst_file_src_uri_handler_init):
8021 * gst/elements/gstfilesrc.h:
8022 more autistic cleanliness in functions/names/defines
8024 2005-07-13 Andy Wingo <wingo@pobox.com>
8026 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8027 source couldn't negotiate.
8029 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8033 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8034 function. I am channeling Hades. Put your boots on suckers!!!
8036 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8038 * testsuite/caps/Makefile.am:
8039 * testsuite/caps/value_compare.c:
8040 * testsuite/caps/value_intersect.c:
8041 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8042 move two testsuite apps over to the check dir
8044 2005-07-12 Wim Taymans <wim@fluendo.com>
8046 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8047 Added more debug info in the negotiate process.
8050 Prepare for segment playback.
8052 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8058 * tools/gst-launch.c: (main):
8059 NULL pipeline on errors.
8061 2005-07-12 Andy Wingo <wingo@pobox.com>
8063 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8064 not it comes from a malloc region. Make sure our copy gets freed.
8066 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8068 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8069 * check/gst/gstmessage.c: (GST_START_TEST):
8070 * check/gst/gststructure.c: (GST_START_TEST),
8071 (gst_structure_suite), (main):
8073 * gst/gstelement.c: (gst_element_message_full):
8074 clean up GError and debug string now that they get copied
8075 * gst/gstmessage.c: (gst_message_new_error),
8076 (gst_message_new_warning), (gst_message_parse_error),
8077 (gst_message_parse_warning):
8078 use GST_TYPE_G_ERROR for structure_new, and take copies of
8079 arguments, so that we don't mess up refcounting
8081 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8083 * check/Makefile.am:
8084 add per-test valgrind targets
8085 * check/gst-libs/gdp.c: (GST_START_TEST),
8086 (gst_data_protocol_suite), (main):
8089 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8091 * check/Makefile.am:
8092 instate more valgrindable tests
8093 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8094 (GST_START_TEST), (fakesrc_suite):
8095 * check/gst/gstpad.c: (GST_START_TEST):
8096 * check/gst/gststructure.c: (GST_START_TEST):
8098 * docs/gst/tmpl/gstminiobject.sgml:
8099 * gst/gstpad.c: (gst_pad_finalize):
8100 fix the static mutex leak
8102 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8104 * check/Makefile.am:
8105 add two more tests for valgrinding
8106 * check/gst/gstvalue.c: (GST_START_TEST):
8107 test refcount of deserialized buffer, found a leak
8108 * docs/gst/gstreamer-docs.sgml:
8109 * docs/gst/gstreamer-sections.txt:
8110 * docs/gst/gstreamer.types:
8111 * docs/gst/tmpl/gstminiobject.sgml:
8112 add miniobject to docs
8113 * gst/gstminiobject.c:
8115 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8116 (gst_string_unwrap):
8117 fix a hard-to-find invalid write for one of the tests
8118 fix a leak for deserialized buffers
8120 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8122 * docs/pwg/advanced-events.xml:
8123 * docs/pwg/advanced-request.xml:
8124 * docs/pwg/advanced-scheduling.xml:
8125 * docs/pwg/appendix-porting.xml:
8126 * docs/pwg/building-boiler.xml:
8127 * docs/pwg/intro-preface.xml:
8128 * docs/pwg/other-ntoone.xml:
8129 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8130 of example code and explanation for pad activation, loop() and
8131 getrange() functions and a bit more. Remove old comments pointing
8133 * examples/pwg/Makefile.am:
8134 Add loop/getrange examples.
8136 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8139 check for valgrind binary + some fixes
8141 valgrind suppressions for the tests
8142 * check/Makefile.am:
8143 add a valgrind: target that valgrinds the unit tests
8144 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8145 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8146 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8147 * check/gst/gstghostpad.c:
8149 * check/gst/gstdata.c:
8151 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8152 (thread_unref), (gst_mini_object_suite), (main):
8154 * gst/gst.c: (gst_deinit):
8156 add a method to clean up.
8157 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8158 (gst_system_clock_obtain):
8159 allow for disposing the system clock.
8160 * tools/gst-launch.c: (main):
8163 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8165 * docs/gst/tmpl/gstbasesrc.sgml:
8166 * docs/gst/tmpl/gstfakesrc.sgml:
8167 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8168 (gst_base_src_init), (gst_base_src_set_property),
8169 (gst_base_src_get_property), (gst_base_src_get_range),
8170 (gst_base_src_start):
8171 * gst/base/gstbasesrc.h:
8172 add num-buffers property
8173 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8174 (gst_fakesrc_init), (gst_fakesrc_set_property),
8175 (gst_fakesrc_get_property), (gst_fakesrc_create),
8176 (gst_fakesrc_start):
8177 remove num-buffers property
8179 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8181 * docs/gst/gstreamer-sections.txt:
8182 * docs/gst/tmpl/gstbasesink.sgml:
8183 * docs/gst/tmpl/gstbasesrc.sgml:
8184 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8185 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8186 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8187 (gst_base_sink_set_property), (gst_base_sink_get_property),
8188 (gst_base_sink_handle_object), (gst_base_sink_event),
8189 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8190 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8191 (gst_base_sink_loop), (gst_base_sink_deactivate),
8192 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8193 (gst_base_sink_change_state):
8194 * gst/base/gstbasesink.h:
8195 * gst/base/gstbasesrc.h:
8196 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8197 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8198 (gst_filesink_init):
8199 more macro splitting
8201 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8203 * gst/gstelement.c: (gst_element_get_bus):
8205 * tools/gst-launch.c: (check_intr), (event_loop):
8208 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8210 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8213 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8215 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8216 (gst_base_src_finalize):
8217 add finalize method and clean up properly
8218 * gst/gstpipeline.c: (gst_pipeline_dispose):
8221 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8223 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8225 add more things to check
8226 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8230 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8232 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8233 (GST_START_TEST), (fakesrc_suite):
8234 * check/gst-libs/gdp.c: (GST_START_TEST):
8235 * check/gst/gst.c: (GST_START_TEST):
8236 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8237 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8238 * check/gst/gstbus.c: (GST_START_TEST):
8239 * check/gst/gstcaps.c: (GST_START_TEST):
8240 * check/gst/gstdata.c: (GST_START_TEST):
8241 * check/gst/gstelement.c: (GST_START_TEST):
8242 * check/gst/gstghostpad.c: (GST_START_TEST):
8243 * check/gst/gstiterator.c: (GST_START_TEST):
8244 * check/gst/gstmessage.c: (GST_START_TEST):
8245 * check/gst/gstobject.c: (GST_START_TEST):
8246 * check/gst/gstpad.c: (GST_START_TEST):
8247 * check/gst/gststructure.c: (GST_START_TEST):
8248 * check/gst/gstsystemclock.c: (GST_START_TEST),
8249 (gst_systemclock_suite):
8250 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8251 * check/gst/gstvalue.c: (GST_START_TEST):
8252 * check/pipelines/cleanup.c: (GST_START_TEST):
8253 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8254 * check/states/sinks.c: (GST_START_TEST):
8255 * check/gstcheck.c: (gst_check_init):
8257 add debugging category
8258 use GST_START_TEST now, so we add a debug line
8260 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8262 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8263 add test for state change message on a bin
8264 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8266 * gst/gstbin.c: (gst_bin_init):
8267 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8268 * gst/gstelement.c: (gst_element_post_message),
8269 (gst_element_set_state):
8270 * gst/gstelementfactory.c: (gst_element_factory_create):
8271 * gst/gstmessage.c: (gst_message_new):
8272 * gst/gstscheduler.c:
8273 various debugging additions and cleanups
8275 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8277 * check/Makefile.am:
8278 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8280 adding tests for elements
8281 * gst/gstelement.c: (gst_element_dispose):
8283 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8285 * gst/registries/gstlibxmlregistry.c: (load_feature):
8286 plug more leaks. A simple gst_init() now is leakfree, yay.
8288 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8290 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8291 (gst_xml_registry_load):
8292 plug another memleak
8294 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8297 use GST_SET_ERROR_CFLAGS
8299 change to ERROR_CFLAGS
8301 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8304 make GST_ERROR_CFLAGS overridable and re-enable Werror
8306 add a note about error CFLAGS
8307 * docs/gst/tmpl/gstfakesrc.sgml:
8308 * gst/elements/gstfakesrc.c:
8309 comment out some unused code
8310 * gst/gst.c: (split_and_iterate):
8311 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8315 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8317 * common/Makefile.am:
8318 * common/gtk-doc.mak:
8319 * docs/gst/Makefile.am:
8320 factor out gtk-doc.mak
8322 2005-07-07 Wim Taymans <wim@fluendo.com>
8324 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8325 (gst_thread_scheduler_dispose):
8326 Unlock the STREAM_LOCK completely.
8328 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8330 * check/Makefile.am:
8331 * check/elements/.cvsignore:
8332 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8333 (START_TEST), (fakesrc_suite), (main):
8334 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8335 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8336 (gst_fakesrc_create), (gst_fakesrc_start):
8337 * gst/elements/gstfakesrc.h:
8338 adding a first element test
8340 2005-07-07 Andy Wingo <wingo@pobox.com>
8342 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8345 2005-07-07 Wim Taymans <wim@fluendo.com>
8351 2005-07-07 Wim Taymans <wim@fluendo.com>
8353 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8354 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8355 Allow subclasses to implement their own negotiation.
8357 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8359 * docs/design/part-gstbin.txt:
8360 * docs/design/part-gstpipeline.txt:
8361 Update design notes to reflect the movement of
8362 responsibility for bus handling from GstPipeline to
8365 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8368 Remove unnecessary queue2/3/4 examples.
8370 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8372 * examples/Makefile.am:
8373 * examples/helloworld/helloworld.c: (event_loop), (main):
8374 * examples/queue/queue.c: (event_loop), (main):
8375 * examples/queue2/queue2.c: (main):
8376 Update a couple of the examples to work again.
8378 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8379 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8380 Spelling corrections and extra debug.
8382 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8383 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8384 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8386 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8387 (gst_pipeline_change_state):
8388 * gst/gstpipeline.h:
8389 Move the bus handler for children to the GstBin, and create a
8390 separate bus for receiving messages from children to the one the
8391 bus sends 'upwards' on.
8393 2005-07-06 Wim Taymans <wim@fluendo.com>
8396 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8397 (gst_base_sink_handle_object), (gst_base_sink_loop),
8398 (gst_base_sink_change_state):
8399 * gst/base/gstbasesink.h:
8400 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8401 (gst_base_src_init), (gst_base_src_setcaps),
8402 (gst_base_src_getcaps), (gst_base_src_loop),
8403 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8404 (gst_base_src_start), (gst_base_src_change_state):
8405 * gst/base/gstbasesrc.h:
8406 Make basesrc negotiate.
8407 Handle the case where preroll fails in basesink.
8410 2005-07-06 Wim Taymans <wim@fluendo.com>
8412 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8413 Implement the fixate function.
8414 Clean up acceptcaps.
8416 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8418 * docs/pwg/building-filterfactory.xml:
8420 Remove never-written filter-factory chapter; I'll add the various
8421 base classes to part 4 ("other element types") later on.
8423 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8425 * docs/pwg/advanced-negotiation.xml:
8426 * docs/pwg/building-boiler.xml:
8427 * docs/pwg/building-pads.xml:
8429 * examples/pwg/Makefile.am:
8430 Add a chapter on caps negotiation, simplify the original code
8431 samples a bit w.r.t. caps negotiation, add link to the advanced
8432 section. Add a bunch of examples showing different use cases of
8433 different types of caps negotiation. Upstream renegotiation isn't
8434 fully documented yet since nobody knows how that works.
8436 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8438 * check/gst/gstpad.c:
8440 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8441 if pad has no parent, return NULL as list of internal links
8443 2005-07-05 Andy Wingo <wingo@pobox.com>
8445 * gst/elements/gstfilesrc.c:
8446 * gst/elements/gstfakesrc.c:
8447 * gst/base/gstpushsrc.c:
8448 * gst/base/gstbasesrc.h:
8449 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8451 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8454 better report generation target (lcov needs a patch)
8456 2005-07-05 Andy Wingo <wingo@pobox.com>
8458 * gst/elements, testsuite: Null if we got it...
8460 2005-07-05 Wim Taymans <wim@fluendo.com>
8463 * libs/gst/dataprotocol/Makefile.am:
8464 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8465 * libs/gst/dataprotocol/dataprotocol.h:
8466 * pkgconfig/Makefile.am:
8467 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8468 * pkgconfig/gstreamer-dataprotocol.pc.in:
8469 Ported dataprotol to 0.9.
8470 Added pkgconfig files.
8472 2005-07-05 Andy Wingo <wingo@pobox.com>
8474 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8475 Default to returning TRUE for the case when tranform_caps returns
8476 a fixed caps, like for identity or volume.
8478 * check/gst/gstbus.c (pound_bus_with_messages):
8479 * check/gst/gstmessage.c (START_TEST):
8480 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8483 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8484 logic weaks here: always run transform_caps, trying passthrough
8485 operation only if the original caps intersects with the transform.
8487 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8488 source and sink caps.
8490 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8491 Intersect the peer caps with the pad template before going into
8493 (gst_base_transform_transform_caps): More debugging.
8495 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8498 2005-07-04 Edward Hervey <edward@fluendo.com>
8502 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8505 2005-07-04 Andy Wingo <wingo@pobox.com>
8507 * check/gst/gstpad.c: Only set explicit caps on pads.
8509 2005-07-01 Andy Wingo <wingo@pobox.com>
8511 * tests/network-clock.scm: Commentary update.
8513 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8514 Didn't really make sense, not implementable with basetransform,
8516 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8517 attempt at implementing the sync property, needs an unlock method.
8519 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8520 New func, by default returns the same caps (the identity
8522 (gst_base_transform_getcaps): Uses transform_caps to return
8524 (gst_base_transform_setcaps): Complicated logic to get caps on
8525 both pads, even if they are different, and to call set_caps once
8526 for every time both pads get their caps set.
8527 (gst_base_transform_handle_buffer): Give the ref to the transform
8528 function. Allows in-place modification of the buffer.
8530 * gst/base/gstbasetransform.h (transform_caps): New class method.
8531 Given caps on one side, what can I do on the other.
8532 (set_caps): Take two caps, one for each side of the element.
8535 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8536 caps in place. This is safe because we can check the mutability of
8537 the caps, and a good idea because fixate functions are just called
8538 as a matter of last resort. (Not actually implemented.)
8539 (gst_pad_set_caps): If the caps we're setting is actually the same
8540 as the existing pad caps, just update the pointer without calling
8541 setcaps. Assert that caps is either NULL or fixed, as per the
8544 * gst/gstghostpad.c: Update for fixate changes.
8546 2005-07-02 Andy Wingo <wingo@pobox.com>
8549 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8550 two refcounts makes it immutable, which is enough. Doc more.
8552 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8554 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8555 Put the mini_object into GValue as a mini_object,
8556 not a gpointer, since that's how we declared
8559 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8561 * examples/pwg/Makefile.am:
8564 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8566 * docs/pwg/building-testapp.xml:
8568 * examples/pwg/Makefile.am:
8571 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8574 * examples/Makefile.am:
8575 * examples/pwg/Makefile.am:
8576 * examples/pwg/extract.pl:
8577 Enable building the PWG examples.
8578 * docs/pwg/advanced-interfaces.xml:
8579 Add URI interface stub.
8580 * docs/pwg/advanced-types.xml:
8581 * docs/pwg/other-autoplugger.xml:
8582 * docs/pwg/appendix-porting.xml:
8584 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8585 * docs/pwg/building-boiler.xml:
8586 * docs/pwg/building-chainfn.xml:
8587 * docs/pwg/building-pads.xml:
8588 * docs/pwg/building-props.xml:
8589 * docs/pwg/building-state.xml:
8590 * docs/pwg/building-testapp.xml:
8591 Update the building-*.xml parts for 0.9 changes. All examples
8592 code blocks compile in examples/pwg/*.
8594 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8596 * docs/manual/advanced-autoplugging.xml:
8597 * docs/manual/appendix-checklist.xml:
8598 * docs/manual/appendix-integration.xml:
8599 * docs/manual/highlevel-components.xml:
8600 Fix playbin/decodebin examples, update docs a bit, mention bus
8601 instead of signals in various places, mention kmplayer and
8602 kaffeine since they have a working GStreamer backend in the KDE
8605 2005-06-30 Wim Taymans <wim@fluendo.com>
8608 * docs/design/draft-ghostpads.txt:
8609 * docs/design/draft-push-pull.txt:
8610 * docs/design/draft-query.txt:
8611 * docs/design/part-TODO.txt:
8612 * docs/design/part-query.txt:
8613 Added CHANGES-0.9 doc, updated status of other docs.
8618 2005-06-30 Wim Taymans <wim@fluendo.com>
8620 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8621 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8622 (gst_base_sink_change_state):
8623 * gst/base/gstbasesink.h:
8624 Some tweaks, only EOS and a buffer complete a preroll.
8626 2005-06-30 Andy Wingo <wingo@pobox.com>
8628 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8629 activate_push down to the internal pad as well.
8631 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
8633 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8635 * gst/gsttaginterface.c:
8636 Some documentation fixes (#307394 and #307397).
8638 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
8640 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8642 * gst/gstvalue.c: (gst_value_intersect_list):
8643 Fix memleak (#309125).
8645 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8647 * docs/manual/advanced-dataaccess.xml:
8648 Fix fakesrc example to compile; doesn't work, bug somewhere...?
8649 * docs/manual/basics-pads.xml:
8650 Add reference for filtered caps to above chapter.
8652 2005-06-30 Wim Taymans <wim@fluendo.com>
8654 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8655 (gst_bin_change_state):
8657 Lame attempt at making the state change function a bit
8660 2005-06-30 Wim Taymans <wim@fluendo.com>
8662 * docs/design/part-clocks.txt:
8663 * docs/design/part-element-sink.txt:
8664 * docs/design/part-events.txt:
8665 * docs/design/part-preroll.txt:
8666 * docs/design/part-states.txt:
8667 Some more tweeks and additions to the docs.
8669 2005-06-30 Wim Taymans <wim@fluendo.com>
8671 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8672 (default_have_data), (gst_pad_class_init), (gst_pad_init),
8673 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8674 (gst_pad_check_pull_range), (gst_pad_get_range),
8675 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8677 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8678 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8679 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8680 (gst_pad_remove_buffer_probe):
8681 Removed atomic operations, use existing LOCK.
8682 Move exception handling out of main code path.
8684 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8686 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8687 (silly_return_true_function), (gst_pad_class_init),
8688 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8689 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8690 (gst_pad_send_event):
8691 Fix accumulator, add default value by using _emitv() instead
8692 of _emit() for signal emission.
8694 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8696 * docs/manual/advanced-dataaccess.xml:
8697 * examples/manual/Makefile.am:
8699 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8702 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
8704 * gst/elements/gstfilesink.c: (gst_filesink_render):
8705 Simplify code so that we don't have to handle short
8706 writes and return GST_FLOW_ERROR if an error occured.
8708 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8710 * docs/gst/gstreamer-docs.sgml:
8713 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8715 * docs/gst/gstreamer-sections.txt:
8716 * docs/gst/tmpl/gstpad.sgml:
8717 * docs/gst/tmpl/gstprobe.sgml:
8719 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8720 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8721 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8722 (gst_pad_push_event), (gst_pad_send_event):
8724 * gst/gstutils.c: (gst_pad_add_data_probe),
8725 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8726 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8727 (gst_pad_remove_buffer_probe):
8729 Remove old probes, add new g-signal-based probes and some utility
8732 2005-06-29 Edward Hervey <edward@fluendo.com>
8734 * gst/gstelementfactory.c:
8737 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8738 the definition to the header file.
8740 2005-06-29 Andy Wingo <wingo@pobox.com>
8742 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8743 plugins from the source directory.
8745 2005-06-29 Wim Taymans <wim@fluendo.com>
8747 * docs/gst/tmpl/gstbuffer.sgml:
8748 * docs/gst/tmpl/gstclock.sgml:
8749 Some fixings for blantently wrong text.
8751 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8753 * check/Makefile.am:
8754 * gst/gst.c: (add_path_func), (init_pre):
8755 * gst/gstregistry.c: (gst_registry_add_path):
8756 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8757 only scan the GST_PLUGIN_PATH locations, and not add
8760 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8762 * docs/gst/gstreamer-sections.txt:
8763 * docs/gst/tmpl/gstbasesrc.sgml:
8770 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8772 * docs/manual/advanced-autoplugging.xml:
8773 Fix autoplugging example.
8775 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8777 * docs/manual/advanced-autoplugging.xml:
8778 * docs/manual/mime-world.fig:
8779 Try to get autoplugging working, fix type detection. Fix text
8780 in hello-world image.
8782 2005-06-29 Wim Taymans <wim@fluendo.com>
8784 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8785 (gst_base_sink_change_state):
8789 map SIGNAL and BROADCAST to the right function.
8792 Remove redundant braces.
8794 * gst/gstpad.c: (gst_pad_set_caps):
8795 Don't call setcaps function when reseting caps to NULL.
8797 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8798 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8799 (gst_system_clock_id_unschedule):
8800 Use BROADCAST as this is what we do.
8802 2005-06-29 Wim Taymans <wim@fluendo.com>
8804 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8805 We are actually prerolling before commiting the state
8808 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8810 * docs/manual/advanced-clocks.xml:
8811 * docs/manual/advanced-interfaces.xml:
8812 * docs/manual/advanced-metadata.xml:
8813 * docs/manual/advanced-position.xml:
8814 * docs/manual/advanced-schedulers.xml:
8815 * docs/manual/advanced-threads.xml:
8816 * docs/manual/appendix-porting.xml:
8817 * docs/manual/basics-bins.xml:
8818 * docs/manual/basics-bus.xml:
8819 * docs/manual/basics-elements.xml:
8820 * docs/manual/basics-helloworld.xml:
8821 * docs/manual/basics-pads.xml:
8822 * docs/manual/highlevel-components.xml:
8823 * docs/manual/manual.xml:
8824 * docs/manual/thread.fig:
8825 Update (until threads/scheduling) Application Development Manual;
8826 remove GstThread, add GstBus, add simple porting checklist, add
8827 documentation for tag writing, clocks, make all examples until this
8828 part compile and run.
8829 * examples/manual/Makefile.am:
8830 Update from changes to Application Development Manual; add bus
8831 example, remove thread example.
8833 2005-06-28 Wim Taymans <wim@fluendo.com>
8835 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8836 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8837 (gst_bus_source_dispatch):
8838 Add debugging messages.
8839 Make internal methods static.
8840 Handle the case where the bus is flushed in the handler.
8842 * gst/gstelement.c: (gst_element_get_bus):
8843 Fix refcount in _get_bus();
8845 * gst/gstpipeline.c: (gst_pipeline_change_state),
8846 (gst_pipeline_get_clock_func):
8847 Clock refcounting fixes.
8848 Handle the case where preroll timed out more gracefully.
8850 * gst/gstsystemclock.c: (gst_system_clock_dispose):
8851 Clean up the internal thread in dispose. This is needed
8852 for subclasses that actually get disposed.
8854 * gst/schedulers/threadscheduler.c:
8855 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8856 (gst_thread_scheduler_dispose):
8857 Free thread pool in dispose.
8859 2005-06-28 Andy Wingo <wingo@pobox.com>
8861 * tests/network-clock-utils.scm (debug, print-event): New utils.
8863 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8864 (*packet-loss*): Unified loss probability.
8865 (network-time): Report out-of-band events.
8867 * tests/plot-data: Add support for out-of-band events. Hack it
8868 into this script instead of passing it down the pipe; should fix
8871 2005-06-28 Wim Taymans <wim@fluendo.com>
8873 * docs/gst/gstreamer.types:
8874 * docs/gst/tmpl/gstbasesrc.sgml:
8875 * docs/gst/tmpl/gstpad.sgml:
8878 2005-06-28 Wim Taymans <wim@fluendo.com>
8880 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8881 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8882 (gst_proxy_pad_do_fixatecaps):
8883 Correctly proxy the check_pull_range function.
8885 2005-06-28 Andy Wingo <wingo@pobox.com>
8887 * tests/network-clock.scm: Removed need for slib.
8889 2005-06-28 Wim Taymans <wim@fluendo.com>
8891 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8892 (gst_basesink_preroll_queue_flush):
8893 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8894 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8895 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8896 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8897 (gst_proxy_pad_set_property):
8900 * gst/gstqueue.c: (gst_queue_init):
8901 The deprecated pad loop function is removed now.
8903 2005-06-28 Andy Wingo <wingo@pobox.com>
8905 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8906 New parameters, simulate network packet loss.
8908 * tests/network-clock-utils.scm: Initialize the RNG.
8910 2005-06-28 Wim Taymans <wim@fluendo.com>
8912 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8913 (gst_basesink_event), (gst_basesink_deactivate):
8914 Flushing the preroll queue always needs to unlock the waiters.
8916 2005-06-28 Edward Hervey <edward@fluendo.com>
8918 * gst/gstpipeline.c: (gst_pipeline_send_event):
8919 Wheen a seek was successful on a pipeline, set the stream_time to the
8920 seek offset in order to have a synchronized stream_time.
8922 2005-06-28 Wim Taymans <wim@fluendo.com>
8924 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8925 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8926 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8927 (gst_proxy_pad_do_fixatecaps):
8928 Call wrapper function instead of just calling the function
8929 pointers. This takes care of any locking and whatmore.
8931 2005-06-28 Wim Taymans <wim@fluendo.com>
8933 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8934 (gst_pad_pull_range):
8936 CONNECTED -> LINKED.
8938 2005-06-28 Andy Wingo <wingo@pobox.com>
8940 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8941 source-munging commit!!!
8943 * gst/gstobject.c (gst_object_unref, gst_object_ref)
8944 (gst_object_sink): Take gpointer arguments, not GstObject --
8945 avoids casts. Like GLib.
8947 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8950 2005-06-27 Andy Wingo <wingo@pobox.com>
8952 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8955 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8956 returns a sorted copy of the trace list.
8957 (gst_alloc_trace_print_live): New API, only prints traces with
8958 live objects. Sort the list.
8959 (gst_alloc_trace_print_all): Sort the list.
8960 (gst_alloc_trace_print): Align columns.
8962 * gst/elements/gstttypefindelement.c:
8963 * gst/elements/gsttee.c:
8964 * gst/base/gstbasesrc.c:
8965 * gst/base/gstbasesink.c:
8966 * gst/base/gstbasetransform.c:
8967 * gst/gstqueue.c: Adapt for pad activation changes.
8969 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8971 (gst_pipeline_dispose): Drop ref on sched.
8973 * gst/gstpad.c (gst_pad_init): Set the default activate func.
8974 (gst_pad_activate_default): Push mode by default.
8975 (pre_activate_switch, post_activate_switch): New stubs, things to
8976 do before and after switching activation modes on pads.
8977 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8978 the pad's activate function to choose which mode to activate.
8979 Shortcut on deactivation and call the right function directly.
8980 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8982 (gst_pad_activate_push): New API, same for push mode.
8983 (gst_pad_set_activate_function)
8984 (gst_pad_set_activatepull_function)
8985 (gst_pad_set_activatepush_function): Setters for new API.
8987 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8988 Trace all miniobjects.
8989 (gst_mini_object_make_writable): Unref the arg if we copy, like
8990 gst_caps_make_writable.
8992 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8994 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8995 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8996 Adapt for new pad API.
8998 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9001 * gst/gstelement.c (gst_element_iterate_src_pads)
9002 (gst_element_iterate_sink_pads): New API functions.
9004 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9005 should fold into gstiterator.c in some form.
9006 (gst_element_pads_activate): Simplified via use of fold and
9007 delegation of decisions to gstpad->activate.
9009 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9012 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9013 class once in init, like gstmessage. Didn't run into this issue
9014 but it seems correct. Don't initialize a trace, gstminiobject does
9017 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9018 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9020 (assert_live_count): New util function, uses alloc traces to check
9023 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9024 To be modified when unlink drops the internal pad.
9026 2005-06-27 Wim Taymans <wim@fluendo.com>
9028 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9029 (gst_bin_change_state):
9030 Cleanup the get_state() function a little, make sure it
9031 iterates the same set of elements.
9032 Added stub iterate_state_order().
9034 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9036 * docs/gst/gstreamer-docs.sgml:
9037 * docs/gst/gstreamer-sections.txt:
9038 * docs/gst/gstreamer.types:
9039 * docs/gst/tmpl/gstbasesink.sgml:
9040 * docs/gst/tmpl/gstbasesrc.sgml:
9041 * docs/gst/tmpl/gstbasetransform.sgml:
9042 * docs/gst/tmpl/gstelement.sgml:
9043 * docs/gst/tmpl/gstiterator.sgml:
9044 * gst/base/gstbasesrc.c:
9045 * gst/base/gstbasesrc.h:
9046 * gst/base/gstbasetransform.h:
9048 * gst/gstiterator.h:
9049 adding basetransform and iterator docs
9051 2005-06-27 Andy Wingo <wingo@pobox.com>
9053 * docs/design/part-activation.txt: Notes on how activation should
9054 work -- not quite implemented yet.
9056 2005-06-25 Wim Taymans <wim@fluendo.com>
9058 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9059 At least get the chain function correct, needs more
9062 2005-06-25 Wim Taymans <wim@fluendo.com>
9064 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9065 (gst_basesink_handle_object), (gst_basesink_event),
9066 (gst_basesink_do_sync), (gst_basesink_handle_event),
9067 (gst_basesink_change_state):
9069 Right, two problems here: ghostpads don't take locks and
9070 glib _rec_mutex_lock_full() with depth==0 still locks.
9071 Catch illegal locking and g_warn them.
9073 2005-06-25 Wim Taymans <wim@fluendo.com>
9075 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9076 Have to check for completion now...
9078 2005-06-25 Wim Taymans <wim@fluendo.com>
9080 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9081 (gst_basesink_handle_object), (gst_basesink_event),
9082 (gst_basesink_do_sync), (gst_basesink_handle_event),
9083 (gst_basesink_change_state):
9085 Unlock STREAM_LOCK whatever the recursion was.
9087 2005-06-25 Wim Taymans <wim@fluendo.com>
9089 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9090 (gst_basesink_preroll_queue_empty),
9091 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9092 (gst_basesink_event), (gst_basesink_do_sync),
9093 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9094 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9095 (gst_basesink_change_state):
9096 Reworked the base sink, handle event and buffer serialisation
9097 correctly and removed possible deadlock.
9098 Handle EOS correctly.
9100 2005-06-25 Wim Taymans <wim@fluendo.com>
9102 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9103 (gst_pipeline_change_state):
9104 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9105 Allow elements to post EOS in the state change function.
9106 Fix up -launch, make it exit the poll loop when the
9107 pipeline actually changed state.
9108 Fix up warning parsing in -launch.
9110 2005-06-25 Wim Taymans <wim@fluendo.com>
9112 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9113 (gst_tee_sink_activate):
9114 Core takes STREAM_LOCK for us now.
9116 2005-06-25 Wim Taymans <wim@fluendo.com>
9118 * gst/gstelement.c: (gst_element_get_state_func),
9119 (gst_element_set_state):
9121 * gst/gstmessage.c: (gst_message_parse_error),
9122 (gst_message_parse_warning):
9123 Keep track of current target state while performing a state
9124 change so that subclasses can do something interesting.
9125 Fix parsing of warning/error messages when GError is NULL.
9127 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9129 * docs/gst/Makefile.am:
9130 * docs/gst/gstreamer-docs.sgml:
9131 * docs/gst/gstreamer-sections.txt:
9132 * docs/gst/gstreamer.types:
9133 * docs/gst/tmpl/gstbasesink.sgml:
9134 * docs/gst/tmpl/gstbasesrc.sgml:
9135 * docs/gst/tmpl/gstbin.sgml:
9136 * docs/gst/tmpl/gstcompat.sgml:
9137 * docs/gst/tmpl/gstfakesink.sgml:
9138 * docs/gst/tmpl/gstfakesrc.sgml:
9139 * docs/gst/tmpl/gstfilesink.sgml:
9140 * docs/gst/tmpl/gstfilesrc.sgml:
9141 * docs/gst/tmpl/gstindex.sgml:
9142 * docs/manual/appendix-quotes.xml:
9143 * gst/base/gstbasesrc.h:
9144 * gst/elements/gstfakesrc.h:
9146 start pulling in base classes and elements in our docs
9148 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9150 * docs/gst/Makefile.am:
9151 * docs/libs/Makefile.am:
9152 fixed make distcheck with gtk-doc 1.3
9154 2005-06-23 Wim Taymans <wim@fluendo.com>
9156 * gst/gstelement.c: (gst_element_get_state_func),
9157 (gst_element_set_state), (gst_element_change_state):
9158 When the state did not change, also report NO_PREROLL
9161 2005-06-23 Wim Taymans <wim@fluendo.com>
9163 * gst/gstpad.c: (gst_pad_event_default):
9164 * gst/gstqueue.c: (gst_queue_loop):
9165 No unsafe task pausing please.
9167 2005-06-23 Wim Taymans <wim@fluendo.com>
9169 * gst/schedulers/threadscheduler.c:
9170 (gst_thread_scheduler_task_start),
9171 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9172 Ref the task before pushing it on the threadpool. This
9173 makes sure that we have a ref when the threadfunction is
9176 2005-06-23 Andy Wingo <wingo@pobox.com>
9178 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9179 offset is greater than the file's size.
9181 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9182 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9183 * gst/gstobject.c (gst_object_class_init): Make the class lock
9184 recursive. Wim won't let me drop deep_notify. Decodebin works
9187 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9188 internal pad, and hacks accordingly. Doesn't do it on the target
9189 pad because we change its caps. Probably catches all cases of
9191 (gst_ghost_pad_set_property): Connect to notify::caps as
9194 * tests/network-clock.scm (plot-simulation): Pipe data to the
9195 elite python skript.
9197 * tests/network-clock-utils.scm (define-parameter): New macro,
9198 defines a parameter that can be set via the command line.
9199 (set-parameter!, parse-parameter-arguments): Command line args
9202 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9205 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9207 * gst/elements/gsttypefindelement.c:
9208 (gst_type_find_element_handle_event):
9209 Don't restart typefinding on a discont.
9210 * gst/gstelement.c: (gst_element_set_state):
9212 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9213 Allow changing mode of an active pad.
9215 * gst/registries/gstlibxmlregistry.c: (load_feature):
9216 Don't cast a static pad template to a normal pad template.
9218 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9220 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9221 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9222 remove gst_strtoll completely, since it didn't actually do
9223 anything more than what g_ascii_strtoull already does.
9224 check for range errors when deserializing
9225 do a cast for the unsigned cases; but further fixing needs
9226 a decision on what the interpretation of "(int)" and
9227 deserialization should be for values that fall outside the
9228 type's boundaries (ie, refuse, or interpret as casting)
9230 2005-06-23 Wim Taymans <wim@fluendo.com>
9232 * check/Makefile.am:
9233 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9234 * docs/design/part-live-source.txt:
9235 * docs/design/part-states.txt:
9236 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9237 (gst_basesrc_set_live), (gst_basesrc_is_live),
9238 (gst_basesrc_get_range), (gst_basesrc_activate),
9239 (gst_basesrc_change_state):
9240 * gst/base/gstbasesrc.h:
9241 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9242 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9243 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9244 * gst/gstelement.c: (gst_element_get_state_func),
9245 (gst_element_set_state):
9248 * tools/gst-launch.c: (event_loop), (main):
9249 Added support for live sources and other elements that
9251 Updated design docs, added live-source design doc.
9252 Implemented live source functionality in basesrc
9253 Fix error condition in _bin_get_state()
9254 Implement live source handling in -launch.
9255 Added check for live sources.
9256 Fixed case in GstBin where elements were changed state
9260 2005-06-23 Andy Wingo <wingo@pobox.com>
9262 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9265 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9266 gst_caps_replace takes care of this for us.
9268 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9269 gst_pad_set_caps on the target, not just its setcaps() function.
9271 * tests/network-clock.scm:
9272 * tests/network-clock-utils.scm: A network clock simulator.
9273 Something of an algorithmic testbed before doing something in C.
9275 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9277 * check/Makefile.am:
9278 * check/gst/capslist.h:
9279 copy over from 0.8, and add two with bitmasks specified with
9281 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9282 add test to parse everything from capslist.h
9283 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9285 add test for structure deserialization
9286 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9287 add tests for deserialization of strings to int types
9288 * gst/gststructure.c: (gst_structure_nth_field_name):
9289 * gst/gststructure.h:
9290 add a way to get the name of a field referenced by index
9291 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9292 instead of checking if the resulting long long lies between
9293 min and max, we check if the long long would fit into
9294 a number of bytes for the final type.
9295 This fixes cases where a string represents 2^32 - 1, which
9296 when cast to int would be the (valid) -1, but is bigger than
9299 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9301 * gst/parse/grammar.y:
9302 add a log line for type deserialization
9304 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9306 * check/gst/gstvalue.c: (START_TEST):
9307 * gst/gstvalue.c: (gst_value_deserialize):
9308 return long long, not int, so gint64 deserialization actually
9309 works. Is there any flag that makes the compiler check this ?
9312 2005-06-22 Wim Taymans <wim@fluendo.com>
9315 Added convenience macros for setting buffers in GValue.
9317 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9319 * check/gst/.cvsignore:
9320 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9321 add a test deserializing int64, and comment part out because
9324 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9326 * check/Makefile.am:
9327 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9328 * testsuite/Makefile.am:
9329 * testsuite/caps/Makefile.am:
9330 * testsuite/caps/value_serialize.c:
9331 * testsuite/test_gst_init.c:
9332 move a value_serialize test over
9334 2005-06-20 Wim Taymans <wim@fluendo.com>
9339 * gst/gstvalue.c: (gst_value_compare_buffer),
9340 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9341 (gst_value_compare_flags), (gst_value_serialize_flags),
9342 (gst_value_deserialize_flags), (_gst_value_initialize):
9343 Fix serialisation of buffers, they are not boxed types anymore
9345 2005-06-20 Wim Taymans <wim@fluendo.com>
9347 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9348 Testcase to show error in buffer-on-caps serialisation.
9350 2005-06-20 Andy Wingo <wingo@pobox.com>
9352 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9353 will be adding to later.
9355 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9356 if its socks fill with rocks.
9357 (gst_system_clock_obtain): Set the name on object construction.
9358 Avoid double-checked locking.
9360 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9362 * gst/gsturi.c: (gst_element_make_from_uri):
9363 Fix potential endless loop.
9365 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9367 * check/Makefile.am:
9369 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9371 move over from testsuite dir and clean up
9374 * testsuite/Makefile.am:
9375 * testsuite/tags/.cvsignore:
9376 * testsuite/tags/Makefile.am:
9377 * testsuite/tags/merge.c:
9378 remove testsuite/tags
9380 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9382 * docs/gst/gstreamer-sections.txt:
9383 * docs/gst/tmpl/gstenumtypes.sgml:
9384 * win32/gstenumtypes.c:
9385 clean up documentation build a little
9387 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9390 add macros for checking refcounts on objects and caps
9391 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9392 add some more unit tests
9393 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9394 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9395 fix leaked refcounts (I hope :)) so unittest works
9399 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9401 * configure.ac: back to HEAD
9403 === release 0.9.1 ===
9405 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9411 2005-06-17 Andy Wingo <wingo@pobox.com>
9413 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9414 assert; it's always possible that the pad gets deactivated in
9415 between the checks in gstpad.c and the implementation. Rely on
9416 finish_preroll() to return a FLUSHING or similar instead of on the
9419 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9420 clock and post an EOS message if we come out of finish_preroll in
9423 2005-06-16 David Schleef <ds@schleef.org>
9425 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9426 (gst_capsfilter_set_property): Allow NULL as possible value
9427 for filter_caps property, indicating GST_CAPS_ANY.
9429 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9431 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9433 * gst/schedulers/Makefile.am:
9435 * gstreamer.spec.in:
9438 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9440 * gstreamer.spec.in:
9443 2005-06-08 Andy Wingo <wingo@pobox.com>
9445 * gst/gstutils.c: RPAD fixes all around.
9446 (gst_element_link_pads): Refcounting fixes.
9448 * tools/gst-inspect.c:
9449 * tools/gst-xmlinspect.c:
9451 * gst/base/gsttypefindhelper.c:
9452 * gst/base/gstbasesink.c:
9453 * gst/gstqueue.c: RPAD fixes.
9455 * gst/gstghostpad.h:
9456 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9457 pads. The tricky thing is they provide both source and sink
9458 interfaces, since they proxy the internal pad for the external
9459 pad, and vice versa. Implement with lower-level ProxyPad objects,
9460 with the interior proxy pad as a child of the exterior ghost pad.
9461 Should write a doc on this.
9463 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9464 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9467 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9468 pads are real pads. No ghost pads in this file. Not documenting
9469 the myriad s/RPAD/PAD/ and REALIZE fixes.
9470 (gst_pad_class_init): Add properties for "direction" and
9471 "template". Both are construct-only, so they can't change during
9472 the life of the pad. Fixes properly deriving from GstPad.
9473 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9474 derived objects, just set properties when creating the objects via
9476 (gst_pad_get_parent): Implement as a function, return NULL if the
9477 parent is not an element.
9478 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9479 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9481 * gst/gstobject.c (gst_object_class_init): Make name a construct
9482 property. Don't set it in the object init.
9484 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9485 with UNKNOWN direction.
9486 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9487 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9488 (gst_element_remove_pad): Remove ghost-pad special cases.
9489 (gst_element_pads_activate): Remove rpad cruft.
9491 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9492 catch the pad's-parent-not-an-element case.
9494 * gst/gst.h: Include gstghostpad.h.
9496 * gst/gst.c (init_post): No more real, ghost pads.
9498 * gst/Makefile.am: Add gstghostpad.[ch].
9500 * check/Makefile.am:
9501 * check/gst/gstbin.c:
9502 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9503 into a bin creates ghost pads, and that the refcounts are right.
9504 Partly moved from gstbin.c.
9506 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9508 * check/gst-libs/.cvsignore:
9509 * check/gst/.cvsignore:
9510 * check/pipelines/.cvsignore:
9512 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9513 (START_TEST), (cleanup_suite), (main):
9514 add some tests related to cleanup after running pipelines
9516 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9518 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9519 add a testsuite for GstBuffer
9521 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9523 * gst/gstminiobject.h:
9524 add defines for accessing the refcount
9526 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9528 * Makefile.am: added support for html unit test coverage reports
9530 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9532 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9533 Free existing caps if the capsfilter changes. Add a FIXME about
9534 setting those caps on the pads.
9536 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9537 Before adding a ghost pad to a parent bin, check that there isn't
9538 already one for the element on the bin. Prevents infinite recursion
9539 when using decodebin in parse pipelines. Andy says he'll rewrite the
9540 way this works anyway, so ignore the hack.
9542 2005-06-02 Andy Wingo <wingo@pobox.com>
9544 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9545 file size, pass it on to the type find helper.
9547 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9548 segment_start and segment_end properly according to the seek
9549 method. Segment_end is still a bit flaky because offset can be
9550 negative for CUR and END cases, but it takes -1 as an "unset"
9553 2005-06-02 Wim Taymans <wim@fluendo.com>
9555 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9556 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9557 (gst_basesink_activate):
9558 * gst/base/gstbasesink.h:
9559 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9560 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9561 (gst_pad_query), (gst_pad_start_task):
9563 * gst/gstqueue.c: (gst_queue_bufferalloc),
9564 (gst_queue_handle_sink_event), (gst_queue_chain):
9565 Bufferalloc: return GstFlowReturn to more accuratly report
9566 why allocation failed.
9568 2005-06-02 Wim Taymans <wim@fluendo.com>
9570 * gst/gstpipeline.c: (gst_pipeline_send_event):
9571 Take snapshot of state without blocking.
9573 2005-06-02 Wim Taymans <wim@fluendo.com>
9575 * docs/design/part-TODO.txt:
9576 * docs/design/part-caps.txt:
9577 * docs/design/part-clocks.txt:
9578 * docs/design/part-negotiation.txt:
9579 * docs/design/part-preroll.txt:
9582 2005-05-30 Wim Taymans <wim@fluendo.com>
9584 * gst/elements/gstidentity.c: (gst_identity_event),
9585 (gst_identity_transform), (gst_identity_get_property):
9586 Protect last_message property as it is accessed from
9589 2005-05-30 Wim Taymans <wim@fluendo.com>
9591 * gst/gstelement.c: (gst_element_init),
9592 (gst_element_pads_activate), (gst_element_change_state):
9593 Slicker pad activation code.
9595 2005-05-30 Wim Taymans <wim@fluendo.com>
9599 * gst/gstelementfactory.h:
9601 Move elementfactory methods to separate .h file.
9603 2005-05-30 Wim Taymans <wim@fluendo.com>
9605 * docs/design/part-overview.txt:
9606 * gst/gstsystemclock.h:
9607 Small typo fixes, doc updates.
9609 2005-05-30 Wim Taymans <wim@fluendo.com>
9611 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9612 (init_popt_callback):
9613 Remove cpu-opt flag.
9615 2005-05-30 Wim Taymans <wim@fluendo.com>
9617 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9618 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9620 Avoid typechecking in places where not needed.
9621 Added accessor for malloc_data.
9623 2005-05-30 Wim Taymans <wim@fluendo.com>
9625 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9626 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9627 (gst_pad_configure_sink), (gst_pad_configure_src),
9628 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9629 (gst_pad_start_task):
9630 Propagate errors from _set_caps() in configure_src/sink
9631 functions instead of returning TRUE.
9632 FLUSH events can travel up and downstream
9635 2005-05-30 Wim Taymans <wim@fluendo.com>
9637 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9638 (gst_basesink_activate):
9639 Handle EOS in preroll.
9641 2005-05-30 Wim Taymans <wim@fluendo.com>
9643 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9644 (gst_queue_loop), (gst_queue_handle_src_event):
9645 Remove old pieces of code
9646 Flushing the queue in an upstream event is a very bad idea.
9648 2005-05-26 Andy Wingo <wingo@pobox.com>
9650 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9651 gst_value_set_mini_object so as to add a ref on the object (which
9652 will be removed when the value is unset).
9654 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9655 arg type in ::handoff.
9657 * gst/gstelement.c (gst_element_change_state): Also deactivate
9658 pads in READY->NULL, just in case the element didn't make it to
9659 PAUSED. Wingo tested, Wim approved.
9661 2005-05-26 Wim Taymans <wim@fluendo.com>
9663 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9664 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9665 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9666 A flushing pad cannot be used to alloc_buffer from.
9668 2005-05-26 Wim Taymans <wim@fluendo.com>
9670 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9671 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9672 (gst_bus_source_dispatch), (gst_bus_source_finalize),
9673 (gst_bus_create_watch), (gst_bus_add_watch_full):
9675 Implement a real GSource and use g_main_context_wakeup() to
9676 signal new messages instead of the socketpair.
9678 2005-05-25 Wim Taymans <wim@fluendo.com>
9680 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9681 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9682 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9683 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9684 (gst_pad_send_event), (gst_pad_start_task):
9685 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9686 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9687 (gst_queue_sink_activate), (gst_queue_src_activate),
9688 (gst_queue_change_state):
9690 Fix state changes for non sinks. We now change sinks, then elements
9691 with unconnected srcpads, then the rest.
9692 More efficient queue unlocking in flush and state changes.
9693 Set the pad activate mode even if it does not have an activate
9696 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9698 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9699 Don't go in pull mode for non-seekable sources.
9700 * gst/elements/gsttypefindelement.h:
9701 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9702 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9703 (free_entry), (stop_typefinding),
9704 (gst_type_find_element_handle_event), (find_peek),
9705 (gst_type_find_element_chain), (do_pull_typefind),
9706 (gst_type_find_element_change_state):
9707 Allow typefinding (w/o seeking) in push-mode, simplified version
9709 * gst/gstutils.c: (gst_buffer_join):
9711 gst_buffer_join() from 0.8.
9713 2005-05-25 Wim Taymans <wim@fluendo.com>
9715 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9716 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9717 (gst_pad_send_event), (gst_pad_start_task):
9718 Disable attempt at mode switching until it is figured out.
9720 2005-05-25 Wim Taymans <wim@fluendo.com>
9722 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9723 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9724 (gst_basesink_finish_preroll), (gst_basesink_chain),
9725 (gst_basesink_loop), (gst_basesink_activate),
9726 (gst_basesink_change_state):
9727 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9728 (gst_basesrc_get_range), (gst_basesrc_loop),
9729 (gst_basesrc_activate):
9730 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9731 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9732 (gst_real_pad_init), (gst_real_pad_set_property),
9733 (gst_real_pad_get_property), (gst_pad_set_active),
9734 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9735 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9736 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9737 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9738 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9739 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9740 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9741 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9742 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9743 (gst_pad_stop_task):
9745 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9746 (gst_queue_loop), (gst_queue_src_activate):
9747 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9748 (gst_task_get_state):
9750 * gst/schedulers/threadscheduler.c:
9751 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9752 Implement gst_pad_pause/start/stop_task(), take STREAM lock
9754 Remove ACTIVE pad flag, use FLUSHING everywhere
9755 Added _pad_chain(), _pad_get_range() to call chain/getrange
9757 Add locks around IS_FLUSHING when reading.
9758 Take STREAM lock in chain(), get_range() functions so plugins
9759 don't need to take it anymore.
9763 2005-05-25 Wim Taymans <wim@fluendo.com>
9765 * tools/gst-launch.c: (event_loop):
9766 Unref message after using its contents instead of
9769 2005-05-24 Wim Taymans <wim@fluendo.com>
9771 * docs/design/draft-ghostpads.txt:
9772 * docs/design/draft-push-pull.txt:
9773 * docs/design/draft-query.txt:
9774 * docs/design/part-overview.txt:
9775 Docs updates, added general overview doc.
9777 2005-05-21 David Schleef <ds@schleef.org>
9779 * docs/gst/tmpl/old/GstBin.sgml:
9780 * docs/gst/tmpl/old/GstBuffer.sgml:
9781 * docs/gst/tmpl/old/GstCaps.sgml:
9782 * docs/gst/tmpl/old/GstClock.sgml:
9783 * docs/gst/tmpl/old/GstCompat.sgml:
9784 * docs/gst/tmpl/old/GstData.sgml:
9785 * docs/gst/tmpl/old/GstElement.sgml:
9786 * docs/gst/tmpl/old/GstEvent.sgml:
9787 * docs/gst/tmpl/old/GstIndex.sgml:
9788 * docs/gst/tmpl/old/GstStructure.sgml:
9789 * docs/gst/tmpl/old/GstTag.sgml:
9790 * docs/gst/tmpl/old/cothreads.sgml:
9791 * docs/gst/tmpl/old/cothreads_compat.sgml:
9792 * docs/gst/tmpl/old/gettext.sgml:
9793 * docs/gst/tmpl/old/gobject2gtk.sgml:
9794 * docs/gst/tmpl/old/grammar.tab.sgml:
9795 * docs/gst/tmpl/old/gst-i18n-app.sgml:
9796 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9797 * docs/gst/tmpl/old/gst_private.sgml:
9798 * docs/gst/tmpl/old/gstaggregator.sgml:
9799 * docs/gst/tmpl/old/gstarch.sgml:
9800 * docs/gst/tmpl/old/gstatomic_impl.sgml:
9801 * docs/gst/tmpl/old/gstbufferstore.sgml:
9802 * docs/gst/tmpl/old/gstdata_private.sgml:
9803 * docs/gst/tmpl/old/gstdisksink.sgml:
9804 * docs/gst/tmpl/old/gstdisksrc.sgml:
9805 * docs/gst/tmpl/old/gstelementfactory.sgml:
9806 * docs/gst/tmpl/old/gstextratypes.sgml:
9807 * docs/gst/tmpl/old/gstfakesink.sgml:
9808 * docs/gst/tmpl/old/gstfakesrc.sgml:
9809 * docs/gst/tmpl/old/gstfdsink.sgml:
9810 * docs/gst/tmpl/old/gstfdsrc.sgml:
9811 * docs/gst/tmpl/old/gstfilesink.sgml:
9812 * docs/gst/tmpl/old/gstfilesrc.sgml:
9813 * docs/gst/tmpl/old/gsthttpsrc.sgml:
9814 * docs/gst/tmpl/old/gstidentity.sgml:
9815 * docs/gst/tmpl/old/gstindexfactory.sgml:
9816 * docs/gst/tmpl/old/gstmarshal.sgml:
9817 * docs/gst/tmpl/old/gstmd5sink.sgml:
9818 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9819 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9820 * docs/gst/tmpl/old/gstpadtemplate.sgml:
9821 * docs/gst/tmpl/old/gstpipefilter.sgml:
9822 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9823 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9824 * docs/gst/tmpl/old/gstshaper.sgml:
9825 * docs/gst/tmpl/old/gstspider.sgml:
9826 * docs/gst/tmpl/old/gstspideridentity.sgml:
9827 * docs/gst/tmpl/old/gststatistics.sgml:
9828 * docs/gst/tmpl/old/gsttee.sgml:
9829 * docs/gst/tmpl/old/gsttimecache.sgml:
9830 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9831 * docs/gst/tmpl/old/gstxmlregistry.sgml:
9832 * docs/gst/tmpl/old/gthread-cothreads.sgml:
9833 * docs/gst/tmpl/old/types.sgml:
9834 I didn't intend to add these or check them in.
9836 2005-05-19 David Schleef <ds@schleef.org>
9838 * configure.ac: Use -no-common everywhere. In a sane world, it
9839 would be the default in libtool, because without it, you can't
9840 build DLLs on Windows.
9841 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9842 * docs/gst/gstreamer-sections.txt:
9843 * docs/gst/tmpl/gstcpu.sgml:
9844 * docs/gst/tmpl/gstdata.sgml:
9845 * docs/gst/tmpl/gstthread.sgml:
9847 2005-05-19 David Schleef <ds@schleef.org>
9849 * gst/gstminiobject.c: (gst_value_set_mini_object),
9850 (gst_value_take_mini_object), (gst_value_get_mini_object):
9851 * gst/gstminiobject.h: Add GValue set/get functions.
9853 2005-05-19 Wim Taymans <wim@fluendo.com>
9855 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9856 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9857 (gst_subbuffer_init), (gst_buffer_is_span_fast):
9859 * gst/gstbus.c: (gst_bus_post):
9860 * gst/gstelement.c: (gst_element_get_random_pad):
9861 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9862 Make subbufer unref the parent in finalize.
9863 some more debugging info.
9866 2005-05-19 Wim Taymans <wim@fluendo.com>
9868 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9869 (gst_basesink_init), (gst_basesink_finalize),
9870 (gst_basesink_activate), (gst_basesink_change_state):
9871 Don't free preroll queue too early.
9873 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9877 Hi, I'm outdated. Please shoot me.
9879 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9881 * gst/gstpipeline.c: (gst_pipeline_send_event):
9882 Do not access variables after they have been deleted.
9884 2005-05-19 Wim Taymans <wim@fluendo.com>
9886 * tools/gst-inspect.c: (print_plugin_features):
9887 A plugin feature does unfortunatly not use the
9890 2005-05-18 Wim Taymans <wim@fluendo.com>
9892 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9893 Port _span() functions to new subbuffers.
9895 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9897 * gst/gstbin.c: (gst_bin_add_func):
9898 Fix clock settery in bins when adding kids after the clock has
9901 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9903 * gst/elements/gstidentity.c: (gst_identity_class_init):
9904 Workaround until signals support GstMiniObject.
9906 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9909 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9911 2005-05-18 Wim Taymans <wim@fluendo.com>
9913 * gst/base/Makefile.am:
9914 * gst/base/gstadapter.c: (gst_adapter_base_init),
9915 (gst_adapter_class_init), (gst_adapter_init),
9916 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9917 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9918 (gst_adapter_flush), (gst_adapter_available),
9919 (gst_adapter_available_fast):
9920 * gst/base/gstadapter.h:
9921 Ported and added adapter to the base classes.
9923 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9927 Make sure the class is reffed/unreffed once before threads can be
9928 used. Fixes #304551.
9930 2005-05-17 Wim Taymans <wim@fluendo.com>
9932 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9933 (gst_basesink_chain_unlocked), (gst_basesink_activate):
9934 * gst/gstminiobject.c: (gst_mini_object_get_type),
9935 (gst_mini_object_free):
9936 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9937 (gst_pad_push), (gst_pad_push_event):
9938 * gst/gstqueue.c: (gst_queue_change_state):
9939 Don't queue buffers in basesink when we are flushing.
9940 Unref buffer when flushing in basesink.
9941 Flush queue when going to READY
9942 Unref buffer when _push() returns an error.
9943 Don't free MiniObject instance when refcount is incremented
9944 in _finalize() so that we can recover objects.
9946 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
9948 * docs/manual/advanced-schedulers.xml:
9949 * docs/manual/appendix-checklist.xml:
9950 * docs/pwg/advanced-clock.xml:
9951 * docs/pwg/advanced-interfaces.xml:
9952 * docs/pwg/advanced-request.xml:
9953 * docs/pwg/advanced-types.xml:
9954 * docs/pwg/intro-preface.xml:
9955 * examples/plugins/example.c: (gst_example_get_type),
9956 (gst_example_class_init), (gst_example_chain),
9957 (gst_example_set_property), (gst_example_get_property),
9958 (gst_example_change_state), (plugin_init):
9959 * examples/plugins/example.h:
9962 2005-05-17 Wim Taymans <wim@fluendo.com>
9964 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9965 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9966 * gst/gstqueue.c: (gst_queue_change_state):
9967 Clear queue when going to READY.
9968 Remove IN_SETCAPS flag too.
9970 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
9972 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9973 Remove implicit cast from gboolean to GstElementStateReturn;
9974 make sure we still return failure in paused => ready case if
9975 the parent class fails to change state and our own stop
9978 2005-05-17 Wim Taymans <wim@fluendo.com>
9980 * tools/gst-launch.c: (event_loop):
9981 Message was unreffed too soon.
9983 2005-05-16 Andy Wingo <wingo@pobox.com>
9985 * gst/gstbin.c (sink_iterator_filter): Err... um...
9987 * check/gst/gstbin.c (test_ghost_pads): New test for the
9988 ghosting-if-elements-not-in-same-bin behavior.
9990 2005-05-16 David Schleef <ds@schleef.org>
9992 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9993 accessing refcount directly.
9995 2005-05-15 David Schleef <ds@schleef.org>
9997 * check/Makefile.am: remove GstData checks
9998 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9999 * gst/Makefile.am: add miniobject, remove data
10000 * gst/gst.h: add miniobject, remove data
10001 * gst/gstdata.c: remove
10002 * gst/gstdata.h: remove
10003 * gst/gstdata_private.h: remove
10004 * gst/gsttypes.h: remove GstEvent and GstMessage
10005 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10006 * gst/gstmarshal.list: change BOXED -> OBJECT
10008 Implement GstMiniObject.
10009 * gst/gstminiobject.c:
10010 * gst/gstminiobject.h:
10012 Modify to be subclasses of GstMiniObject.
10013 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10014 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10015 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10016 (gst_subbuffer_get_type), (gst_subbuffer_init),
10017 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10020 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10021 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10022 (_gst_event_copy), (gst_event_new):
10024 * gst/gstmessage.c: (_gst_message_initialize),
10025 (gst_message_get_type), (gst_message_class_init),
10026 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10027 (gst_message_new), (gst_message_new_error),
10028 (gst_message_new_warning), (gst_message_new_tag),
10029 (gst_message_new_state_changed), (gst_message_new_application):
10030 * gst/gstmessage.h:
10031 * gst/gstprobe.c: (gst_probe_perform),
10032 (gst_probe_dispatcher_dispatch):
10034 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10035 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10036 (_gst_query_copy), (gst_query_new):
10038 Update elements for GstData -> GstMiniObject changes
10040 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10041 (gst_queue_chain), (gst_queue_loop):
10042 * gst/elements/gstbufferstore.c:
10043 (gst_buffer_store_add_buffer_func),
10044 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10045 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10046 (gst_fakesink_render):
10047 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10048 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10049 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10050 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10051 (gst_filesrc_create_read):
10052 * gst/elements/gstidentity.c: (gst_identity_class_init):
10053 * gst/elements/gsttypefindelement.c:
10054 (gst_type_find_element_src_event), (free_entry_buffers),
10055 (gst_type_find_element_handle_event):
10056 * libs/gst/dataprotocol/dataprotocol.c:
10057 (gst_dp_header_from_buffer):
10058 * libs/gst/dataprotocol/dataprotocol.h:
10059 * libs/gst/dataprotocol/dp-private.h:
10061 2005-05-15 David Schleef <ds@schleef.org>
10063 * gst/elements/gstelements.c: Don't include headers that were
10066 2005-05-15 David Schleef <ds@schleef.org>
10068 * gst/elements/Makefile.am: Remove some elements that don't
10069 need to be in the core (or even exist at all).
10070 * gst/elements/gstaggregator.c:
10071 * gst/elements/gstaggregator.h:
10072 * gst/elements/gstmd5sink.c:
10073 * gst/elements/gstmd5sink.h:
10074 * gst/elements/gstmultifilesrc.c:
10075 * gst/elements/gstmultifilesrc.h:
10076 * gst/elements/gstpipefilter.c:
10077 * gst/elements/gstpipefilter.h:
10078 * gst/elements/gstshaper.c:
10079 * gst/elements/gstshaper.h:
10080 * gst/elements/gststatistics.c:
10081 * gst/elements/gststatistics.h:
10082 * po/POTFILES.in: Remove above files.
10084 2005-05-14 Andy Wingo <wingo@pobox.com>
10086 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10087 so as to get the refs right.
10088 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10089 unreffing objects that don't pass the filter.
10091 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10092 gst_element_set_bus.
10093 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10094 normal cases, this will destroy the bus.
10096 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10099 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10102 2005-05-13 Andy Wingo <wingo@pobox.com>
10104 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10105 gst_pad_link, call pad_link_maybe_ghosting,
10106 (pad_link_maybe_ghosting): Links pads, making sure that the
10107 elements being linked are in the same bin.
10108 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10109 Helpers for pad_link_maybe_ghosting.
10111 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10114 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10116 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10118 * docs/design/part-element-source.txt:
10121 2005-05-12 Wim Taymans <wim@fluendo.com>
10123 * gst/base/gstbasesink.c: (gst_basesink_init),
10124 (gst_basesink_activate):
10125 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10126 (gst_basesrc_is_seekable):
10127 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10128 (bin_element_is_sink), (gst_bin_change_state):
10129 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10130 * gst/gstelement.h:
10131 Identify sinks by their flag to avoid overly complicated
10133 Do state changes even for elements not reachable from the
10135 BaseSink is a sink now :)
10136 Some more debugging info in the basesrc.
10139 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10141 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10142 Implement _query on a bin, similar to _send_event.
10144 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10146 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10147 Discont event offset format should be GST_FORMAT_BYTES,
10148 not GST_FORMAT_TIME.
10150 2005-05-12 Wim Taymans <wim@fluendo.com>
10152 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10153 Same fix as Ronald's but without the signal.
10155 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10157 * gst/gstutils.c: (gst_element_query_position):
10158 No, an element is not a pad.
10160 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10162 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10163 (gst_bin_get_state):
10164 If a child is removed from a bin while we remove the child from
10165 the bin and while we're retrieving its state, signal this to the
10166 get_state function so we abort the wait (instead of waiting for
10167 a timeout) and can immediately re-iterate over all other elements.
10169 2005-05-12 Wim Taymans <wim@fluendo.com>
10171 * gst/base/Makefile.am:
10172 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10173 (gst_basesrc_start):
10174 * gst/base/gstbasesrc.h:
10175 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10176 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10177 (gst_pushsrc_init), (gst_pushsrc_create):
10178 * gst/base/gstpushsrc.h:
10179 Added is_seekable to BaseSrc
10180 Added simple PushSrc.
10182 2005-05-11 Wim Taymans <wim@fluendo.com>
10184 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10185 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10186 (gst_element_link_pads), (gst_element_query_position),
10187 (gst_element_query_convert), (intersect_caps_func),
10188 (gst_pad_query_position), (gst_pad_query_convert):
10189 Fix refcounting in utils function.
10190 No point in trying to activate a pad when it's added, it could
10191 be added from the state change function and then we deadlock, the
10192 element has to decide what to do.
10194 2005-05-10 Andy Wingo <wingo@pobox.com>
10196 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10197 *all* the arguments.
10199 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10200 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10201 lock (according to the docs -- if this is wrong change the docs).
10203 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10204 flush messages in the NULL state.
10206 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10207 message immediately and return.
10208 (gst_bus_set_flushing): New function. If a bus is flushing, it
10209 flushes out any queued messages and immediately unrefs new
10210 messages. This is so when an element goes to NULL, all of the
10211 unhandled messages coming from it can be freed, and their
10212 references to the element dropped. In other words: message source
10213 ref considered harmful :P
10215 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10216 we're finished with it.
10218 * gst/gstmessage.c (gst_message_new_state_changed):
10220 2005-05-10 Wim Taymans <wim@fluendo.com>
10222 * gst/gstvalue.c: (gst_value_compare_flags),
10223 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10224 (_gst_value_initialize):
10225 Added flags serialize/deserialize/compare code.
10227 2005-05-09 Andy Wingo <wingo@pobox.com>
10229 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10230 Intersect the peer's caps with our caps.
10232 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10234 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10235 * gst/elements/gsttypefindelement.c: (find_peek):
10236 Handle negative offsets better. Fixes decodebin.
10238 2005-05-09 Wim Taymans <wim@fluendo.com>
10240 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10241 (gst_base_transform_event):
10242 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10243 Implement accept_caps.
10244 Fix silly lock/unlock mismatch in base class.
10246 2005-05-09 Wim Taymans <wim@fluendo.com>
10248 * docs/design/draft-push-pull.txt:
10249 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10250 * gst/elements/gstfilesink.c: (gst_filesink_init),
10251 (gst_filesink_query):
10252 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10253 (gst_type_find_handle_src_query), (find_element_get_length):
10254 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10255 * gst/gstelement.h:
10256 * gst/gstmessage.c:
10257 * gst/gstmessage.h:
10258 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10259 (gst_real_pad_get_caps_unlocked),
10260 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10261 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10262 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10263 (gst_real_pad_dispose), (gst_real_pad_finalize),
10264 (gst_pad_load_and_link), (gst_pad_save_thyself),
10265 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10266 (gst_pad_check_pull_range), (gst_pad_pull_range),
10267 (gst_pad_template_get_type), (gst_pad_template_class_init),
10268 (gst_pad_template_init), (gst_pad_template_dispose),
10269 (name_is_valid), (gst_static_pad_template_get),
10270 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10271 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10272 (gst_pad_get_element_private), (gst_pad_start_task),
10273 (gst_pad_pause_task), (gst_pad_stop_task),
10274 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10275 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10276 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10277 (gst_ghost_pad_new):
10279 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10280 (gst_query_new_position), (gst_query_set_position),
10281 (gst_query_parse_position), (gst_query_new_convert),
10282 (gst_query_set_convert), (gst_query_parse_convert):
10284 * gst/gstqueryutils.c:
10285 * gst/gstqueryutils.h:
10286 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10287 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10288 (gst_queue_handle_src_query):
10289 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10290 (gst_element_query_position), (gst_element_query_convert),
10291 (intersect_caps_func), (gst_pad_query_position),
10292 (gst_pad_query_convert):
10294 * tools/gst-inspect.c: (print_pad_info):
10295 * tools/gst-xmlinspect.c: (print_element_info):
10296 Remove old query functions. Ported old code.
10297 Added position/convert helper functions to gstutils.
10298 Reordered gstpad.c code, grouping relevant things.
10299 Remove gst_message_new(), always need to speficy a specific
10303 2005-05-09 Andy Wingo <wingo@pobox.com>
10305 * gst/gstiterator.h: Add some includes.
10307 * gst/gstqueryutils.h: Include more headers.
10310 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10311 some uses of gst_pad_query.
10313 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10314 NULL out parameters.
10315 (gst_query_new_position): New proc, allocates a new position
10318 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10319 gstqueryutils.c to the build.
10321 * gst/gststructure.c (gst_structure_set_valist): Implement with
10322 the generic G_VALUE_COLLECT.
10324 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10326 * gst/Makefile.am: (gst_headers):
10327 Added gstqueryutils.h to the list of headers to install, that was
10328 a 'nachty' move wingo :)
10330 2005-05-06 Andy Wingo <wingo@pobox.com>
10333 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10334 GstData, init a memchunk.
10335 (standard_definitions): Add a few query types, deprecate a few.
10336 (gst_query_get_type): New proc.
10337 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10339 (gst_query_new_application, gst_query_get_structure): New public
10342 * docs/design/draft-query.txt: Removed LINKS from the query types,
10343 because all the rest can be dispatched to other pads -- seemed
10344 ugly to have a query that couldn't be dispatched. internal_links
10345 is fine as a pad method.
10347 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10348 in gstpad.c, but maintain binary compatibility for the moment.
10349 Will fix before 0.9 is out.
10351 * gst/gstqueryutils.c:
10352 * gst/gstqueryutils.h: New files, implement 3 methods for each
10353 query type: parse_query, parse_response, and set. Probably need an
10356 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10358 * gst/elements/gstfilesink.c (gst_filesink_query2):
10359 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10360 query_types, and formats methods.
10362 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10363 (gst_pad_set_query2_function): New functions.
10364 (gst_real_pad_init): Set query2_default as the default query2
10365 function. Basically just dispatches to internally linked pads.
10369 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10370 without using the atomic operations. Only one thread can possibly
10371 be accessing the data at this point. Changed so as to avoid
10372 gst_atomic operations.
10374 2005-05-06 Wim Taymans <wim@fluendo.com>
10376 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10377 Also set caps if we use the fallback buffer alloc.
10379 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10381 * docs/gst/Makefile.am:
10382 * docs/gst/gstreamer-docs.sgml:
10383 * docs/gst/gstreamer-sections.txt:
10384 * docs/gst/tmpl/gstatomic.sgml:
10385 * docs/gst/tmpl/gstmemchunk.sgml:
10386 * testsuite/elements/struct_i386.h:
10387 * win32/GStreamer.vcproj:
10389 Purge GstAtomic stuff from docs and win32 makefiles as well
10391 2005-05-06 Wim Taymans <wim@fluendo.com>
10393 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10394 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10395 * gst/gstpad.c: (gst_pad_peer_get_caps):
10396 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10397 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10398 (gst_queue_src_activate), (gst_queue_change_state):
10400 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10401 (intersect_caps_func):
10402 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10403 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10404 Some fixes for the peer_get_caps() change.
10406 2005-05-06 Wim Taymans <wim@fluendo.com>
10408 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10409 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10410 (gst_basesink_activate):
10411 Actually do something with error codes returned from the push
10414 2005-05-06 Wim Taymans <wim@fluendo.com>
10416 * docs/design/part-element-sink.txt:
10417 * docs/design/part-element-source.txt:
10418 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10419 (gst_basesink_event), (gst_basesink_activate):
10420 * gst/base/gstbasesink.h:
10421 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10422 (gst_basesrc_activate):
10423 * gst/base/gstbasesrc.h:
10424 * gst/gstelement.c: (gst_element_pads_activate):
10425 Some more documentation.
10426 Fixed scheduling decision in _pads_activate().
10428 2005-05-05 Andy Wingo <wingo@pobox.com>
10430 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10433 2005-05-05 Wim Taymans <wim@fluendo.com>
10435 * gst/base/Makefile.am:
10436 * gst/base/gstbasesink.h:
10437 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10438 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10439 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10440 (gst_collectpads_class_init), (gst_collectpads_init),
10441 (gst_collectpads_finalize), (gst_collectpads_new),
10442 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10443 (find_pad), (gst_collectpads_remove_pad),
10444 (gst_collectpads_is_active), (gst_collectpads_collect),
10445 (gst_collectpads_collect_range), (gst_collectpads_start),
10446 (gst_collectpads_stop), (gst_collectpads_peek),
10447 (gst_collectpads_pop), (gst_collectpads_available),
10448 (gst_collectpads_read), (gst_collectpads_flush),
10449 (gst_collectpads_chain):
10450 * gst/base/gstcollectpads.h:
10451 * gst/elements/Makefile.am:
10452 * gst/elements/gstelements.c:
10453 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10454 (gst_fakesink_get_times), (gst_fakesink_event),
10455 (gst_fakesink_preroll), (gst_fakesink_render):
10456 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10457 (gst_filesink_init), (gst_filesink_set_location),
10458 (gst_filesink_open_file), (gst_filesink_close_file),
10459 (gst_filesink_pad_query), (gst_filesink_event),
10460 (gst_filesink_render), (gst_filesink_change_state):
10461 * gst/elements/gstfilesink.h:
10462 Added object to help in making collect pad based elements.
10464 Make event function in sink baseclass return gboolean.
10466 2005-05-05 Wim Taymans <wim@fluendo.com>
10468 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10469 (gst_bin_get_by_name):
10471 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10472 (gst_clock_finalize):
10473 * gst/gstdata.c: (gst_data_replace):
10475 * gst/gstelement.c: (gst_element_request_pad),
10476 (gst_element_pads_activate):
10477 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10478 (gst_object_unref):
10479 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10480 (gst_pad_set_checkgetrange_function),
10481 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10482 (gst_pad_check_pull_range), (gst_pad_pull_range),
10483 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10484 (gst_pad_pause_task), (gst_pad_stop_task):
10485 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10486 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10487 Fix name lookup in GstBin.
10488 Added _data_replace() function and _buffer_replace()
10489 Use finalize method to clean up clock.
10490 Fix refcounting on request pads.
10491 Fix pad schedule mode error.
10492 Some more object refcounting debug info,
10495 2005-05-04 Andy Wingo <wingo@pobox.com>
10497 * check/Makefile.am:
10498 * docs/gst/tmpl/gstatomic.sgml:
10499 * docs/gst/tmpl/gstplugin.sgml:
10500 * gst/base/gstbasesink.c: (gst_basesink_activate):
10501 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10502 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10503 (gst_basesrc_query), (gst_basesrc_set_property),
10504 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10505 (gst_basesrc_activate):
10506 * gst/base/gstbasesrc.h:
10507 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10508 (gst_base_transform_src_activate):
10509 * gst/elements/gstelements.c:
10510 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10511 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10512 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10513 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10514 (gst_type_find_element_checkgetrange),
10515 (gst_type_find_element_activate):
10516 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10517 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10518 (gst_caps_load_thyself):
10519 * gst/gstelement.c: (gst_element_pads_activate),
10520 (gst_element_save_thyself), (gst_element_restore_thyself):
10521 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10522 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10524 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10525 (gst_xml_parse_file), (gst_xml_parse_memory),
10526 (gst_xml_get_element), (gst_xml_make_element):
10527 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10528 (_file_index_id_save_xml), (gst_file_index_commit):
10529 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10530 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10532 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10533 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10534 * tools/gst-complete.c: (main):
10535 * tools/gst-compprep.c: (main):
10536 * tools/gst-inspect.c: (print_element_properties_info):
10537 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10538 * tools/gst-xmlinspect.c: (print_element_properties):
10541 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10543 * gst/gstplugin.c: (gst_plugin_check_module),
10544 (gst_plugin_check_file), (gst_plugin_load_file):
10545 apply patch from #172526 to make register work on MacOSX
10547 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10549 * docs/gst/tmpl/gstconfig.sgml:
10550 * gst/gstconfig.h.in:
10551 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10552 * testsuite/debug/printf_extension.c: (main):
10553 Do not use GST_PTR_FORMAT on pointers to types with
10554 sizeof < sizeof(gpointer). Fixes test on 64-bit
10555 * testsuite/elements/property.h:
10556 use correct printf format
10558 2005-05-02 Wim Taymans <wim@fluendo.com>
10560 * docs/design/draft-push-pull.txt:
10561 * docs/design/draft-query.txt:
10562 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10563 (gst_basesrc_start):
10564 Added draft for new query API.
10565 Added draft for better selecting scheduling methods.
10566 Make basesrc ignore length if the subclass does not support
10569 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10572 possible fixes for automake-1.5 - _LIBADD is reserved
10574 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10576 * docs/faq/Makefile.am:
10577 * docs/manual/Makefile.am:
10578 * docs/manuals.mak:
10579 * docs/pwg/Makefile.am:
10581 possible fixes for automake-1.5
10583 2005-04-28 Wim Taymans <wim@fluendo.com>
10585 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10586 (gst_basesink_pad_getcaps), (gst_basesink_init),
10587 (gst_basesink_do_sync):
10588 * gst/gstclock.c: (gst_clock_entry_new):
10589 * gst/gstevent.c: (gst_event_discont_get_value):
10590 * gst/gstpipeline.c: (pipeline_bus_handler),
10591 (gst_pipeline_change_state):
10592 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10593 Better debugging of clocking info.
10594 Allow NULL values when getting discont values.
10596 2005-04-27 Wim Taymans <wim@fluendo.com>
10598 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10599 * check/gst/gstpad.c: (gst_pad_suite):
10600 Increase timeout for checks.
10602 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10604 * check/Makefile.am:
10605 fix the broken rule for cleanup. Apparently this rule is
10606 only needed on FC2, so maybe this warrants further autotool
10609 2005-04-26 Wim Taymans <wim@fluendo.com>
10611 * gst/gsttrashstack.h:
10612 Ooohh. a nasty one! After having a failed pop() from the stack,
10613 it's possible that the stack is empty. In that case, don't
10614 follow the NULL pointer.
10616 2005-04-25 Wim Taymans <wim@fluendo.com>
10618 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10619 (gst_pad_set_checkgetrange_function),
10620 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10621 (gst_pad_check_pull_range), (gst_pad_pull_range),
10622 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10623 (gst_pad_pause_task), (gst_pad_stop_task):
10624 * gst/gstplugin.c: (gst_plugin_load):
10626 Remove gst_library_load as it does more harm than good with
10627 the new g_module flags.
10628 Revert bogus caps template check in pad linking, pad caps
10629 are important when linking not the template, which is more
10630 general than the current caps.
10632 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10634 * gst/autoplug/.cvsignore:
10635 * gst/autoplug/Makefile.am:
10636 * gst/autoplug/gstsearchfuncs.c:
10637 * gst/autoplug/gstsearchfuncs.h:
10638 * gst/autoplug/gstspider.c:
10639 * gst/autoplug/gstspider.h:
10640 * gst/autoplug/gstspideridentity.c:
10641 * gst/autoplug/gstspideridentity.h:
10642 * gst/autoplug/spidertest.c:
10645 2005-04-25 Wim Taymans <wim@fluendo.com>
10647 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10648 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10649 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10650 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10652 Added stubs for unimplemented functions.
10654 2005-04-24 David Schleef <ds@schleef.org>
10656 * gst/gstpad.h: Disable some unimplemented functions. Wim,
10659 2005-04-24 David Schleef <ds@schleef.org>
10661 Convert everything from GstAtomicInt to g_atomic_int_*, and
10666 * gst/gstatomic_impl.h:
10674 * gst/gstdata_private.h:
10678 * gst/gstmessage.c:
10681 * gst/gststructure.c:
10682 * gst/gststructure.h:
10683 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10686 2005-04-24 David Schleef <ds@schleef.org>
10688 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10689 make the regressions tests work. Remove some code that is no
10691 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10692 Disable warning for pads without templates.
10694 2005-04-24 David Schleef <ds@schleef.org>
10696 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
10697 functions that handle filtered links.
10698 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10700 * gst/gstutils.c: Fix/remove utility functions that handle
10703 * gst/gstvalue.c: Add serialization/deserialization of caps
10704 * gst/parse/grammar.y: Ignore filtered caps when linking. This
10705 requires fixing so that the filter caps notation creates
10706 a capsfilter element and sets the filter_caps property. I
10707 think everyone probably wants to keep the shorthand notation.
10708 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10709 * docs/gst/tmpl/gstpad.sgml:
10711 * gst/elements/gstelements.c: Register capsfilter element.
10712 * gst/Makefile.am: fix spacing
10713 * docs/random/ds/0.9-suggested-changes: random
10715 2005-04-23 David Schleef <ds@schleef.org>
10717 * gst/elements/Makefile.am:
10718 * gst/elements/gstcapsfilter.c: New element that acts like an
10719 identity, but filters caps. Will eventually replace filtered
10720 caps in pad linking.
10721 * gst/gstutils.c: (gst_element_create_all_pads): New function
10722 to create all the ALWAYS pads that are registered with an
10723 element class. This functionality should eventually be
10724 merged in with GstElement initialization.
10726 * testsuite/trigger/README: part of trigger test code that should
10727 have been checked in a long time ago.
10729 2005-04-23 David Schleef <ds@schleef.org>
10731 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
10732 needed with new versions of libtool (nobody will confirm this),
10733 and hard to carry around.
10734 * gst/autoplug/Makefile.am:
10735 * gst/base/Makefile.am:
10736 * gst/elements/Makefile.am:
10737 * gst/indexers/Makefile.am:
10738 * gst/schedulers/Makefile.am:
10739 * libs/gst/bytestream/Makefile.am:
10740 * libs/gst/control/Makefile.am:
10741 * libs/gst/dataprotocol/Makefile.am:
10742 * libs/gst/getbits/Makefile.am:
10744 2005-04-21 Wim Taymans <wim@fluendo.com>
10746 * docs/design/draft-push-pull.txt:
10747 * docs/design/part-MT-refcounting.txt:
10748 * docs/design/part-TODO.txt:
10749 * docs/design/part-caps.txt:
10750 * docs/design/part-events.txt:
10751 * docs/design/part-gstbus.txt:
10752 * docs/design/part-gstpipeline.txt:
10753 * docs/design/part-messages.txt:
10754 * docs/design/part-push-pull.txt:
10755 * docs/design/part-query.txt:
10758 2005-04-21 Wim Taymans <wim@fluendo.com>
10760 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10761 (gst_message_new), (gst_message_new_error),
10762 (gst_message_new_warning), (gst_message_new_tag),
10763 (gst_message_new_state_changed), (gst_message_new_application),
10764 (gst_message_get_structure):
10765 * gst/gstmessage.h:
10766 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10767 (gst_structure_copy_conditional):
10768 Use parent refcount in GstMessage to ensure GstStructure
10770 Cleaned up headers a bit.
10773 2005-04-20 Wim Taymans <wim@fluendo.com>
10775 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10776 (gst_basesink_pad_getcaps), (gst_basesink_init),
10777 (gst_basesink_chain_unlocked):
10778 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10779 (gst_type_find_helper):
10780 * gst/elements/gsttypefindelement.c:
10781 (gst_type_find_element_have_type), (gst_type_find_element_init),
10782 (stop_typefinding), (gst_type_find_element_handle_event),
10783 (find_suggest), (gst_type_find_element_chain),
10784 (gst_type_find_element_checkgetrange),
10785 (gst_type_find_element_getrange), (do_typefind),
10786 (gst_type_find_element_activate):
10787 * gst/gstbuffer.c: (_gst_buffer_sub_free),
10788 (gst_buffer_default_free), (gst_buffer_default_copy),
10789 (gst_buffer_set_caps):
10790 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10791 (gst_caps_replace):
10792 * gst/gstmessage.c: (gst_message_new),
10793 (gst_message_new_state_changed):
10794 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10795 (gst_pad_set_checkgetrange_function),
10796 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10797 (gst_pad_set_caps), (gst_pad_check_pull_range),
10798 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10800 * gst/gsttypefind.c: (gst_type_find_register):
10801 Make gst_caps_replace() work like other _replace() functions.
10802 Use _caps_replace() where possible.
10803 Make sure _message_new() initialises its field.
10804 Add gst_static_pad_template_get_caps()
10807 2005-04-18 Andy Wingo <wingo@pobox.com>
10809 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10810 on the peer, not the pad. I think that was a typo. Pass an extra
10811 arg to see if random access is possible. Activate the pads as
10812 PULL_RANGE if possible.
10814 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10816 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
10817 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10820 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10822 * docs/faq/using.xml:
10823 Add note on gstreamer-properties (#154996).
10825 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10827 * docs/random/bbb/optional-properties:
10828 Some analysis on optional properties.
10830 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10832 * docs/gst/tmpl/gstelementfactory.sgml:
10833 * gst/gstelement.h:
10834 * gst/gstelementfactory.c: (gst_element_factory_init),
10835 (gst_element_factory_cleanup), (gst_element_register),
10836 (__gst_element_factory_add_static_pad_template),
10837 (gst_element_factory_get_static_pad_templates),
10838 (gst_element_factory_can_src_caps),
10839 (gst_element_factory_can_sink_caps):
10840 * gst/registries/Makefile.am:
10841 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10842 (gst_xml_registry_class_init), (gst_xml_registry_init),
10843 (gst_xml_registry_new), (gst_xml_registry_set_property),
10844 (gst_xml_registry_get_property), (get_time), (make_dir),
10845 (gst_xml_registry_get_perms_func),
10846 (plugin_times_older_than_recurse), (plugin_times_older_than),
10847 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10848 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10849 (add_to_char_array), (read_string), (read_uint), (read_enum),
10850 (load_pad_template), (load_feature), (load_plugin), (load_paths),
10851 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10852 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10853 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10854 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10855 (gst_xml_registry_rebuild):
10856 * gst/registries/gstlibxmlregistry.h:
10857 * tools/gst-compprep.c: (main):
10858 * tools/gst-inspect.c: (print_pad_templates_info):
10859 * tools/gst-xmlinspect.c: (print_element_info):
10860 Use libxml2 for registry parsing, use staticpadtemplates in
10861 elementfactories. Makes gst_init() +/- 10x faster.
10863 2005-04-12 Wim Taymans <wim@fluendo.com>
10865 * gst/base/Makefile.am:
10866 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10867 (gst_basesink_pad_getcaps), (gst_basesink_init),
10868 (gst_basesink_event), (gst_basesink_change_state):
10869 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10870 (gst_basesrc_init), (gst_basesrc_query),
10871 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10872 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10873 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10874 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10875 (gst_basesrc_stop), (gst_basesrc_activate),
10876 (gst_basesrc_change_state):
10877 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10878 (helper_find_suggest), (gst_type_find_helper):
10879 * gst/base/gsttypefindhelper.h:
10880 * gst/elements/Makefile.am:
10881 * gst/elements/gstelements.c:
10882 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10883 (gst_fakesink_get_times), (gst_fakesink_event),
10884 (gst_fakesink_preroll), (gst_fakesink_render):
10885 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10886 (gst_fakesrc_init), (gst_fakesrc_event_handler),
10887 (gst_fakesrc_get_property), (gst_fakesrc_create),
10888 (gst_fakesrc_start), (gst_fakesrc_stop):
10889 * gst/elements/gstfakesrc.h:
10890 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10891 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10892 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10893 (gst_filesrc_create_read), (gst_filesrc_create),
10894 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10895 (gst_filesrc_start):
10896 * gst/elements/gsttypefindelement.c:
10897 (gst_type_find_element_have_type), (gst_type_find_element_init),
10898 (start_typefinding), (stop_typefinding), (push_buffer_store),
10899 (gst_type_find_element_handle_event),
10900 (gst_type_find_element_chain),
10901 (gst_type_find_element_checkgetrange),
10902 (gst_type_find_element_getrange), (do_typefind),
10903 (gst_type_find_element_activate),
10904 (gst_type_find_element_change_state):
10905 * gst/elements/gsttypefindelement.h:
10906 * gst/gstpipeline.c: (pipeline_bus_handler):
10907 Added typefind helper.
10908 Small preroll fix in the base sink.
10909 Disable typefind code in basesrc.
10910 Crude port of typefindelement.
10914 2005-04-11 Wim Taymans <wim@fluendo.com>
10916 * check/gst/gstbus.c: (gstbus_suite):
10917 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10918 * check/gstcheck.h:
10919 Fix up the timeout so that the test does not fail.
10921 2005-04-06 Wim Taymans <wim@fluendo.com>
10924 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10925 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10926 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10927 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10928 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10929 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10930 (gst_basesrc_stop), (gst_basesrc_activate),
10931 (gst_basesrc_change_state), (basesrc_find_peek),
10932 (basesrc_find_suggest), (gst_basesrc_type_find):
10933 * gst/base/gstbasesrc.h:
10934 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10935 (gst_filesrc_class_init), (gst_filesrc_init),
10936 (gst_filesrc_finalize), (gst_filesrc_set_location),
10937 (gst_filesrc_set_property), (gst_filesrc_get_property),
10938 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10939 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10940 (gst_filesrc_create_read), (gst_filesrc_create),
10941 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10942 * gst/elements/gstfilesrc.h:
10943 * gst/gstelement.c: (gst_element_get_state_func),
10944 (gst_element_lost_state), (gst_element_pads_activate):
10945 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10946 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10947 (gst_pad_pull_range):
10949 More work on the generic source base class, implement seeking,
10951 Make filesrc extend the base source class.
10952 Added gst_pad_set_checkgetrange_function to GstPad.
10954 2005-04-06 Andy Wingo <wingo@pobox.com>
10956 * pkgconfig/gstreamer-base.pc.in:
10957 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10959 * pkgconfig/Makefile.am:
10960 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10962 2005-04-04 Wim Taymans <wim@fluendo.com>
10964 * gst/base/Makefile.am:
10966 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10967 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10968 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10969 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10970 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10971 (gst_basesrc_base_init), (gst_basesrc_class_init),
10972 (gst_basesrc_init), (gst_basesrc_get_formats),
10973 (gst_basesrc_get_query_types), (gst_basesrc_query),
10974 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10975 (gst_basesrc_set_property), (gst_basesrc_get_property),
10976 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10977 (gst_basesrc_loop), (gst_basesrc_activate),
10978 (gst_basesrc_change_state):
10979 * gst/base/gstbasesrc.h:
10980 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10981 (gst_fakesrc_class_init), (gst_fakesrc_init),
10982 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10983 (gst_fakesrc_get_property), (gst_fakesrc_create):
10984 * gst/elements/gstfakesrc.h:
10985 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10986 (gst_filesrc_open_file), (gst_filesrc_loop),
10987 (gst_filesrc_activate), (filesrc_find_peek),
10988 (gst_filesrc_type_find):
10989 Made base source class, make fakesrc extend it.
10990 Add comments to basesink class.
10991 Some filesrc cleanup.
10993 2005-03-31 David Schleef <ds@schleef.org>
10995 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10996 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10997 expected to link against libgstreamer.
10998 * gst/base/Makefile.am: link against libgstreamer
10999 * gst/elements/Makefile.am: same
11001 2005-03-31 Andy Wingo <wingo@pobox.com>
11003 * tests/instantiate/Makefile.am:
11004 * tests/instantiate/caps.c: Add test to test speed of caps copy
11007 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11008 GMemChunk to be fair.
11010 * gst/gsttrashstack.h: Remove warning about using the fallback
11011 trash stack implementation, it's still faster than malloc.
11013 2005-03-30 Andy Wingo <wingo@pobox.com>
11015 * tests/complexity.c: Add a copyright.
11017 2005-03-31 Wim Taymans <wim@fluendo.com>
11019 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11020 (gst_base_transform_class_init), (gst_base_transform_init),
11021 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11022 (gst_base_transform_get_property),
11023 (gst_base_transform_sink_activate),
11024 (gst_base_transform_src_activate),
11025 (gst_base_transform_change_state):
11026 * gst/base/gstbasetransform.h:
11027 * gst/elements/gstidentity.c: (gst_identity_class_init),
11028 (gst_identity_event), (gst_identity_check_perfect),
11029 (gst_identity_transform), (gst_identity_start),
11030 (gst_identity_stop):
11031 Added start/stop methods to transform base class so subclasses
11032 don't need to deal with state changes even.
11034 2005-03-31 Wim Taymans <wim@fluendo.com>
11036 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11037 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11039 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11040 (gst_pad_pull_range):
11041 Added rate to the discont event to prepare for variable speed
11042 and reverse playback.
11044 2005-03-29 David Schleef <ds@schleef.org>
11047 * testsuite/trigger/Makefile.am:
11048 * testsuite/trigger/trigger.c: A little example program to show
11049 how trigger-based elements can work.
11051 2005-03-29 Wim Taymans <wim@fluendo.com>
11053 * gst/base/Makefile.am:
11055 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11056 (gst_basesink_base_init), (gst_basesink_class_init),
11057 (gst_basesink_pad_getcaps), (gst_basesink_init),
11058 (gst_basesink_activate), (gst_basesink_change_state):
11059 * gst/base/gstbasesink.h:
11060 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11061 (gst_base_transform_base_init), (gst_base_transform_finalize),
11062 (gst_base_transform_class_init), (gst_base_transform_init),
11063 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11064 (gst_base_transform_event), (gst_base_transform_getrange),
11065 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11066 (gst_base_transform_set_property),
11067 (gst_base_transform_get_property),
11068 (gst_base_transform_sink_activate),
11069 (gst_base_transform_src_activate),
11070 (gst_base_transform_change_state):
11071 * gst/base/gstbasetransform.h:
11072 * gst/elements/gstidentity.c: (gst_identity_finalize),
11073 (gst_identity_class_init), (gst_identity_init),
11074 (gst_identity_event), (gst_identity_check_perfect),
11075 (gst_identity_transform), (gst_identity_set_property),
11076 (gst_identity_get_property), (gst_identity_change_state):
11077 * gst/elements/gstidentity.h:
11078 * gst/gstelement.c: (gst_element_get_state_func),
11079 (gst_element_lost_state), (gst_element_pads_activate):
11080 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11081 (gst_pad_check_pull_range), (gst_pad_pull_range):
11083 Simplify pad activation.
11084 Added function to check if pull_range can be performed.
11085 Error out when pulling inactive or flushing pads.
11086 Removed const from refcounted types as it does not make sense.
11087 Simplify pad templates in basesink
11088 Added base class for simple 1-to-1 transforms.
11089 Make identity subclass the base transform.
11091 2005-03-29 Andy Wingo <wingo@pobox.com>
11093 * docs/libs/gstreamer-libs-overrides.txt:
11094 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11095 really don't understand what's going on, but like whatever. I want
11098 * docs/gst/Makefile.am:
11099 * docs/libs/Makefile.am: Dist the overrides files.
11101 * check/Makefile.am (clean-local): Remove .libs directories.
11103 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11104 elements to EXTRA_DIST, so po/ files are happy.
11106 * po/POTFILES.in: Er, remove it here.
11108 * po/POTFILES: Remove gstspider.c.
11110 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11112 * docs/libs/gstreamer-libs-docs.sgml:
11113 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11116 * tests/complexity.c (main): Set the length of the preroll queue
11117 on the sinks to prevent a lockup.
11119 * libs/gst/dataprotocol/Makefile.am:
11120 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11121 the same as the one in check/gst-libs/gdp.c.
11123 * po/, docs/gst/: Commit automatic changes to docs and po files.
11125 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11126 the versioned libgstbase.
11128 * check/Makefile.am: Depend on an unversioned gst-register, seems
11129 to make autoconf happier.
11131 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11133 2005-03-28 Wim Taymans <wim@fluendo.com>
11136 * docs/design/part-gstelement.txt:
11137 * docs/design/part-negotiation.txt:
11138 * docs/design/part-preroll.txt:
11139 * docs/design/part-scheduling.txt:
11140 * docs/design/part-states.txt:
11142 * gst/base/Makefile.am:
11144 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11145 (gst_basesink_base_init), (gst_basesink_class_init),
11146 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11147 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11148 (gst_basesink_set_pad_functions),
11149 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11150 (gst_basesink_set_property), (gst_basesink_get_property),
11151 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11152 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11153 (gst_basesink_preroll_queue_push),
11154 (gst_basesink_preroll_queue_empty),
11155 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11156 (gst_basesink_event), (gst_basesink_get_times),
11157 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11158 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11159 (gst_basesink_loop), (gst_basesink_activate),
11160 (gst_basesink_change_state):
11161 * gst/base/gstbasesink.h:
11162 * gst/elements/Makefile.am:
11163 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11164 (gst_fakesink_class_init), (gst_fakesink_init),
11165 (gst_fakesink_set_property), (gst_fakesink_get_property),
11166 (gst_fakesink_get_times), (gst_fakesink_event),
11167 (gst_fakesink_preroll), (gst_fakesink_render),
11168 (gst_fakesink_change_state):
11169 * gst/elements/gstfakesink.h:
11170 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11171 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11172 * gst/gstelement.c: (gst_element_add_pad),
11173 (gst_element_get_state_func), (gst_element_abort_state),
11174 (gst_element_commit_state), (gst_element_lost_state),
11175 (gst_element_set_state), (gst_element_pads_activate):
11176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11177 * gst/gstpipeline.c: (gst_pipeline_send_event),
11178 (gst_pipeline_change_state):
11179 Added state change code.
11180 Added/updated docs.
11181 Added sink base class, make fakesink extend the base class.
11182 Small cleanups in GstPipeline.
11184 2005-03-26 David Schleef <ds@schleef.org>
11186 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11187 is broken and should be implemented in a different library.
11188 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11189 * gst/gst.h: remove gstcpu.h
11190 * gst/gstcpu.c: remove
11191 * gst/gstcpu.h: remove
11192 * gst/Makefile.am.future: Remove this file. It's ancient.
11194 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11196 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11197 (gst_bin_send_event):
11198 Add default event/set_manager handlers. The set_manager handler
11199 takes care that the manager is distributed over kids that were
11200 already in the bin before the manager was set. The event handler
11201 is a utility virtual function that sends the event over all sinks,
11202 so that gst_element_send_event (bin, event); has the expected
11204 * gst/gstpad.c: (gst_pad_event_default):
11205 Re-install default event handling for discontinuities, so that
11206 seeking works without requiring hacks in applications or extra
11208 * gst/gstpipeline.c: (gst_pipeline_class_init),
11209 (gst_pipeline_send_event):
11210 Half hack, half utility: set a pipeline to PAUSED for seek events,
11211 since that is the only way we can guarantee a/v sync. Means that
11212 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11213 and it "just works".
11215 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11217 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11218 Lock/unlock mismatch.
11220 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11222 * docs/faq/gst-uninstalled:
11223 add gst-plugins-base
11224 * docs/gst/Makefile.am:
11225 don't error out until docs are fixed
11226 * docs/gst/gstreamer.types:
11229 2005-03-22 Wim Taymans <wim@fluendo.com>
11231 * check/Makefile.am:
11232 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11233 * gst/gststructure.c: (gst_structure_set_valist),
11234 (gst_structure_copy_conditional):
11235 Activated more tests.
11236 Added message test.
11237 Added G_TYPE_POINTER to GstStructure.
11240 2005-03-22 Wim Taymans <wim@fluendo.com>
11242 * docs/design/part-TODO.txt:
11243 * docs/design/part-events.txt:
11244 * docs/design/part-gstbin.txt:
11245 * docs/design/part-gstbus.txt:
11246 * docs/design/part-gstpipeline.txt:
11247 * docs/design/part-messages.txt:
11249 * gst/gstmessage.c:
11252 2005-03-21 Wim Taymans <wim@fluendo.com>
11254 * gst/gstbus.c: (gst_bus_post):
11255 Fix copy-and-paste error.
11257 2005-03-21 Wim Taymans <wim@fluendo.com>
11259 * check/Makefile.am:
11261 * gst/elements/Makefile.am:
11262 * gst/elements/gstelements.c:
11263 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11264 (gst_fakesink_event), (gst_fakesink_chain):
11265 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11266 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11267 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11268 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11269 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11270 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11271 (gst_fakesrc_loop), (gst_fakesrc_activate),
11272 (gst_fakesrc_change_state):
11273 * gst/elements/gstfakesrc.h:
11274 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11275 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11276 (gst_filesrc_open_file), (gst_filesrc_loop),
11277 (gst_filesrc_activate), (gst_filesrc_change_state),
11278 (filesrc_find_peek), (filesrc_find_suggest),
11279 (gst_filesrc_type_find):
11280 * gst/elements/gstidentity.c: (gst_identity_finalize),
11281 (gst_identity_class_init), (gst_identity_init),
11282 (gst_identity_proxy_getcaps), (identity_queue_push),
11283 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11284 (gst_identity_getrange), (gst_identity_chain),
11285 (gst_identity_sink_loop), (gst_identity_src_loop),
11286 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11287 (gst_identity_set_property), (gst_identity_get_property),
11288 (gst_identity_change_state):
11289 * gst/elements/gstidentity.h:
11290 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11291 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11292 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11293 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11294 (gst_tee_sink_activate):
11295 * gst/elements/gsttee.h:
11296 * gst/gst.c: (gst_register_core_elements), (init_post):
11298 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11299 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11300 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11301 (gst_bin_change_state):
11303 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11304 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11305 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11306 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11307 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11308 (bus_watch_callback), (bus_watch_destroy),
11309 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11310 (poll_timeout), (gst_bus_poll):
11314 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11315 (gst_element_post_message), (gst_element_message_full),
11316 (gst_element_get_state_func), (gst_element_get_state),
11317 (gst_element_abort_state), (gst_element_commit_state),
11318 (gst_element_lost_state), (gst_element_set_state),
11319 (gst_element_pads_activate), (gst_element_change_state),
11320 (gst_element_dispose), (gst_element_set_manager_func),
11321 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11322 (gst_element_set_manager), (gst_element_get_manager),
11323 (gst_element_set_bus), (gst_element_get_bus),
11324 (gst_element_set_scheduler), (gst_element_get_scheduler):
11325 * gst/gstelement.h:
11326 * gst/gstevent.c: (gst_event_new_segment_seek),
11327 (gst_event_new_flush):
11329 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11330 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11331 (gst_message_new_eos), (gst_message_new_error),
11332 (gst_message_new_warning), (gst_message_new_tag),
11333 (gst_message_new_state_changed), (gst_message_new_application),
11334 (gst_message_get_structure), (gst_message_parse_tag),
11335 (gst_message_parse_state_changed), (gst_message_parse_error),
11336 (gst_message_parse_warning):
11337 * gst/gstmessage.h:
11338 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11339 (gst_real_pad_set_property), (gst_pad_set_active),
11340 (gst_pad_is_active), (gst_pad_set_blocked_async),
11341 (gst_pad_set_blocked), (gst_pad_is_blocked),
11342 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11343 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11344 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11345 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11346 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11347 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11348 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11349 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11350 (gst_pad_set_caps), (gst_pad_configure_sink),
11351 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11352 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11353 (gst_real_pad_dispose), (gst_real_pad_finalize),
11354 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11355 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11356 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11358 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11359 (pipeline_bus_handler), (gst_pipeline_change_state),
11360 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11361 * gst/gstpipeline.h:
11363 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11364 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11365 (gst_queue_link_src), (gst_queue_bufferalloc),
11366 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11367 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11368 (gst_queue_loop), (gst_queue_handle_src_event),
11369 (gst_queue_handle_src_query), (gst_queue_src_activate),
11370 (gst_queue_change_state):
11372 * gst/gstscheduler.c: (gst_scheduler_init),
11373 (gst_scheduler_dispose), (gst_scheduler_create_task),
11374 (gst_scheduler_factory_create):
11375 * gst/gstscheduler.h:
11376 * gst/gststructure.c: (gst_structure_get_type),
11377 (gst_structure_copy_conditional):
11378 * gst/gststructure.h:
11379 * gst/gsttaginterface.h:
11380 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11381 (gst_task_init), (gst_task_dispose), (gst_task_create),
11382 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11388 * gst/schedulers/Makefile.am:
11389 * gst/schedulers/cothreads_compat.h:
11390 * gst/schedulers/entryscheduler.c:
11391 * gst/schedulers/faircothreads.c:
11392 * gst/schedulers/faircothreads.h:
11393 * gst/schedulers/fairscheduler.c:
11394 * gst/schedulers/gstbasicscheduler.c:
11395 * gst/schedulers/gstoptimalscheduler.c:
11396 * gst/schedulers/gthread-cothreads.h:
11397 * gst/schedulers/threadscheduler.c:
11398 (gst_thread_scheduler_task_get_type),
11399 (gst_thread_scheduler_task_class_init),
11400 (gst_thread_scheduler_task_init),
11401 (gst_thread_scheduler_task_start),
11402 (gst_thread_scheduler_task_stop),
11403 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11404 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11405 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11406 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11408 * libs/gst/Makefile.am:
11409 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11410 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11411 (gst_file_pad_parent_set):
11412 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11413 (gst_dp_event_from_packet):
11414 * tests/complexity.c: (main):
11415 * tests/mass_elements.c: (main):
11416 * testsuite/states/locked.c: (message_received), (main):
11417 * testsuite/states/parent.c: (main):
11418 * tools/gst-inspect.c: (print_element_flag_info),
11419 (print_implementation_info), (print_pad_info):
11420 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11422 * tools/gst-md5sum.c: (event_loop), (main):
11423 * tools/gst-typefind.c: (main):
11424 * tools/gst-xmlinspect.c: (print_element_info):
11426 Added GstBus for mainloop integration.
11427 Added GstMessage for sending notifications on the bus.
11428 Added GstTask as an abstraction for pipeline entry points.
11430 Removed Schedulers.
11431 Simplified GstQueue for multithreaded core.
11432 Made _link threadsafe, removed old capsnego.
11433 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11434 Added pad blocking functions.
11435 Reworked scheduling functions in GstPad to prepare for
11436 scheduling updates soon.
11437 Moved events out of data stream.
11438 Simplified GstEvent types.
11439 Added return values to push/pull.
11440 Removed clocking from GstElement.
11441 Added prototypes for state change function for next merge.
11442 Removed iterate from bins and state change management.
11443 Fixed some elements, disabled others for now.
11444 Fixed -inspect and -launch.
11445 Added check for GstBus.
11447 2005-03-10 Wim Taymans <wim@fluendo.com>
11449 * docs/design/part-MT-refcounting.txt:
11450 * docs/design/part-clocks.txt:
11451 * docs/design/part-gstelement.txt:
11452 * docs/design/part-gstobject.txt:
11453 * docs/design/part-standards.txt:
11454 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11455 (gst_bin_remove_func), (gst_bin_remove):
11459 * testsuite/clock/clock1.c: (main):
11460 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11462 * testsuite/dlopen/loadgst.c: (do_test):
11463 * testsuite/refcounting/bin.c: (add_remove_test1),
11464 (add_remove_test2), (main):
11465 * testsuite/refcounting/element.c: (main):
11466 * testsuite/refcounting/element_pad.c: (main):
11467 * testsuite/refcounting/pad.c: (main):
11468 * tools/gst-launch.c: (sigint_handler_sighandler):
11469 * tools/gst-typefind.c: (main):
11471 Added doc about clock.
11472 removed gst_bin_iterate_recurse_up(), marked methods
11474 Fix more testsuites.
11476 2005-03-09 Wim Taymans <wim@fluendo.com>
11478 * gst/gstpad.c: (gst_pad_get_direction),
11479 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11480 (gst_pad_collect_valist):
11481 * testsuite/bins/interface.c: (main):
11482 * testsuite/caps/audioscale.c: (test_caps):
11483 * testsuite/caps/caps.c: (test1), (test2), (test3):
11484 * testsuite/caps/deserialize.c: (main):
11485 * testsuite/caps/enumcaps.c: (main):
11486 * testsuite/caps/filtercaps.c: (main):
11487 * testsuite/caps/intersect2.c: (main):
11488 * testsuite/caps/random.c: (main):
11489 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11490 * testsuite/caps/sets.c: (check_caps):
11491 * testsuite/caps/simplify.c: (check_caps), (main):
11492 * testsuite/caps/subtract.c: (check_caps):
11493 Fix _pad_get_direction wrt ghostpads.
11494 Fix caps testsuite.
11496 2005-03-09 Wim Taymans <wim@fluendo.com>
11498 * check/Makefile.am:
11499 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11500 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11501 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11502 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11503 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11504 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11505 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11506 (bin_element_is_sink), (gst_bin_iterate_sinks),
11507 (gst_bin_iterate_all_by_interface):
11509 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11510 (gst_element_change_state), (gst_element_dispose),
11511 (gst_element_finalize), (gst_element_set_loop_function):
11512 * gst/gstelement.h:
11513 * gst/gstiterator.c: (find_custom_fold_func):
11514 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11515 (gst_pad_collectv), (gst_pad_collect_valist),
11516 (gst_pad_template_new):
11517 * gst/gstpipeline.c: (gst_pipeline_class_init),
11518 (gst_pipeline_dispose), (gst_pipeline_set_property),
11519 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11520 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11521 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11523 * gst/schedulers/entryscheduler.c:
11524 * gst/schedulers/gstbasicscheduler.c:
11525 (gst_basic_scheduler_cothreaded_chain),
11526 (gst_basic_scheduler_chain_add_element):
11527 * testsuite/bins/interface.c: (main):
11529 Added GstSystemClock test.
11530 Implemented clock distribution code in GstBin.
11531 Implemented iterate sinks method for future use.
11532 Rearranged gstelement.h
11533 Fix GstIterator comparison bug.
11534 Moved some code to GstPipeline, mostly clocking related.
11536 2005-03-09 Wim Taymans <wim@fluendo.com>
11539 * gst/gst_private.h:
11540 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11541 (gst_bin_remove_func), (gst_bin_remove),
11542 (gst_bin_get_by_name_recurse_up):
11543 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11544 (gst_clock_id_compare_func), (gst_clock_id_wait),
11545 (gst_clock_id_wait_async), (gst_clock_init),
11546 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11547 * gst/gstelement.h:
11548 * gst/gstinfo.c: (_gst_debug_init):
11550 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11551 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11553 Bump version number, we're now 0.9.0
11554 Add future debugging category.
11555 Fix NULL _unref() in _get_by_name_recurse_up
11556 Rearrange gstpad.h.
11559 2005-03-08 Wim Taymans <wim@fluendo.com>
11561 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11562 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11563 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11564 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11565 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11566 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11567 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11568 * gst/elements/gstidentity.c: (gst_identity_class_init):
11569 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11570 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11571 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11572 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11573 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11575 * gst/gstelement.c: (gst_element_class_init),
11576 (gst_element_base_class_init), (gst_element_init),
11577 (gst_element_get_random_pad), (gst_element_wait_state_change),
11578 (gst_element_change_state), (gst_element_dispose),
11579 (gst_element_finalize), (gst_element_set_loop_function):
11580 * gst/gstelement.h:
11581 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11582 * gst/gstthread.c: (gst_thread_class_init),
11583 (gst_thread_release_children_locks), (gst_thread_change_state):
11584 * gst/schedulers/gstbasicscheduler.c:
11585 (gst_basic_scheduler_loopfunc_wrapper),
11586 (gst_basic_scheduler_chain_wrapper),
11587 (gst_basic_scheduler_src_wrapper),
11588 (gst_basic_scheduler_remove_element):
11589 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11590 Remove threadsafe properties. Fix elements because GObject
11591 complains when installing a property before declaring a
11592 set/get_property handler.
11593 Rearrange gstelement.h file, use STATE macros for state locks.
11594 Free mutexes in the finalize method instead of dispose.
11596 2005-03-08 Wim Taymans <wim@fluendo.com>
11598 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11599 * gst/gstthread.c: (gst_thread_release_children_locks):
11600 Added parentage check.
11601 Fix build og GstThread again.
11603 2005-03-08 Wim Taymans <wim@fluendo.com>
11605 * docs/design/part-MT-refcounting.txt:
11606 * docs/design/part-conventions.txt:
11607 * docs/design/part-gstobject.txt:
11608 * docs/design/part-relations.txt:
11609 * docs/design/part-standards.txt:
11610 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11611 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11612 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11613 (gst_bin_iterate_all_by_interface):
11616 * gst/gstelement.c: (gst_element_class_init),
11617 (gst_element_change_state), (gst_element_set_loop_function):
11618 * gst/gstelement.h:
11619 * gst/gstiterator.c:
11620 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11621 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11622 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11623 (gst_object_set_parent), (gst_object_unparent),
11624 (gst_object_check_uniqueness):
11626 Docs updates, clean up some headers.
11628 2005-03-07 Wim Taymans <wim@fluendo.com>
11630 * check/.cvsignore:
11631 * check/Makefile.am:
11632 * check/gst-libs/.cvsignore:
11633 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11634 * check/gst/.cvsignore:
11635 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11636 (START_TEST), (gstbus_suite), (main):
11637 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11638 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11639 (gst_data_suite), (main):
11640 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11641 (add_fold_func), (gstiterator_suite), (main):
11642 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11643 (thread_name_object), (thread_name_object_default),
11644 (gst_object_name_compare), (gst_object_suite), (main):
11645 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11646 (gst_pad_suite), (main):
11647 * check/gstcheck.c: (gst_check_log_message_func),
11648 (gst_check_log_critical_func), (gst_check_init):
11649 * check/gstcheck.h:
11650 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11651 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11654 2005-03-07 Wim Taymans <wim@fluendo.com>
11656 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11657 (gst_list_iterator_next), (gst_list_iterator_resync),
11658 (gst_list_iterator_free), (gst_iterator_new_list),
11659 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11660 (gst_iterator_free), (gst_iterator_push), (filter_next),
11661 (filter_resync), (filter_uninit), (filter_free),
11662 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11663 (gst_iterator_foreach), (find_custom_fold_func),
11664 (gst_iterator_find_custom):
11665 * gst/gstiterator.h:
11666 Added missing files.
11668 2005-03-07 Wim Taymans <wim@fluendo.com>
11672 * docs/design/part-MT-refcounting.txt:
11673 * docs/design/part-conventions.txt:
11674 * docs/design/part-gstobject.txt:
11675 * docs/design/part-relations.txt:
11676 * examples/mixer/mixer.c: (main):
11677 * examples/thread/thread.c: (eos), (main):
11679 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11680 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11681 (gst_spider_plug_from_srcpad):
11682 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11683 (gst_spider_identity_change_state),
11684 (gst_spider_identity_sink_loop_type_finding):
11685 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11686 * gst/elements/gstidentity.c: (gst_identity_init):
11687 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11688 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11689 * gst/elements/gsttypefindelement.c: (free_entry):
11692 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11693 (gst_bin_set_clock_func), (gst_bin_auto_clock),
11694 (gst_bin_set_index), (gst_bin_set_element_sched),
11695 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11696 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11697 (gst_bin_iterate_elements), (iterate_child_recurse),
11698 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11699 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11700 (compare_interface), (gst_bin_get_by_interface),
11701 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11703 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11704 (gst_buffer_default_free), (gst_buffer_default_copy),
11705 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11706 (gst_buffer_create_sub):
11708 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11709 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11710 (gst_caps_unref), (gst_static_caps_get),
11711 (gst_caps_remove_and_get_structure), (gst_caps_append),
11712 (gst_caps_append_structure), (gst_caps_remove_structure),
11713 (gst_caps_copy_nth), (gst_caps_set_simple),
11714 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11715 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11716 (gst_caps_structure_intersect_field), (gst_caps_intersect),
11717 (gst_caps_structure_subtract_field), (gst_caps_subtract),
11718 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11719 (gst_caps_structure_figure_out_union),
11720 (gst_caps_switch_structures), (gst_caps_do_simplify),
11721 (gst_caps_replace), (gst_caps_from_string),
11722 (gst_caps_copy_conditional):
11724 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11725 (_gst_clock_id_free), (gst_clock_id_unref),
11726 (gst_clock_id_compare_func), (gst_clock_id_wait),
11727 (gst_clock_id_wait_async), (gst_clock_class_init),
11728 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11729 (gst_clock_get_time), (gst_clock_set_time_adjust),
11730 (gst_clock_set_property), (gst_clock_get_property):
11733 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11734 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11736 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11737 (gst_element_requires_clock), (gst_element_provides_clock),
11738 (gst_element_set_clock), (gst_element_clock_wait),
11739 (gst_element_wait), (gst_element_set_time_delay),
11740 (gst_element_is_indexable), (gst_element_add_pad),
11741 (gst_element_add_ghost_pad), (gst_element_remove_pad),
11742 (pad_compare_name), (gst_element_get_static_pad),
11743 (gst_element_request_pad), (gst_element_get_request_pad),
11744 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11745 (gst_element_class_get_pad_template_list),
11746 (gst_element_class_get_pad_template), (gst_element_error_func),
11747 (gst_element_get_random_pad), (gst_element_get_event_masks),
11748 (gst_element_send_event), (gst_element_seek),
11749 (gst_element_get_query_types), (gst_element_query),
11750 (gst_element_get_formats), (gst_element_convert),
11751 (gst_element_is_locked_state), (gst_element_set_locked_state),
11752 (gst_element_sync_state_with_parent), (gst_element_change_state),
11753 (gst_element_finalize), (gst_element_yield),
11754 (gst_element_interrupt), (gst_element_set_scheduler),
11755 (gst_element_get_scheduler), (gst_element_set_loop_function):
11756 * gst/gstelement.h:
11758 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11759 (gst_format_get_by_nick), (gst_format_get_details),
11760 (gst_format_iterate_definitions):
11762 * gst/gstindex.c: (gst_index_gtype_resolver):
11765 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11766 (gst_mem_chunk_free):
11767 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11768 (gst_object_ref), (gst_object_unref), (gst_object_sink),
11769 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11770 (gst_object_dispatch_properties_changed),
11771 (gst_object_set_name_default), (gst_object_set_name),
11772 (gst_object_get_name), (gst_object_set_name_prefix),
11773 (gst_object_get_name_prefix), (gst_object_set_parent),
11774 (gst_object_get_parent), (gst_object_unparent),
11775 (gst_object_check_uniqueness), (gst_object_save_thyself),
11776 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11777 (gst_object_set_property), (gst_object_get_property),
11778 (gst_object_get_path_string):
11780 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11781 (gst_real_pad_init), (gst_real_pad_get_property),
11782 (gst_pad_custom_new), (gst_pad_get_direction),
11783 (gst_pad_set_active), (gst_pad_is_active),
11784 (gst_pad_set_event_function), (gst_pad_is_linked),
11785 (gst_pad_link_free), (gst_pad_link_intersect),
11786 (gst_pad_link_fixate), (gst_pad_set_caps),
11787 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11788 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11789 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11790 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11791 (gst_pad_get_caps), (gst_pad_peer_get_caps),
11792 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11793 (gst_pad_realize), (gst_pad_get_allowed_caps),
11794 (gst_real_pad_dispose), (gst_real_pad_finalize),
11795 (gst_pad_collectv), (gst_pad_collect_valist),
11796 (gst_pad_template_dispose), (gst_pad_template_new),
11797 (gst_pad_get_internal_links):
11799 * gst/gstpipeline.c: (gst_pipeline_dispose),
11800 (gst_pipeline_change_state):
11801 * gst/gstpipeline.h:
11803 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11804 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11805 * gst/gstpluginfeature.h:
11806 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11807 * gst/gstquery.c: (_gst_query_type_initialize),
11808 (gst_query_type_register), (gst_query_type_get_by_nick),
11809 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11811 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11812 * gst/gstscheduler.c: (gst_scheduler_add_element),
11813 (gst_scheduler_factory_create):
11814 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11815 (gst_structure_free), (gst_structure_set_name),
11816 (gst_structure_id_set_value), (gst_structure_set_value),
11817 (gst_structure_set_valist), (gst_structure_remove_field),
11818 (gst_structure_remove_fields),
11819 (gst_structure_remove_fields_valist),
11820 (gst_structure_remove_all_fields), (gst_structure_foreach),
11821 (gst_structure_map_in_place),
11822 (gst_caps_structure_fixate_field_nearest_int),
11823 (gst_caps_structure_fixate_field_nearest_double):
11824 * gst/gststructure.h:
11825 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11826 (gst_system_clock_init), (gst_system_clock_dispose),
11827 (gst_system_clock_async_thread),
11828 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11829 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11830 * gst/gstsystemclock.h:
11831 * gst/gsttag.c: (gst_tag_list_add_value_internal),
11832 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11833 * gst/gsttaginterface.c:
11834 * gst/gstthread.c: (gst_thread_dispose),
11835 (gst_thread_release_children_locks), (gst_thread_change_state),
11836 (gst_thread_main_loop):
11837 * gst/gsttrashstack.h:
11838 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11840 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11841 (gst_element_request_pad), (gst_element_get_pad_from_template),
11842 (gst_element_request_compatible_pad),
11843 (gst_element_get_compatible_pad_filtered),
11844 (gst_element_get_compatible_pad), (gst_element_state_get_name),
11845 (gst_element_link_pads_filtered), (gst_element_link_filtered),
11846 (gst_element_link_many), (gst_element_link),
11847 (gst_element_link_pads), (gst_element_unlink_pads),
11848 (gst_element_unlink_many), (gst_element_unlink),
11849 (gst_pad_can_link_filtered), (gst_pad_can_link),
11850 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11851 (gst_object_default_error), (gst_bin_add_many),
11852 (gst_bin_remove_many), (gst_element_populate_std_props),
11853 (gst_element_class_install_std_props), (gst_buffer_merge),
11854 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11855 (link_fold_func), (gst_pad_proxy_setcaps):
11857 * gst/gstvalue.c: (gst_value_deserialize_string):
11858 * gst/parse/grammar.y:
11859 * gst/schedulers/gstbasicscheduler.c:
11860 (gst_basic_scheduler_cothreaded_chain),
11861 (gst_basic_scheduler_chain_recursive_add),
11862 (gst_basic_scheduler_pad_link):
11863 * gst/schedulers/gstoptimalscheduler.c:
11864 (get_group_schedule_function),
11865 (gst_opt_scheduler_state_transition),
11866 (gst_opt_scheduler_add_element), (element_get_reachables_func):
11867 * libs/gst/bytestream/bytestream.c:
11868 * libs/gst/dataprotocol/dataprotocol.c:
11869 (gst_dp_header_from_buffer):
11872 * tests/threadstate/threadstate2.c: (eos):
11873 * tools/gst-compprep.c: (main):
11874 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11875 (print_pad_info), (print_children_info):
11876 * tools/gst-launch.c: (idle_func), (main):
11877 * tools/gst-md5sum.c: (idle_func), (main):
11878 * tools/gst-xmlinspect.c: (print_element_info):
11879 First THREADED backport attempt, focusing on adding locks and
11880 making sure the API is threadsafe. Needs more work. More docs
11883 2005-02-24 Andy Wingo <wingo@pobox.com>
11885 * tests/bench-complexity.scm:
11886 * tests/complexity.gnuplot: New files, good for running complexity
11889 * tests/Makefile.am:
11890 * tests/complexity.c: New test, sets up N elements, at each level
11891 teeing into M streams per element. Eeeenteresting.
11893 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11894 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11895 running bench-mass_elements.scm.
11897 * tests/bench-mass_elements.scm: New script, runs mass_elements
11898 for various numbers of identities, outputting the results to a
11899 file. Requires guile 1.6. Just for testing.
11901 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
11903 * gst/schedulers/fairscheduler.c:
11904 compile with debug disabled
11906 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11909 hunting season on 0.9 is now OPEN