1 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
3 * configure.ac: back to HEAD
7 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10 releasing 0.9.6, "Always On Time"
12 2005-11-23 Wim Taymans <wim@fluendo.com>
14 * docs/gst/gstreamer-sections.txt:
18 * gst/net/gstnetclientclock.c:
19 * gst/net/gstnettimepacket.h:
22 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
25 * docs/libs/tmpl/gstcontrol.sgml:
26 * docs/manual/advanced-dparams.xml:
27 * docs/manual/appendix-checklist.xml:
28 * docs/manual/basics-elements.xml:
29 * docs/pwg/other-source.xml:
30 * docs/random/moving-plugins:
32 * tools/gst-launch.1.in:
33 remove mentions of sinesrc
35 2005-11-23 Michael Smith <msmith@fluendo.com>
37 * docs/gst/gstreamer-sections.txt:
38 Update for new API and API changes.
40 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
42 Documentation typo fix.
43 * gst/net/gstnettimepacket.c:
44 Documentation fixes for arguments.
46 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
48 * gst/gststructure.c: (gst_structure_get_fraction),
49 (gst_structure_parse_value),
50 (gst_structure_fixate_field_nearest_fraction):
52 * gst/gstutils.c: (gst_util_uint64_scale_int):
54 * scripts/update-funcnames:
56 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
57 Make gst_structure_fixate_field_nearest_fraction take a numerator
58 and denominator argument instead of a GValue
59 add gst_structure_get_fraction helper function.
61 2005-11-23 Wim Taymans <wim@fluendo.com>
63 * docs/design/part-TODO.txt:
66 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
67 * gst/net/gstnetclientclock.h:
68 Use parent fields for timeout and window_size.
70 2005-11-23 Andy Wingo <wingo@pobox.com>
72 * check/net/gstnetclientclock.c (test_functioning): Adjust to
73 rate_num/rate_denom change.
75 * gst/net/gstnetclientclock.c
76 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
77 OBJECT_LOCK. Don't call add_observation with the lock.
79 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
81 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
83 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
84 deal with rate as a fraction whose numerator and denominator are
86 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
87 master; the other fields are protected by the SLAVE_LOCK.
88 (do_linear_regression): Note that this must be called with the
90 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
91 OBJECT_LOCK. Call set_calibration instead of touching the
93 (gst_clock_set_property, gst_clock_get_property): Protect
94 master/slave parameters with the SLAVE_LOCK.
96 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
97 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
98 note that all of the instance variables that add_observation and
99 the set_master functions use are protected by that lock and not
101 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
103 * gst/gstclock.c (gst_clock_add_observation): No longer requires
104 the caller to take the object lock.
106 2005-11-23 Wim Taymans <wim@fluendo.com>
108 * gst/gsterror.c: (_gst_core_errors_init):
110 Add error for clock stuff.
112 * gst/gstpipeline.c: (gst_pipeline_change_state),
113 (gst_pipeline_set_clock):
114 Post clock error when clock cannot be used in a pipeline.
116 2005-11-23 Stefan Kost <ensonic@users.sf.net>
118 * docs/gst/gstreamer-sections.txt:
119 make two symbols from gstinfo private for the docs
120 * gst/base/gstcollectpads.h:
122 fix doc typos, update docs
124 2005-11-22 Wim Taymans <wim@fluendo.com>
126 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
127 (gst_base_sink_wait), (gst_base_sink_do_sync),
128 (gst_base_sink_handle_event):
129 * gst/base/gstbasesink.h:
130 No need to store the clock, the parent element class already
133 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
134 Updates for clock_set returning a gboolean
136 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
137 (gst_clock_id_wait_async), (gst_clock_class_init),
138 (gst_clock_init), (gst_clock_finalize),
139 (gst_clock_get_internal_time), (gst_clock_get_time),
140 (gst_clock_slave_callback), (gst_clock_set_master),
141 (gst_clock_get_master), (do_linear_regression),
142 (gst_clock_add_observation), (gst_clock_set_property),
143 (gst_clock_get_property):
145 Implement master/slave. When setting a clock as a slave, a
146 periodic timeout is scheduled to sample master and slave times.
147 Then the slave clock is recalibrated to match offset and rate
149 Update logging a bit.
150 Add flag so that a clock can state that is cannot be slaved to
153 * gst/gstelement.c: (gst_element_set_clock):
155 The set clock returns a gboolean for when an element cannot
156 deal with the selected clock in the pipeline.
158 * gst/gstpipeline.c: (gst_pipeline_change_state),
159 (gst_pipeline_set_clock):
161 Handle the case where the selected clock cannot be set on
164 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
165 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
166 (gst_net_client_clock_set_property),
167 (gst_net_client_clock_get_property),
168 (gst_net_client_clock_observe_times):
169 * gst/net/gstnetclientclock.h:
170 Use regression code in GstClock parent, remove duplicated
173 2005-11-22 Michael Smith <msmith@fluendo.com>
175 * gst/gstutils.c: (gst_util_clock_time_scale):
177 * docs/gst/gstreamer-sections.txt:
178 Rename method to have extra underscore.
180 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
182 * gst/elements/Makefile.am:
183 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
184 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
185 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
186 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
187 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
188 * gst/elements/gstfakesrc.h:
189 * gst/gstqueue.c: (queue_leaky_get_type):
190 correctly fix GEnumValues so that nick is the short lowercase
192 * tools/gst-inspect.c: (print_element_properties_info):
193 also show the nick, since it's useful to use from parse_launch
197 2005-11-22 Michael Smith <msmith@fluendo.com>
199 * gst/gstutils.c: (gst_util_clocktime_scale):
201 * docs/gst/gstreamer-sections.txt:
202 Add util method for scaling a clocktime by a fraction. Useful
203 implementation is left as an exercise for the reader.
205 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
207 * gst/gstvalue.c: (gst_value_collect_fraction_range):
208 If needed, allocate storage in the destination value during
211 2005-11-22 Edward Hervey <edward@fluendo.com>
213 * docs/gst/gstreamer-sections.txt:
218 * gst/gstutils.c: (gst_util_set_object_arg):
219 * tools/gst-compprep.c: (main):
220 * tools/gst-inspect.c: (print_element_properties_info):
221 Removed GstURI, closes bug #321061
223 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
225 * check/gst/gststructure.c: (GST_START_TEST):
226 * gst/gststructure.c: (gst_structure_parse_value):
227 Oops, broke automatic string type parsing.
228 Add a test to catch it in future.
230 2005-11-22 Andy Wingo <wingo@pobox.com>
232 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
233 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
234 Actually rename the function implementations. Grr.
236 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
238 * check/gst/capslist.h:
240 * check/gst/gststructure.c: (GST_START_TEST),
241 (gst_structure_suite):
242 Test automatic value type detection in gst_structure_from_string.
243 * gst/gststructure.c: (gst_structure_parse_value):
244 Add fraction as a type we try and guess automatically in
245 caps/structure strings.
247 2005-11-22 Andy Wingo <wingo@pobox.com>
249 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
251 * gst/gsttagsetter.h:
252 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
253 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
254 (gst_tag_setter_add_tag_valist)
255 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
256 _add_values, _add_valist, and _add_valist_values. Since this is an
257 interface the function suffixes should be more explicit so
258 language binding don't end up with element.add_valist ->
259 gst_tag_setter_add_valist, for example. Fixes #322069.
261 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
263 * check/gst/gstcaps.c: (GST_START_TEST):
264 Extend caps string tests to check that a caps to string
265 conversion is reversible and produces the same caps.
267 * gst/gststructure.c: (gst_structure_value_get_generic_type):
268 Output "fraction" as the generic type fraction range, so caps
269 serialisation and deserialisation works.
270 * check/gst/capslist.h:
271 * gst/gstvalue.c: (gst_value_deserialize_fraction):
272 Support 'MIN' and 'MAX' for deserialising fractions.
274 2005-11-22 Andy Wingo <wingo@pobox.com>
276 * gst/gstevent.h (gst_event_new_new_segment)
277 (gst_event_parse_new_segment, gst_event_new_buffer_size)
278 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
279 Renamed from *_newsegment, *_buffersize, *_notarget.
281 * scripts/update-funcnames: New script, performs the changes
284 2005-11-22 Wim Taymans <wim@fluendo.com>
286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
287 Make sure the GstFlowReturn is returned.
289 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
290 (gst_bus_add_signal_watch):
292 add gst_bus_add_signal_watch_full.
294 * gst/gstplugin.c: (gst_plugin_load_file):
297 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
299 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
300 Block the fakesrc srcpad when we send an event, to avoid
301 contention on the stream_lock causing random test failures.
303 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
305 * check/gst/gstvalue.c: (GST_START_TEST):
306 * gst/gstvalue.c: (gst_value_fraction_subtract):
309 2005-11-22 Stefan Kost <ensonic@users.sf.net>
312 include "gstchildproxy.h"
313 * gst/gstchildproxy.h:
314 * libs/gst/controller/gstcontroller.h:
315 use G_GNUC_NULL_TERMINATED
317 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
319 * check/gst/capslist.h:
320 * check/gst/gstcaps.c: (GST_START_TEST):
321 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
322 * gst/gststructure.c: (gst_structure_parse_range),
323 (gst_structure_fixate_field_nearest_fraction):
324 * gst/gststructure.h:
325 * gst/gstvalue.c: (gst_value_init_fraction_range),
326 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
327 (gst_value_collect_fraction_range),
328 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
329 (gst_value_set_fraction_range_full),
330 (gst_value_get_fraction_range_min),
331 (gst_value_get_fraction_range_max),
332 (gst_value_serialize_fraction_range),
333 (gst_value_transform_fraction_range_string),
334 (gst_value_compare_fraction_range),
335 (gst_value_deserialize_fraction_range),
336 (gst_value_intersect_fraction_fraction_range),
337 (gst_value_intersect_fraction_range_fraction_range),
338 (gst_value_subtract_fraction_fraction_range),
339 (gst_value_subtract_fraction_range_fraction),
340 (gst_value_subtract_fraction_range_fraction_range),
341 (gst_value_collect_fraction), (gst_value_fraction_multiply),
342 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
343 (gst_value_transform_string_fraction), (_gst_value_initialize):
345 Implement fraction ranges and extend GstFraction to support
346 arithmetic subtraction, as well as deserialization from integer
347 strings such as "100"
348 Add a testsuite as for int and double range set operations
350 2005-11-21 Andy Wingo <wingo@pobox.com>
354 * gst/gststructure.h: Add glib-compat.h.
356 2005-11-21 Wim Taymans <wim@fluendo.com>
358 * gst/gstbin.c: (gst_bin_change_state_func):
361 2005-11-21 Wim Taymans <wim@fluendo.com>
364 And add a nice define too.
366 2005-11-21 Wim Taymans <wim@fluendo.com>
368 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
369 (gst_segment_new), (gst_segment_free), (gst_segment_init),
370 (gst_segment_set_duration), (gst_segment_set_last_stop),
371 (gst_segment_set_seek), (gst_segment_set_newsegment),
372 (gst_segment_to_stream_time), (gst_segment_to_running_time),
375 Make binding friendly.
377 2005-11-21 Andy Wingo <wingo@pobox.com>
379 * gst/gsttagsetter.h:
381 * gst/gststructure.h:
383 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
386 * gst/gsterror.c (_gst_core_errors_init):
387 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
390 * gst/Makefile.am (gst_headers): Add glib-compat.h.
391 (noinst_HEADERS): noinst the -private.
393 2005-11-21 Michael Smith <msmith@fluendo.com>
397 Remove unimplemented declarations for which we can see no sensible
400 2005-11-21 Andy Wingo <wingo@pobox.com>
402 * gst/gst.h: Include glib-compat.h.
404 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
406 * gst/glib-compat.c: Include the public and the private header.
408 * gst/glib-compat-private.h: Copied here from glib-compat.h.
412 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
414 * check/gst/gstevent.c (create_custom_events): Check that
415 FLUSH_STOP is serialized.
417 * check/elements/identity.c (event_func):
418 * check/elements/fakesrc.c (event_func): No stream lock, the core
421 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
422 stream lock taking, yay.
424 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
425 ensure that core takes the stream lock.
427 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
430 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
431 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
432 it already. For the flush start we do take it though so we get the
433 right preroll state change messages.
435 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
436 the stream lock here, the core does it for us.
438 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
440 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
441 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
442 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
443 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
444 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
445 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
447 * gst/gstpad.c: Update for stream lock name change.
449 * gst/base/gstbasesink.c: Update for preroll lock name change.
451 2005-11-21 Wim Taymans <wim@fluendo.com>
453 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
454 (gst_clock_get_master):
456 * gst/gstsystemclock.c: (gst_system_clock_init):
457 Convert Clock flags to object flags.
458 Added methods to manage master/slave clocks.
460 2005-11-21 Wim Taymans <wim@fluendo.com>
462 * check/gst/gstsegment.c: (GST_START_TEST):
463 * docs/design/part-TODO.txt:
464 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
465 (gst_base_sink_event), (gst_base_sink_do_sync),
466 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
467 (gst_base_sink_query), (gst_base_sink_change_state):
468 * gst/base/gstbasesink.h:
469 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
470 (gst_base_src_default_newsegment),
471 (gst_base_src_configure_segment), (gst_base_src_do_seek),
472 (gst_base_src_get_range), (gst_base_src_loop),
473 (gst_base_src_change_state):
474 * gst/base/gstbasesrc.h:
475 * gst/base/gstbasetransform.c:
476 (gst_base_transform_prepare_output_buf),
477 (gst_base_transform_event), (gst_base_transform_change_state):
478 * gst/base/gstbasetransform.h:
479 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
480 (gst_collect_pads_event):
481 * gst/base/gstcollectpads.h:
482 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
483 (gst_fake_src_create):
484 * gst/elements/gstfakesrc.h:
485 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
486 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
487 (gst_segment_set_last_stop), (gst_segment_set_seek),
488 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
489 (gst_segment_to_running_time), (gst_segment_clip):
491 More segment updates, replace code in plugins with segment
494 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
496 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
497 Don't ignore sscanf results
499 2005-11-21 Andy Wingo <wingo@pobox.com>
501 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
504 * *.c: Ran scripts/update-macros. Oh yes.
506 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
507 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
510 * scripts/update-macros: New script. Run it on your files to
511 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
514 2005-11-21 Stefan Kost <ensonic@users.sf.net>
516 * docs/gst/Makefile.am:
517 * docs/gst/gstreamer-docs.sgml:
518 * docs/gst/gstreamer-sections.txt:
519 * docs/gst/gstreamer.types:
521 more docs fixes, add new api to the docs
523 2005-11-21 Andy Wingo <wingo@pobox.com>
525 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
526 state_broadcast call.
528 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
530 2005-11-21 Julien MOUTTE <julien@moutte.net>
532 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
533 function calls for arrays.
535 2005-11-21 Stefan Kost <ensonic@users.sf.net>
537 * docs/random/ensonic/media-device-daemon.txt:
538 wild idea, can this be done?
539 * docs/gst/gstreamer-sections.txt:
544 * gst/gstpluginfeature.c:
548 doc fixes and additions
550 2005-11-21 Andy Wingo <wingo@pobox.com>
552 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
553 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
554 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
555 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
556 private to the basesrc implementation.
558 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
559 behalf of event function if necessary. It should no longer be
560 necessary to take the stream lock in pad's event functions. Fixes
563 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
564 * docs/gst/gstreamer-sections.txt:
565 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
566 (gst_structure_fixate_field_nearest_double),
567 (gst_structure_fixate_field_boolean):
568 * gst/gststructure.h:
569 * win32/common/libgstreamer.def:
570 * win32/gstreamer.def:
572 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
575 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
577 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
578 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
579 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
580 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
581 (gst_fdsrc_uri_handler_init):
582 * gst/elements/gstfdsrc.h:
583 Port fd:// URI handler from 0.8 to fdsrc
585 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
587 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
588 (gst_value_serialize_fourcc):
590 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
591 consistent with our other format defines (#320324).
593 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
595 * gst/gstvalue.c: (gst_value_is_fixed):
596 Revert previous commit. Value lists are by definition
597 not fixed, as they are a list of possible values.
599 2005-11-21 Andy Wingo <wingo@pobox.com>
601 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
602 during the stable series if we need it. Fixes #319178.
604 * gst/gstevent.c (gst_event_new_filler): Removed.
606 * check/gst/gstevent.c: Update comment about filler events.
608 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
610 * gst/gstvalue.c: (gst_value_is_fixed):
611 Should handle both value arrays and value lists.
613 2005-11-21 Andy Wingo <wingo@pobox.com>
615 patch by: Alessandro Dessina <alessandro nnva org>
617 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
618 functions to access arrays. Fixes #321962.
620 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
622 * docs/gst/gstreamer.types:
623 gst_collectpads_get_type => gst_collect_pads_get_type.
625 * gst/base/gstbasetransform.c:
626 Remove unused SIGNAL_HANDOFF enum.
628 2005-11-21 Andy Wingo <wingo@pobox.com>
630 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
631 the event type (upstream, downstream, serialized). Renamed
632 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
633 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
634 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
636 * gst/gstevent.c: Update for new CUSTOM event names.
638 * check/gst/gstevent.c: Update check for new CUSTOM event names.
641 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
644 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
646 * docs/gst/gstreamer-sections.txt:
647 * win32/common/libgstbase.def:
648 * win32/libgstbase.def:
649 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
650 (gst_collect_pads_class_init), (gst_collect_pads_init),
651 (gst_collect_pads_finalize), (gst_collect_pads_new),
652 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
653 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
654 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
655 (gst_collect_pads_start), (gst_collect_pads_stop),
656 (gst_collect_pads_peek), (gst_collect_pads_pop),
657 (gst_collect_pads_available), (gst_collect_pads_read),
658 (gst_collect_pads_flush), (gst_collect_pads_event),
659 (gst_collect_pads_chain):
660 * gst/base/gstcollectpads.h:
661 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
662 unimplemented functions as unimplemented. Add padding to
663 GstCollectData. (#320766, #320423)
665 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
668 Improve docs for DURATION message (usage of duration parameter)
671 2005-11-20 Wim Taymans <wim@fluendo.com>
674 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
678 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
679 (gst_segment_set_seek), (gst_segment_set_newsegment),
680 (gst_segment_to_stream_time), (gst_segment_to_running_time),
683 Added segment helper structure and methods. Not fully implemented
687 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
689 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
690 Add a deserialisation test for fractions
691 * examples/metadata/read-metadata.c: (message_loop),
692 (make_pipeline), (main):
693 Fix up metadata reading sample.
694 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
696 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
697 Don't try and fixate empty caps
699 Wrap in G_BEGIN_DECLS/G_END_DECLS
700 * gst/gstvalue.c: (gst_value_collect_fraction),
701 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
702 (gst_value_transform_string_fraction),
703 (gst_value_compare_fraction):
704 Add some extra guards to ensure that we don't end up
705 with an invalid denominator of 0 in a gstfraction and
706 that fractions always get reduced.
708 2005-11-20 Wim Taymans <wim@fluendo.com>
710 * docs/gst/gstreamer-sections.txt:
721 2005-11-20 Wim Taymans <wim@fluendo.com>
723 * docs/design/part-TODO.txt:
725 Make a proper enum of the flag.
727 2005-11-19 Wim Taymans <wim@fluendo.com>
729 * docs/design/part-TODO.txt:
730 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
731 (gst_format_to_quark), (gst_format_register):
733 * gst/gstquery.c: (_gst_query_initialize),
734 (gst_query_type_get_name), (gst_query_type_to_quark),
735 (gst_query_type_register):
737 Add type to quark and type to string conversions.
739 2005-11-19 Andy Wingo <wingo@pobox.com>
741 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
744 2005-11-19 Wim Taymans <wim@fluendo.com>
746 * docs/design/part-TODO.txt:
747 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
748 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
749 (gst_bin_handle_message_func):
751 Make message handling overridable.
753 2005-11-19 Andy Wingo <wingo@pobox.com>
755 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
758 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
760 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
761 is a GstClockTime. Fixes #321710.
763 * gst/gstclock.h (GstClock): Remove offset property. Add
764 internal_calibration and external_calibration. Fix padding. Pad
765 also by GstClockTime so we don't run into problems.
767 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
768 (gst_clock_get_rate_offset): Remove.
769 (gst_clock_set_time_adjust): Remove. Fixes #321712.
772 * gst/gstutils.c (g_static_rec_cond_wait)
773 (g_static_rec_cond_timed_wait): Removed, no longer needed.
775 * gst/gstbin.c: Remove terrible continue_state prototype.
777 * gst/gstelement.h (gst_element_continue_state): Make public.
780 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
781 by continue_state. Fixes #319389.
783 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
784 Really fixes #168438. However I don't see anywhere where the
785 filter function is called... stupid GStreamer...
787 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
788 don't have a dispose function, so it won't get called when the
789 object is unreffed, but oh well!
791 * gst/gstindex.c (gst_index_set_filter_full): New API function,
792 allows a destroy function to be set so user_data can be freed.
794 (gst_index_set_filter): Call gst_index_set_filter_full.
796 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
798 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
799 string should produce an error, given the lack of a way to
800 represent NULL strings. Fixes #165650.
803 * gst/gstvalue.c (gst_value_array_append_value)
804 (gst_value_array_prepend_value, gst_value_array_get_size)
805 (gst_value_array_get_value): New API, copied from
806 gst_value_list_*, only operates on arrays.
807 (gst_value_list_append_value, gst_value_list_prepend_value)
808 (gst_value_list_concat, gst_value_list_get_size)
809 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
811 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
812 init_list, because it works on both.
813 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
814 (gst_value_copy_list_or_array): Renamed from copy_list.
815 (gst_value_free_list_or_array): Renamed from free_list.
816 (gst_value_collect_list_or_array): Renamed from collect_list.
817 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
818 (gst_value_list_or_array_peek_pointer): Renamed from
820 (_gst_value_array_value_table, _gst_value_list_value_table):
821 Update value table functions.
822 (gst_value_compare_list_or_array): Renamed from compare_list.
824 * gsttaglist.h: Whoops, foreach function returns void. Also fix
828 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
829 GstTagList*. Fixes #143472.
831 * gst/gststructure.h: Clarify what the foreach/map functions can
832 or can't do to their arguments.
834 2005-11-18 Wim Taymans <wim@fluendo.com>
836 * gst/gstclock.c: (gst_clock_set_calibration),
837 (gst_clock_get_calibration):
839 Calibration can be set with internal time equal to current
842 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
848 2005-11-18 Andy Wingo <wingo@pobox.com>
851 * pkgconfig/gstreamer-net.pc.in:
852 * pkgconfig/gstreamer-net-uninstalled.pc.in:
853 * pkgconfig/Makefile.am: Add net pkgconfig files.
855 2005-11-18 Stefan Kost <ensonic@users.sf.net>
864 2005-11-18 Andy Wingo <wingo@pobox.com>
866 * gst/net/gstnetclientclock.c: Turn off debugging.
868 * check/net/gstnetclientclock.c (test_functioning): Assert that the
869 times connverge somewhat. Can't make a real test.
871 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
872 integer arithmetic. Return the minimum of the domain, which can be
873 set as "internal" for gst_clock_set_calibration.
874 (gst_net_client_clock_observe_times): Call _set_calibration.
875 (gst_net_client_clock_new): Call _set_calibration instead of
878 * check/net/gstnetclientclock.c (test_functioning): Use the right
882 * gst/gstclock.c (gst_clock_get_calibration)
883 (gst_clock_set_calibration): New functions, obsolete the ones I
884 added yesterday. Doh. Precision issues mean we have to extrapolate
885 from a point in the more recent past than 1970.
886 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
888 (gst_clock_adjust_unlocked): Use the right calibration data.
890 2005-11-18 Edward Hervey <edward@fluendo.com>
892 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
893 Also reset the ->current_* values in READY->PAUSED
895 2005-11-18 Andy Wingo <wingo@pobox.com>
897 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
898 Whoops, check the right fd. Also add some debugging.
899 (gst_net_client_clock_observe_times): Adjust for int64 offset.
900 (do_linear_regression): Add a crapload of debugging. Subtract off
901 the minimum values from the input series to discard unneeded bits.
902 Use only int arithmetic. There is still double arithmetic when
903 calculating the intercept that needs fixing. Return boolean to
904 indicate success; FALSE would mean the domain or range is too
905 great. Still needs fixes.
907 2005-11-18 Wim Taymans <wim@fluendo.com>
909 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
910 For the current position in stream time, we need to subtract
913 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
914 Release lock before calling the callback function of async
917 2005-11-18 Andy Wingo <wingo@pobox.com>
919 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
920 Port goes all the way to MAXUINT16.
922 * gst/net/gstnettimeprovider.c: Make the port range the same as
923 for the kernel: 0 assigns, otherwise ports are less than
926 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
929 * check/net/gstnetclientclock.c (test_functioning): Add the start
932 2005-11-18 Wim Taymans <wim@fluendo.com>
934 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
935 (gst_bin_remove_func), (bin_bus_handler):
937 Removing a clock provider from a bin, triggers a clock lost message
938 so that a new clock will be selected.
939 Adding a clock to a bin triggers a clock provider message.
940 Make sure we reselect a clock when we received a clock lost message.
941 Keep a reference to the element that provided the clock.
943 2005-11-18 Andy Wingo <wingo@pobox.com>
945 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
946 the clock initially so it produces values around the base time.
947 (gst_net_client_clock_class_init): Typo fix.
948 (gst_net_client_clock_thread): Add note on when the socket gets
951 2005-11-17 Wim Taymans <wim@fluendo.com>
953 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
954 Free remote and local time arrays.
956 2005-11-17 Wim Taymans <wim@fluendo.com>
958 * gst/net/gstnetclientclock.c: (do_linear_regression),
959 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
960 Fix compilation, uninitialized vars and a forgotten continue.
962 2005-11-17 Andy Wingo <wingo@pobox.com>
964 * check/Makefile.am (check_PROGRAMS):
965 * check/net/gstnetclientclock.c: Add a most minimal test for the
966 net client clock. More to come later.
969 * gst/net/Makefile.am: Add netclientclock.
971 * gst/net/gstnetclientclock.h:
972 * gst/net/gstnetclientclock.c: New files, implement an untested
973 GstClock that takes its time from a network time provider.
974 Implements the algorithm in network-clock.scm.
976 * tests/network-clock.scm (*window-size*): Rename from
978 * tests/network-clock.scm (network-time):
979 * tests/network-clock-utils.scm (q-push): Update callers.
981 2005-11-17 Wim Taymans <wim@fluendo.com>
983 * gst/gstbin.c: (gst_bin_provide_clock_func),
984 (gst_bin_sort_iterator_new):
985 And unref the child too..
987 2005-11-17 Wim Taymans <wim@fluendo.com>
989 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
990 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
991 Refactor the sort iterator so it can be used while holding the
993 Make clock selection select a clock closest to the source.
995 2005-11-17 Michael Smith <msmith@fluendo.com>
997 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
998 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1000 Anonymous structs are a gcc (and some other compilers) extension, so
1001 don't use them. Since this is only for ABI-compatibility, and our
1002 API/ABI freeze is over in a few days, this whole thing will only
1003 last a few days, so don't bother trying to think up a meaningful
1004 name for the struct.
1006 2005-11-17 Andy Wingo <wingo@pobox.com>
1008 * gst/gstclock.h (GstClock): Add rate and offset properties,
1009 preserving ABI stability. Add rate/offset accessors. Will file bug
1010 for the freeze break.
1012 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1013 and offset, trying to keep precision and avoiding
1015 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1016 functions. Make gst_clock_set_time_adjust obsolete.
1017 (gst_clock_set_time_adjust): Note that this function is obsolete.
1020 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1021 greppable by using GST_PADDING-1+1.
1023 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1025 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1027 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1028 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1030 * gst/gstpadtemplate.h:
1031 * gst/gstpluginfeature.h:
1032 Don't use c++ style comments in headers (#321638).
1034 2005-11-16 Andy Wingo <wingo@pobox.com>
1036 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1039 * check/net/gstnettimeprovider.c: Check to see that the time
1040 provider actually provides times. Works, yo!
1042 2005-11-16 Wim Taymans <wim@fluendo.com>
1044 * check/Makefile.am:
1047 * check/elements/fakesrc.c: (GST_START_TEST):
1048 Set element to NULL before disposing it.
1050 2005-11-16 Andy Wingo <wingo@pobox.com>
1052 * gst/net/Makefile.am:
1054 * gst/net/gstnettimeprovider.c:
1055 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1056 provider, include it from gstnet.h, and add it to the build.
1058 * gst/net/gstnettimepacket.h:
1059 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1060 sending and receiving.
1062 2005-11-16 Wim Taymans <wim@fluendo.com>
1064 * check/Makefile.am:
1065 Enable valgrind check.
1067 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1068 (gst_fake_src_alloc_buffer):
1071 2005-11-16 Wim Taymans <wim@fluendo.com>
1073 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1074 Call parent finalize too.
1076 2005-11-16 Wim Taymans <wim@fluendo.com>
1078 * check/Makefile.am:
1079 Enable valgrind check that should work fine now.
1081 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1082 * gst/gstqueue.c: (gst_queue_init):
1083 Fix memleaks in pad allocation.
1085 2005-11-16 Andy Wingo <wingo@pobox.com>
1087 * gst/net/Makefile.am:
1088 * gst/net/gstnet.h: New part of core to hold network elements and
1089 objects. Put in core because it exposes API that applications want
1090 to use. The library is named libgstnet-tempname right now because
1091 of the existing libgstnet in gst-plugins-base. Solution is
1092 probably to rename the one in plugins-base; will file a bug for
1095 * gst/net/gstnettimeprovider.c:
1096 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1097 get_time call over the network.
1100 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1102 * check/Makefile.am:
1103 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1104 get additions shortly.
1106 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1108 * gst/gstpad.c: (gst_pad_new_from_static_template):
1110 add gst_pad_new_from_static_template functions
1111 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1112 (gst_check_setup_sink_pad):
1113 * gst/elements/gsttee.c: (gst_tee_init):
1116 2005-11-16 Wim Taymans <wim@fluendo.com>
1118 * gst/gstpad.c: (gst_pad_pause_task):
1119 Removed warning, it's not really an error either.
1121 2005-11-16 Wim Taymans <wim@fluendo.com>
1123 * gst/base/gstbasetransform.c:
1124 (gst_base_transform_prepare_output_buf),
1125 (gst_base_transform_event):
1126 Check if the caps are NULL, this can happen if the element
1127 is shutting down and the pad caps are set to NULL.
1129 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1131 * gst/elements/gsttee.c: (gst_tee_init):
1132 fix pad template leak in tee
1134 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1136 * gst/glib-compat.c: (g_value_dup_gst_object):
1137 * gst/glib-compat.h:
1138 * gst/gstpad.c: (gst_pad_set_property):
1139 use gst_object_ref when setting the pad template; this will
1140 trigger the pad template leaks on GLib 2.6 and the slaves
1142 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1144 * gst/glib-compat.c: (gst_flags_get_first_value):
1145 * gst/glib-compat.h:
1146 * gst/gstregistryxml.c:
1147 remove functions copied from GLib 2.6
1149 2005-11-16 Michael Smith <msmith@fluendo.com>
1152 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1153 do, but only breaks with newer valgrind versions. We're not a
1154 valgrind tool, we have no link-time dependencies on libcoregrind.
1156 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1158 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1163 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1165 * gst/base/gstbasesrc.c: (gst_base_src_init):
1166 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1167 * gst/gstqueue.c: (gst_queue_init):
1168 * gst/gstregistryxml.c: (load_feature):
1169 Revert all these unrefs, they don't even pass make check !
1171 2005-11-15 Johan Dahlin <johan@gnome.org>
1173 * gst/base/gstbasesrc.c: (gst_base_src_init):
1174 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1175 * gst/gstqueue.c: (gst_queue_init):
1176 Free pad templates, fixes a couple of leaks.
1178 2005-11-15 Daniel Fischer <dan at f3c dot com>
1180 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1182 * gst/gstpad.c: (gst_pad_get_property):
1183 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1184 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1187 2005-11-15 Wim Taymans <wim@fluendo.com>
1192 2005-11-15 Andy Wingo <wingo@pobox.com>
1194 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1196 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1197 using GST_CLOCK_TIME_NONE to disable base time management.
1198 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1199 time if it was NONE before.
1200 (gst_pipeline_change_state): Only munge the base time if
1201 stream_time != GST_CLOCK_TIME_NONE.
1203 * check/gst/gstpipeline.c (test_base_time): Punt around the
1204 problem of the probe not being called, because that's not the
1205 issue I'm looking at. Add a check that setting stream_time to NONE
1206 disables base time management.
1208 2005-11-15 Wim Taymans <wim@fluendo.com>
1210 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1211 segment_stop == -1 at startup.
1213 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1214 (gst_base_transform_change_state):
1215 Init segment values at start.
1217 2005-11-15 Wim Taymans <wim@fluendo.com>
1219 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1220 0 segment values are 0 in any format.
1222 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1223 * gst/base/gstbasetransform.h:
1224 Parse newsegment correctly in basetransform
1226 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1227 Sync to clock using updated segment values.
1229 2005-11-15 Andy Wingo <wingo@pobox.com>
1231 * check/gst/gstpipeline.c (test_base_time): Add check that the
1232 base time and stream time are reset correctly.
1234 2005-11-15 Wim Taymans <wim@fluendo.com>
1236 * docs/design/part-TODO.txt:
1237 Some more TODO items.
1239 2005-11-15 Andy Wingo <wingo@pobox.com>
1241 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1242 error if the user selected "no clock" as the clocking method.
1244 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1245 timestamps with live capture.
1247 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1248 is 0 but we are a live source, timestamp the buffers using the
1251 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1253 * docs/gst/gstreamer-sections.txt:
1255 * gst/gstghostpad.c:
1260 2005-11-14 Wim Taymans <wim@fluendo.com>
1263 add suppressions from Wim's Debian machine
1265 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1268 add suppressions from Andy's AMD64 Ubuntu machine
1270 2005-11-14 Andy Wingo <wingo@pobox.com>
1272 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1273 STATE_LOCK not necessary. Fixes #311489.
1275 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1278 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1279 this function is not implemented.
1281 2005-11-14 Julien MOUTTE <julien@moutte.net>
1283 * gst/base/gstbasetransform.c:
1284 (gst_base_transform_prepare_output_buf):
1285 Ref the source pad caps while we need them.
1288 2005-11-11 Wim Taymans <wim@fluendo.com>
1290 * docs/gst/gstreamer-sections.txt:
1291 Added some docs for GstCollectData.
1293 * gst/base/gstadapter.c:
1294 Some small code example fix.
1296 * gst/base/gstcollectpads.c:
1297 * gst/base/gstcollectpads.h:
1300 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1302 * configure.ac: back to HEAD
1304 === release 0.9.5 ===
1306 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1309 releasing 0.9.5, "Bike Lunch Day"
1311 2005-11-11 Wim Taymans <wim@fluendo.com>
1313 * gst/gstbuffer.c: (_gst_buffer_copy):
1316 * gst/gstcaps.c: (gst_caps_is_equal):
1318 Make _is_equal fast in the trivial cases.
1320 * gst/gstminiobject.c:
1321 * gst/gstminiobject.h:
1322 More docs. Spifify .h file.
1327 2005-11-11 Wim Taymans <wim@fluendo.com>
1329 * gst/base/gstbasetransform.c:
1330 (gst_base_transform_prepare_output_buf),
1331 (gst_base_transform_handle_buffer):
1333 If we're processing a buffer and need to allocate an output
1334 buffer, we cannot accept a format change. If we did get a
1335 format change, we have to alloc a buffer ourselves of the
1338 2005-11-11 Wim Taymans <wim@fluendo.com>
1340 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1341 While checking the flag for reentrancy in the gstcaps function
1342 is nice to detect recursive invocations, it also makes it
1343 impossible to call getcaps from multiple threads, which must be
1344 possible. So, checking for recursive calls has to go.
1346 2005-11-11 Michael Smith <msmith@fluendo.com>
1348 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1349 Don't sync on buffers that fall partially outside our current
1350 segment. Prevents an assertion failure/abort playing some files.
1352 2005-11-10 Andy Wingo <wingo@pobox.com>
1354 * check/gst/gstbin.c (test_message_state_changed_children): Style
1357 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1358 gst_bus_poll with the signal watch. Ensures that poll and a signal
1359 watch see the same messages.
1361 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1362 a poll and a watch at the same time get the same messages.
1364 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1366 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1367 * gst/gstcaps.c: (gst_caps_intersect):
1368 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1369 and it's not needed.
1371 2005-11-10 Wim Taymans <wim@fluendo.com>
1373 * docs/design/part-TODO.txt:
1376 2005-11-10 Wim Taymans <wim@fluendo.com>
1378 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1379 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1380 (gst_base_src_do_sync), (gst_base_src_get_range):
1381 Implement clock sync in base class.
1383 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1385 patch by: Tim-Philipp Müller <tim at centricular dot net>
1387 * gst/gststructure.c: (gst_structure_parse_field),
1388 (gst_structure_from_string):
1389 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1390 so that gst_parse_launch() can deal with spaces in filtered link
1391 caps (fixes #164479)
1392 * check/gst/capslist.h:
1393 * check/gst/gststructure.c: (GST_START_TEST):
1394 add unit tests for this change
1396 2005-11-10 Wim Taymans <wim@fluendo.com>
1398 * docs/gst/gstreamer-sections.txt:
1401 Fix docs, move some STATE macros to private.
1403 2005-11-10 Wim Taymans <wim@fluendo.com>
1405 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1406 Added check for bug #317341
1410 Some more spiffifying.
1412 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1413 Call peer linkfunction if we are a source pad. Totally fixes
1417 Update docs, source pads should call the peer linkfunction
1418 so they can atomically perform the pad link.
1420 2005-11-09 Wim Taymans <wim@fluendo.com>
1424 Uber-spiffy-spiffify some more.
1426 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1428 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1429 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1430 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1431 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1432 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1433 * gst/gstpad.c: (gst_pad_init):
1434 Use GST_DEBUG_FUNCPTR() more extensively.
1436 2005-11-09 Wim Taymans <wim@fluendo.com>
1438 * gst/gstobject.c: (gst_object_class_init):
1440 Documentation fixes.
1442 2005-11-09 Edward Hervey <edward@fluendo.com>
1444 * gst/gsttypefindfactory.c:
1447 2005-11-09 Edward Hervey <edward@fluendo.com>
1449 * gst/base/gsttypefindhelper.c:
1450 * gst/gsttypefind.c:
1451 * gst/gsttypefind.h:
1454 2005-11-09 Wim Taymans <wim@fluendo.com>
1456 * gst/gstiterator.c:
1463 2005-11-09 Wim Taymans <wim@fluendo.com>
1469 2005-11-09 Wim Taymans <wim@fluendo.com>
1471 * docs/gst/gstreamer-sections.txt:
1472 Moved the message async delivery private lock and cond
1473 to the private section.
1479 2005-11-09 Edward Hervey <edward@fluendo.com>
1481 * docs/gst/gstreamer-sections.txt:
1484 Document GstURIHandler
1486 2005-11-09 Wim Taymans <wim@fluendo.com>
1488 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1489 (gst_iterator_find_custom):
1490 * gst/gstiterator.h:
1493 2005-11-09 Wim Taymans <wim@fluendo.com>
1496 Document another field.
1498 * gst/gststructure.c:
1499 * gst/gststructure.h:
1502 2005-11-09 Wim Taymans <wim@fluendo.com>
1507 2005-11-09 Wim Taymans <wim@fluendo.com>
1509 * docs/gst/gstreamer-sections.txt:
1510 Added some new macros.
1517 2005-11-09 Wim Taymans <wim@fluendo.com>
1519 * docs/design/part-TODO.txt:
1520 Some more items for the TODO
1526 2005-11-09 Andy Wingo <wingo@pobox.com>
1528 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1529 to work on something else now tho...
1531 * gst/base/gstadapter.c: More adapter docs.
1533 * gst/elements/gstfilesink.c (gst_file_sink_start)
1534 (gst_file_sink_stop): New functions, replace the state change
1536 (gst_file_sink_class_init): Hook up the start and stop functions.
1537 (gst_file_sink_base_init): Don't set the state change handler any
1538 more. It was a bit ugly too, being set from here...
1539 (gst_file_sink_get_property, gst_file_sink_set_property):
1541 (gst_file_sink_set_location): More robust check that doesn't call
1544 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1546 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1547 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1549 2005-11-08 Wim Taymans <wim@fluendo.com>
1551 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1552 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1553 (gst_base_sink_chain), (gst_base_sink_change_state):
1554 * gst/base/gstbasesink.h:
1555 * gst/base/gstbasesrc.h:
1558 Avoid excessive typechecking in macros.
1560 * gst/gstminiobject.c: (gst_mini_object_get_type),
1561 (gst_mini_object_init), (gst_mini_object_new),
1562 (gst_mini_object_free):
1563 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1564 (gst_object_finalize):
1565 Remove cruft code, optimize alloc_trace.
1567 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1569 * docs/faq/gst-uninstalled:
1570 fix up PS1 for systems that try to reset it
1572 2005-11-07 Wim Taymans <wim@fluendo.com>
1574 * gst/base/gstbasesrc.c: (gst_base_src_init),
1575 (gst_base_src_get_range):
1576 Set the segment_end to -1 initially. Fixed typefind.
1578 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1580 * gst/base/gstadapter.c:
1581 Debug category should be 'adapter', not 'GstAdapter'.
1583 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1584 (gst_collectpads_class_init), (gst_collectpads_init),
1585 (gst_collectpads_peek), (gst_collectpads_pop),
1586 (gst_collectpads_event), (gst_collectpads_chain):
1587 Add debug category and some debugging output. Use boilerplate
1588 macros. Remove some extraneous words from docs.
1590 2005-11-05 Andy Wingo <wingo@pobox.com>
1592 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1595 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1597 * docs/gst/gstreamer-sections.txt:
1600 * gst/gstminiobject.h:
1605 2005-11-04 Wim Taymans <wim@fluendo.com>
1607 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1608 Small update to stop at the configured segment_end
1611 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1613 * gst/gstregistry.c:
1614 * gst/gstregistry.h:
1617 2005-11-04 Edward Hervey <edward@fluendo.com>
1619 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1620 Check if we are doing a segment seek and have arrived at the
1621 end of that segment.
1623 2005-11-04 Wim Taymans <wim@fluendo.com>
1625 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1626 Don't leak a mutex unlock in case of an error.
1631 2005-11-04 Wim Taymans <wim@fluendo.com>
1633 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1635 Get the context to wake up only once.
1637 2005-11-03 Wim Taymans <wim@fluendo.com>
1639 * check/states/sinks.c: (GST_START_TEST):
1640 Uncomment fixed check.
1642 * docs/design/part-TODO.txt:
1645 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1646 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1647 (gst_base_sink_get_position):
1648 If we are going to PLAYING, post the right pending state
1649 when we post the intermediate paused message.
1651 * gst/gstelement.c: (gst_element_continue_state),
1652 (gst_element_set_state_func), (gst_element_change_state):
1653 Don't post state changes that were between the same state
1656 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1658 * docs/gst/gstreamer-sections.txt:
1661 * gst/gstminiobject.h:
1664 more docs and doc style fixes
1666 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1668 * docs/gst/gstreamer-sections.txt:
1670 * gst/gstminiobject.c:
1673 2005-11-03 Andy Wingo <wingo@pobox.com>
1675 * check/states/sinks.c (test_livesrc_sink): Add checks that the
1676 state-changed messages actually have the right order and the right
1679 2005-11-03 Wim Taymans <wim@fluendo.com>
1681 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1682 Added some more checks. Specifically the case where NO_PREROLL
1683 elements are in the pipeline.
1685 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1686 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1687 (gst_base_sink_get_position):
1688 Post READY->PAUSED state change messages too.
1689 Fix bug where VOID was posted as pending state...
1691 * gst/gstbin.c: (gst_bin_recalc_state):
1692 use _element_continue_state() to continue the state change.
1694 * gst/gstelement.c: (gst_element_continue_state),
1695 (gst_element_commit_state), (gst_element_set_state_func),
1696 (gst_element_change_state), (gst_element_change_state_func):
1697 Lots of state change cleanups, assign the STATE_RETURN in
1698 a new continue_state() function that also propagates the
1699 last return value from a state change to the app.
1700 Update some debug statements with proper category.
1702 2005-11-03 Wim Taymans <wim@fluendo.com>
1704 * docs/design/part-events.txt:
1705 * docs/design/part-gstpipeline.txt:
1706 * docs/design/part-messages.txt:
1707 * docs/design/part-overview.txt:
1708 * docs/design/part-seeking.txt:
1709 * docs/design/part-states.txt:
1710 * docs/design/part-trickmodes.txt:
1711 * docs/manual/advanced-position.xml:
1715 People think !! is ugly, this looks better.
1717 * gst/gstpad.c: (gst_pad_set_blocked_async):
1718 Remove !! since it's fixed elsewhere now.
1720 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1722 * gst/gstminiobject.h:
1724 Add !! to _FLAG_IS_SET macros to make the result boolean.
1726 2005-11-03 Edward Hervey <edward@fluendo.com>
1728 * gst/gstpad.c: (gst_pad_set_blocked_async):
1729 comparing a flag and a gboolean rarely returns coherent results...
1730 Added two characters (!!) to make that work correctly.
1732 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1734 * gst/gstbus.c: (gst_bus_class_init):
1737 * gst/gstqueue.c: (gst_queue_loop):
1738 Don't assume a miniobject that isn't a buffer is an
1739 event (it could be that there is a refcounting
1740 problem somewhere and the pointer is stale and
1741 refers to an already destroyed miniobject).
1743 2005-11-03 Julien MOUTTE <julien@moutte.net>
1745 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1747 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1749 * docs/manual/advanced-position.xml:
1750 Update seek example and explanations to current 0.9 API.
1752 * gst/elements/gsttypefindelement.c:
1753 (gst_type_find_element_activate):
1754 Remove FIXME comment now that the found caps
1757 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
1759 * gst/gstregistryxml.c: (load_feature):
1760 Add another GST_STR_NULL instance
1762 2005-11-02 Edward Hervey <edward@fluendo.com>
1764 * gst/gstpad.c: (handle_pad_block):
1765 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1767 2005-11-02 Wim Taymans <wim@fluendo.com>
1772 * gst/gstelement.c: (gst_element_commit_state):
1773 Remove unused value.
1775 * gst/gstiterator.c:
1776 Mention that the returned element is reffed in the docs.
1778 2005-11-02 Wim Taymans <wim@fluendo.com>
1780 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1781 (gst_pad_push), (gst_pad_push_event):
1782 Unlock blocked pads when they are flushed.
1784 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1787 * docs/gst/gstreamer-sections.txt:
1790 * gst/gstregistry.c: (gst_registry_scan_path_level):
1791 fix for a nasty little missed situation where an installed plug-in
1792 which was in the cache did not get overridden by an uninstalled one
1793 which was earlier in the plugin path because the newly created plugin
1794 for the uninstalled one (not in the registry) didn't get its
1795 ->registered set to TRUE
1797 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1799 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1800 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1801 (gst_collectpads_is_active), (gst_collectpads_collect),
1802 (gst_collectpads_collect_range), (gst_collectpads_start),
1803 (gst_collectpads_stop), (gst_collectpads_peek),
1804 (gst_collectpads_pop), (gst_collectpads_available),
1805 (gst_collectpads_read), (gst_collectpads_flush):
1806 Guard public API with assertions.
1809 Fix docs for gst_pad_set_link_function().
1811 2005-11-02 Johan Dahlin <johan@gnome.org>
1813 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
1814 Unref found_caps after we used it.
1816 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1818 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1819 Don't try to ref NULL.
1821 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1823 * win32/common/config.h.in:
1824 provide a GST_FUNCTION that just gives a string for now
1826 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1828 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1829 (gst_object_flags_get_type), (register_gst_bin_flags),
1830 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1831 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1832 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1833 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1834 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1835 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1836 (gst_clock_flags_get_type), (register_gst_state),
1837 (gst_state_get_type), (register_gst_state_change_return),
1838 (gst_state_change_return_get_type), (register_gst_state_change),
1839 (gst_state_change_get_type), (register_gst_element_flags),
1840 (gst_element_flags_get_type), (register_gst_core_error),
1841 (gst_core_error_get_type), (register_gst_library_error),
1842 (gst_library_error_get_type), (register_gst_resource_error),
1843 (gst_resource_error_get_type), (register_gst_stream_error),
1844 (gst_stream_error_get_type), (register_gst_event_type),
1845 (gst_event_type_get_type), (register_gst_seek_type),
1846 (gst_seek_type_get_type), (register_gst_seek_flags),
1847 (gst_seek_flags_get_type), (register_gst_format),
1848 (gst_format_get_type), (register_gst_index_certainty),
1849 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1850 (gst_index_entry_type_get_type),
1851 (register_gst_index_lookup_method),
1852 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1853 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1854 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1855 (gst_index_flags_get_type), (register_gst_debug_level),
1856 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1857 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1858 (gst_iterator_result_get_type), (register_gst_iterator_item),
1859 (gst_iterator_item_get_type), (register_gst_message_type),
1860 (gst_message_type_get_type), (register_gst_mini_object_flags),
1861 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1862 (gst_pad_link_return_get_type), (register_gst_flow_return),
1863 (gst_flow_return_get_type), (register_gst_activate_mode),
1864 (gst_activate_mode_get_type), (register_gst_pad_direction),
1865 (gst_pad_direction_get_type), (register_gst_pad_flags),
1866 (gst_pad_flags_get_type), (register_gst_pad_presence),
1867 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1868 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1869 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1870 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1871 (gst_plugin_flags_get_type), (register_gst_rank),
1872 (gst_rank_get_type), (register_gst_query_type),
1873 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1874 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1875 (gst_tag_flag_get_type), (register_gst_task_state),
1876 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1877 (gst_alloc_trace_flags_get_type),
1878 (register_gst_type_find_probability),
1879 (gst_type_find_probability_get_type), (register_gst_uri_type),
1880 (gst_uri_type_get_type), (register_gst_parse_error),
1881 (gst_parse_error_get_type):
1882 * win32/common/gstversion.h:
1885 2005-11-01 Luca Ognibene <luogni@tin.it>
1888 fix docs. popt is dead, long live GOption.
1890 2005-10-31 Wim Taymans <wim@fluendo.com>
1895 2005-10-31 Andy Wingo <wingo@pobox.com>
1899 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1901 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1902 need to serialize property notifications on GLib 2.8. GLib 2.6 has
1903 the possibility of deadlocks here if code calling notify() or
1904 set() has a lock that can be taken in another notify handler (ABBA
1905 with class lock and e.g. python GIL state lock).
1907 2005-10-28 Julien MOUTTE <julien@moutte.net>
1909 * gst/gstbus.c: Doc updates.
1911 2005-10-28 Wim Taymans <wim@fluendo.com>
1913 * docs/design/part-TODO.txt:
1914 * gst/gstiterator.c:
1915 * gst/gstsystemclock.c:
1916 * gst/gstsystemclock.h:
1919 2005-10-28 Edward Hervey <edward@fluendo.com>
1921 * docs/gst/gstreamer-docs.sgml:
1922 * docs/gst/gstreamer-sections.txt:
1923 the GstURIType documentation page is private, it only defines GstURIType
1924 which should be defined in the GstURIHandler page
1926 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
1928 * gst/gstbin.c: (gst_bin_class_init):
1931 Documentation updates.
1933 2005-10-28 Wim Taymans <wim@fluendo.com>
1935 * docs/gst/gstreamer-sections.txt:
1938 Documented the clocks.
1940 2005-10-28 Stefan Kost <ensonic@users.sf.net>
1942 * docs/gst/gstreamer-sections.txt:
1943 move some macros to private sections
1944 * gst/gstminiobject.c:
1945 * gst/gstminiobject.h:
1946 add descriptions provided by ds and some more
1948 mark macro as to be removed
1950 2005-10-28 Wim Taymans <wim@fluendo.com>
1952 * docs/design/part-TODO.txt:
1953 Add an item to TODO.
1955 * gst/gstiterator.c: (gst_iterator_fold),
1956 (gst_iterator_find_custom):
1957 * gst/gstiterator.h:
1960 2005-10-28 Wim Taymans <wim@fluendo.com>
1962 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1963 (gst_base_transform_init):
1966 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1967 An EOS event marks the queue as completely filled.
1969 2005-10-27 Wim Taymans <wim@fluendo.com>
1971 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1972 (gst_base_sink_do_sync), (gst_base_sink_get_position):
1973 Some more debugging.
1975 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1976 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1977 (gst_base_transform_event), (gst_base_transform_getrange),
1978 (gst_base_transform_chain):
1979 * gst/base/gstbasetransform.h:
1981 Protect transform and concurrent buffer alloc with a new lock.
1982 Try not to break ABI/API.
1984 2005-10-27 Wim Taymans <wim@fluendo.com>
1986 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1987 (gst_base_src_init), (gst_base_src_query),
1988 (gst_base_src_default_newsegment),
1989 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1990 (gst_base_src_send_event), (gst_base_src_event_handler),
1991 (gst_base_src_pad_get_range), (gst_base_src_loop),
1992 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1993 (gst_base_src_start), (gst_base_src_deactivate),
1994 (gst_base_src_activate_push), (gst_base_src_change_state):
1995 Move some stuff around and cleanup things.
1997 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1999 * gst/base/gstbasesrc.c: (gst_base_src_query):
2000 Add missing break statements.
2002 2005-10-27 Wim Taymans <wim@fluendo.com>
2004 * check/gst/gstbin.c: (GST_START_TEST):
2005 An extra refcount is taken in basesrc.
2007 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2008 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2009 (gst_base_src_loop):
2010 Small cleanups, check for flushing after being unlocked from the
2011 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2012 Don't send out EOS when going to READY.
2014 2005-10-27 Wim Taymans <wim@fluendo.com>
2016 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2017 (gst_base_sink_get_position):
2020 * gst/gstbin.c: (message_check), (bin_replace_message),
2021 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2022 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2023 (bin_query_duration_init), (bin_query_duration_fold),
2024 (bin_query_duration_done), (bin_query_generic_fold),
2026 * tools/gst-launch.c: (main):
2029 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2031 * examples/controller/audio-example.c: (main):
2032 * examples/queue/queue.c: (event_loop):
2033 * gst/base/gstbasetransform.h:
2034 * gst/gstelement.c: (gst_element_send_event):
2036 * gst/gstpad.c: (gst_pad_send_event):
2039 changing log priority in error situations
2041 2005-10-25 Wim Taymans <wim@fluendo.com>
2043 * gst/gstbin.c: (message_check), (bin_replace_message),
2044 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2045 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2046 (bin_query_duration_init), (bin_query_duration_fold),
2047 (bin_query_duration_done), (bin_query_generic_fold),
2049 Some doc and debug updates.
2050 Cache previously requested query DURATION for speed. invalidate
2051 cached duration if element posts a DURATION message.
2053 2005-10-25 Wim Taymans <wim@fluendo.com>
2055 * docs/design/part-TODO.txt:
2058 * gst/gstbin.c: (message_check), (bin_replace_message),
2059 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2060 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2061 (bin_query_duration_init), (bin_query_duration_fold),
2062 (bin_query_duration_done), (bin_query_generic_fold),
2064 Handle SEGMENT_START/DONE messages correctly.
2065 More evolved query algorithm that handles duration queries
2068 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2069 (gst_element_get_state_func), (gst_element_abort_state),
2070 (gst_element_commit_state), (gst_element_lost_state):
2071 Some more debugging.
2076 2005-10-25 Wim Taymans <wim@fluendo.com>
2078 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2079 Don't use invalid stream_time.
2081 * gst/gstevent.c: (gst_event_new_newsegment):
2082 stream_time in newsegment cannot be undefined.
2084 2005-10-24 Wim Taymans <wim@fluendo.com>
2089 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2091 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2093 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2095 * docs/libs/tmpl/gstdparam.sgml:
2096 * docs/libs/tmpl/gstdplinint.sgml:
2097 * docs/libs/tmpl/gstdpman.sgml:
2098 * docs/libs/tmpl/gstdpsmooth.sgml:
2099 * docs/libs/tmpl/gstunitconvert.sgml:
2102 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2107 === release 0.9.4 ===
2109 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2112 releasing 0.9.4, "Tyrannosaurus Rex"
2114 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2116 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2117 (gst_file_sink_get_current_offset):
2118 Use fseeko() and ftello() if available. When falling back on
2119 lseek() to get the current offset, fflush() first to make sure
2120 everything is up-to-date and we get the right offset.
2122 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2124 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2125 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2126 * gst/gsterror.c: (_gst_stream_errors_init):
2128 * gst/gstqueue.c: (gst_queue_loop):
2130 remove prematurely added error category and clean up the instances
2132 2005-10-21 Wim Taymans <wim@fluendo.com>
2134 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2135 (gst_base_sink_get_position), (gst_base_sink_query),
2136 (gst_base_sink_change_state):
2137 Simply set the right flag when going to playing, that's all
2138 we need to do instead of calling a function inside the object
2139 lock (that could take the lock as well and deadlock)
2141 2005-10-21 Wim Taymans <wim@fluendo.com>
2143 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2144 (gst_base_src_loop):
2145 Don't warn, the peer element knows what to do best when
2146 the seek failed, it might try something else.
2148 2005-10-21 Wim Taymans <wim@fluendo.com>
2150 * gst/base/gstbasesrc.c: (gst_base_src_init),
2151 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2154 2005-10-21 Wim Taymans <wim@fluendo.com>
2156 * docs/design/part-segments.txt:
2159 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2160 Correctly set caps, even on the subbufer.
2162 2005-10-21 Wim Taymans <wim@fluendo.com>
2164 * docs/gst/gstreamer-docs.sgml:
2165 * docs/gst/gstreamer-sections.txt:
2172 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2176 And 2% more doc coverage.
2178 2005-10-21 Andy Wingo <wingo@pobox.com>
2180 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2183 2005-10-20 Wim Taymans <wim@fluendo.com>
2185 * gst/gsterror.c: (gst_error_get_message):
2188 * gst/gststructure.c:
2193 2005-10-20 Wim Taymans <wim@fluendo.com>
2198 Another 1% more coverage.
2200 2005-10-20 Wim Taymans <wim@fluendo.com>
2202 * docs/gst/gstreamer-sections.txt:
2203 * gst/gstelement.c: (gst_element_get_state_func),
2204 (gst_element_abort_state), (gst_element_commit_state),
2205 (gst_element_lost_state):
2207 * gst/gstquery.c: (gst_query_set_position),
2208 (gst_query_parse_position), (gst_query_set_duration),
2209 (gst_query_parse_duration), (gst_query_new_convert):
2211 Yay! 1% more docs coverage.
2213 2005-10-20 Wim Taymans <wim@fluendo.com>
2216 * gst/gstquery.c: (gst_query_set_position),
2217 (gst_query_parse_position), (gst_query_set_duration),
2218 (gst_query_parse_duration), (gst_query_new_convert):
2220 * gst/gstutils.c: (gst_element_query_convert):
2222 Docs and consistency fixes.
2224 2005-10-20 Wim Taymans <wim@fluendo.com>
2230 2005-10-20 Wim Taymans <wim@fluendo.com>
2232 * gst/gstbin.c: (message_check), (bin_replace_message),
2233 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2234 (update_degree), (gst_bin_sort_iterator_next),
2235 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2236 Reworked the message handling a bit, cache the messages instead of
2237 only the senders. alows us to do more in the future.
2239 2005-10-20 Wim Taymans <wim@fluendo.com>
2241 * docs/design/part-TODO.txt:
2244 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2245 (gst_base_sink_query):
2246 Don't use clock time to report position when in EOS.
2248 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2250 * tools/gst-inspect.c: (print_interfaces),
2251 (print_element_properties_info), (print_element_info):
2252 Fix interface output with gst-inspect -a; don't print
2253 newlines after double/float properties.
2255 2005-10-20 Wim Taymans <wim@fluendo.com>
2257 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2258 (gst_base_sink_query):
2259 Speed up current position calculation.
2261 * gst/base/gstbasesrc.c: (gst_base_src_query),
2262 (gst_base_src_default_newsegment):
2263 Correctly set stream position in newsegment.
2265 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2266 (update_degree), (gst_bin_sort_iterator_next),
2267 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2268 * gst/gstmessage.c: (gst_message_new_custom):
2269 Clean up debugging info
2271 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2272 (gst_queue_loop), (gst_queue_handle_src_query):
2275 2005-10-19 Wim Taymans <wim@fluendo.com>
2277 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2278 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2279 Fix query handling again.
2281 2005-10-19 Wim Taymans <wim@fluendo.com>
2283 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2284 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2285 * gst/base/gstbasesrc.c: (gst_base_src_query):
2286 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2287 * gst/elements/gsttypefindelement.c:
2288 (gst_type_find_handle_src_query), (find_element_get_length),
2289 (gst_type_find_element_activate):
2292 * gst/gstquery.c: (gst_query_new_position),
2293 (gst_query_set_position), (gst_query_parse_position),
2294 (gst_query_new_duration), (gst_query_set_duration),
2295 (gst_query_parse_duration), (gst_query_set_segment),
2296 (gst_query_parse_segment):
2298 Bundling query position/duration is not a good idea since duration
2299 does not change much and we don't want to recalculate it for every
2300 position query, so they are separated again..
2301 Base value in segment query is not needed.
2303 * gst/gstqueue.c: (gst_queue_handle_src_query):
2304 * gst/gstutils.c: (gst_element_query_position),
2305 (gst_element_query_duration), (gst_pad_query_position),
2306 (gst_pad_query_duration):
2308 Updates for query API change.
2309 Added some docs here and there.
2311 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2313 * check/gst/gstbin.c: (GST_START_TEST):
2314 * check/gst/gstghostpad.c: (GST_START_TEST):
2315 * check/pipelines/cleanup.c: (GST_START_TEST):
2316 wait on thread to die so we can check refcount correctly
2318 2005-10-18 Wim Taymans <wim@fluendo.com>
2320 * check/pipelines/stress.c: (GST_START_TEST):
2321 Make check a little more time consuming.
2323 2005-10-18 Wim Taymans <wim@fluendo.com>
2325 * check/Makefile.am:
2326 * check/pipelines/stress.c: (GST_START_TEST),
2327 (simple_launch_lines_suite), (main):
2328 Small state change torture test.
2330 * docs/design/part-states.txt:
2331 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2332 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2333 (gst_base_sink_change_state):
2334 Never take state lock from streaming thread, clean up ugly
2335 hacks. Unfortunatly core does not yet support nice ways to
2338 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2340 Start state recalc if a STATE_DIRTY message is posted, but only
2341 on the toplevel bin.
2343 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2344 (gst_element_get_state_func), (gst_element_abort_state),
2345 (gst_element_commit_state), (gst_element_lost_state),
2346 (gst_element_set_state_func), (gst_element_change_state):
2348 State variables are now protected with the LOCK, the state
2349 lock is only used to serialize _set_state().
2351 2005-10-18 Wim Taymans <wim@fluendo.com>
2353 * check/gst/gstbin.c: (GST_START_TEST):
2354 * check/gst/gstmessage.c: (GST_START_TEST):
2355 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2356 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2358 * gst/gstelement.c: (gst_element_abort_state),
2359 (gst_element_commit_state), (gst_element_lost_state):
2360 * gst/gstmessage.c: (gst_message_new_state_changed),
2361 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2362 (gst_message_new_segment_done), (gst_message_new_duration),
2363 (gst_message_parse_state_changed),
2364 (gst_message_parse_segment_start),
2365 (gst_message_parse_segment_done), (gst_message_parse_duration):
2367 * tools/gst-launch.c: (event_loop):
2368 Seriously, this is better than a previous commit as we only need
2369 to notify the fact that an element changed state in a streaming
2370 thread, marking the state of the parents dirty, hence the
2371 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2374 2005-10-18 Wim Taymans <wim@fluendo.com>
2376 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2377 (gst_bin_recalc_func):
2378 * gst/gstelement.c: (gst_element_set_clock),
2379 (gst_element_abort_state), (gst_element_lost_state):
2380 Cleanups, prepare for state change fixes.
2382 2005-10-18 Wim Taymans <wim@fluendo.com>
2385 * gst/gstelement.c: (gst_element_class_init),
2386 (gst_element_set_state), (gst_element_set_state_func):
2388 Pending ABI changes.
2389 GThreadPool in GstBinClass to monitor async state changes.
2390 state_cookie in GstElement to detect concurrent gst/set state.
2391 set_state is now virtual too in case a very complicated element
2392 has to be constructed.
2394 2005-10-18 Wim Taymans <wim@fluendo.com>
2396 * check/gst/gstbin.c: (GST_START_TEST):
2397 * check/gst/gstmessage.c: (GST_START_TEST):
2398 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2399 * gst/gstbin.c: (bin_bus_handler):
2400 * gst/gstelement.c: (gst_element_commit_state),
2401 (gst_element_lost_state):
2402 * gst/gstmessage.c: (gst_message_new_state_changed),
2403 (gst_message_new_segment_start), (gst_message_new_segment_done),
2404 (gst_message_new_duration), (gst_message_parse_state_changed),
2405 (gst_message_parse_segment_start),
2406 (gst_message_parse_segment_done), (gst_message_parse_duration):
2408 * tools/gst-launch.c: (event_loop):
2409 Make messages future proof.
2410 state-change gets a flag if it was a message comming from the
2412 segment-start/stop can also be specified in other formats.
2413 A message to notify an app that a pipeline changed playback
2415 Also fix a GstMessage leak in -launch
2417 2005-10-18 Andy Wingo <wingo@pobox.com>
2419 * gst/gstelement.c (gst_element_dispose): More helpful message.
2421 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2423 reviewed by: <delete if not using a buddy>
2425 * common/gtk-doc.mak:
2427 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2429 * gst/gstregistry.c: (gst_registry_scan_path_level):
2430 unref a plug-in we get that was already initialized
2432 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2434 * docs/gst/gstreamer-sections.txt:
2435 * docs/libs/gstreamer-libs-sections.txt:
2440 2005-10-17 Andy Wingo <wingo@pobox.com>
2442 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2445 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2447 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2449 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2450 (gst_element_get_state_func): Better debug message.
2451 (gst_element_commit_state): s/INFO/DEBUG/.
2452 (gst_element_lost_state, gst_element_change_state):
2454 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2455 (gst_message_new_custom): s/INFO/LOG/.
2457 2005-10-17 Michael Smith <msmith@fluendo.com>
2459 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2460 Check if end time is valid using end time, not start time.
2462 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2464 * check/gst-libs/controller.c: (GST_START_TEST),
2465 (gst_controller_suite):
2466 * libs/gst/controller/gstcontroller.c:
2467 (gst_controlled_property_set_interpolation_mode):
2468 * libs/gst/controller/gstcontroller.h:
2469 * libs/gst/controller/gstinterpolation.c:
2470 * testsuite/controller/.cvsignore:
2471 * testsuite/controller/Makefile.am:
2472 * testsuite/controller/interpolator.c:
2473 merge controller testsuites
2475 remove mem-chunk from docs
2477 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2479 * gst/gstmemchunk.c:
2480 * gst/gstmemchunk.h:
2481 * gst/gsttrashstack.c:
2482 * gst/gsttrashstack.h:
2483 out. get out. you're fired. to the Attic !
2485 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2487 * gst/gstcaps.c: (gst_caps_intersect):
2488 fix signedness issues in a (hopefully) correct way
2489 * gst/gstelement.c: (gst_element_pads_activate):
2491 * gst/gstobject.c: (gst_object_set_parent):
2494 2005-10-17 Julien MOUTTE <julien@moutte.net>
2496 * gst/gstvalue.h: Fix prototypes.
2498 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2500 * docs/gst/gstreamer-sections.txt:
2501 * gst/gst.c: (gst_version_string):
2503 * gst/gstversion.h.in:
2504 * win32/common/libgstreamer.def:
2505 add gst_version_string ()
2507 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2511 * gst/gst.c: (init_post):
2512 * win32/common/config.h.in:
2514 * gst/gstcaps.c: (gst_caps_intersect):
2515 use gint64, the range could be bigger than a guint
2517 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2520 document potential problem in 2038
2522 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2524 * gst/gstcaps.c: (gst_caps_intersect):
2525 Fix guint j diving under 0
2527 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2530 * win32/common/config.h:
2531 * win32/common/config.h.in:
2532 check for process.h, declares getpid() on Windows
2534 include process.h if we have it
2535 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2536 * gst/gstmemchunk.h:
2537 fix signedness issues
2538 * win32/common/libgstreamer.def:
2541 2005-10-16 Julien MOUTTE <julien@moutte.net>
2543 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2544 fix. Because of unsigned ints, caps intersection was going nuts and
2545 trying to access structures with G_MAXUINT index. That fixes
2546 videotestsrc ! ffmpegcolorspace ! fakesink
2547 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2550 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2553 use the gettext macro
2554 * gst/elements/gstelements.c:
2556 * gst/indexers/gstindexers.c:
2557 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2558 * win32/common/config.h:
2560 * win32/common/config.h.in:
2561 add the template to generate config.h
2562 * win32/common/gstenumtypes.c:
2563 * win32/common/gstversion.h:
2566 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2568 * gst/gst.c: (gst_version):
2569 * gst/gstversion.h.in:
2572 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2575 Oops, add missing closing bracket.
2577 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2580 use common m4's for argument checking
2582 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2584 * docs/gst/gstreamer-sections.txt:
2586 Add GST_EVENT_TYPE_NAME() macro.
2588 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2591 * gst/gstpluginfeature.c:
2593 privatize more symbols
2595 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2598 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2599 everything that uses GStreamer API should have the includes
2601 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2603 * docs/gst/gstreamer-sections.txt:
2604 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2606 give each value a _get_type, removes the DATA exports
2608 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2612 remove _gst_registry_auto_load, not used anymore
2613 * gst/gstbin.c: (gst_bin_get_type):
2615 * gst/gstelement.c: (gst_element_get_type):
2617 * gst/gstobject.c: (gst_object_get_type):
2619 * gst/gstpad.c: (gst_pad_get_type):
2621 make _get_type functions similar, fixes data export from library
2623 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2626 correctly make conditionals
2627 * gst/elements/Makefile.am:
2628 * gst/elements/gstelements.c:
2629 fix typo causing fdsrc not to build
2631 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2633 * testsuite/Makefile.am:
2634 * testsuite/bytestream/.cvsignore:
2635 * testsuite/bytestream/Makefile.am:
2636 * testsuite/bytestream/filepadsink.c:
2637 * testsuite/bytestream/gstbstest.c:
2638 * testsuite/bytestream/test1.c:
2639 * testsuite/bytestream/testfile1:
2640 * testsuite/caps/normalisation.c:
2641 * testsuite/caps/random.c: (main):
2642 * testsuite/cleanup/.cvsignore:
2643 * testsuite/cleanup/Makefile.am:
2644 * testsuite/cleanup/cleanup1.c:
2645 * testsuite/cleanup/cleanup2.c:
2646 * testsuite/cleanup/cleanup3.c:
2647 * testsuite/cleanup/cleanup4.c:
2648 * testsuite/cleanup/cleanup5.c:
2649 * testsuite/controller/interpolator.c:
2650 * testsuite/debug/printf_extension.c: (main):
2651 * testsuite/elements/tee.c:
2652 * testsuite/negotiation/.cvsignore:
2653 * testsuite/negotiation/Makefile.am:
2654 * testsuite/negotiation/pad_link.c:
2655 * testsuite/pad/Makefile.am:
2656 * testsuite/pad/chainnopull.c:
2657 * testsuite/pad/getnopush.c:
2658 * testsuite/pad/link.c:
2659 * testsuite/refcounting/sched.c: (create_pipeline):
2660 * testsuite/registry/Makefile.am:
2661 * testsuite/registry/gst-print-formats.c:
2662 * testsuite/schedulers/.cvsignore:
2663 * testsuite/schedulers/142183-2.c:
2664 * testsuite/schedulers/142183.c:
2665 * testsuite/schedulers/143777-2.c:
2666 * testsuite/schedulers/143777.c:
2667 * testsuite/schedulers/147713.c:
2668 * testsuite/schedulers/147819.c:
2669 * testsuite/schedulers/147894-2.c:
2670 * testsuite/schedulers/147894.c:
2671 * testsuite/schedulers/Makefile.am:
2672 * testsuite/schedulers/group_link.c:
2673 * testsuite/schedulers/queue_link.c:
2674 * testsuite/schedulers/relink.c:
2675 * testsuite/schedulers/unlink.c:
2676 * testsuite/schedulers/unref.c:
2677 * testsuite/schedulers/useless_iteration.c:
2678 * testsuite/states/bin.c:
2679 clean out/remove some stuff from the testsuite directories
2681 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2684 check for some headers
2685 * gst/elements/Makefile.am:
2686 * gst/elements/gstelements.c:
2687 don't compile fdsrc without sys/socket.h
2688 * gst/indexers/Makefile.am:
2689 * gst/indexers/gstindexers.c: (plugin_init):
2690 don't compile fileindex without mmap
2692 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2699 * check/Makefile.am:
2700 * docs/gst/Makefile.am:
2701 * examples/helloworld/Makefile.am:
2703 * gst/base/Makefile.am:
2704 * gst/check/Makefile.am:
2705 * gst/elements/Makefile.am:
2706 * gst/indexers/Makefile.am:
2707 * gst/parse/Makefile.am:
2708 * libs/gst/controller/Makefile.am:
2709 * libs/gst/dataprotocol/Makefile.am:
2710 * examples/helloworld/helloworld.c: (event_loop):
2711 compile fixes, though it's not being compiled currently
2713 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2715 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2716 Add some simple tests for the new taglist date API.
2718 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2720 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2721 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2722 Beautify 'last-message' output: print 'none' for buffer timestamps
2723 and durations if none is set; improve alignment with next messages.
2725 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2727 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2728 * gst/gstpluginfeature.h:
2729 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2730 * gst/gstregistry.h:
2731 * docs/gst/gstreamer-sections.txt:
2732 Add new API to check plugin feature version requirements.
2734 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2735 Some basic tests for the above.
2737 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2739 * gst/gststructure.c: (gst_structure_to_string):
2740 guard against NULL printf - happens when for example
2741 a message structure with GstClock gets serialized
2743 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2745 * gst/base/gstcollectpads.c: (gst_collectpads_event):
2746 Fix presumable copy'n'pasto.
2748 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2750 * gst/elements/gstfakesrc.h:
2751 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2752 * gst/elements/gsttypefindelement.c:
2754 * gst/elements/gstfilesink.c: (gst_file_sink_render):
2755 I wonder if this could actually write +2GB files before
2757 2005-10-13 Andy Wingo <wingo@pobox.com>
2759 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2760 Fix Timmeke Waymans bug.
2761 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2762 string of the proper length to gst_caps_from_string. There's a
2763 potential for, before this fix, that this could cause someone
2764 connecting over the network to cause a segfault if the payload is
2767 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2769 * docs/design/draft-push-pull.txt:
2770 * docs/design/part-overview.txt:
2771 * docs/random/TODO-pre-0.9:
2772 * docs/random/old/ChangeLog.gstreamer:
2773 * gst/base/gstpushsrc.c:
2777 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2779 * gst/glib-compat.c: (gst_flags_get_first_value):
2780 * gst/glib-compat.h:
2781 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2782 (gst_value_compare_double), (gst_value_serialize_flags):
2783 GLib 2.6 g_flags_get_first_value has a bug that triggers an
2786 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2789 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2791 * tools/gst-launch.c: (event_loop):
2792 print out clock nicely
2794 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2796 * docs/gst/gstreamer-sections.txt:
2798 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2799 (gst_tag_list_get_date_index):
2800 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2801 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2803 2005-10-13 Julien MOUTTE <julien@moutte.net>
2805 * gst/base/gstcollectpads.c: (gst_collectpads_event),
2806 (gst_collectpads_chain):
2807 * gst/base/gstcollectpads.h: Handle newsegment and store informations
2810 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2812 * docs/gst/gstreamer-sections.txt:
2815 * tools/gst-inspect.c: (main):
2816 * tools/gst-launch.c: (main):
2817 * tools/gst-run.c: (main):
2818 * tools/gst-xmlinspect.c: (main):
2819 fix GOption context leaks
2822 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2826 * win32/common/config.h:
2828 * win32/vs6/grammar.dsp:
2829 * win32/vs6/libgstelements.dsp:
2830 * win32/vs6/libgstreamer.dsp:
2833 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2835 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2836 * gst/base/gstbasesrc.c: (gst_base_src_query):
2837 fix more guint64<->gdouble conversions
2839 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2842 add win32-update target
2843 * win32/common/gstconfig.h:
2844 * win32/common/gstenumtypes.c:
2845 * win32/common/gstenumtypes.h:
2846 * win32/common/gstversion.h:
2847 add files that visual studio can't generate
2849 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2852 add a win32-update target
2855 2005-10-12 Wim Taymans <wim@fluendo.com>
2857 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2858 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2859 * gst/gstelement.c: (gst_element_commit_state),
2860 (gst_element_set_state):
2861 Protect flags with proper lock.
2862 unref provided cached clock in dispose.
2864 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2867 * gst/gstminiobject.h:
2869 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2870 removed unused flags from miniobject
2873 2005-10-12 Wim Taymans <wim@fluendo.com>
2875 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2876 (gst_file_sink_event), (gst_file_sink_render):
2877 Flush before seeking.
2879 2005-10-12 Andy Wingo <wingo@pobox.com>
2881 * gst/gst.c (gst_init_check): Ignore unknown options, as has
2882 always been the case.
2884 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2886 * check/gst/gstbin.c: (GST_START_TEST):
2887 * docs/gst/gstreamer-sections.txt:
2888 * gst/base/gstbasesink.c: (gst_base_sink_init):
2889 * gst/base/gstbasesrc.c: (gst_base_src_init),
2890 (gst_base_src_get_range), (gst_base_src_check_get_range),
2891 (gst_base_src_start), (gst_base_src_stop):
2892 * gst/base/gstbasesrc.h:
2893 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2894 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2895 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2899 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2901 * gst/gstelement.c: (gst_element_is_locked_state),
2902 (gst_element_set_locked_state), (gst_element_commit_state),
2903 (gst_element_set_state):
2905 * gst/gstindex.c: (gst_index_init):
2907 * gst/gstminiobject.h:
2908 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2909 (gst_object_set_parent):
2911 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2912 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2914 * gst/gstpadtemplate.h:
2915 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2916 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2917 * gst/gstpipeline.h:
2918 * gst/indexers/gstfileindex.c: (gst_file_index_load),
2919 (gst_file_index_commit):
2920 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2921 * testsuite/pad/link.c: (gst_test_src_init),
2922 (gst_test_filter_init), (gst_test_sink_init):
2923 * testsuite/states/locked.c: (main):
2924 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2925 moved bitshift from macro to enum definition
2927 2005-10-12 Wim Taymans <wim@fluendo.com>
2929 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2930 * gst/elements/gstfilesink.c: (gst_file_sink_event),
2931 (gst_file_sink_render):
2932 Some more debugging info.
2934 2005-10-12 Wim Taymans <wim@fluendo.com>
2936 * docs/design/part-states.txt:
2937 * tools/gst-launch.c: (main):
2939 Revert non-intentional change.
2941 2005-10-12 Wim Taymans <wim@fluendo.com>
2943 * check/gst/gstbin.c: (GST_START_TEST):
2944 * check/gst/gstelement.c: (GST_START_TEST):
2945 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2946 * check/gst/gstghostpad.c: (GST_START_TEST):
2947 * check/gst/gstpipeline.c: (GST_START_TEST):
2948 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2949 * check/states/sinks.c: (GST_START_TEST):
2950 * gst/elements/gsttypefindelement.c: (stop_typefinding):
2951 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2952 (gst_bin_remove_func), (gst_bin_get_state_func),
2953 (gst_bin_recalc_state), (gst_bin_change_state_func),
2955 * gst/gstelement.c: (gst_element_get_state_func),
2956 (gst_element_get_state), (gst_element_abort_state),
2957 (gst_element_commit_state), (gst_element_set_state),
2958 (gst_element_change_state), (gst_element_change_state_func):
2960 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2961 (gst_pipeline_provide_clock_func):
2962 * gst/gstutils.c: (gst_element_link_pads_filtered):
2963 * tools/gst-launch.c: (main):
2964 * tools/gst-typefind.c: (main):
2965 Use GstClockTime in _get_state() instead of GTimeVal.
2966 Remove old code in gstutils.c
2968 2005-10-12 Andy Wingo <wingo@pobox.com>
2970 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2973 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2974 there is no task. Shouldn't affect any code, as nothing in our
2975 plugins checks this return value.
2976 (gst_pad_stop_task): Also take the stream lock if the pad has no
2979 2005-10-12 Wim Taymans <wim@fluendo.com>
2981 * gst/gstpad.c: (pre_activate), (post_activate),
2982 (gst_pad_activate_pull), (gst_pad_activate_push):
2983 Cleanup activation code. Reset old state if
2986 2005-10-12 Wim Taymans <wim@fluendo.com>
2988 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2989 (gst_base_sink_change_state):
2990 No need to prerol after receiving EOS.
2992 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2993 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2994 * gst/elements/gstidentity.c: (gst_identity_event):
2995 Print events more verbosely.
2997 2005-10-12 Wim Taymans <wim@fluendo.com>
2999 * check/Makefile.am:
3000 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3001 * check/states/sinks2.c:
3002 Moved sinks2 testcode in sinks check.
3004 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3005 (gst_bin_remove_func), (gst_bin_recalc_state),
3006 (gst_bin_change_state_func), (bin_bus_handler):
3007 Fix potential race condition when _get_state() iterated over an
3008 ASYNC element right before it posted a state completion.
3011 Do proper cast here.
3013 * gst/gstevent.c: (gst_event_new_newsegment),
3014 (gst_event_parse_newsegment):
3015 A playback rate of 0.0 is not allowed.
3017 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3019 * win32/common/config.h:
3020 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3021 (_trewinddir), (_ttelldir), (_tseekdir):
3022 * win32/common/dirent.h:
3023 * win32/common/gtchar.h:
3024 * win32/common/libgstbase.def:
3025 * win32/common/libgstreamer.def:
3026 * win32/vs6/grammar.dsp:
3027 * win32/vs6/gst_inspect.dsp:
3028 * win32/vs6/gst_launch.dsp:
3029 * win32/vs6/gstreamer.dsw:
3030 * win32/vs6/libgstbase.dsp:
3031 * win32/vs6/libgstelements.dsp:
3032 * win32/vs6/libgstreamer.dsp:
3033 Visual Studio 6 project files, and a new common directory.
3036 2005-10-11 Wim Taymans <wim@fluendo.com>
3038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3039 (gst_base_sink_do_sync), (gst_base_sink_query),
3040 (gst_base_sink_change_state):
3041 * gst/base/gstbasesink.h:
3042 Correctly parse newsegment info.
3044 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3046 * gst/gst.c: (init_post):
3047 split plugin paths correctly
3049 2005-10-11 Wim Taymans <wim@fluendo.com>
3051 * check/gst/gstevent.c: (GST_START_TEST):
3052 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3053 (gst_base_sink_change_state):
3054 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3055 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3056 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3057 * gst/gstevent.c: (gst_event_new_newsegment),
3058 (gst_event_parse_newsegment):
3060 Added extra flag to newsegment for future API freeze.
3061 Updated check and base elements.
3063 2005-10-11 Julien MOUTTE <julien@moutte.net>
3065 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3066 (gst_collectpads_add_pad), (gst_collectpads_pop),
3067 (gst_collectpads_event), (gst_collectpads_chain):
3068 * gst/base/gstcollectpads.h: Handle EOS correctly.
3070 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3072 * tools/gst-launch.c: (main):
3073 more null protecting
3075 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3077 * gst/gst-i18n-lib.h:
3078 check for ENABLE_NLS, not GETTEXT_PACKAGE
3079 * gst/gstregistry.c: (gst_registry_add_plugin),
3080 (gst_registry_scan_path_level),
3081 (_gst_registry_remove_cache_plugins):
3082 protect possibly NULL strings
3083 * gst/parse/types.h:
3084 config.h already included before
3085 * tools/gst-inspect.c: (main):
3086 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3087 check for ENABLE_NLS, not GETTEXT_PACKAGE
3088 * tools/gst-launch.c: (main):
3089 check for ENABLE_NLS, not GETTEXT_PACKAGE
3091 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3094 if we don't have glib, fail before testing 2.8
3095 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3096 fix a leak, should fix plugins-base testsuite
3098 2005-10-11 Andy Wingo <wingo@pobox.com>
3100 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3101 take the mode we're going to as an arg. Go head and set the mode
3102 and flushing flags now, so that if the activate function starts a
3103 thread all the flags will be in the right state.
3104 (post_activate): Renamed also. Just handle making sure streaming
3105 finishes for the deactivation case, and setting the deactivated
3107 (gst_pad_set_active): Complain loudly if deactivation fails.
3108 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3109 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3110 remove the terrible hack.
3112 2005-10-11 Wim Taymans <wim@fluendo.com>
3114 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3115 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3116 (gst_bin_recalc_state), (gst_bin_change_state_func),
3117 (gst_bin_dispose), (bin_bus_handler):
3119 Prepare to make current EOS message queue more generic.
3122 * gst/gstevent.c: (gst_event_new_newsegment),
3123 (gst_event_parse_newsegment):
3125 Rename base to stream_time.
3130 2005-10-11 Wim Taymans <wim@fluendo.com>
3132 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3133 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3134 (gst_bin_change_state_func), (bin_bus_handler):
3136 Work on proper clock selection.
3138 2005-10-11 Edward Hervey <edward@fluendo.com>
3140 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3141 * libs/gst/controller/gstcontroller.h:
3142 Added GList* version of _remove_properties() in order to be able to wrap
3145 2005-10-11 Wim Taymans <wim@fluendo.com>
3147 * docs/design/part-states.txt:
3150 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3151 (gst_bin_change_state_func), (bin_bus_handler):
3152 Doc updates. Don't distribute the same clock over and over again.
3158 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3159 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3160 (gst_pad_send_event):
3162 Make probe emission threadsafe again.
3163 Register quarks and move _get_name() from utils.
3166 * gst/gstpipeline.c: (gst_pipeline_class_init),
3167 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3168 Only redistribute the clock of it changed.
3170 * gst/gstsystemclock.h:
3175 Moved the _flow_get_name() to GstPad.
3177 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3179 * check/gst-libs/gdp.c: (GST_START_TEST):
3180 * check/gst/gstcaps.c: (GST_START_TEST):
3181 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3182 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3183 (gst_dp_packet_from_caps):
3184 fix more valgrind warnings before turning up the heat
3186 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3188 * gst/parse/grammar.y:
3189 some cleanup before the hacking
3191 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3193 * gst/base/gstbasesrc.c: (gst_base_src_query):
3195 * gst/gstutils.c: (gst_guint64_to_gdouble),
3196 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3198 externalize, basesrc uses it
3199 obviously the implementation needs testing
3201 2005-10-10 Wim Taymans <wim@fluendo.com>
3203 * tests/sched/Makefile.am:
3204 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3205 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3207 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3209 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3210 apparently converting from guint64 to double is not implemented
3213 2005-10-10 Wim Taymans <wim@fluendo.com>
3215 * check/Makefile.am:
3216 * check/generic/states.c: (GST_START_TEST):
3217 * check/gst/gstbin.c: (GST_START_TEST):
3218 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3219 * check/states/sinks.c: (GST_START_TEST):
3220 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3222 Check fixes, use API as stated in design docs, remove hacks.
3224 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3225 (gst_base_sink_change_state):
3226 Catch stopping our task while we're shutting down.
3228 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3229 (gst_bin_remove_func), (gst_bin_get_state_func),
3230 (gst_bin_recalc_state), (gst_bin_change_state_func),
3233 * gst/gstelement.c: (gst_element_init),
3234 (gst_element_get_state_func), (gst_element_abort_state),
3235 (gst_element_commit_state), (gst_element_lost_state),
3236 (gst_element_set_state), (gst_element_change_state),
3237 (gst_element_change_state_func):
3239 New state change algorithm (see #318116)
3241 * gst/gstpipeline.c: (gst_pipeline_class_init),
3242 (gst_pipeline_init), (gst_pipeline_set_property),
3243 (gst_pipeline_get_property), (do_pipeline_seek),
3244 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3245 * gst/gstpipeline.h:
3246 Remove crude state change hacks.
3251 * tools/gst-launch.c: (main):
3252 Fixes for state change. Needs some more work to fully use the
3255 2005-10-10 Andy Wingo <wingo@pobox.com>
3257 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3259 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3260 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3263 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3265 * gst/gstiterator.c: (gst_iterator_new):
3266 Fix my previous commit: GTypes passed to gst_iterator_new()
3267 can be fundamental types.
3269 2005-10-10 Wim Taymans <wim@fluendo.com>
3271 * gst/gstelement.c: (gst_element_iterate_pad_list),
3272 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3273 (gst_element_iterate_sink_pads):
3274 Use src/sink pads lists for the respective iterators instead
3277 2005-10-10 Andy Wingo <wingo@pobox.com>
3279 Merged in popt removal + GOption addition patch from Ronald, bug
3282 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3283 GstElement macros around, remove popt-related symbols, add goption
3286 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3288 * docs/gst/Makefile.am:
3289 * docs/libs/Makefile.am: No POPT_CFLAGS.
3291 * examples/manual/Makefile.am:
3292 * docs/manual/basics-init.xml: Doc updates with an example.
3294 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3295 (gst_init), (parse_one_option), (parse_goption_arg):
3296 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3297 bit of hand merging and debugging to get the GOption stuff working
3300 * tests/Makefile.am:
3301 * tools/Makefile.am:
3302 * tools/gst-inspect.c: (main):
3303 * tools/gst-launch.c: (main):
3304 * tools/gst-run.c: (main):
3305 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3307 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3309 * gst/gstiterator.c: (gst_iterator_new):
3310 Add assertions to make sure passed GType is likely to really
3311 be a GType (as the compiler won't catch it if the size and
3312 GType arguments get mixed up, see #318447).
3314 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3316 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3318 * gst/gstbin.c: (gst_bin_iterate_sorted):
3319 Pass GType and size arguments to gst_iterator_new() in the right
3320 order (maybe we should make _new() take the GType as first argument
3321 just like _new_list()?) (#318447).
3324 2005-10-10 Wim Taymans <wim@fluendo.com>
3326 * gst/gstelement.c: (gst_element_finalize):
3327 And free the GStaticRecMutex too
3329 2005-10-10 Andy Wingo <wingo@pobox.com>
3331 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3332 Allocate and free the mutex properly.
3334 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3336 (GstElement): The state_lock is now recursive. Rebuild your
3337 plugins, suckers. Old macros adapted.
3339 * docs/gst/gstreamer-sections.txt: Doc updates.
3342 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3343 (g_static_rec_cond_wait): Ported from state changes patch, while
3344 we wait on bug #317802 to be solved in a well-distributed GLib.
3346 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3347 gst_element_change_state, variable name changes.
3348 (gst_element_change_state): Split out of gst_element_set_state in
3349 preparation for the state change merge. Doesn't pay attention to
3350 the 'transition' argument.
3351 (gst_element_set_state): Updates, hopefully purely cosmetic.
3352 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3354 (gst_element_get_state_func): Renamed from get_state, cosmetic
3357 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3359 * gst/elements/gstelements.c:
3360 * win32/GStreamer.vcproj:
3362 * win32/dirent.c: (_tseekdir):
3363 * win32/gst-inspect.vcproj:
3364 * win32/gst-launch.vcproj:
3365 * win32/gstconfig.h:
3366 * win32/gstelements.vcproj:
3367 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3368 * win32/gstreamer.def:
3370 updates for the win32 build (patch from Sebastien Moutte)
3372 2005-10-10 Andy Wingo <wingo@pobox.com>
3374 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3375 gst_bin_get_state, cleaned up (but no logic changes).
3376 (bin_element_is_sink): Comment updates.
3377 (sink_iterator_filter): Remove needless cast.
3378 (gst_bin_iterate_sinks): Doc update.
3379 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3380 cleaned up (but no logic changes).
3382 * check/states/sinks.c (test_src_sink): Cleanups from the state
3384 (test_livesrc_sink): Sync on the state.
3386 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3387 the state change patch.
3389 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3392 * check/gst/gstbin.c: Merge in some style fixes and additional
3393 checks from Wim's state change patch.
3395 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3397 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3398 (gst_type_find_helper):
3399 Check whether we have the requested data already in our list of
3400 cached buffers before pulling a new buffer; also make the buffer
3401 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3403 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3408 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3409 don't use long long, it's not portable. Replacing with
3410 gint64 seems to work; let's hope no skeletons fall out of the closet.
3412 2005-10-10 Andy Wingo <wingo@pobox.com>
3414 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3416 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3418 * docs/gst/gstreamer-sections.txt:
3423 * gst/gstmessage.c: (gst_message_parse_state_changed):
3426 more docs, fix compilation
3428 2005-10-09 Philippe Khalaf <burger@speedy.org>
3430 Fixed a few forgotten variables on previous commit
3432 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3434 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3435 Fix evil typefind crasher: getrange() might return a short
3436 buffer at the end of a file, but gst_type_find_peek() must
3437 either return the full data as requested or NULL, but
3438 never a short buffer.
3440 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3442 * gst/gstmessage.c: (gst_message_new_state_changed),
3443 (gst_message_parse_state_changed):
3445 don't use "new", it's a C++ keyword
3447 2005-10-08 Wim Taymans <wim@fluendo.com>
3449 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3450 * gst/gstelement.c: (gst_element_post_message):
3451 * gst/gstpipeline.c: (gst_pipeline_change_state):
3452 Small docs and debug updates.
3454 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3456 * docs/gst/gstreamer-sections.txt:
3457 * gst/gstelementfactory.c:
3462 2005-10-08 Wim Taymans <wim@fluendo.com>
3464 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3465 (gst_bin_dispose), (bin_bus_handler):
3466 Fix typos, add comments.
3467 Clear EOS list when going to PAUSED from any direction and do it
3468 in a threadsafe way.
3469 Get base time in a threadsafe way too.
3470 Fix confusing debug in the change_state function.
3471 Various other small cleanups.
3473 * gst/gstelement.c: (gst_element_post_message):
3474 Fix very verbose bus posting code.
3476 * gst/gstpipeline.c: (gst_pipeline_class_init),
3477 (gst_pipeline_set_property), (gst_pipeline_get_property),
3478 (gst_pipeline_change_state):
3479 Small ARG_ -> PROP_ cleanup
3481 2005-10-08 Wim Taymans <wim@fluendo.com>
3483 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3484 Do a less CPU demanding EOS check because we can.
3486 2005-10-08 Wim Taymans <wim@fluendo.com>
3488 * libs/gst/dataprotocol/dataprotocol.c:
3489 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3490 (gst_dp_packet_from_event):
3491 * libs/gst/dataprotocol/dataprotocol.h:
3492 * libs/gst/dataprotocol/dp-private.h:
3493 It's about time we bump the version number.
3494 Since event types don't fit in the guint8 anymore describing
3495 the payload type, make payload type 16 bits wide.
3497 2005-10-08 Wim Taymans <wim@fluendo.com>
3499 * docs/design/part-TODO.txt:
3500 * docs/design/part-clocks.txt:
3501 * docs/design/part-events.txt:
3502 * docs/design/part-gstbin.txt:
3503 * docs/design/part-gstelement.txt:
3504 * docs/design/part-gstpipeline.txt:
3505 * docs/design/part-live-source.txt:
3506 * docs/design/part-messages.txt:
3507 * docs/design/part-overview.txt:
3508 * docs/design/part-states.txt:
3511 2005-10-08 Wim Taymans <wim@fluendo.com>
3515 Fix event quark registration.
3516 Add some space between events so we can insert them in the
3519 2005-10-08 Wim Taymans <wim@fluendo.com>
3521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3522 (gst_base_sink_handle_buffer):
3529 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3530 (gst_queue_set_property), (gst_queue_get_property):
3532 Remove old unused properties.
3534 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3535 * docs/gst/gstreamer-sections.txt:
3538 * gst/gstminiobject.c:
3539 * gst/gstminiobject.h:
3543 lots of new docs and doc fixes
3545 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3547 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3549 * gst/gstregistry.c: (gst_registry_lookup_locked),
3550 (gst_registry_scan_path_level):
3551 * gst/gstregistryxml.c: (load_plugin):
3552 Only ever load one plugin for a given plugin basename.
3553 This ensures correct overriding of GST_PLUGIN_PATH over
3554 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3555 system installed plugins.
3557 2005-10-08 Wim Taymans <wim@fluendo.com>
3559 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3560 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3561 Prepare for doing QOS.
3563 2005-10-08 Wim Taymans <wim@fluendo.com>
3565 * check/gst/gstbin.c: (GST_START_TEST):
3566 * check/pipelines/cleanup.c: (GST_START_TEST):
3567 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3568 Allow new clock message too.
3570 2005-10-08 Wim Taymans <wim@fluendo.com>
3572 * gst/gstmessage.c: (gst_message_new_error),
3573 (gst_message_new_warning), (gst_message_new_tag),
3574 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3575 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3576 (gst_message_new_segment_start), (gst_message_new_segment_done),
3577 (gst_message_parse_state_changed),
3578 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3579 (gst_message_parse_new_clock):
3581 Also carry the clock in question.
3583 2005-10-08 Wim Taymans <wim@fluendo.com>
3585 * gst/gstmessage.c: (gst_message_new_custom),
3586 (gst_message_new_eos), (gst_message_new_error),
3587 (gst_message_new_warning), (gst_message_new_tag),
3588 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3589 (gst_message_new_new_clock), (gst_message_new_segment_start),
3590 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3591 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3594 Added clock related messages.
3596 * gst/gstpipeline.c: (gst_pipeline_change_state):
3597 Post message when the clock changed.
3599 * tools/gst-launch.c: (event_loop):
3602 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3604 * tools/gst-inspect.c: (print_element_properties_info):
3605 Can't pass NULL strings to g_print() on windows.
3607 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3610 * docs/gst/Makefile.am:
3611 * docs/gst/gstreamer-docs.sgml:
3612 * docs/gst/running.xml:
3613 * docs/version.entities.in:
3614 add a chapter on running GStreamer.
3615 document GST_DEBUG and GST_PLUGIN* env vars
3617 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3622 remove PLUGINS_BUILDDIR stuff
3623 * gst/gst.c: (init_post):
3624 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3626 remove, it was condescending and not needed
3628 2005-10-08 Wim Taymans <wim@fluendo.com>
3630 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3631 (gst_base_sink_handle_object), (gst_base_sink_event),
3632 (gst_base_sink_wait), (gst_base_sink_handle_event),
3633 (gst_base_sink_change_state):
3634 * gst/base/gstbasesink.h:
3635 Repost EOS message while going to PLAYING if still EOS.
3636 Make sure that when receiving a FLUSH_START we don't attempt
3637 to sync on the clock anymore.
3639 2005-10-08 Wim Taymans <wim@fluendo.com>
3641 * tools/gst-launch.c: (event_loop):
3642 Better message printout.
3644 2005-10-08 Wim Taymans <wim@fluendo.com>
3646 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3647 (gst_bin_child_proxy_get_children_count):
3648 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3649 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3650 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3651 (gst_child_proxy_set_valist):
3652 * gst/parse/grammar.y:
3653 Make ChildProxy threadsafe and fix mem leaks.
3655 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3657 * gst/gst.c: (init_post):
3658 debug the GST_PLUGIN_ env vars
3660 2005-10-08 Wim Taymans <wim@fluendo.com>
3662 * check/gst/gstbin.c: (GST_START_TEST):
3663 * check/gst/gstmessage.c: (GST_START_TEST):
3664 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3665 * gst/gstelement.c: (gst_element_commit_state),
3666 (gst_element_lost_state):
3667 * gst/gstmessage.c: (gst_message_new_state_changed),
3668 (gst_message_parse_state_changed):
3670 * tools/gst-launch.c: (event_loop):
3671 Added extra field to STATE_CHANGE message with the pending
3672 state, which will be different from the new state soon.
3674 2005-10-08 Wim Taymans <wim@fluendo.com>
3676 * gst/gstbus.c: (gst_bus_pop):
3678 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3679 Small cleanups and doc updates.
3681 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3683 * gst/gst.c: (init_pre):
3684 * gst/gstbin.c: (gst_bin_add_func):
3685 log distributing clocks and base time
3686 * gst/gstregistry.c: (gst_registry_add_plugin),
3687 (gst_registry_scan_path_level), (gst_registry_scan_path):
3688 clean up the debugging output a little
3689 * gst/gstutils.c: (gst_element_state_get_name):
3690 warn about a memleak (I've actually seen this be used, though
3691 it was probably a bug)
3693 2005-10-07 Wim Taymans <wim@fluendo.com>
3695 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3696 (gst_base_src_init), (gst_base_src_default_newsegment),
3697 (gst_base_src_newsegment), (gst_base_src_do_seek),
3698 (gst_base_src_loop), (gst_base_src_start):
3699 * gst/base/gstbasesrc.h:
3700 Make the newsegment event customizable by subclasses.
3702 2005-10-07 Wim Taymans <wim@fluendo.com>
3704 * gst/gstevent.c: (gst_event_new_buffersize),
3705 (gst_event_parse_buffersize):
3707 New event for future idea.
3709 2005-10-07 Andy Wingo <wingo@pobox.com>
3711 * gst/gstelement.c (gst_element_post_message): Doc update.
3713 * docs/gst/gstreamer-sections.txt: Update.
3715 * gst/gstmessage.c (gst_message_new_application): Made into a
3716 function like honest API calls.
3717 (gst_message_new_element): New message type.
3719 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3721 * check/elements/fakesrc.c (test_no_preroll): New check, checks
3722 that setting a live fakesrc to PAUSED returns NO_PREROLL both
3725 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3726 NO_PREROLL from gst_element_change_state to fall through.
3728 2005-10-07 Wim Taymans <wim@fluendo.com>
3730 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3731 (gst_ghost_pad_do_activate_push):
3732 Activating a ghostpad with no internal pad in push mode
3735 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
3738 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3739 Fixes compilation on Windows.
3741 2005-10-07 Michael Smith <msmith@fluendo.com>
3743 * tools/gst-inspect.c:
3744 Print out feature and plugin count at the end when printing out
3747 2005-10-04 Michael Smith <msmith@fluendo.com>
3749 * gst/gsterror.c: (_gst_stream_errors_init):
3750 Add another error string used in a few existing plugins.
3753 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3754 * tools/gst-inspect.c: (print_element_info):
3755 When a feature disappears from a plugin (and the feature exists in
3756 the cached registry file), things went horribly wrong. This isn't a
3757 complete fix, we should actually be removing the 'missing' features
3758 from the features list when we load the actual plugin. That's not
3761 2005-10-04 Johan Dahlin <johan@gnome.org>
3763 * check/gst/gstiterator.c: (GST_START_TEST):
3764 * gst/gstbin.c: (gst_bin_iterate_elements),
3765 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3766 * gst/gstelement.c: (gst_element_iterate_pads):
3767 * gst/gstformat.c: (gst_format_iterate_definitions):
3768 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3769 (gst_iterator_new_list), (gst_iterator_filter):
3770 * gst/gstiterator.h:
3771 * gst/gstquery.c: (gst_query_type_iterate_definitions):
3772 Add a GType to GstIterator, update callsites and tests.
3774 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3776 * gst/gstpad.c: (gst_pad_event_default_dispatch):
3777 give events a chance to be handled by event probes when the pad
3780 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3782 * gst/gstevent.c: (gst_event_type_get_name),
3783 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3785 add string representations for event types
3787 2005-10-06 Wim Taymans <wim@fluendo.com>
3789 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3790 Don't use NULL pointers.
3792 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3794 * gst/gst_private.h:
3798 * gst/gstpluginfeature.c:
3799 widen the debug category in output to fit the biggest one we have
3800 add a bus category and use it
3801 play with the colors
3802 fix up some categories
3804 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3806 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3807 add push activation of sink ghost pads.
3808 Andye, please verify
3810 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3812 * gst/gstutils.c: (gst_element_link_pads):
3813 fix a bug in the case where neither element has a pad
3814 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3815 add a test for that case
3817 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3819 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3820 emit have-data before checking for peers. This allows
3821 for probe handlers to connect elements. This helps autopluggers.
3822 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3824 add six checks, linked/unlinked with no/true/false probe
3826 2005-10-04 Wim Taymans <wim@fluendo.com>
3828 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3829 (gst_fake_sink_event), (gst_fake_sink_preroll),
3830 (gst_fake_sink_render), (gst_fake_sink_change_state):
3831 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3832 (gst_fake_src_get_property), (gst_fake_src_create),
3833 (gst_fake_src_stop):
3834 * gst/elements/gstidentity.c: (gst_identity_stop):
3835 Protect last_message with lock.
3837 2005-10-04 Edward Hervey <edward@fluendo.com>
3840 Added precision in the comments for GST_FORMAT_DEFAULT
3842 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
3844 * tools/gst-launch.c: (main):
3845 Don't try to run erroneous pipelines.
3847 2005-10-04 Julien MOUTTE <julien@moutte.net>
3849 * gst/gstbus.c: We don't need this header.
3851 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3856 === release 0.9.3 ===
3858 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3862 Releasing 0.9.3, "Unregistered"
3864 2005-10-03 Andy Wingo <wingo@pobox.com>
3866 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3867 whereby calling a pad's activatepush() function can start a thread
3868 that starts to push or pull before the pad gets the FLUSHING flag
3869 unset. Hack around it by holding the stream lock until the flag is
3870 set. Need to replace this with a proper solution. Together with
3871 the ghost pad fixes, this fixes mp3 playing/tagreading.
3873 * docs/design/part-gstghostpad.txt: Add a note about activation of
3874 proxy pads outside of ghost pads.
3876 * gst/gstghostpad.c: Implement the ghost pad activation design.
3878 2005-10-02 Andy Wingo <wingo@pobox.com>
3880 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3881 It is volatile, after all.
3883 * docs/design/part-gstghostpad.txt: Flesh out activation with
3886 * gst/base/gstbasesrc.c (gst_base_src_init): Use
3889 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
3892 Fix (unused) AM_CONDITIONAL tests.
3894 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
3896 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3898 * gst/gstutils.c: (gst_pad_query_convert):
3899 Add assertion that makes sure src_val is >=0, just like
3900 gst_query_new_convert() has. (#315895)
3902 2005-09-30 Edward Hervey <edward@fluendo.com>
3904 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3905 Let's not iterate pads we're not interested in, it avoids getting
3906 sky-high refcounts on sinkpad.
3908 2005-09-30 Wim Taymans <wim@fluendo.com>
3910 * gst/gstelement.c: (gst_element_set_state),
3911 (gst_element_change_state):
3912 Small tweak, element in ASYNC remains ASYNC.
3914 2005-09-30 Wim Taymans <wim@fluendo.com>
3916 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3917 Only error is an error.
3919 * gst/gstbin.c: (gst_bin_change_state):
3922 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3923 Also call pad_block in pad alloc.
3925 * gst/gstutils.c: (gst_flow_get_name):
3928 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3930 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3931 (gst_base_src_get_range):
3932 Fix documentation typos. Add some more debug info.
3934 2005-09-29 David Schleef <ds@schleef.org>
3936 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3937 more end-user friendly.
3938 * tools/gst-inspect.c: (main): Check if command-line argument is
3939 a file and attempt to load that file as a plugin.
3941 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3943 * check/gst/gstbin.c:
3944 * check/states/sinks.c:
3945 fix tests for the new warning
3946 * check/gst/gstpipeline.c:
3947 add a test for pipeline and bus interaction
3949 elements should be NULL if they get disposed; add a warning if not
3951 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3954 for 2.6 refcounting, make debug log more correct by printing
3955 the actual refcounts at the time of swap (Wim)
3957 2005-09-29 Andy Wingo <wingo@pobox.com>
3959 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3960 removes signal watches previously added via
3961 gst_bus_add_signal_watch.
3962 (gst_bus_add_signal_watch): Don't return the source id, just store
3963 it on the bus if there wasn't an id already.
3965 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3966 add_signal_watch and remove_signal_watch.
3968 2005-09-29 Edward Hervey <edward@fluendo.com>
3970 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3971 Better if we actually iterate the list :)
3973 2005-09-29 Wim Taymans <wim@fluendo.com>
3975 * check/gst/gstbin.c: (GST_START_TEST):
3976 Change for new bus API.
3978 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3979 (send_messages), (GST_START_TEST), (gstbus_suite):
3980 Change for new bus signal API.
3982 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3983 (gst_bus_source_prepare), (gst_bus_source_check),
3984 (gst_bus_create_watch), (gst_bus_add_watch_full),
3985 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3986 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3988 Remove support for multiple GSources operating on different
3989 message types as it is too complex and unneeded when using
3991 Added support for receiving signals from the bus.
3993 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3995 * docs/libs/tmpl/gstdataprotocol.sgml:
3996 * docs/manual/advanced-dataaccess.xml:
3997 * gst/elements/gstcapsfilter.c:
3999 rename filter-caps to caps property
4001 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4003 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4004 More robust fraction string parsing.
4006 * docs/pwg/appendix-porting.xml:
4007 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4009 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4011 * gst/gstcaps.c: (gst_caps_do_simplify):
4012 Thou shalt not free a structure and then continue using it
4013 in the next loop iteration.
4015 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4017 Add test case for caps simplification.
4019 2005-09-29 Wim Taymans <wim@fluendo.com>
4021 * check/gst/gstbin.c: (GST_START_TEST):
4024 2005-09-29 Wim Taymans <wim@fluendo.com>
4026 * check/gst/gstbin.c: (GST_START_TEST):
4029 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4030 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4031 (find_element), (gst_bin_sort_iterator_next),
4032 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4033 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4034 (gst_bin_change_state), (gst_bin_dispose):
4035 A bin does not have a bus, it gets the bus from the parent.
4037 * gst/gstelement.c: (gst_element_requires_clock),
4038 (gst_element_provides_clock), (gst_element_is_indexable),
4039 (gst_element_is_locked_state), (gst_element_change_state),
4040 (gst_element_set_bus_func):
4043 * gst/gstpipeline.c: (gst_pipeline_class_init),
4044 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4045 The pipeline provides a bus.
4047 2005-09-28 Johan Dahlin <johan@gnome.org>
4049 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4050 gst_structure_get_enum instead of gst_structure_get_int
4052 * gst/gststructure.c (gst_structure_get_enum): Impl.
4054 * gst/gststructure.h (gst_structure_get_enum): Add
4056 * docs/gst/gstreamer-sections.txt: Ditto
4058 * gst/gstmessage.c (gst_message_new_state_changed): Use
4059 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4060 which does introspection.
4061 Reviewed by Christian Schaller
4063 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4065 * gst/gstinfo.c: (gst_debug_log_default):
4066 don't do dummy g_strdup()s
4067 * libs/gst/controller/gstcontroller.c:
4068 (on_object_controlled_property_changed),
4069 (gst_controlled_property_new), (gst_controller_new_valist),
4070 (gst_controller_new_list),
4071 (gst_controller_remove_properties_valist), (gst_controller_set),
4072 (gst_controller_get), (gst_controller_sync_values),
4073 (gst_controller_get_value_array), (_gst_controller_class_init),
4074 (gst_controller_get_type):
4075 * libs/gst/controller/gstcontroller.h:
4076 * libs/gst/controller/gstinterpolation.c:
4077 (gst_controlled_property_find_timed_value_node):
4078 convert // to /**/ comments
4080 2005-09-28 Wim Taymans <wim@fluendo.com>
4082 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4083 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4084 (gst_bus_sync_signal_handler):
4086 Added async-message and sync-message signals to the bus.
4087 Added helper BusFunc to emit signals for all posted messages.
4089 * gst/gstmessage.c: (gst_message_type_get_name),
4090 (gst_message_type_to_quark), (gst_message_get_type):
4092 Register quarks for message names.
4094 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4096 * docs/libs/gstreamer-libs-sections.txt:
4097 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4098 (gst_controller_new_list):
4099 * libs/gst/controller/gstcontroller.h:
4100 added another constructor for language bindings
4102 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4104 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4108 * gst/gstinfo.c: (_gst_debug_init):
4109 slightly more readable color for refcount debugging
4111 2005-09-28 Wim Taymans <wim@fluendo.com>
4113 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4114 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4115 (find_element), (gst_bin_sort_iterator_next),
4116 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4117 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4118 (gst_bin_change_state), (gst_bin_dispose):
4119 Small doc fixes. get_clock -> provide_clock.
4121 * gst/gstelement.c: (gst_element_class_init),
4122 (gst_element_provides_clock), (gst_element_provide_clock),
4123 (gst_element_get_clock), (gst_element_commit_state),
4124 (gst_element_lost_state):
4126 Make get/set_clock() symetric. Add provide_clock vmethod since
4127 that is actually what this function does.
4129 * gst/gstpipeline.c: (gst_pipeline_class_init),
4130 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4131 (gst_pipeline_get_clock):
4132 get_clock -> provide_clock.
4134 2005-09-28 Andy Wingo <wingo@pobox.com>
4136 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4137 lieu of real docs...
4139 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4141 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4143 * gst/elements/gstcapsfilter.c:
4144 * gst/elements/gstfakesink.c:
4145 * gst/elements/gstfakesrc.c:
4146 * gst/elements/gstfdsink.c:
4147 * gst/elements/gstfdsrc.c:
4148 * gst/elements/gstfilesink.c:
4149 * gst/elements/gstfilesrc.c:
4150 * gst/elements/gstidentity.c:
4151 * gst/elements/gsttee.c:
4152 * gst/elements/gsttypefindelement.c:
4153 Make element details static.
4155 2005-09-28 Wim Taymans <wim@fluendo.com>
4157 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4158 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4159 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4160 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4161 (gst_bin_change_state), (gst_bin_dispose):
4162 Some documentation updates.
4163 Clean up dispose handlers.
4165 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4166 * gst/gstpad.c: (gst_pad_dispose):
4167 Clean up dispose handler.
4169 * gst/gstpipeline.c: (gst_pipeline_change_state):
4170 Removed spurious UNLOCK.
4172 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4174 * docs/gst/gstreamer-sections.txt:
4175 * gst/base/gstbasesrc.h:
4180 * gst/gstpipeline.c:
4181 * gst/gstpipeline.h:
4184 added two new functions to the docs
4185 documents all undocumented GstXXXFlags
4186 completed some incomplete docs
4188 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4190 * gst/gstbin.c: (gst_bin_dispose):
4191 * gst/gstelement.c: (gst_element_dispose):
4192 remove now useless and leaky resurrection code in dispose
4193 * gst/base/gstbasesrc.c: (gst_base_src_init):
4194 * gst/gstelementfactory.c: (gst_element_factory_create):
4195 * gst/gstobject.c: (gst_object_set_parent):
4198 2005-09-27 Wim Taymans <wim@fluendo.com>
4200 * docs/design/part-TODO.txt:
4203 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4204 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4205 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4206 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4207 (gst_bin_change_state):
4209 Remove element variable, we keep element info in the iterator now.
4211 2005-09-27 Andy Wingo <wingo@pobox.com>
4213 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4216 2005-09-27 Wim Taymans <wim@fluendo.com>
4218 * check/gst/gstbin.c: (GST_START_TEST):
4219 Enable check that works now.
4221 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4222 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4223 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4224 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4225 (gst_bin_change_state):
4227 Redid the state change algorithm using a topological sort algo.
4228 Handles all cases correctly.
4229 Exposed iterator for state change order.
4232 Temp storage for state changes. Need to get rid of this soon.
4234 2005-09-27 Wim Taymans <wim@fluendo.com>
4236 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4237 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4238 (link_fold_func), (gst_pad_proxy_setcaps):
4239 Leak fixes, the fold functions need to unref the passed object and
4240 _get_parent_*() returns ref to parent.
4242 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4244 * check/gst/gstbuffer.c: (test_make_writable):
4245 Plug leak in test case and fix 'make check-valgrind'
4247 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4249 * gst/gstbuffer.c: (gst_subbuffer_init):
4250 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4251 works correctly in all circumstances (we could have just copied
4252 the parent buffer's readonly flag, but conceptually it seems
4253 cleaner to mark all subbuffers as read-only). (based on patch
4254 by Alessandro Decina, #314710).
4256 * check/gst/gstbuffer.c: (create_read_only_buffer),
4257 (test_make_writable), (test_subbuffer_make_writable),
4259 Add some tests for gst_buffer_make_writable().
4261 2005-09-27 Wim Taymans <wim@fluendo.com>
4263 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4264 use gst_object_has_ancestor().
4266 * gst/gstobject.c: (gst_object_has_ancestor):
4268 gst_object_has_ancestor() copied from gstbin.c as it is a
4271 * tests/instantiate/create.c: (create_all_elements):
4272 * tests/lat.c: (handoff_src), (handoff_sink):
4273 * tests/sched/runxml.c: (main):
4274 * tests/seeking/seeking1.c: (main):
4275 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4277 Fix compilation of some tests.
4279 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4282 Remove comment. GST_TYPE_G_ERROR is here to stay,
4283 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4286 2005-09-26 Wim Taymans <wim@fluendo.com>
4288 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4289 Added check that shows error in state change order.
4291 2005-09-26 Wim Taymans <wim@fluendo.com>
4293 * gst/gstbin.c: (gst_bin_change_state):
4294 Make state change function use 3 queues again, we were
4295 adding elements in the wrong order.
4297 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4300 * gst/gstpad.c: (gst_pad_dispose):
4301 Added some debug info first.
4303 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4305 * docs/design/draft-push-pull.txt:
4306 * docs/design/part-events.txt:
4307 * docs/design/part-overview.txt:
4308 * docs/design/part-scheduling.txt:
4309 Replace all _pull_region() with _pull_range()
4311 2005-09-26 Andy Wingo <wingo@pobox.com>
4313 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4315 * check/gst-libs/controller.c: Update for controller api change.
4318 * tests/Makefile.am:
4319 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4320 over by GLib bug 118439.
4322 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4323 routines to a function.
4325 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4327 * libs/gst/controller/gsthelper.c:
4328 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4329 (gst_object_sync_values): Renamed from sink_values. Ugh.
4331 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4333 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4334 Renamed from controller_key, as it is exported.
4336 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4338 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4343 * gst/gstpadtemplate.h:
4346 * gst/gstqueryutils.c:
4347 * gst/gstqueryutils.h:
4348 remove queryutils headers after moving the two used functions
4349 to gstquery. also fixes build problem for gstsiddec
4351 2005-09-26 Michael Smith <msmith@fluendo.com>
4353 * tools/gst-launch.1.in:
4354 Correct documentation in manpage of debug syntax
4356 2005-09-26 Wim Taymans <wim@fluendo.com>
4358 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4359 (gst_base_src_is_seekable), (gst_base_src_change_state):
4360 Some more debugging info.
4362 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4364 * docs/gst/gstreamer-sections.txt:
4365 * gst/base/gstbasetransform.h:
4369 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4371 * docs/gst/.cvsignore:
4372 * docs/gst/tmpl/.cvsignore:
4373 * docs/gst/tmpl/gstpipeline.sgml:
4374 * docs/gst/tmpl/gstplugin.sgml:
4375 * gst/gstpipeline.c:
4378 inlined the last two docs files
4379 removed the tmpl directory from cvs (no more conflicts here!)
4381 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4383 * docs/gst/gstreamer-sections.txt:
4384 * docs/gst/tmpl/.cvsignore:
4385 * docs/gst/tmpl/gstpad.sgml:
4386 * docs/gst/tmpl/gstpadtemplate.sgml:
4388 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4389 (gst_pad_finalize), (gst_pad_set_pad_template):
4391 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4392 (gst_pad_template_class_init), (gst_pad_template_init),
4393 (gst_pad_template_dispose), (name_is_valid),
4394 (gst_static_pad_template_get), (gst_pad_template_new),
4395 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4396 (gst_pad_template_pad_created):
4397 * gst/gstpadtemplate.h:
4398 inlined two more docs
4399 factored gstpadtemplate out of gstpad
4401 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4403 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4404 (test_children_state_change_order_semi_sink):
4405 Fix test case: we can't rely on a fixed state change order when
4406 going from READY => PAUSED because the sink might commit its
4407 new state first when the first buffer created by the source
4408 reaches the sink before the source has finished its change state.
4409 (Test case still fails at times, see #316856, comment 5 onwards)
4411 2005-09-24 Wim Taymans <wim@fluendo.com>
4413 * docs/design/part-events.txt:
4414 * docs/design/part-gstbus.txt:
4415 * docs/design/part-gstpipeline.txt:
4416 * docs/design/part-messages.txt:
4417 * docs/design/part-overview.txt:
4418 * docs/design/part-segments.txt:
4425 * gst/gstiterator.c:
4426 Various documentation updates.
4428 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4431 Well, that's embarassing. Luckily we weren't using
4432 GST_CLOCK_DIFF anywhere.
4434 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4436 * common/gtk-doc.mak:
4437 don't fail on building XML, FC4 slave shows a bunch of doc
4438 missing bits that I don't get
4440 * gst/gstpipeline.c:
4441 * gst/gststructure.c:
4444 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4446 * docs/design/part-gstbin.txt:
4447 * docs/design/part-gstbus.txt:
4449 Add blurb about how the bus goes into flushing mode and
4450 drops all messages when its bin goes from READY into NULL
4453 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4455 * docs/gst/gstreamer-sections.txt:
4456 * gst/gststructure.c: (gst_structure_get_clock_time):
4457 * gst/gststructure.h:
4458 add a method to get a GstClockTime out of a structure
4460 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4462 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4463 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4464 Added test to check state change order in bins (can still be made
4465 to fail here under heavy disk load; bails out with 'Push on pad
4466 fakesink:sink0, but it was not activated in push mode').
4468 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4469 Fix state change order when there is only a semi sink (#316856)
4471 * gst/gstbus.c: (gst_bus_class_init):
4472 Use _class_peek_parent(), not _class_ref(); fix docs to say
4473 'default main context' instead of 'mainloop' where that is
4476 * gst/gstelement.c: (gst_element_commit_state),
4477 (gst_element_set_state):
4478 Fix typos in debug messages
4480 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4483 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4484 * gst/gstpluginfeature.c:
4487 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4488 change an assert into an error until it gets fixed properly
4490 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4492 * docs/gst/gstreamer-sections.txt:
4493 * docs/gst/tmpl/.cvsignore:
4494 * docs/gst/tmpl/gstelement.sgml:
4495 * docs/gst/tmpl/gstinfo.sgml:
4496 * docs/gst/tmpl/gstobject.sgml:
4501 * gst/gstobject.c: (gst_object_class_init):
4503 inlined 3 more biiiig doc files and added some missing docs on the fly
4505 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4507 * check/gst/.cvsignore:
4508 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4509 * gst/gstregistryxml.c: (load_plugin),
4510 (gst_registry_xml_save_plugin):
4511 put back source in registry. add checks for find_plugin.
4512 * testsuite/states/bin.c: (assert_state), (empty_bin),
4513 (test_adding_one_element), (main):
4514 * testsuite/states/locked.c: (main):
4515 some compile/run fixes
4517 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4519 * check/gst/gstvalue.c: (GST_START_TEST):
4520 fix leaks in the test itself
4522 2005-09-22 Wim Taymans <wim@fluendo.com>
4524 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4525 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4526 (gst_base_sink_query):
4527 Prepare for more accurate position reporting and query
4530 * gst/gstelement.c: (gst_element_send_event),
4531 (gst_element_set_state):
4534 2005-09-22 Wim Taymans <wim@fluendo.com>
4536 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4537 (gst_query_parse_segment):
4540 Add segment query for future use.
4542 2005-09-22 Wim Taymans <wim@fluendo.com>
4544 * gst/gstbin.c: (gst_bin_add_func):
4545 Some more debug info.
4547 * gst/gstelement.c: (gst_element_send_event):
4551 Don't know how flags got broken.
4556 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4558 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4559 Add simplistic test suite for GST_TYPE_DATE serialisation and
4562 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4564 * docs/gst/gstreamer-sections.txt:
4565 * gst/gststructure.c: (gst_structure_set_valist),
4566 (gst_structure_get_date):
4567 * gst/gststructure.h:
4568 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4569 (gst_date_copy), (gst_value_compare_date),
4570 (gst_value_serialize_date), (gst_value_deserialize_date),
4571 (gst_value_transform_date_string),
4572 (gst_value_transform_string_date), (_gst_value_initialize):
4574 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4575 bunch of utility functions along with a hack that checks that
4576 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4577 is required. Part of the grand scheme in #170777.
4579 2005-09-22 Andy Wingo <wingo@pobox.com>
4581 * gst/gstconfig.h.in: Psych out gtk-doc.
4583 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4585 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4587 * tools/gst-inspect.c (print_element_list): Plug some
4588 inconsequential leaks.
4590 * gst/gstregistry.c (gst_registry_get_default): Doc.
4592 * check/gst/gstplugin.c:
4593 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4594 * gst/gstelementfactory.c (gst_element_factory_create):
4595 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4598 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4599 (gst_plugin_feature_load): Doc, don't eat refs.
4601 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4602 (gst_plugin_list_free): Doc.
4603 (gst_plugin_load_file): Doc updates.
4605 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4606 accessors returning refcounted objects, return a ref.
4608 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4609 accessor for caps. IDEMPOTENCE. Oh yes.
4611 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4613 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4615 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4616 (_gst_debug_register_funcptr):
4617 Add mutex to serialise access to the hash table with
4618 the function pointer => function name string mapping;
4619 make that hash table static scope (#316809).
4621 * gst/registries/.cvsignore:
4622 Remove left-over file.
4624 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4626 * docs/pwg/appendix-porting.xml:
4627 And something about newsegment events and caps-on-buffers to
4628 the porting guide (feel free to improve).
4630 2005-09-21 Andy Wingo <wingo@pobox.com>
4632 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4633 data and event probes on the same pad.
4634 (test_buffer_probe_once): Test that removing probes from within
4635 the probe functions works.
4637 2005-09-21 Andy Wingo <wingo@pobox.com>
4639 * check/gst/gstutils.c: New file.
4640 (test_buffer_probe_n_times): A simple buffer probe test. More to
4643 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4644 have-data::buffer, not have-data.
4645 (gst_pad_add_event_probe): Likewise for have-data::event.
4646 (gst_pad_add_data_probe): More docs. The part about 'resolving the
4647 peer' isn't quite right yet though.
4648 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
4649 (gst_pad_remove_data_probe): Change to take the guint handler_id
4650 as their arg, not the function+data, which is more glib-like.
4652 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4653 the signal emission to indicate if the data is a buffer or an
4655 (gst_pad_get_type): Initialize buffer and event quarks.
4656 (gst_pad_class_init): have-data is now a detailed signal, yes it
4659 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4661 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4662 * gst/gstutils.c: (gst_util_set_value_from_string),
4663 (gst_util_set_object_arg):
4664 Don't put functional code in g_return_if_fail() or
4665 g_return_val_if_fail() statements, otherwise things will
4666 break when G_DISABLE_CHECKS is defined during compilation.
4668 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4670 * docs/gst/tmpl/.cvsignore:
4671 * docs/gst/tmpl/gstvalue.sgml:
4674 inlied another one and added some obvious docs
4676 2005-09-21 Wim Taymans <wim@fluendo.com>
4678 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4679 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4680 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4681 (gst_fdsrc_get_property), (gst_fdsrc_create):
4682 * gst/elements/gstfdsrc.h:
4683 Properly implement fdsrc. Removed signal and timeout,
4684 better implemented somewhere else.
4686 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4688 * docs/gst/tmpl/.cvsignore:
4689 * docs/gst/tmpl/gstimplementsinterface.sgml:
4690 * gst/gstinterface.c:
4693 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4695 * docs/gst/gstreamer-sections.txt:
4696 * docs/gst/tmpl/.cvsignore:
4697 * docs/gst/tmpl/gstenumtypes.sgml:
4698 remove obsolete doc file
4700 2005-09-21 David Schleef <ds@schleef.org>
4702 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4703 little beer, fix a little leak.
4705 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4707 * docs/gst/gstreamer-docs.sgml:
4708 * docs/gst/gstreamer-sections.txt:
4709 * docs/gst/tmpl/.cvsignore:
4714 * gst/gstindex.c: (gst_index_class_init):
4716 * gst/gstindexfactory.c: (gst_index_factory_get_type),
4717 (gst_index_factory_class_init), (gst_index_factory_init),
4718 (gst_index_factory_finalize), (gst_index_factory_new),
4719 (gst_index_factory_destroy), (gst_index_factory_find),
4720 (gst_index_factory_create), (gst_index_factory_make):
4721 * gst/gstindexfactory.h:
4722 * gst/gstpluginfeature.c:
4723 * gst/gstpluginfeature.h:
4724 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4725 more docs inlined, splitted gstindex.{c,h}
4727 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4729 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4732 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4734 * gst/elements/gstfilesink.c: (gst_file_sink_init):
4735 Set sync to FALSE by default.
4737 2005-09-20 Wim Taymans <wim@fluendo.com>
4739 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4740 (gst_base_sink_init):
4741 Make sync property settable from subclass.
4743 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4744 (gst_fake_sink_change_state):
4745 Set sync to FALSE by default.
4747 2005-09-20 Wim Taymans <wim@fluendo.com>
4749 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4750 * tools/gst-launch.c: (main):
4751 The timeout handler should have lower priority than the source
4752 so we don't timeout before popping a message with 0 timeout.
4753 Dump error messages after failed state change.
4755 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4757 * tools/gst-inspect.c: (print_element_properties_info):
4760 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4762 * check/gst/gstevent.c:
4763 * gst/elements/gstfakesink.c:
4764 * gst/elements/gstfakesink.h:
4765 remove the sync property from fakesink.
4766 has the side effect of setting sync TRUE
4767 for fakesink, which is a change. Anyone who knows how
4768 to fix this nicely in a GObject-y way, feel free.
4770 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4772 * docs/gst/gstreamer-docs.sgml:
4773 remove probe refsection
4775 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4777 * check/Makefile.am:
4778 disable valgrinding the controller test again
4779 * docs/gst/gstreamer-sections.txt:
4780 update for api-changes
4782 2005-09-20 Wim Taymans <wim@fluendo.com>
4784 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4785 (gst_base_sink_set_property), (gst_base_sink_get_property),
4786 (gst_base_sink_do_sync):
4787 * gst/base/gstbasesink.h:
4788 Added sync property to basesink to disable clock sync.
4790 2005-09-20 Andy Wingo <wingo@pobox.com>
4792 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4793 eating the caller's refcount.
4795 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
4796 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4799 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4800 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4801 of GLib 2.8 public, so we can know which refcount to check in
4804 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4805 (gst_object_init): Only set the gst refcount if we're going ahead
4806 with the refcount hack.
4808 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4810 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4811 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4812 more leaks plumbed, added more debug-logging
4816 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4819 remove include of gstmemchunk.h
4821 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4823 * gst/gstclock.c: (_gst_clock_id_free):
4824 Commit from the Political Party For More Atomic CVS Commits,
4825 so that people don't waste too much of their day fishing
4826 out obvious leaks out of massive commits.
4827 Oh, and fix a pretty damn obvious leak in the memchunk
4830 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4832 * check/Makefile.am:
4833 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4834 plug mem-leak, re-add to valgrindable tests
4836 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4839 unbreak the build for those who have chronic arthritis
4840 and typing "make check" is just too taxing on the hands
4842 2005-09-20 Andy Wingo <wingo@pobox.com>
4844 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4845 really want it out, you should fix plugins at the same time.
4847 2005-09-19 Stefan Kost <ensonic@users.sf.net>
4850 * docs/gst/gstreamer-sections.txt:
4852 added missing symbols to api docs
4853 disable ref-count hack if we have glib >= 2.8
4855 2005-09-19 David Schleef <ds@schleef.org>
4857 * docs/gst/Makefile.am: Ignore a few more internal headers
4858 * docs/gst/gstreamer-docs.sgml: Remove old sections
4859 * docs/gst/gstreamer-sections.txt: Remove old sections
4860 * docs/gst/tmpl/gstobject.sgml: update
4861 * docs/gst/tmpl/gstplugin.sgml: update
4862 * docs/gst/tmpl/gstpluginfeature.sgml: update
4863 * docs/random/ds/0.9-suggested-changes: update.
4864 * gst/Makefile.am: remove memchunk and trashstack, since they're
4866 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4867 * gst/gst.h: don't include some headers
4868 * gst/gstchildproxy.c: add gstmarshal.h
4869 * gst/gstclock.c: Don't use memchunks
4870 * gst/gstminiobject.c: Add some docs
4871 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4872 * gst/gstobject.h: same
4873 * gst/gstplugin.c: include gstmacros.h
4874 * gst/gstplugin.h: don't include gstmacros.h, since it's private
4875 * gst/gstquery.c: don't use memchunks
4876 * gst/gstregistry.c: rename gst_registry_deinit()
4877 * gst/gstregistry.h: same
4879 2005-09-19 David Schleef <ds@schleef.org>
4881 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4882 * docs/libs/gstreamer-libs-sections.txt:
4883 * docs/libs/tmpl/gstgetbits.sgml:
4884 * docs/libs/tmpl/gstputbits.sgml:
4886 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
4888 * win32/gstenumtypes.c:
4889 * win32/gstenumtypes.h:
4892 2005-09-19 Wim Taymans <wim@fluendo.com>
4894 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4895 Automatically PAUSE and RESUME a pipeline when a flushing seek
4898 2005-09-19 Andy Wingo <wingo@pobox.com>
4900 * gst/gstregistry.h: Spacing fixen.
4902 2005-09-19 Wim Taymans <wim@fluendo.com>
4904 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4905 Handle state change failure more correctly.
4907 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4909 * check/Makefile.am:
4910 * check/pipelines/cleanup.c: (run_pipeline):
4911 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4913 enable cleanup again after fixing the leak
4915 some more info on docs
4917 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4919 * check/Makefile.am:
4920 re-enable tests now that leaks are plugged
4922 * check/gst/gstbin.c:
4923 * check/gst/gstpipeline.c:
4924 add some more tests while fixing leaks
4926 make sure binaries are uptodate when valgrinding/gdbing
4928 * gst/gstelementfactory.c:
4929 remove a ref too many, and add a FIXME for when we get
4930 round to disposing of classes
4932 fix the refcounting when loading a plugin from a file and
4933 the code pretends that the pointer is the same even though
4934 of course it can change
4935 * gst/gstpluginfeature.c:
4936 unref plugins marked cached (a bit confusing as a name)
4937 as the docs state should be done
4938 various doc additions to explain refcounting
4939 * gst/gstregistry.c:
4940 * gst/gstregistryxml.c:
4943 2005-09-19 Wim Taymans <wim@fluendo.com>
4945 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4946 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4947 (send_messages), (GST_START_TEST), (gstbus_suite):
4948 * check/gst/gstpipeline.c: (GST_START_TEST):
4949 * check/pipelines/cleanup.c: (run_pipeline):
4950 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4952 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4953 (gst_bus_source_check), (gst_bus_source_dispatch),
4954 (gst_bus_create_watch), (gst_bus_add_watch_full),
4955 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4957 * tools/gst-launch.c: (event_loop):
4958 * tools/gst-md5sum.c: (event_loop):
4959 GstBusHandler -> GstBusFunc, return value has the same meaning as
4960 any other GSource (FALSE == remove source).
4961 _add_watch() and _add_watch_full() now take a MessageType mask to
4962 only handle specific types of messages.
4963 _poll() returns the GstMessage instead of the message type to avoid
4965 _have_pending() takes a MessageType mask now too.
4966 Added testsuite for multiple bus watches.
4967 Fix testsuites and applications for new bus API.
4969 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4971 * check/Makefile.am:
4972 mark a bunch of the tests as to fix until we fix them
4974 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4977 use GST_PLUGIN settings for valgrind tests as well, so we're
4978 valgrinding the correct thing
4979 * gst/gst.c: (init_post):
4982 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4984 * gst/gst.c: (init_post), (gst_deinit):
4985 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4986 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4987 * gst/gstindex.c: (gst_index_factory_class_init),
4988 (gst_index_factory_finalize):
4989 * gst/gstobject.c: (gst_object_dispose):
4990 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4991 (gst_plugin_load_file), (gst_plugin_desc_free):
4992 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4993 (gst_plugin_feature_finalize):
4994 * gst/gstregistry.c: (gst_registry_class_init),
4995 (gst_registry_init), (gst_registry_finalize),
4996 (gst_registry_get_default), (gst_registry_deinit):
4997 * gst/gstregistry.h:
4998 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4999 various cleanups and memleak plugging. make valgrind is happy now.
5001 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5004 add a check-valgrind target
5006 2005-09-18 David Schleef <ds@schleef.org>
5008 * tools/gst-inspect.c: Revert the GOption code.
5010 2005-09-17 David Schleef <ds@schleef.org>
5012 * check/Makefile.am: Fix environment variables.
5013 * check/gst/gstplugin.c: Fix for API changes.
5014 * tools/gst-inspect.c: Fix for API changes.
5015 * tools/gst-xmlinspect.c: Fix for API changes.
5016 * gst/gstelementfactory.c:
5019 * gst/gstpluginfeature.c:
5020 * gst/gstpluginfeature.h:
5021 * gst/gstregistry.c:
5022 * gst/gstregistry.h:
5023 * gst/gstregistryxml.c:
5024 * gst/gsttypefind.c:
5025 * gst/gsttypefindfactory.c:
5026 * gst/indexers/gstfileindex.c:
5027 * gst/indexers/gstmemindex.c:
5028 * gst/schedulers/Makefile.am:
5029 Change registry to keep track of both plugins and features,
5030 removing the feature tracking from plugins themselves.
5032 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5034 * check/Makefile.am:
5035 * tools/gst-register.1.in:
5038 2005-09-15 David Schleef <ds@schleef.org>
5040 * check/gst/gstplugin.c:
5041 * gst/gstelementfactory.c:
5043 * gst/gstpluginfeature.c:
5044 * gst/gstregistry.c:
5045 Getting tired of debugging. Disabled all the unreffing of
5046 plugins and features, which fixes the segfaults, but of
5047 course leaks like crazy. At least playbin works.
5049 2005-09-15 David Schleef <ds@schleef.org>
5051 * check/gst/gstplugin.c: (register_check_elements),
5052 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5054 * gst/elements/gsttypefindelement.c: Fix refcounting.
5055 * gst/gsttypefind.c:
5056 * gst/gsttypefindfactory.c:
5057 * gst/gsttypefindfactory.h:
5059 2005-09-15 David Schleef <ds@schleef.org>
5061 * gst/gstindex.c: get refcounting correct.
5062 * gst/gstregistry.c: Handle the case where a feature/plugin is
5065 2005-09-15 David Schleef <ds@schleef.org>
5067 * check/Makefile.am:
5068 * check/gst/gstplugin.c: Add test
5069 * gst/gstplugin.c: Fix problems noticed by testsuite
5071 * gst/gstregistry.c:
5072 * gst/gstregistry.h:
5074 2005-09-15 David Schleef <ds@schleef.org>
5076 * gst/gstplugin.c: Implement semi-decent recounting and locking
5077 in plugins and plugin features.
5079 * gst/gstpluginfeature.c:
5080 * gst/gstpluginfeature.h:
5081 * gst/gstregistry.c:
5083 2005-09-15 Michael Smith <msmith@fluendo.com>
5085 * gst/gstregistry.c: (gst_registry_get_feature_list):
5086 Implement this. Makes oggdemux work; decodebin still broken.
5088 2005-09-14 David Schleef <ds@schleef.org>
5090 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5092 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5093 * gst/check/Makefile.am:
5094 * libs/gst/controller/Makefile.am:
5095 * libs/gst/dataprotocol/Makefile.am:
5097 2005-09-14 David Schleef <ds@schleef.org>
5099 * configure.ac: Remove getbits library. Nothing uses it, and
5100 it should be in something like liboil if someone did want
5102 * libs/gst/Makefile.am:
5103 * libs/gst/getbits/Makefile.am:
5104 * libs/gst/getbits/gbtest.c:
5105 * libs/gst/getbits/getbits.c:
5106 * libs/gst/getbits/getbits.h:
5107 * libs/gst/getbits/gstgetbits_generic.c:
5108 * libs/gst/getbits/gstgetbits_i386.s:
5109 * libs/gst/getbits/gstgetbits_inl.h:
5111 2005-09-14 David Schleef <ds@schleef.org>
5113 * gst/Makefile.am: Dist glib-compat.h
5115 2005-09-14 David Schleef <ds@schleef.org>
5117 * configure.ac: Remove gst/registries, since it's no longer used.
5118 * gst/registries/Makefile.am:
5119 * gst/registries/gstlibxmlregistry.c:
5120 * gst/registries/gstlibxmlregistry.h:
5121 * gst/registries/gstxmlregistry.c:
5122 * gst/registries/gstxmlregistry.h:
5123 * gst/registries/registrytest.c:
5125 2005-09-14 David Schleef <ds@schleef.org>
5127 * gst/glib-compat.h:
5128 * gst/gstregistryxml.c:
5129 Convergence is near. Seriously.
5131 2005-09-14 David Schleef <ds@schleef.org>
5133 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5134 * gst/glib-compat.h:
5135 Attempt #4 to appease the buildbots.
5137 2005-09-14 David Schleef <ds@schleef.org>
5139 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5142 2005-09-14 David Schleef <ds@schleef.org>
5144 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5147 2005-09-14 David Schleef <ds@schleef.org>
5149 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5152 2005-09-14 David Schleef <ds@schleef.org>
5154 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5155 * gst/glib-compat.h: Add some functions that are in newer versions
5156 of glib than we care to require.
5157 * gst/gstregistryxml.c: Use them.
5159 2005-09-14 David Schleef <ds@schleef.org>
5161 * po/POTFILES.in: remove gst-register.c
5163 2005-09-14 David Schleef <ds@schleef.org>
5165 * docs/gst/gstreamer-docs.sgml:
5166 * docs/gst/gstreamer-sections.txt:
5167 * docs/gst/gstreamer.types:
5168 * docs/gst/tmpl/gstelement.sgml:
5169 * docs/gst/tmpl/gstplugin.sgml:
5170 * docs/gst/tmpl/gstpluginfeature.sgml:
5171 Documentation updates for registry changes.
5173 2005-09-14 David Schleef <ds@schleef.org>
5175 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5176 because we don't require glib-2.8.
5178 2005-09-14 David Schleef <ds@schleef.org>
5180 * gst/gstregistryxml.c: Added. Essentially moved out of the
5181 registries directory.
5183 2005-09-14 David Schleef <ds@schleef.org>
5185 * check/Makefile.am:
5186 * check/generic/states.c:
5190 * gst/gst_private.h:
5191 * gst/gstelementfactory.c:
5196 * gst/gstpluginfeature.c:
5197 * gst/gstpluginfeature.h:
5198 * gst/gstregistry.c:
5199 * gst/gstregistry.h:
5200 * gst/gstregistrypool.c: remove
5201 * gst/gstregistrypool.h: remove
5202 * gst/gsttypefind.c:
5203 * gst/gsttypefindfactory.c:
5205 * tools/Makefile.am:
5206 * tools/gst-compprep.c:
5207 * tools/gst-inspect.c:
5208 * tools/gst-register.c: remove
5209 * tools/gst-xmlinspect.c:
5210 Registry rewrite. Changes registry from being a file created
5211 by a tool into a simple cache file created automatically by
5212 libgstreamer. Removed gst-register (because it's no longer
5213 needed). Remove registry pools, because we only have one
5214 registry implementation (XML). Fix up other subsystems as
5217 2005-09-13 Michael Smith <msmith@fluendo.com>
5219 * gst/gstconfig.h.in:
5220 Don't Use windows linking attributes for MinGW. Fixes #316157
5222 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5224 * gst/gstutils.c: (set_state_async_thread_func),
5225 (gst_element_set_state_async):
5226 Apparently people think it's better if this function doesn't
5227 try to set the state to whatever state was asked for on the first
5228 call to this function for any object. Seriously.
5230 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5232 * check/gst/gstpipeline.c: (GST_START_TEST):
5233 * docs/gst/gstreamer-sections.txt:
5234 * gst/gstutils.c: (set_state_async_thread_func),
5235 (gst_element_set_state_async):
5237 add a "gst_element_set_state_async" method that
5238 sets the state and starts a thread to make sure the state
5239 change completes as best as it can
5241 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5243 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5244 codify design+behaviour in testsuite after discussion
5246 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5248 * docs/gst/tmpl/gstelement.sgml:
5249 * docs/manual/appendix-quotes.xml:
5251 * gst/gstelement.c: (gst_element_set_state):
5254 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5256 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5257 (gst_base_transform_prepare_output_buf),
5258 (gst_base_transform_handle_buffer):
5259 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5260 (gst_capsfilter_prepare_buf):
5261 Remove the requirement for sub-classes to call the parent
5262 implementation of prepare_output_buffer with a wrapper function.
5265 * gst/gsttagsetter.h:
5268 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5270 * docs/gst/gstreamer-sections.txt:
5273 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5275 * docs/gst/gstreamer-sections.txt:
5276 * docs/gst/tmpl/gstelement.sgml:
5277 * docs/gst/tmpl/gstplugin.sgml:
5278 * gst/gstminiobject.c:
5280 docs now stop throwing warnings
5282 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5284 * docs/gst/gstreamer-sections.txt:
5285 * docs/gst/gstreamer.types:
5286 * docs/gst/tmpl/gstpad.sgml:
5287 * docs/gst/tmpl/gsttypes.sgml:
5288 * gst/base/gstadapter.h:
5289 * gst/base/gstbasesink.h:
5290 * gst/base/gstbasesrc.h:
5300 * gst/gststructure.c:
5301 * gst/registries/gstlibxmlregistry.h:
5302 various documentation fixes
5304 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5306 * docs/gst/gstreamer-sections.txt:
5307 * docs/gst/tmpl/gstvalue.sgml:
5308 rearrange gstvalue section
5309 * gst/gstutils.c: (gst_element_state_get_name):
5311 * gst/gstvalue.c: (_gst_value_initialize):
5315 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5317 * check/gst-libs/controller.c:
5319 * gst/base/gstbasetransform.c:
5320 (gst_base_transform_default_prepare_buf),
5321 (gst_base_transform_handle_buffer):
5322 * gst/base/gstbasetransform.h:
5323 Some more basetransform changes and fixes to enable sub-classes
5324 that modify buffer metadata only.
5325 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5326 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5327 (gst_capsfilter_prepare_buf):
5328 If the output pad has fixed allowed caps and input buffers
5329 don't have any, set the fixed caps on outgoing buffers.
5331 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5332 * check/elements/identity.c: (GST_START_TEST):
5333 Make the error a little clearer when the test fails because
5334 identity made a copy of the buffer.
5335 * docs/gst/gstreamer-sections.txt:
5336 New symbols in gstbasetransform.h
5337 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5338 (gst_base_transform_init), (gst_base_transform_transform_size),
5339 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5340 (gst_base_transform_default_prepare_buf),
5341 (gst_base_transform_get_unit_size),
5342 (gst_base_transform_buffer_alloc),
5343 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5344 (gst_base_transform_change_state),
5345 (gst_base_transform_set_passthrough),
5346 (gst_base_transform_set_in_place),
5347 (gst_base_transform_is_in_place):
5348 * gst/base/gstbasetransform.h:
5349 Change BaseTransform to separate in_place operate from same_caps
5350 output. in_place implies that the element can perform the transform
5351 on incoming buffers in-place, even if the caps on the output are
5353 Sub-class elements can now implement special buffer allocation
5354 methods for outgoing buffers if they wish to.
5355 Big documentation addition.
5356 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5357 * gst/elements/gstelements.c:
5358 Changes for basetransform modifications.
5359 * gst/elements/Makefile.am:
5360 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5361 Compile fix. Extra debug output.
5363 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5365 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5367 add tests for valid pad naming
5368 * gst/check/gstcheck.c: (gst_check_log_message_func),
5369 (gst_check_log_critical_func):
5371 remove printing of code, it is fragile when the code contains
5372 % and the line number is enough info
5373 * gst/check/gstcheck.h:
5374 * gst/gstpad.c: (gst_pad_template_new):
5377 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5380 say what CHECK flags we use
5381 * docs/libs/gstreamer-libs.types:
5382 * libs/gst/controller/Makefile.am:
5383 * libs/gst/controller/gst-controller.c:
5384 * libs/gst/controller/gst-controller.h:
5385 * libs/gst/controller/gst-helper.c:
5386 * libs/gst/controller/gst-interpolation.c:
5387 * libs/gst/controller/gstcontroller.c:
5388 * libs/gst/controller/gsthelper.c:
5389 * libs/gst/controller/gstinterpolation.c:
5390 * tools/gst-inspect.c: (print_plugin_info):
5391 we don't use dashes in header names
5393 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5395 * check/Makefile.am:
5396 * check/gst/.cvsignore:
5397 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5398 (gst_pipeline_suite), (main):
5399 adding a test for pipelines and state changes
5400 * gst/gstutils.c: (get_state_func):
5402 * gstreamer.spec.in:
5405 2005-09-08 Michael Smith <msmith@fluendo.com>
5407 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5408 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5409 (gst_file_src_is_seekable), (gst_file_src_get_size),
5410 (gst_file_src_start):
5411 * gst/elements/gstfilesrc.h:
5412 Various fixes for unseekable, unmmapable, and non-normal files, so
5413 that fallback to read() rather than mmap() works.
5414 * gst/gstevent.c: (gst_event_new_newsegment):
5415 Allow newsegment events with segment_start == segment_end, as will
5416 correctly happen if you use filesrc on a zero-size file, for
5419 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5421 * gst/gstplugin.c: (gst_plugin_load_file):
5422 Call g_module_close when we don't load the module
5424 * gst/registries/gstlibxmlregistry.c:
5425 (gst_xml_registry_get_property):
5426 Port leak fix from 0.8
5428 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5430 * docs/gst/gstreamer-docs.sgml:
5431 * docs/gst/tmpl/.cvsignore:
5432 * docs/gst/tmpl/gsttrace.sgml:
5433 * docs/gst/tmpl/gsttrashstack.sgml:
5442 * gst/gsttaginterface.c:
5443 * gst/gsttaginterface.h:
5446 * gst/gsttagsetter.c:
5447 * gst/gsttagsetter.h:
5450 * gst/gsttrashstack.c:
5451 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5452 inlined docs for gsttrace, gsttrashstack
5454 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5457 * gst/elements/gstbufferstore.h:
5458 * gst/elements/gsttypefindelement.c:
5459 * gst/elements/gsttypefindelement.h:
5461 * gst/gsttypefind.c:
5462 * gst/gsttypefind.h:
5463 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5464 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5465 (gst_type_find_factory_dispose),
5466 (gst_type_find_factory_unload_thyself),
5467 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5468 (gst_type_find_factory_get_caps),
5469 (gst_type_find_factory_get_extensions),
5470 (gst_type_find_factory_call_function):
5471 * gst/gsttypefindfactory.h:
5472 * gst/registries/gstlibxmlregistry.c:
5473 * gst/registries/gstxmlregistry.c:
5474 splitted gsttypefind into gsttypefind, gsttypefindfactory
5476 2005-09-07 Andy Wingo <wingo@pobox.com>
5478 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5479 condition whereby the pad's task function is entered before the
5480 pad_mode variable was set.
5482 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5484 * gst/gstpad.c: (gst_pad_alloc_buffer):
5485 Catch misbehaving pad_alloc functions that don't
5486 set up caps and do it for them.
5488 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5490 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5492 * docs/gst/tmpl/.cvsignore:
5493 * docs/gst/tmpl/gstmemchunk.sgml:
5494 * docs/gst/tmpl/gstparse.sgml:
5495 * docs/gst/tmpl/gsttaglist.sgml:
5496 * docs/gst/tmpl/gsttagsetter.sgml:
5497 * docs/gst/tmpl/gsttypefind.sgml:
5498 * docs/gst/tmpl/gsttypefindfactory.sgml:
5499 * gst/gstmemchunk.c:
5502 * gst/gsttaginterface.c:
5503 * gst/gsttypefind.c:
5504 * gst/gsttypefind.h:
5507 === release 0.9.2 ===
5509 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5514 releasing 0.9.2, "South"
5516 2005-09-05 Andy Wingo <wingo@pobox.com>
5518 * gst/registries/gstxmlregistry.h:
5519 * gst/registries/gstxmlregistry.c: Um... resurrect...
5521 * gst/registries/gstxmlregistry.h:
5522 * gst/registries/gstxmlregistry.c: and update to newer API.
5523 Incidentally they should be a bit faster now that they don't have
5526 2005-09-05 Andy Wingo <wingo@pobox.com>
5528 * gst/registries/gstxmlregistry.h:
5529 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5530 replaced by the libxml registry a while back
5532 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5534 * docs/gst/tmpl/gstplugin.sgml:
5535 * gst/elements/gstelements.c:
5537 * gst/gstplugin.c: (gst_plugin_register_func),
5538 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5539 (gst_plugin_get_source):
5541 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5542 (gst_xml_registry_save_plugin):
5543 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5544 (gst_xml_registry_save_plugin):
5545 * tools/gst-inspect.c: (print_plugin_info):
5546 add a "source" plugin description field, to represent the source
5547 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5548 will set it to PACKAGE, which is automake's idea of the name of
5551 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5557 * docs/faq/Makefile.am:
5558 * docs/gst/tmpl/gstelement.sgml:
5559 * docs/gst/tmpl/gsttypes.sgml:
5560 * docs/htmlinstall.mak:
5561 * docs/manual/Makefile.am:
5562 * docs/pwg/Makefile.am:
5563 reorganize doc build a little
5564 split out docbook and gtk-doc stuff
5565 have two separate --enable's and enable them through autogen
5566 but disable by default in configure (to be similar to other
5568 * gstreamer.spec.in:
5569 clean up docs install
5589 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5591 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5594 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5595 (gst_fake_sink_change_state):
5596 Make state change function thread-safe.
5598 * gst/gstpad.c: (gst_pad_alloc_buffer):
5599 Set offset on generic buffer allocated by fallback.
5601 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5603 * docs/gst/gstreamer-sections.txt:
5604 * docs/gst/tmpl/gstelement.sgml:
5606 * libs/gst/controller/gst-controller.c:
5607 (gst_controlled_property_set_interpolation_mode),
5608 (gst_controlled_property_new),
5609 (gst_controller_find_controlled_property):
5610 run the wingo-magic script against the docs
5612 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5614 * docs/gst/gstreamer-docs.sgml:
5615 * docs/gst/gstreamer-sections.txt:
5616 * docs/gst/tmpl/.cvsignore:
5617 * docs/gst/tmpl/gstelementdetails.sgml:
5618 * docs/gst/tmpl/gstelementfactory.sgml:
5621 * gst/gstelementfactory.c:
5622 * gst/gstelementfactory.h:
5623 merged elementdetails docs into elementfactory docs
5626 2005-09-02 Andy Wingo <wingo@pobox.com>
5628 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5629 consider this enum an enum and not a flags.
5631 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5633 * docs/gst/gstreamer-docs.sgml:
5634 * docs/gst/tmpl/.cvsignore:
5635 * docs/gst/tmpl/gstghostpad.sgml:
5636 * docs/gst/tmpl/gstiterator.sgml:
5637 * docs/gst/tmpl/gstmacros.sgml:
5638 * docs/gst/tmpl/gstrealpad.sgml:
5639 * docs/gst/tmpl/gstregistry.sgml:
5640 * docs/gst/tmpl/gstregistrypool.sgml:
5641 * docs/gst/tmpl/gststructure.sgml:
5642 * docs/gst/tmpl/gstsystemclock.sgml:
5643 * docs/gst/tmpl/gsttrace.sgml:
5644 * gst/gstghostpad.c:
5646 * gst/gstmemchunk.c:
5647 * gst/gstmemchunk.h:
5649 * gst/gstregistry.c:
5650 * gst/gstregistrypool.c:
5651 * gst/gststructure.c:
5652 * gst/gstsystemclock.c:
5655 2005-09-02 Andy Wingo <wingo@pobox.com>
5657 * gst/gstelement.h (GstState): Renamed from GstElementState,
5658 changed to be a normal enum instead of flags.
5659 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5660 munged to be GST_STATE_CHANGE_*.
5661 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5662 work with the new state representation.
5663 (GstStateChange): New enumeration of possible state transitions.
5664 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5665 (GstElementClass::change_state): Pass the GstStateChange along as
5666 an argument. Helps language bindings, so they don't have to use
5667 tricky lock-needing macros like GST_STATE_CHANGE ().
5669 * scripts/update-states (file): New script. Run it on a file to
5670 update it for state naming and API changes. Updates files in
5673 * All files updated for the new API.
5675 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
5677 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5678 * gst/gstutils.c: (gst_util_set_value_from_string),
5679 (gst_util_set_object_arg):
5680 fix a bunch of unchecked return values
5681 * tools/gst-complete.c: (main):
5682 * gstreamer.spec.in:
5685 2005-09-01 Wim Taymans <wim@fluendo.com>
5687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5688 (gst_base_sink_event), (gst_base_sink_do_sync),
5689 (gst_base_sink_handle_event):
5690 * gst/base/gstbasesink.h:
5691 Handle newsegments more correctly.
5696 * gst/gstevent.c: (gst_event_new_newsegment):
5697 A newsegment cannot have a start_time of -1
5699 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
5701 * win32/gstenumtypes.c:
5702 * win32/gstenumtypes.h:
5705 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5707 * libs/gst/controller/gst-controller.c:
5708 (gst_controlled_property_set_interpolation_mode),
5709 (gst_controlled_property_new):
5712 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
5714 * docs/faq/gst-uninstalled:
5719 * gst/gstutils.c: (gst_element_link_filtered):
5721 add gst_element_link_filtered
5723 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5725 * docs/gst/gstreamer-docs.sgml:
5726 * docs/gst/gstreamer-sections.txt:
5727 * docs/gst/tmpl/.cvsignore:
5728 * docs/gst/tmpl/gsterror.sgml:
5729 * docs/gst/tmpl/gstfilter.sgml:
5730 * docs/gst/tmpl/gsturihandler.sgml:
5731 * docs/gst/tmpl/gsturitype.sgml:
5732 * docs/gst/tmpl/gstutils.sgml:
5733 * docs/gst/tmpl/gstxml.sgml:
5741 inlined more docs, fixed double id-ref
5743 2005-08-31 Wim Taymans <wim@fluendo.com>
5745 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5746 (gst_base_transform_handle_buffer):
5747 Passthrough elements don't need the caps as they don't care.
5749 2005-08-31 Wim Taymans <wim@fluendo.com>
5751 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5752 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5753 Don't leak refcounts on buffers.
5755 2005-08-31 Wim Taymans <wim@fluendo.com>
5757 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5758 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5759 (gst_base_transform_chain), (gst_base_transform_change_state):
5760 * gst/base/gstbasetransform.h:
5761 Handle the case where we are not negotiated more gracefully.
5763 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
5765 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5766 (gst_file_src_map_region):
5767 Set READONLY flag on mmap'ed buffers, otherwise
5768 gst_buffer_make_writable() won't work properly (#314708).
5770 2005-08-31 Wim Taymans <wim@fluendo.com>
5772 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5773 passthrough elements can even do inplace on non writable
5774 buffers (as they don't touch them).
5776 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5778 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5779 (gst_test_mono_source_set_property),
5780 (gst_test_mono_source_class_init), (GST_START_TEST),
5781 (gst_controller_suite):
5782 more tests (hehe I have the most)
5784 describe popping messages whenusing mulltiple sources
5785 * libs/gst/controller/gst-controller.c:
5786 (gst_controlled_property_set_interpolation_mode),
5787 (gst_controlled_property_new):
5788 * libs/gst/controller/gst-controller.h:
5789 * libs/gst/controller/gst-interpolation.c:
5790 implement boolean properties
5792 2005-08-31 Wim Taymans <wim@fluendo.com>
5794 * gst/gstminiobject.c: (gst_mini_object_ref):
5795 Cannot assert that the refcount has to be positive
5796 since a disposed object can be resurrected.
5798 2005-08-31 Wim Taymans <wim@fluendo.com>
5800 * gst/gstpad.c: (gst_pad_init):
5801 Revert change, need to first fix badly behaving
5804 2005-08-30 Wim Taymans <wim@fluendo.com>
5806 * check/elements/fakesrc.c: (setup_fakesrc):
5807 * check/elements/identity.c: (setup_identity):
5808 Activate pads before using them.
5810 2005-08-30 Wim Taymans <wim@fluendo.com>
5812 * gst/base/gstadapter.c: (gst_adapter_flush):
5813 Flushing out 0 bytes is ok for this function.
5815 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5816 no newsegment gives a warning and sets the start/stop to
5819 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5820 (gst_base_transform_set_passthrough):
5823 * gst/gstminiobject.c: (gst_mini_object_ref):
5824 Check refcount here too.
5826 * gst/gstpad.c: (gst_pad_init):
5827 Pads are initially flushing and refusing data.
5829 * gst/gstutils.c: (gst_element_link_pads_filtered):
5830 When adding a capsfilter element make sure it has the
5831 same state as the parent bin.
5833 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5835 * docs/gst/tmpl/.cvsignore:
5836 * docs/gst/tmpl/gstformat.sgml:
5837 * docs/gst/tmpl/gstversion.sgml:
5841 * gst/gstversion.h.in:
5842 more docs and two more inlined
5844 2005-08-30 Wim Taymans <wim@fluendo.com>
5846 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5847 Don't sync to clock.
5849 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5851 * docs/gst/gstreamer-sections.txt:
5852 ultral33t func10ns deserve to appear in the docs actually
5853 * docs/gst/tmpl/.cvsignore:
5854 * docs/gst/tmpl/gstcompat.sgml:
5855 * docs/gst/tmpl/gstconfig.sgml:
5856 * gst/check/gstcheck.c:
5858 * gst/gstconfig.h.in:
5861 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5863 * docs/gst/tmpl/.cvsignore:
5864 * docs/gst/tmpl/gstquery.sgml:
5865 * docs/gst/tmpl/gstutils.sgml:
5868 inlined and extended docs
5870 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5872 * check/gst-libs/controller.c: (GST_START_TEST),
5873 (gst_controller_suite):
5875 * docs/gst/tmpl/gstutils.sgml:
5876 * docs/libs/gstreamer-libs-sections.txt:
5877 * docs/libs/tmpl/gstdataprotocol.sgml:
5879 * examples/controller/audio-example.c: (main):
5880 controller example works now
5883 * tools/gst-inspect.c: (print_element_properties_info):
5884 show param spec flags
5886 2005-08-29 Andy Wingo <wingo@pobox.com>
5888 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5890 2005-08-28 Andy Wingo <wingo@pobox.com>
5892 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5893 as having two arguments instead of just one. Allows superclasses
5894 to access information on subclasses -- see the terrible for() loop
5895 in gtype.c:g_type_create_instance for the reason why. All callers
5898 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5900 * docs/design/part-messages.txt:
5902 * docs/gst/tmpl/.cvsignore:
5903 * docs/gst/tmpl/gstcaps.sgml:
5904 * docs/gst/tmpl/gstclock.sgml:
5911 added descriptions for bus and message
5912 inline caps and clock docs
5914 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5920 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5922 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5925 2005-08-26 Andy Wingo <wingo@pobox.com>
5927 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5928 element_set_state's return val.
5929 (test_2_elements): Add test that's been disabled for months.
5931 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5932 can-activate-pull properties.
5934 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5935 can-activate-pull properties. Implement is_seekable so fakesrc can
5936 operate in pull mode.
5938 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5940 (gst_base_sink_activate, gst_base_sink_activate_pull)
5941 (gst_base_sink_activate_push): Make activation mode choosing work.
5943 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5944 is right. Make pull mode work. Post an eos before pausing in pull
5946 (gst_base_sink_change_state): Pay attention to the core's
5947 change_state() return val.
5949 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5950 has-getrange properties. Cleanups.
5952 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5953 has_getrange and replace with can_activate_pull and
5956 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5957 locking comments. Remove has_loop, has_chain and replace with
5958 can_activate_pull and can_activate_push.
5960 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
5963 * examples/Makefile.am:
5964 * examples/metadata/Makefile.am:
5965 * examples/metadata/read-metadata.c: (message_loop),
5966 (have_pad_handler), (make_pipeline), (print_tag), (main):
5967 Add metadata reading example that loops over a list of filenames,
5968 dumping any tags found.
5970 * gst/gstbus.c: (gst_bus_dispose):
5971 * gst/gstelement.c: (gst_element_dispose):
5972 Release a few potentially-held references in dispose.
5974 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5976 * docs/gst/tmpl/gstminiobject.sgml:
5977 do *not* add tmpl/*.sgml files to CVS!
5979 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5981 * libs/gst/bytestream/.cvsignore:
5982 * libs/gst/bytestream/Makefile.am:
5983 * libs/gst/bytestream/adapter.c:
5984 * libs/gst/bytestream/adapter.h:
5985 * libs/gst/bytestream/bytestream.c:
5986 * libs/gst/bytestream/bytestream.h:
5987 * libs/gst/bytestream/filepad.c:
5988 * libs/gst/bytestream/filepad.h:
5989 removing obsolete files
5991 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5993 * docs/gst/gstreamer-docs.sgml:
5994 * docs/libs/gstreamer-libs-docs.sgml:
5995 disabed additional index entries again, as this makes docs-gen just
5996 slow and they aren't useful yet
5997 * docs/libs/gstreamer-libs-sections.txt:
5998 little -section.txt cleanup for libs
6000 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6002 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6003 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6004 fix up some debugging
6005 (gst_base_transform_get_unit_size),
6006 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6007 (gst_base_transform_handle_buffer):
6008 * gst/base/gstbasetransform.h:
6009 handle and store timed NEWSEGMENT events so that subclasses that
6010 calculate time by counting samples have a segment_start time they
6011 need to add to their timestamps - see audioresample
6013 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6016 removed ';' from the end of macro defs
6017 * docs/gst/gstreamer-docs.sgml:
6018 * docs/gst/gstreamer-sections.txt:
6019 * docs/gst/tmpl/.cvsignore:
6021 * gst/gstelement.c: (gst_element_class_init),
6022 (gst_element_set_state), (activate_pads),
6023 (gst_element_save_thyself):
6024 * gst/gstevent.c: (gst_event_new_newsegment):
6026 * gst/gstiterator.c:
6027 * gst/gstiterator.h:
6030 * gst/gstutils.c: (gst_pad_query_convert):
6032 fixed parameter name mismatches between source, header and docs
6033 added some more docs, resolved the last batch of unused elements in
6034 docs (now someone needs to doc them)
6036 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6038 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6039 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6040 don't walk through the plugins backwards. Where is all this
6041 reversed logic coming from ?
6043 2005-08-25 Wim Taymans <wim@fluendo.com>
6045 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6046 (gst_base_transform_transform_size),
6047 (gst_base_transform_configure_caps),
6048 (gst_base_transform_get_unit_size),
6049 (gst_base_transform_buffer_alloc),
6050 (gst_base_transform_change_state):
6051 * gst/base/gstbasetransform.h:
6052 Cache caps unit_size.
6053 Make sure we cannot negotiate up and downstream at the
6056 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6058 * gst/gst.c: (init_pre), (init_post):
6059 register the installed plugin path after the env var
6060 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6061 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6062 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6063 directories, so the tests can prefer uninstalled over installed
6065 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6067 * gst/base/gstbasetransform.h:
6072 2005-08-25 Wim Taymans <wim@fluendo.com>
6074 * gst/gstbin.c: (bin_bus_handler):
6075 Be a bit more conservative about the posted message.
6077 * gst/gstbus.c: (gst_bus_post):
6078 Some cleanups, warn wrong return values.
6080 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6082 * check/gst/gstbin.c: (GST_START_TEST):
6083 * gst/gstbin.c: (bin_bus_handler):
6084 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6085 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6086 (gst_message_new_warning), (gst_message_new_tag),
6087 (gst_message_new_state_changed), (gst_message_new_segment_start),
6088 (gst_message_new_segment_done), (gst_message_new_custom):
6090 * tools/gst-launch.c: (event_loop):
6091 * tools/gst-md5sum.c: (event_loop):
6092 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6094 2005-08-25 Wim Taymans <wim@fluendo.com>
6096 * check/generic/states.c: (GST_START_TEST):
6097 Cleanup can be done at the end.
6099 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6100 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6101 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6102 Oh boy.. Thanks for finding this, Thomas.
6104 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6106 * docs/gst/gstreamer.types:
6109 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6111 * docs/gst/gstreamer-docs.sgml:
6112 * docs/gst/gstreamer-sections.txt:
6113 * docs/gst/tmpl/.cvsignore:
6115 * gst/gstiterator.c:
6117 * gst/registries/gstxmlregistry.h:
6118 added missing classes and symbols (123 more to go)
6119 removed removed symbols from section file
6120 fixed many doc-comments
6122 2005-08-24 Wim Taymans <wim@fluendo.com>
6124 * check/generic/states.c: (GST_START_TEST):
6125 Make sure all tasks are stopped.
6127 * check/gst/gstbin.c: (GST_START_TEST):
6128 Unref after usage for proper valgrinding.
6130 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6131 Really wait for the task to stop before destroying the
6134 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6135 (gst_queue_src_activate_push):
6136 Small cleanups. Don't stop the task when we did not start
6139 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6140 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6141 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6144 Protect the stream lock with the object lock.
6145 Disallow setting the stream lock when running.
6146 Add cleanup_all to wait for the threadpool to finish.
6147 Remove code to autoallocate a mutex if none was provided.
6148 Add _join() to wait for a task to stop.
6149 Protect the thread pool with a global lock.
6151 2005-08-24 Wim Taymans <wim@fluendo.com>
6153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6154 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6155 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6156 * gst/base/gstbasesink.h:
6157 Handle newsegment events correctly.
6158 Drop buffers out of the segment range.
6160 2005-08-22 Andy Wingo <wingo@pobox.com>
6162 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6163 macro, implements an interface and gstimplementsinterface for a
6166 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6168 * check/Makefile.am:
6169 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6170 add a test that does a bunch of state changes on elements
6171 needs some fixing for valgrind
6172 * check/states/sinks.c: (gst_object_suite):
6175 add prototype for gst_caps_is_equal_fixed
6177 * gst/gstregistrypool.c:
6180 2005-08-24 Andy Wingo <wingo@pobox.com>
6182 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6183 convert a negative value. Doesn't make much sense. Mostly this is
6184 here to force callers to ensure -1 maps to -1.
6186 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6188 * docs/pwg/advanced-types.xml:
6189 Well done to Michael for catching my deliberate introduction
6190 of this spelling mistake.
6191 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6193 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6194 unlink pads before removing the element from the bin.
6196 2005-08-24 Andy Wingo <wingo@pobox.com>
6198 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6199 the same thing as GST_DEBUG=*:4.
6200 (parse_debug_level, parse_debug_category): New helper parsers.
6202 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6204 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6205 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6206 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6207 (gst_base_transform_buffer_alloc),
6208 (gst_base_transform_handle_buffer):
6209 use gboolean return values and pointers to size so we can use the
6210 full GST_BUFFER_SIZE range (guint) for buffer sizes
6211 use GstPadDirection for transform_caps
6212 * gst/base/gstbasetransform.h:
6213 rename get_size to get_unit_size since that's what it is
6214 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6215 use GstPadDirection for transform_caps
6216 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6218 cleanup and debugging
6220 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6222 * gst/gstelement.c: (gst_element_class_init),
6223 (gst_element_set_state), (activate_pads),
6224 (gst_element_save_thyself):
6225 * tools/gst-compprep.c: (main):
6226 * tools/gst-inspect.c: (print_element_properties_info):
6227 * tools/gst-xmlinspect.c: (print_element_properties):
6228 Fixed long standing mem-leak
6230 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6232 * check/gst/gstbin.c: (GST_START_TEST):
6233 * gst/gstbin.c: (bin_bus_handler):
6234 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6235 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6236 (gst_message_new_warning), (gst_message_new_tag),
6237 (gst_message_new_state_changed), (gst_message_new_segment_start),
6238 (gst_message_new_segment_done), (gst_message_new_custom):
6240 * tools/gst-launch.c: (event_loop):
6241 * tools/gst-md5sum.c: (event_loop):
6242 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6243 that applications can sensibly post custom messages with references
6244 to their own objects.
6246 2005-08-24 Andy Wingo <wingo@pobox.com>
6248 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6251 2005-08-24 Wim Taymans <wim@fluendo.com>
6253 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6254 (gst_base_transform_transform_caps),
6255 (gst_base_transform_transform_size),
6256 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6257 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6258 (gst_base_transform_handle_buffer):
6259 * gst/base/gstbasetransform.h:
6260 Many fixes and new features added by Thomas. Can now also do
6261 transforms with variable sizes and a custom fixate_caps function.
6263 2005-08-24 Wim Taymans <wim@fluendo.com>
6265 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6269 Cast to ClockTime before formatting to time.
6274 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6276 * check/gst-libs/controller.c: (GST_START_TEST),
6277 (gst_controller_suite):
6278 * docs/gst/tmpl/gstcaps.sgml:
6279 * docs/gst/tmpl/gstghostpad.sgml:
6280 * docs/gst/tmpl/gstquery.sgml:
6281 * docs/gst/tmpl/gstutils.sgml:
6282 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6283 (gst_object_sink_values), (gst_object_get_value_arrays),
6284 (gst_object_get_value_array):
6285 gracefully handle helper method calls to objects that are not beeing
6286 controlled, added test case for that
6288 2005-08-23 Wim Taymans <wim@fluendo.com>
6290 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6291 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6292 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6293 (gst_event_parse_qos), (gst_event_new_seek),
6294 (gst_event_parse_seek):
6296 Some more debugging output and doc cleanups.
6298 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6299 Fix possible deadlock.
6301 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6303 * docs/gst/gstreamer-docs.sgml:
6304 * docs/gst/gstreamer-sections.txt:
6305 * docs/gst/gstreamer.types:
6306 * docs/gst/tmpl/.cvsignore:
6311 added 100 symbols from gstreamer-unused.txt to the right sections
6312 fixed more broken comments
6313 added GstBus to docs
6315 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6317 * docs/gst/gstreamer-sections.txt:
6318 * docs/gst/tmpl/.cvsignore:
6319 * docs/gst/tmpl/gstbin.sgml:
6320 * docs/gst/tmpl/gstbuffer.sgml:
6321 * gst/base/gstbasesrc.c:
6322 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6325 * tools/gst-launch.1.in:
6326 inlined more doc comments, added missing comments and fixed comments
6329 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6331 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6335 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6337 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6338 * gst/gststructure.h:
6339 add a fixate function for booleans; add a FIXME that these func
6340 names should probably be gst_structure_fixate_*
6342 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6344 * docs/gst/gstreamer-docs.sgml:
6345 * docs/gst/gstreamer-sections.txt:
6347 * gst/gstbin.c: (gst_bin_get_type),
6348 (gst_bin_child_proxy_get_child_by_index),
6349 (gst_bin_child_proxy_get_children_count),
6350 (gst_bin_child_proxy_init):
6351 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6352 (gst_child_proxy_get_child_by_index),
6353 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6354 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6355 (gst_child_proxy_get), (gst_child_proxy_set_property),
6356 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6357 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6358 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6359 * gst/gstchildproxy.h:
6360 * gst/parse/grammar.y:
6361 * tools/gst-inspect.c: (print_interfaces),
6362 (print_element_properties_info), (print_element_info):
6363 ported gstchildproxy over from 0.8
6364 ported gst-inspect fixes and enhancements over from 0.8
6366 2005-08-22 Wim Taymans <wim@fluendo.com>
6368 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6369 (gst_base_transform_handle_buffer):
6370 Also call the transform function if we have ANY caps.
6372 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6375 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6377 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6378 Don't pretend to handle seek events if the source is not seekable
6380 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6382 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6383 Remove extra parameter to debug output
6385 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6386 (gst_base_src_do_seek), (gst_base_src_activate_push):
6387 Fix seek event handling.
6389 * gst/gstpipeline.c: (gst_pipeline_change_state):
6390 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6391 (gst_queue_src_activate_push):
6392 Don't start the src pad task on FLUSH_STOP if the pad
6396 2005-08-22 Wim Taymans <wim@fluendo.com>
6398 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6399 Added check for gst_static_caps_get() refcounting.
6401 2005-08-22 Wim Taymans <wim@fluendo.com>
6403 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6404 Make _static_caps_get() refcounting sane.
6406 * gst/gstelement.c: (gst_element_set_state):
6407 Add g_return_val_if_fail() to protect against segfaults.
6409 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6411 * docs/gst/tmpl/gstevent.sgml:
6414 inlined remaining docs, added missing doc comments
6416 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6418 * check/gst/gstbin.c: (GST_START_TEST):
6419 since we don't know when preroll is done, use refcount range
6421 * gst/check/gstcheck.h:
6422 add macro for checking refcount range
6424 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6426 * check/Makefile.am:
6427 clean up environment for when registry gets built versus
6428 when actual tests are run; valgrind seems to not report
6429 leaks if GST_PLUGIN_PATH is set to some specific values
6430 * check/gst/gstbin.c: (GST_START_TEST):
6431 add more refcounting checks; maybe this exposes a
6434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6435 * gst/check/gstcheck.h:
6436 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6437 (gst_bin_change_state):
6438 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6439 add/fix debugging/whitespace
6441 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6443 * check/gst/gstevent.c: (event_probe), (test_event),
6445 Er, don't call gst_bin_watch_for_state_change you idiot.
6447 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6449 * check/Makefile.am:
6450 Use CHECK_CFLAGS and CHECK_LIBS
6451 * check/gst/gstevent.c: (event_probe), (test_event),
6454 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6455 (gst_base_src_start), (gst_base_src_stop),
6456 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6457 (gst_base_src_change_state):
6458 Sprinkle gst_base_src_stop liberally around error paths to fix
6459 problems reusing a source after failed state changes.
6460 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6461 (helper_find_suggest), (gst_type_find_helper):
6462 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6464 * docs/gst/tmpl/gstevent.sgml:
6465 Migrate part of the docs from the SGML file. Wait for ensonic to
6466 tell me how I did it wrong ;)
6467 * tools/gst-typefind.c: (main):
6468 Extra robustness to state changes between files.
6470 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6472 * check/Makefile.am:
6473 don't valgrind the controller test - it's leaking - Stefan, HELP
6474 * gst/check/gstcheck.c: (gst_check_message_error),
6475 (gst_check_chain_func), (gst_check_setup_element),
6476 (gst_check_teardown_element), (gst_check_setup_src_pad),
6477 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6478 (gst_check_teardown_sink_pad):
6479 * gst/check/gstcheck.h:
6480 add a bunch of methods to set up elements, and src and sink pads
6481 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6482 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6487 whitespace/doc fixes
6489 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6492 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6493 be handled by the application and not always printed as well
6495 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6497 * check/Makefile.am:
6499 * gst/check/gstcheck.c: (gst_check_message_error):
6500 * gst/check/gstcheck.h:
6501 add a fail_unless_equals_int
6502 add fail_unless for error messages
6504 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6506 * check/Makefile.am:
6508 * common/Makefile.am:
6511 factor out some of the common stuff so we can use it
6513 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6515 * check/Makefile.am:
6516 * check/gst/gstiterator.c: (GST_START_TEST):
6517 * check/gst/gstsystemclock.c: (GST_START_TEST),
6518 (gst_systemclock_suite):
6519 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6523 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6525 * check/elements/.cvsignore:
6526 * check/elements/gstfakesrc.c:
6527 rename to name of element
6528 * check/elements/identity.c: (chain_func), (event_func),
6529 (setup_identity), (cleanup_identity), (GST_START_TEST),
6530 (identity_suite), (main):
6531 add a test for identity
6532 * check/Makefile.am:
6533 * pkgconfig/Makefile.am:
6534 * pkgconfig/gstreamer-check.pc.in:
6535 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6539 move the check stuff to a library that gets installed
6540 * check/gst-libs/controller.c: (GST_START_TEST):
6541 * check/gst-libs/gdp.c:
6542 * check/gst/gst.c: (GST_START_TEST):
6543 * check/gst/gstbin.c:
6544 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6545 * check/gst/gstbus.c:
6546 * check/gst/gstcaps.c: (GST_START_TEST):
6547 * check/gst/gstelement.c:
6548 * check/gst/gstghostpad.c:
6549 * check/gst/gstiterator.c:
6550 * check/gst/gstmessage.c:
6551 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6552 * check/gst/gstobject.c:
6553 * check/gst/gstpad.c: (GST_START_TEST):
6554 * check/gst/gststructure.c: (GST_START_TEST):
6555 * check/gst/gstsystemclock.c: (GST_START_TEST),
6556 (gst_systemclock_suite):
6557 * check/gst/gsttag.c: (gst_tag_suite):
6558 * check/gst/gstvalue.c:
6559 * check/pipelines/cleanup.c:
6560 * check/pipelines/simple_launch_lines.c:
6561 * check/states/sinks.c:
6562 change include statement
6564 * docs/gst/gstreamer-sections.txt:
6565 * docs/gst/tmpl/gstpad.sgml:
6566 document more pad stuff
6567 * gst/gstminiobject.c: (gst_mini_object_ref),
6568 (gst_mini_object_unref):
6571 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6573 * docs/gst/tmpl/gst.sgml:
6575 eliminate another tmpl file, fix spelling in the long-description
6577 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6579 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6580 (test_event), (timediff), (gstevents_suite):
6581 Should fix build on 64-bit arch's
6583 2005-08-18 Andy Wingo <wingo@pobox.com>
6585 Make sure that when a pipeline goes to PLAYING, that data has
6586 actually hit the sink.
6588 * check/states/sinks.c (test_sink): A sink that doesn't get any
6589 data shouldn't return SUCCESS for going to either PLAYING or
6590 PAUSED. Test also the return values on the way back down.
6592 * gst/gstelement.c (gst_element_set_state): When changing the
6593 state of an element currently changing state asynchronously, go to
6594 lost-state after commiting the pending state. Makes future calls
6595 to get_state continue to return ASYNC.
6597 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6598 ASYNC when going to PLAYING if we still don't have preroll, as can
6599 happen with live sources.
6601 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6603 * docs/pwg/advanced-types.xml:
6604 Hack long paragraph into 2 chunks as a workaround for buggy
6605 jadetex version in sid and breezy that loops infinitely and
6608 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6610 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6611 (test_event), (timediff), (gstevents_suite):
6612 Provide more error margin in clock measurements to allow for
6613 g_get_current_time inaccuracies.
6615 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6617 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6618 (test_event), (timediff), (gstevents_suite):
6619 Fix error message output so I might be able to tell why the
6620 test works here but fails on the build farm.
6622 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6624 * check/Makefile.am:
6625 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6626 (test_event), (timediff), (gstevents_suite), (main):
6629 * docs/design/part-seeking.txt:
6632 * docs/gst/tmpl/gstevent.sgml:
6633 * docs/gst/tmpl/gstfakesrc.sgml:
6636 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6637 Treat a buffer-without-newsegment the same as a receiving
6638 a newsegment not in time format, and disable syncing to the clock
6641 * gst/gstbus.c: (gst_bus_set_sync_handler):
6642 Assert if anyone tries to replace the existing sync_handler for bus,
6643 as only the owner should be setting it.
6646 Have a fixed set of custom event enums with events identified by
6647 their structure name (as in 0.8), rather than a free-for-all
6648 allowing collisions between enum values from different plugins.
6650 * gst/gstpad.c: (gst_pad_class_init):
6653 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6654 Handle out-of-band downstream events from the sending thread.
6656 2005-08-17 Andy Wingo <wingo@pobox.com>
6658 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6659 play-timeout==0 to mean no timeout at all. In that case, don't
6660 bother with a get_state or a warning, just return directly, even
6663 * gst/base/gstbasetransform.c: Debug changes.
6666 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6667 ensure bins post state change messages. A bit of a hack but I can't
6668 think of a way to avoid it.
6670 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6672 2005-08-16 Andy Wingo <wingo@pobox.com>
6674 * gst/base/gstadapter.h:
6675 * gst/base/gstadapter.c (gst_adapter_take): New function, like
6676 peek() but you own the data. Not terribly efficient atm.
6678 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6680 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6681 (gst_element_found_tags):
6683 Add two utility functions for tag handling.
6685 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6687 * docs/manual/advanced-dataaccess.xml:
6688 * docs/manual/basics-helloworld.xml:
6689 Fix docs to use _bin_add() before _link(), which fixes the examples
6690 with recent core versions (reported by Madhan Raj M
6691 <raj_madan@rediffmail.com>, #313199).
6693 2005-08-16 Wim Taymans <wim@fluendo.com>
6695 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6696 Added subtract checks.
6698 * docs/design/part-events.txt:
6699 Some more docs about newsegment
6701 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6704 * gst/gstcaps.c: (gst_caps_to_string):
6705 Add comments, cleanups.
6707 * gst/gstelement.c: (gst_element_save_thyself):
6710 * gst/gstvalue.c: (gst_value_collect_int_range),
6711 (gst_string_unwrap), (gst_value_union_int_int_range),
6712 (gst_value_union_int_range_int_range),
6713 (gst_value_intersect_int_int_range),
6714 (gst_value_intersect_int_range_int_range),
6715 (gst_value_intersect_double_double_range),
6716 (gst_value_intersect_double_range_double_range),
6717 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6718 (gst_value_subtract_int_range_int),
6719 (gst_value_subtract_double_range_double),
6720 (gst_value_subtract_double_range_double_range),
6721 (gst_value_subtract_from_list), (gst_value_subtract_list),
6722 (gst_value_can_compare), (gst_value_compare_fraction):
6723 Cleanups, add comments, remove unneeded asserts.
6725 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6727 * tools/gst-launch.c: (event_loop):
6728 don't convert NULL structures to strings
6730 2005-08-15 Stefan Kost <ensonic@users.sf.net>
6732 * docs/gst/gstreamer-sections.txt:
6733 made some defines private
6734 * docs/gst/tmpl/gstconfig.sgml:
6735 * docs/gst/tmpl/gstqueue.sgml:
6736 * docs/gst/tmpl/gsttaglist.sgml:
6737 * docs/gst/tmpl/gsttypes.sgml:
6738 * docs/gst/tmpl/gstutils.sgml:
6739 * docs/pwg/appendix-porting.xml:
6740 * gst/base/gstbasesink.h:
6741 * gst/base/gstbasesrc.c:
6742 * gst/base/gstbasesrc.h:
6743 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6744 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6745 * gst/gstelement.c: (gst_element_class_init):
6746 * gst/gstpad.c: (gst_pad_class_init):
6747 * gst/gstqueue.c: (gst_queue_class_init):
6748 * gst/gstxml.c: (gst_xml_class_init):
6749 documented all undocumented signal inline
6750 * libs/gst/controller/gst-controller.h:
6753 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6755 * docs/pwg/appendix-porting.xml:
6756 Document _set_link_function -> _set_setcaps_function.
6758 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6760 * check/Makefile.am:
6761 add a .check target for running the check
6762 * check/gst-libs/controller.c: (GST_START_TEST):
6764 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6765 complete checks for gstbuffer; would be nice if I could get the
6766 gcov stuff to work so I can see if I actually completed gstbuffer.c
6768 add ASSERT_BUFFER_REFCOUNT
6770 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
6772 * docs/gst/gstreamer-sections.txt:
6773 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6775 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6776 spew out a warning if a tag that is already registered
6777 is re-registered, unless it is re-registered with a
6778 different type (#308438).
6780 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
6782 * docs/pwg/appendix-porting.xml:
6783 * docs/pwg/building-state.xml:
6784 Add some paragraphs about state changes in 0.9 to the PWG
6785 and the porting guide, in particular about the new meaning
6786 of GST_STATE_PAUSED and how to write state change functions
6787 with concurrent access by multiple threads in mind.
6789 2005-08-11 Stefan Kost <ensonic@users.sf.net>
6791 * docs/gst/gstreamer-docs.sgml:
6792 * docs/libs/gstreamer-libs-docs.sgml:
6793 added deprecation and since indexes
6794 * libs/gst/controller/gst-controller.c:
6795 * libs/gst/controller/gst-helper.c:
6799 2005-08-11 Wim Taymans <wim@fluendo.com>
6801 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6802 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6803 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6804 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6805 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6806 (gst_ghost_pad_set_target):
6807 Actually implement (re)setting the target on a ghostpad
6808 as described in the docs.
6810 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6812 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6813 Check whether GST_DEBUG_NO_COLOR environment variable is
6814 set and disable coloured debug output if that is the case.
6816 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6818 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6819 (gst_type_find_helper):
6820 The memory returned by gst_type_find_peek() needs to
6821 stay valid until the end of a typefind function, and
6822 typefind functions may keep results from different
6823 offsets around, so we can't just unref the buffer from
6824 the previous _peek(), but have to save all buffers
6825 returned by _peek() until typefinding is done and only
6828 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
6830 * docs/gst/gstreamer-sections.txt:
6832 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6834 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6836 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6837 Fix a pretty good memleak.
6839 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6841 * gst/gstiterator.h:
6842 Fix wrong include and 'make distcheck'.
6844 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6846 * gst/gstbin.c: (bin_bus_handler):
6847 Use gst_element_post_message() instead.
6849 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6851 * gst/base/gstadapter.h:
6852 * gst/base/gstbasesink.h:
6853 * gst/base/gstbasesrc.h:
6854 * gst/base/gstbasetransform.h:
6855 * gst/base/gstcollectpads.h:
6856 * gst/base/gstpushsrc.h:
6857 * gst/gstiterator.h:
6858 Add padding to our base elements' class and instance structs and
6859 to GstIterator (you will need to rebuild all plugins and apps!)
6861 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6863 * gst/gstbin.c: (bin_bus_handler):
6864 Make default message forwarding from child->bus to bin->bus
6865 threadsafe and make it not emit warnings if the parent has no bus.
6867 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6869 * gst/gstelement.c: (activate_pads):
6870 On paused->ready, set pad->caps to NULL, as is the documented
6871 behaviour in this state change. Fixes playback of series of
6872 media files when visualization is enabled in Totem.
6874 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6876 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6877 Allow NULL as filter-caps (which means "any").
6879 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6881 * docs/libs/gstreamer-libs-sections.txt:
6882 * libs/gst/controller/gst-controller.c:
6883 * libs/gst/controller/gst-controller.h:
6884 * libs/gst/controller/gst-helper.c:
6885 adding more entries to the docs and fix small doc-bugs
6887 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6889 * docs/gst/gstreamer-docs.sgml:
6890 * docs/gst/gstreamer-sections.txt:
6891 * docs/gst/gstreamer.types:
6892 * docs/gst/tmpl/gstbasesink.sgml:
6893 * docs/gst/tmpl/gstbasesrc.sgml:
6894 * docs/gst/tmpl/gstbasetransform.sgml:
6895 * docs/gst/tmpl/gstfakesrc.sgml:
6896 * gst/base/gstcollectpads.c:
6897 * gst/base/gstcollectpads.h:
6898 * libs/gst/controller/gst-controller.c:
6899 * libs/gst/controller/gst-controller.h:
6900 * libs/gst/controller/gst-helper.c:
6901 * libs/gst/controller/gst-interpolation.c:
6902 * libs/gst/controller/lib.c:
6903 added long/short desc for controller docs
6904 added collectpads base class docs
6905 added correct includes to base-class docs
6907 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6909 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6910 (gst_test_mono_source_set_property),
6911 (gst_test_mono_source_class_init), (GST_START_TEST),
6912 (gst_controller_suite):
6913 * docs/gst/gstreamer-docs.sgml:
6914 * docs/gst/gstreamer-sections.txt:
6915 * docs/gst/gstreamer.types:
6916 * docs/libs/gstreamer-libs-docs.sgml:
6917 * docs/libs/gstreamer-libs-sections.txt:
6918 * gst/base/gstadapter.c:
6919 * libs/gst/controller/gst-controller.c:
6920 (gst_controlled_property_new), (gst_controlled_property_free),
6921 (gst_controller_new_valist),
6922 (gst_controller_remove_properties_valist),
6923 (gst_controller_sink_values), (_gst_controller_finalize):
6924 * libs/gst/controller/gst-controller.h:
6925 * libs/gst/controller/gst-helper.c:
6926 (gst_object_control_properties), (gst_object_uncontrol_properties),
6927 (gst_object_get_controller), (gst_object_set_controller),
6928 (gst_object_sink_values), (gst_object_get_value_arrays),
6929 (gst_object_get_value_array):
6930 more tests (and fixes) for the controller
6931 more docs for the controller
6932 integrated companies docs for the adapter
6934 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6936 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6937 (GST_START_TEST), (fakesrc_suite):
6938 add tests for sizetype
6940 2005-08-04 Andy Wingo <wingo@pobox.com>
6942 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6943 fixes buffer_alloc proxying among other things.
6945 * gst/base/gstbasetransform.c:
6946 * gst/base/gstbasetransform.h:
6947 Revert patch to gstbasetransform from 7-28 removing
6950 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6951 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6952 Semantics changed, should return not the size of the output buffer
6953 but the byte size of a buffer with a given caps.
6955 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6957 (gst_base_transform_configure_caps): Don't set out_size here: (in,
6958 out) are not the pad caps until setcaps finishes.
6959 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6960 not-in-place case as well. Deal with changing from in-place to
6961 not-in-place within calling pad_alloc_buffer. Still a bit
6962 concerned about the overhead here...
6964 2005-08-03 Andy Wingo <wingo@pobox.com>
6966 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6967 fixating is an error.
6969 2005-08-04 Edward Hervey <edward@fluendo.com>
6971 * gst/base/gstadapter.h:
6972 Added gst_adapter_get_type() to the header
6974 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6976 * check/Makefile.am:
6977 * check/gst-libs/controller.c:
6978 * libs/gst/controller/gst-controller.c:
6979 (gst_controller_new_valist):
6980 added check test suite for the controller
6981 * gst/base/gstpushsrc.c:
6984 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6986 * docs/gst/Makefile.am:
6987 * docs/gst/gstreamer-docs.sgml:
6988 * docs/gst/gstreamer-sections.txt:
6989 * docs/gst/gstreamer.types:
6990 * docs/gst/tmpl/gstfakesrc.sgml:
6992 * gst/base/gstbasesink.c:
6993 * gst/base/gstbasesink.h:
6994 * gst/base/gstbasesrc.c:
6995 * gst/base/gstbasesrc.h:
6996 * gst/base/gstbasetransform.c:
6997 * gst/base/gstpushsrc.c:
6998 * gst/base/gstpushsrc.h:
6999 add short/long description docs to base classes
7000 add pushsrc to the docs
7001 remove consolidated doc fragments
7003 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7006 * docs/libs/Makefile.am:
7007 * docs/libs/gstreamer-libs-docs.sgml:
7008 * docs/libs/gstreamer-libs-sections.txt:
7009 * docs/libs/gstreamer-libs.types:
7010 * examples/Makefile.am:
7011 * examples/controller/.cvsignore:
7012 * examples/controller/Makefile.am:
7013 * examples/controller/audio-example.c: (main):
7014 * libs/gst/Makefile.am:
7015 * libs/gst/controller/.cvsignore:
7016 * libs/gst/controller/Makefile.am:
7017 * libs/gst/controller/gst-controller.c:
7018 (on_object_controlled_property_changed), (gst_timed_value_compare),
7019 (gst_timed_value_find),
7020 (gst_controlled_property_set_interpolation_mode),
7021 (gst_controlled_property_new), (gst_controlled_property_free),
7022 (gst_controller_find_controlled_property),
7023 (gst_controller_new_valist), (gst_controller_new),
7024 (gst_controller_remove_properties_valist),
7025 (gst_controller_remove_properties), (gst_controller_set),
7026 (gst_controller_set_from_list), (gst_controller_unset),
7027 (gst_controller_get), (gst_controller_get_all),
7028 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7029 (gst_controller_get_value_array),
7030 (gst_controller_set_interpolation_mode),
7031 (_gst_controller_finalize), (_gst_controller_init),
7032 (_gst_controller_class_init), (gst_controller_get_type):
7033 * libs/gst/controller/gst-controller.h:
7034 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7035 (g_object_uncontrol_properties), (g_object_get_controller),
7036 (g_object_set_controller), (g_object_sink_values),
7037 (g_object_get_value_arrays), (g_object_get_value_array):
7038 * libs/gst/controller/gst-interpolation.c:
7039 (gst_controlled_property_find_timed_value_node),
7040 (interpolate_none_get), (interpolate_trigger_get),
7041 (interpolate_trigger_get_value_array):
7042 * libs/gst/controller/lib.c: (gst_controller_init):
7043 * pkgconfig/Makefile.am:
7044 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7045 * pkgconfig/gstreamer-control.pc.in:
7046 * testsuite/Makefile.am:
7047 * testsuite/controller/.cvsignore:
7048 * testsuite/controller/Makefile.am:
7049 * testsuite/controller/interpolator.c: (main):
7050 added controller code
7051 removed dparam pc files
7053 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7054 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7055 (gst_collectpads_stop):
7056 Broadcast the condition when shutting down, to make sure we wake all
7057 threads up. Shut down pads on finalize, for safety.
7059 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7060 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7061 (gst_base_transform_handle_buffer),
7062 (gst_base_transform_change_state):
7063 Handle PAUSED->READY->PAUSED transition after negotiation
7065 * gst/gstmessage.c: (gst_message_init):
7066 Extra piece of debug for new messages.
7068 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7071 * docs/gst/tmpl/gstbasesrc.sgml:
7072 * docs/gst/tmpl/gstelement.sgml:
7073 * docs/gst/tmpl/gstevent.sgml:
7074 * docs/gst/tmpl/gstfakesrc.sgml:
7075 * docs/gst/tmpl/gstformat.sgml:
7076 * docs/gst/tmpl/gstghostpad.sgml:
7077 * docs/gst/tmpl/gstpad.sgml:
7078 * docs/gst/tmpl/gstquery.sgml:
7079 * docs/gst/tmpl/gststructure.sgml:
7080 * docs/gst/tmpl/gsttaglist.sgml:
7081 * docs/gst/tmpl/gstvalue.sgml:
7082 * docs/libs/gstreamer-libs-docs.sgml:
7083 * docs/libs/gstreamer-libs-sections.txt:
7084 * docs/libs/gstreamer-libs.types:
7085 * libs/gst/Makefile.am:
7086 * libs/gst/control/.cvsignore:
7087 * libs/gst/control/Makefile.am:
7088 * libs/gst/control/control.c:
7089 * libs/gst/control/control.h:
7090 * libs/gst/control/dparam.c:
7091 * libs/gst/control/dparam.h:
7092 * libs/gst/control/dparam_smooth.c:
7093 * libs/gst/control/dparam_smooth.h:
7094 * libs/gst/control/dparamcommon.h:
7095 * libs/gst/control/dparammanager.c:
7096 * libs/gst/control/dparammanager.h:
7097 * libs/gst/control/dplinearinterp.c:
7098 * libs/gst/control/dplinearinterp.h:
7099 * libs/gst/control/unitconvert.c:
7100 * libs/gst/control/unitconvert.h:
7101 * testsuite/Makefile.am:
7102 * testsuite/dynparams/.cvsignore:
7103 * testsuite/dynparams/Makefile.am:
7104 * testsuite/dynparams/dparamstest.c:
7105 * tools/Makefile.am:
7106 * tools/gst-inspect.c: (print_element_info), (main):
7107 * tools/gst-xmlinspect.c: (print_element_info), (main):
7108 deactivate and remove dparams (libgstcontrol)
7110 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7112 * gst/elements/gsttypefindelement.c:
7113 (gst_type_find_element_have_type), (gst_type_find_element_init),
7114 (stop_typefinding), (gst_type_find_element_handle_event),
7115 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7116 * gst/elements/gsttypefindelement.h:
7117 Set caps on all outgoing buffers, not just the first one.
7119 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7121 * gst/elements/gsttypefindelement.c:
7122 (gst_type_find_element_have_type),
7123 (gst_type_find_element_check_set_buffer_caps),
7124 (gst_type_find_element_init), (stop_typefinding),
7125 (gst_type_find_element_handle_event),
7126 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7127 * gst/elements/gsttypefindelement.h:
7128 Set caps on first outgoing buffer when we've found the type.
7130 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7132 * docs/gst/gstreamer-docs.sgml:
7133 * docs/gst/gstreamer-sections.txt:
7134 * docs/gst/tmpl/gstscheduler.sgml:
7135 * docs/gst/tmpl/gstschedulerfactory.sgml:
7136 Remove some old cruft from docs.
7138 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7141 Fix inline docs for GstPadLinkReturn.
7143 * gst/gststructure.c: (gst_structure_has_name):
7144 * gst/gststructure.h:
7145 * docs/gst/gstreamer-sections.txt:
7146 New API: gst_structure_has_name().
7148 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7151 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7152 and _LARGEFILE_SOURCE in config.h as required. Do not
7153 export those flags in our .pc files any longer (#142209).
7155 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7157 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7158 (gst_file_sink_do_seek), (gst_file_sink_event),
7159 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7160 Redo seek/tell calls with large file support in mind; add some
7161 debugging messages; add log message that tells us when large
7162 file support is unavailable or not enabled for some reason.
7164 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7165 Add log message that tells us when large file support
7166 is unavailable or not enabled for some reason.
7168 2005-07-29 Wim Taymans <wim@fluendo.com>
7170 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7171 Added test for removing an element with ghostpad from a bin.
7172 Fixed test as current implementation does the right thing.
7174 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7175 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7176 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7177 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7178 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7179 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7180 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7181 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7182 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7183 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7184 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7185 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7186 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7187 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7188 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7189 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7190 * gst/gstghostpad.h:
7191 Clean up ghostpads, remove properties for internal stuff.
7194 Prepare for switching targets, not all use cases work yet.
7196 2005-07-29 Wim Taymans <wim@fluendo.com>
7198 * docs/design/part-gstghostpad.txt:
7201 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7202 (gst_bin_remove_func):
7203 Unlinking pads while holding the bin LOCK is not a good
7206 * gst/gstpad.c: (gst_pad_class_init),
7207 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7208 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7209 No prob setting template after creating the pad.
7211 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7213 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7214 (gst_bus_peek), (gst_bus_source_dispatch),
7215 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7216 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7217 gst_bus_poll may be called from other threads. Handle
7218 this nicely by not making poll_data disappear off the
7219 stack once gst_bus_poll returns.
7220 gst_bus_peek now increments the refcount on the returned
7223 2005-07-29 Wim Taymans <wim@fluendo.com>
7225 * docs/design/part-gstghostpad.txt:
7226 Overview of current GhostPad datastructures and use
7227 cases for changing the target.
7229 2005-07-28 Wim Taymans <wim@fluendo.com>
7231 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7232 Added checks for hierarchy consistency whan adding linked
7235 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7236 Added check to test element scheduling without bin/pipeline.
7238 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7239 First add elements to bin, then link.
7241 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7242 (gst_bin_remove_func):
7243 Unlink pads from elements added/removed from bin to maintain
7244 hierarchy consistency.
7246 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7248 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7249 (gst_base_transform_handle_buffer):
7250 * gst/base/gstbasetransform.h:
7251 Remove broken delay_configure (fixes renegotiation of software
7252 scaling pipelines); remove some leftover printf()s.
7254 2005-07-28 Wim Taymans <wim@fluendo.com>
7256 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7257 Added some more tests for wrong hierarchy
7259 * docs/design/part-overview.txt:
7262 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7265 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7266 (gst_element_dispose):
7269 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7270 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7271 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7272 (gst_pad_set_caps), (gst_pad_send_event):
7273 Check for correct hierarchy when linking pads. Moving to
7274 strict requirement for ghostpads when linking elements in
7278 Clean ups. Added WRONG_HIERARCHY return value.
7280 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7282 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7283 Better debug if no transform is possible.
7285 2005-07-27 Wim Taymans <wim@fluendo.com>
7287 * docs/random/wtay/network-transp:
7290 2005-07-27 Wim Taymans <wim@fluendo.com>
7292 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7293 (gst_dp_event_from_packet):
7294 Fix serialization of seek events.
7296 2005-07-27 Wim Taymans <wim@fluendo.com>
7298 * check/gst-libs/gdp.c: (GST_START_TEST):
7299 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7300 Fix compilation and fix event serialization.
7302 2005-07-27 Wim Taymans <wim@fluendo.com>
7305 * docs/design/part-TODO.txt:
7306 * docs/design/part-events.txt:
7309 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7310 (gst_base_sink_event), (gst_base_sink_do_sync),
7311 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7312 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7313 (gst_base_src_do_seek), (gst_base_src_event_handler),
7314 (gst_base_src_loop):
7315 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7316 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7317 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7318 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7319 (gst_base_transform_set_passthrough),
7320 (gst_base_transform_is_passthrough):
7321 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7322 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7328 * gst/gstelement.c: (gst_element_seek):
7330 Update gst_element_seek.
7332 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7333 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7334 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7335 (gst_event_new_eos), (gst_event_new_newsegment),
7336 (gst_event_parse_newsegment), (gst_event_new_tag),
7337 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7338 (gst_event_parse_qos), (gst_event_new_seek),
7339 (gst_event_parse_seek), (gst_event_new_navigation):
7341 Make GstEvent use GstStructure. Add parsing code, make sure the
7342 API is sufficiently generic.
7343 Mark possible directions of events and serialization.
7345 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7346 (_gst_message_copy), (gst_message_new_segment_start),
7347 (gst_message_new_segment_done), (gst_message_new_custom),
7348 (gst_message_parse_segment_start),
7349 (gst_message_parse_segment_done):
7352 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7353 (gst_pad_set_caps), (gst_pad_send_event):
7354 Update for new events.
7355 Catch events sent in wrong directions.
7357 * gst/gstqueue.c: (gst_queue_link_src),
7358 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7359 (gst_queue_handle_src_query):
7364 Remove event code from this file.
7366 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7367 (gst_dp_event_from_packet):
7370 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7372 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7373 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7374 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7375 Make debugging actually useful.
7377 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7379 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7380 (gst_pad_fixate_caps):
7381 Implement default fixation once again, so that gst_pad_fixate()
7382 actually does anything at all. This probably needs to be some
7383 sort of a last resort, and use profile-based fixation first, but
7384 since that doesn't exist yet, this is the best we have. Fixes
7385 visualization in Totem.
7387 2005-07-22 Wim Taymans <wim@fluendo.com>
7389 * docs/design/part-events.txt:
7392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7393 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7394 (gst_base_sink_activate_pull):
7397 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7398 (gst_fake_src_create):
7399 Fix handoff marshall.
7401 * gst/elements/gstidentity.c: (gst_identity_class_init),
7402 (gst_identity_transform_ip):
7403 We're a real inplace element.
7405 * gst/gstbus.c: (gst_bus_post):
7406 Added some comments.
7408 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7409 * tests/muxing/case1.c: (main):
7410 * tests/sched/dynamic-pipeline.c: (main):
7411 * tests/sched/interrupt1.c: (main):
7412 * tests/sched/interrupt2.c: (main):
7413 * tests/sched/interrupt3.c: (main):
7414 * tests/sched/runxml.c: (main):
7415 * tests/sched/sched-stress.c: (main):
7416 * tests/seeking/seeking1.c: (event_received), (main):
7417 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7419 * tests/threadstate/threadstate3.c: (main):
7420 * tests/threadstate/threadstate4.c: (main):
7421 * tests/threadstate/threadstate5.c: (main):
7424 2005-07-21 Wim Taymans <wim@fluendo.com>
7426 * docs/design/part-seeking.txt:
7427 Some small additions.
7429 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7430 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7431 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7432 * gst/base/gstbasesink.h:
7433 discont values are gint64, handle the math correctly.
7435 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7436 Make the basesrc report error if the source pad is not linked.
7438 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7439 (gst_queue_loop), (gst_queue_handle_src_query),
7440 (gst_queue_src_activate_push):
7441 Make queue collect data even if the srcpad is not linked.
7442 Start pushing out data as soon as it is linked.
7444 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7446 Added gst_flow_get_name() to ease error reporting.
7448 2005-07-20 Wim Taymans <wim@fluendo.com>
7450 * gst/gstmessage.c: (gst_message_new_segment_start),
7451 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7452 (gst_message_parse_segment_done):
7454 Added a bunch of messages for advanced seeking.
7456 * gst/parse/grammar.y:
7457 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7458 (gst_dpman_state_changed):
7459 Fix some new-pad -> pad-added signals
7461 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7463 * docs/manual/appendix-porting.xml:
7464 * docs/pwg/appendix-porting.xml:
7465 Document new-pad/state-change signal renames and the FixedList
7468 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7470 * docs/manual/advanced-autoplugging.xml:
7471 * docs/manual/basics-helloworld.xml:
7472 * docs/manual/basics-pads.xml:
7473 * docs/random/ds/0.9-suggested-changes:
7474 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7479 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7480 (gst_structure_parse_array), (gst_structure_parse_value):
7481 * gst/gstvalue.c: (gst_type_is_fixed),
7482 (gst_value_list_prepend_value), (gst_value_list_append_value),
7483 (gst_value_list_get_size), (gst_value_list_get_value),
7484 (gst_value_transform_array_string), (gst_value_serialize_array),
7485 (gst_value_deserialize_array), (gst_value_intersect_array),
7486 (gst_value_is_fixed), (_gst_value_initialize):
7488 GstElement::new-pad -> pad-added, GstElement::state-change ->
7489 state-changed, GstValueFixedList -> GstValueArray, add format and
7490 flags as their own arguments in gst_element_seek() (should improve
7491 "bindeability"), remove function generators since they don't work
7492 under a whole bunch of compilers (they were deprecated already
7495 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7497 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7498 (_gst_debug_register_funcptr):
7500 Fix illegal cast on some platforms (#309253).
7502 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7504 * gst/gstmessage.c: (gst_message_new_custom):
7506 Add _new_custom, make _new_application a macro to _new_custom.
7508 2005-07-20 Wim Taymans <wim@fluendo.com>
7510 * gst/base/gstbasesrc.c: (gst_base_src_init),
7511 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7512 * gst/base/gstbasesrc.h:
7513 Add a gboolean to decide when to push out a discont.
7515 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7516 (gst_queue_loop), (gst_queue_handle_src_query),
7517 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7518 (gst_queue_set_property), (gst_queue_get_property):
7521 * tests/threadstate/threadstate1.c: (main):
7522 Make a thread test compile and run... very silly..
7525 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7527 * docs/manual/appendix-porting.xml:
7528 Mention removal of libgstgconf-0.9.la and existence of gconf
7531 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7533 * docs/pwg/advanced-clock.xml:
7534 * docs/pwg/appendix-porting.xml:
7535 * docs/pwg/intro-preface.xml:
7536 * docs/pwg/other-base.xml:
7537 * docs/pwg/other-manager.xml:
7538 * docs/pwg/other-nton.xml:
7539 * docs/pwg/other-ntoone.xml:
7540 * docs/pwg/other-oneton.xml:
7542 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7543 demuxer), remove n-to-n (was never written), fix some code examples
7544 and links and update the porting section to include all this.
7546 2005-07-19 Wim Taymans <wim@fluendo.com>
7548 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7549 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7550 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7551 (gst_queue_src_activate_push), (gst_queue_change_state),
7552 (gst_queue_get_property):
7554 Propagate GstFlowReturn more intelligently upstream and output
7555 an ERROR/EOS when streaming stopped due to fatal error.
7557 2005-07-19 Wim Taymans <wim@fluendo.com>
7559 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7560 Don't block forever for the state change to complete, the
7561 pipeline already did with a sensible timeout.
7563 2005-07-19 Wim Taymans <wim@fluendo.com>
7565 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7566 Make sure we never call the create function is we
7569 2005-07-19 Andy Wingo <wingo@pobox.com>
7571 * gst/parse/parse.l: Attempt to solve bug #172815.
7573 2005-07-19 Wim Taymans <wim@fluendo.com>
7575 * docs/design/part-clocks.txt:
7576 * docs/design/part-events.txt:
7577 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7579 Only update the seeking values when we are not
7582 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7584 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7585 Oops, ignore the result of gst_pad_push_event here.
7587 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7589 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7590 (gst_base_src_activate_push):
7591 Send discont event from the loop function, as pads
7592 aren't activated yet in the activate_push handler.
7594 * gst/gstbin.c: (bin_bus_handler):
7595 Don't leak element name.
7597 2005-07-18 Andy Wingo <wingo@pobox.com>
7599 * configure.ac: Use AS_LIBTOOL_TAGS.
7601 2005-07-18 Wim Taymans <wim@fluendo.com>
7603 * docs/gst/gstreamer.types:
7604 Remove deleted types.
7606 2005-07-18 Wim Taymans <wim@fluendo.com>
7608 * check/elements/gstfakesrc.c: (GST_START_TEST):
7611 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7612 (init_popt_callback):
7614 * gst/gst_private.h:
7615 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7616 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7619 * gst/gstconfig.h.in:
7620 * gst/gstelement.c: (gst_element_class_init),
7621 (gst_element_set_base_time), (gst_element_get_base_time),
7622 (iterator_fold_with_resync), (gst_element_change_state),
7623 (gst_element_dispose), (gst_element_get_bus):
7625 * gst/gstelementfactory.h:
7626 * gst/gsterror.c: (_gst_core_errors_init):
7629 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7631 * gst/gstinfo.c: (_gst_debug_init):
7632 * gst/gstmessage.c: (_gst_message_copy):
7634 * gst/gstminiobject.h:
7637 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7638 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7641 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7642 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7643 (gst_pipeline_get_last_stream_time):
7644 * gst/gstpipeline.h:
7645 * gst/gstpluginfeature.h:
7647 * gst/gstscheduler.c:
7648 * gst/gstscheduler.h:
7649 * gst/gststructure.h:
7650 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7651 (gst_task_finalize), (gst_task_func), (gst_task_create),
7652 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7653 (gst_task_stop), (gst_task_pause):
7655 * gst/gsttypefind.h:
7657 * gst/registries/gstlibxmlregistry.c: (load_feature),
7658 (gst_xml_registry_load), (gst_xml_registry_save_feature):
7659 * gst/registries/gstxmlregistry.c:
7660 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7661 * gst/schedulers/threadscheduler.c:
7662 * libs/gst/control/dparammanager.h:
7663 * tools/gst-inspect.c: (print_element_list),
7664 (print_plugin_features), (print_element_features):
7665 * tools/gst-xmlinspect.c: (print_element_list),
7666 (print_plugin_info), (main):
7667 Removed plugable schedulers.
7668 Removed Scheduler/Manager from elements.
7669 Removed gsttypes.h, rearranged includes.
7670 Removed dependency pad<->element, element<>pipeline, and
7671 various others, fix includes.
7672 implement gst_pad_get_parent() with gst_object_get_parent()
7673 Make GstTask sefcontained.
7674 Fix _get_state() on GstBin, it did not return ASYNC with a 0
7676 Fix endless loop in iterator_fold_with_resync.
7679 2005-07-18 Wim Taymans <wim@fluendo.com>
7685 2005-07-18 Wim Taymans <wim@fluendo.com>
7690 2005-07-18 Wim Taymans <wim@fluendo.com>
7696 2005-07-18 Wim Taymans <wim@fluendo.com>
7698 * docs/design/part-dynamic.txt:
7699 * docs/design/part-events.txt:
7700 * docs/design/part-seeking.txt:
7701 Some more docs in the works.
7703 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7704 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7705 (gst_base_transform_setcaps), (gst_base_transform_get_size),
7706 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7707 (gst_base_transform_handle_buffer),
7708 (gst_base_transform_sink_activate_push),
7709 (gst_base_transform_src_activate_pull),
7710 (gst_base_transform_set_passthrough),
7711 (gst_base_transform_is_passthrough):
7714 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7717 * gst/gstevent.c: (gst_event_finalize):
7720 * gst/gstutils.c: (gst_element_unlink),
7721 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7722 (gst_pad_proxy_setcaps):
7724 Add _get_parent_element() to get a pads parent as an element.
7726 2005-07-18 Wim Taymans <wim@fluendo.com>
7728 * check/gst/gstbin.c: (GST_START_TEST):
7731 2005-07-18 Wim Taymans <wim@fluendo.com>
7733 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7734 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7735 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7736 (gst_base_sink_event), (gst_base_sink_do_sync),
7737 (gst_base_sink_chain), (gst_base_sink_loop),
7738 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7739 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7741 Fix logic for returning ASYNC when not prerolled.
7743 2005-07-18 Wim Taymans <wim@fluendo.com>
7745 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7746 Fix nasty refcount bug.
7748 2005-07-16 Philippe Khalaf <burger@speedy.org>
7750 * gst/elements/gstfdsrc.c:
7751 * gst/elements/gstfdsrc.h:
7752 * gst/elements/gstelements.c:
7753 * gst/elements/Makefile.am:
7754 Ported fdsrc to 0.9.
7756 2005-07-16 Wim Taymans <wim@fluendo.com>
7758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7759 (gst_base_sink_do_sync):
7762 2005-07-16 Wim Taymans <wim@fluendo.com>
7764 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7765 (gst_base_sink_event), (gst_base_sink_get_times),
7766 (gst_base_sink_do_sync), (gst_base_sink_change_state):
7767 * gst/base/gstbasesink.h:
7768 Store and use discont values when syncing buffers as described
7771 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7772 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7773 (gst_base_src_activate_push):
7774 Push discont event when starting.
7776 * gst/elements/gstidentity.c: (gst_identity_transform):
7779 * gst/gstbin.c: (gst_bin_change_state):
7780 Small cleanups in base_time distribution.
7782 * gst/gstelement.c: (gst_element_set_base_time),
7783 (gst_element_get_base_time), (gst_element_change_state):
7785 Added methods for the base_time of the element.
7788 * gst/gstpipeline.c: (gst_pipeline_send_event),
7789 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7790 (gst_pipeline_get_last_stream_time):
7791 * gst/gstpipeline.h:
7793 Handle seeking as described in design doc, remove stream_time
7795 Cleanups clock and stream_time selection code. Added accessors
7796 for the stream_time.
7799 2005-07-16 Andy Wingo <wingo@pobox.com>
7801 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7804 2005-07-16 Wim Taymans <wim@fluendo.com>
7806 * check/gst/gstbin.c: (GST_START_TEST):
7807 Make elements silent as the deep_notify refs the
7808 parent, which might make the test fail.
7810 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7811 Don't hold the lock for too long.
7813 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
7815 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7816 Don't unref the caps we passed to gst_caps_make_writable() after
7817 passing them. gst_caps_make_writable() will do that for us.
7819 2005-07-15 Andy Wingo <wingo@pobox.com>
7821 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7824 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7825 own marshalling function for the handoff signal. Properly type the
7826 buffer as a buffer. Fixes some warnings. Should do a more general
7828 (gst_identity_class_init): Plug into the right marshaller.
7830 2005-07-15 Wim Taymans <wim@fluendo.com>
7832 * docs/design/part-TODO.txt:
7833 * docs/design/part-clocks.txt:
7834 * docs/design/part-element-sink.txt:
7835 * docs/design/part-events.txt:
7836 * docs/design/part-gstpipeline.txt:
7837 Updated docs, mostly DISCONT related.
7839 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
7841 * docs/pwg/building-pads.xml:
7842 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7844 2005-07-15 Andy Wingo <wingo@pobox.com>
7846 * tools/gst-typefind.c: Update, add copyright block.
7848 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7849 Normalize and truncate caps before fixation.
7852 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7853 discards all but the first structure from its argument.
7855 2005-07-15 Wim Taymans <wim@fluendo.com>
7857 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7858 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7859 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7860 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7861 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7862 (gst_base_transform_chain), (gst_base_transform_change_state),
7863 (gst_base_transform_set_passthrough),
7864 (gst_base_transform_is_passthrough):
7865 * gst/base/gstbasetransform.h:
7866 Make passthrough work using the bufferpools.
7867 Changed API a bit, subclasses have to write into a buffer
7868 provided by the base class.
7869 More debug info in nego functions.
7871 * gst/elements/gstidentity.c: (gst_identity_init),
7872 (gst_identity_transform):
7873 Port to new base class.
7875 2005-07-15 Wim Taymans <wim@fluendo.com>
7877 * gst/gstmessage.c: (gst_message_new_state_changed):
7878 * tools/gst-launch.c: (event_loop), (main):
7879 Totally dump messages in -launch with the -m option.
7880 Fix message name for State messages,
7882 2005-07-14 Wim Taymans <wim@fluendo.com>
7884 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7885 Post error messages on errors.
7887 2005-07-14 Wim Taymans <wim@fluendo.com>
7889 * gst/gstcaps.c: (gst_caps_do_simplify):
7893 Define error for stream stopped.
7895 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7896 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7897 Do proper return values.
7899 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7900 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7901 (gst_pad_get_range):
7902 Better return values.
7905 Reorganise return values, add macro to check for fatal errors.
7907 * gst/gstqueue.c: (gst_queue_chain):
7908 Return proper GstFlowReturn values,
7910 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
7912 * docs/gst/gstreamer-sections.txt:
7913 * docs/gst/gstreamer.types:
7914 * docs/gst/tmpl/gst.sgml:
7915 * docs/gst/tmpl/gstbasesink.sgml:
7916 * docs/gst/tmpl/gstbasesrc.sgml:
7917 * docs/gst/tmpl/gstbasetransform.sgml:
7918 * docs/gst/tmpl/gstbin.sgml:
7919 * docs/gst/tmpl/gstbuffer.sgml:
7920 * docs/gst/tmpl/gstcaps.sgml:
7921 * docs/gst/tmpl/gstclock.sgml:
7922 * docs/gst/tmpl/gstcompat.sgml:
7923 * docs/gst/tmpl/gstconfig.sgml:
7924 * docs/gst/tmpl/gstelement.sgml:
7925 * docs/gst/tmpl/gstelementdetails.sgml:
7926 * docs/gst/tmpl/gstelementfactory.sgml:
7927 * docs/gst/tmpl/gstenumtypes.sgml:
7928 * docs/gst/tmpl/gsterror.sgml:
7929 * docs/gst/tmpl/gstevent.sgml:
7930 * docs/gst/tmpl/gstfakesink.sgml:
7931 * docs/gst/tmpl/gstfakesrc.sgml:
7932 * docs/gst/tmpl/gstfilesink.sgml:
7933 * docs/gst/tmpl/gstfilesrc.sgml:
7934 * docs/gst/tmpl/gstfilter.sgml:
7935 * docs/gst/tmpl/gstformat.sgml:
7936 * docs/gst/tmpl/gstghostpad.sgml:
7937 * docs/gst/tmpl/gstimplementsinterface.sgml:
7938 * docs/gst/tmpl/gstindex.sgml:
7939 * docs/gst/tmpl/gstindexfactory.sgml:
7940 * docs/gst/tmpl/gstinfo.sgml:
7941 * docs/gst/tmpl/gstiterator.sgml:
7942 * docs/gst/tmpl/gstmacros.sgml:
7943 * docs/gst/tmpl/gstmemchunk.sgml:
7944 * docs/gst/tmpl/gstminiobject.sgml:
7945 * docs/gst/tmpl/gstobject.sgml:
7946 * docs/gst/tmpl/gstpad.sgml:
7947 * docs/gst/tmpl/gstpadtemplate.sgml:
7948 * docs/gst/tmpl/gstparse.sgml:
7949 * docs/gst/tmpl/gstpipeline.sgml:
7950 * docs/gst/tmpl/gstplugin.sgml:
7951 * docs/gst/tmpl/gstpluginfeature.sgml:
7952 * docs/gst/tmpl/gstquery.sgml:
7953 * docs/gst/tmpl/gstqueue.sgml:
7954 * docs/gst/tmpl/gstregistry.sgml:
7955 * docs/gst/tmpl/gstregistrypool.sgml:
7956 * docs/gst/tmpl/gstscheduler.sgml:
7957 * docs/gst/tmpl/gstschedulerfactory.sgml:
7958 * docs/gst/tmpl/gststructure.sgml:
7959 * docs/gst/tmpl/gstsystemclock.sgml:
7960 * docs/gst/tmpl/gsttaglist.sgml:
7961 * docs/gst/tmpl/gsttagsetter.sgml:
7962 * docs/gst/tmpl/gsttrace.sgml:
7963 * docs/gst/tmpl/gsttrashstack.sgml:
7964 * docs/gst/tmpl/gsttypefind.sgml:
7965 * docs/gst/tmpl/gsttypefindfactory.sgml:
7966 * docs/gst/tmpl/gsttypes.sgml:
7967 * docs/gst/tmpl/gsturihandler.sgml:
7968 * docs/gst/tmpl/gsturitype.sgml:
7969 * docs/gst/tmpl/gstutils.sgml:
7970 * docs/gst/tmpl/gstvalue.sgml:
7971 * docs/gst/tmpl/gstversion.sgml:
7972 * docs/gst/tmpl/gstxml.sgml:
7973 * docs/libs/tmpl/gstcontrol.sgml:
7974 * docs/libs/tmpl/gstdataprotocol.sgml:
7975 * docs/libs/tmpl/gstdparam.sgml:
7976 * docs/libs/tmpl/gstdplinint.sgml:
7977 * docs/libs/tmpl/gstdpman.sgml:
7978 * docs/libs/tmpl/gstdpsmooth.sgml:
7979 * docs/libs/tmpl/gstgetbits.sgml:
7980 * docs/libs/tmpl/gstunitconvert.sgml:
7981 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7982 (gst_push_src_base_init), (gst_push_src_class_init),
7983 (gst_push_src_init), (gst_push_src_create):
7984 * gst/base/gstpushsrc.h:
7985 * gst/elements/gstelements.c:
7986 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7987 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7988 (gst_fake_sink_init), (gst_fake_sink_set_property),
7989 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7990 (gst_fake_sink_event), (gst_fake_sink_preroll),
7991 (gst_fake_sink_render), (gst_fake_sink_change_state):
7992 * gst/elements/gstfakesink.h:
7993 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7994 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7995 (gst_fake_src_base_init), (gst_fake_src_class_init),
7996 (gst_fake_src_init), (gst_fake_src_event_handler),
7997 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7998 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7999 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8000 (gst_fake_src_create_buffer), (gst_fake_src_create),
8001 (gst_fake_src_start), (gst_fake_src_stop):
8002 * gst/elements/gstfakesrc.h:
8003 * gst/elements/gstfilesink.c: (_do_init),
8004 (gst_file_sink_base_init), (gst_file_sink_class_init),
8005 (gst_file_sink_init), (gst_file_sink_dispose),
8006 (gst_file_sink_set_location), (gst_file_sink_set_property),
8007 (gst_file_sink_get_property), (gst_file_sink_open_file),
8008 (gst_file_sink_close_file), (gst_file_sink_query),
8009 (gst_file_sink_event), (gst_file_sink_render),
8010 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8011 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8012 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8013 * gst/elements/gstfilesink.h:
8014 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8015 (gst_file_src_class_init), (gst_file_src_init),
8016 (gst_file_src_finalize), (gst_file_src_set_location),
8017 (gst_file_src_set_property), (gst_file_src_get_property),
8018 (gst_file_src_map_region), (gst_file_src_map_small_region),
8019 (gst_file_src_create_mmap), (gst_file_src_create_read),
8020 (gst_file_src_create), (gst_file_src_is_seekable),
8021 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8022 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8023 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8024 (gst_file_src_uri_handler_init):
8025 * gst/elements/gstfilesrc.h:
8026 more autistic cleanliness in functions/names/defines
8028 2005-07-13 Andy Wingo <wingo@pobox.com>
8030 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8031 source couldn't negotiate.
8033 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8037 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8038 function. I am channeling Hades. Put your boots on suckers!!!
8040 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8042 * testsuite/caps/Makefile.am:
8043 * testsuite/caps/value_compare.c:
8044 * testsuite/caps/value_intersect.c:
8045 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8046 move two testsuite apps over to the check dir
8048 2005-07-12 Wim Taymans <wim@fluendo.com>
8050 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8051 Added more debug info in the negotiate process.
8054 Prepare for segment playback.
8056 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8062 * tools/gst-launch.c: (main):
8063 NULL pipeline on errors.
8065 2005-07-12 Andy Wingo <wingo@pobox.com>
8067 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8068 not it comes from a malloc region. Make sure our copy gets freed.
8070 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8072 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8073 * check/gst/gstmessage.c: (GST_START_TEST):
8074 * check/gst/gststructure.c: (GST_START_TEST),
8075 (gst_structure_suite), (main):
8077 * gst/gstelement.c: (gst_element_message_full):
8078 clean up GError and debug string now that they get copied
8079 * gst/gstmessage.c: (gst_message_new_error),
8080 (gst_message_new_warning), (gst_message_parse_error),
8081 (gst_message_parse_warning):
8082 use GST_TYPE_G_ERROR for structure_new, and take copies of
8083 arguments, so that we don't mess up refcounting
8085 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8087 * check/Makefile.am:
8088 add per-test valgrind targets
8089 * check/gst-libs/gdp.c: (GST_START_TEST),
8090 (gst_data_protocol_suite), (main):
8093 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8095 * check/Makefile.am:
8096 instate more valgrindable tests
8097 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8098 (GST_START_TEST), (fakesrc_suite):
8099 * check/gst/gstpad.c: (GST_START_TEST):
8100 * check/gst/gststructure.c: (GST_START_TEST):
8102 * docs/gst/tmpl/gstminiobject.sgml:
8103 * gst/gstpad.c: (gst_pad_finalize):
8104 fix the static mutex leak
8106 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8108 * check/Makefile.am:
8109 add two more tests for valgrinding
8110 * check/gst/gstvalue.c: (GST_START_TEST):
8111 test refcount of deserialized buffer, found a leak
8112 * docs/gst/gstreamer-docs.sgml:
8113 * docs/gst/gstreamer-sections.txt:
8114 * docs/gst/gstreamer.types:
8115 * docs/gst/tmpl/gstminiobject.sgml:
8116 add miniobject to docs
8117 * gst/gstminiobject.c:
8119 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8120 (gst_string_unwrap):
8121 fix a hard-to-find invalid write for one of the tests
8122 fix a leak for deserialized buffers
8124 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8126 * docs/pwg/advanced-events.xml:
8127 * docs/pwg/advanced-request.xml:
8128 * docs/pwg/advanced-scheduling.xml:
8129 * docs/pwg/appendix-porting.xml:
8130 * docs/pwg/building-boiler.xml:
8131 * docs/pwg/intro-preface.xml:
8132 * docs/pwg/other-ntoone.xml:
8133 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8134 of example code and explanation for pad activation, loop() and
8135 getrange() functions and a bit more. Remove old comments pointing
8137 * examples/pwg/Makefile.am:
8138 Add loop/getrange examples.
8140 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8143 check for valgrind binary + some fixes
8145 valgrind suppressions for the tests
8146 * check/Makefile.am:
8147 add a valgrind: target that valgrinds the unit tests
8148 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8149 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8150 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8151 * check/gst/gstghostpad.c:
8153 * check/gst/gstdata.c:
8155 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8156 (thread_unref), (gst_mini_object_suite), (main):
8158 * gst/gst.c: (gst_deinit):
8160 add a method to clean up.
8161 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8162 (gst_system_clock_obtain):
8163 allow for disposing the system clock.
8164 * tools/gst-launch.c: (main):
8167 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8169 * docs/gst/tmpl/gstbasesrc.sgml:
8170 * docs/gst/tmpl/gstfakesrc.sgml:
8171 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8172 (gst_base_src_init), (gst_base_src_set_property),
8173 (gst_base_src_get_property), (gst_base_src_get_range),
8174 (gst_base_src_start):
8175 * gst/base/gstbasesrc.h:
8176 add num-buffers property
8177 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8178 (gst_fakesrc_init), (gst_fakesrc_set_property),
8179 (gst_fakesrc_get_property), (gst_fakesrc_create),
8180 (gst_fakesrc_start):
8181 remove num-buffers property
8183 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8185 * docs/gst/gstreamer-sections.txt:
8186 * docs/gst/tmpl/gstbasesink.sgml:
8187 * docs/gst/tmpl/gstbasesrc.sgml:
8188 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8189 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8190 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8191 (gst_base_sink_set_property), (gst_base_sink_get_property),
8192 (gst_base_sink_handle_object), (gst_base_sink_event),
8193 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8194 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8195 (gst_base_sink_loop), (gst_base_sink_deactivate),
8196 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8197 (gst_base_sink_change_state):
8198 * gst/base/gstbasesink.h:
8199 * gst/base/gstbasesrc.h:
8200 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8201 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8202 (gst_filesink_init):
8203 more macro splitting
8205 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8207 * gst/gstelement.c: (gst_element_get_bus):
8209 * tools/gst-launch.c: (check_intr), (event_loop):
8212 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8214 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8217 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8219 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8220 (gst_base_src_finalize):
8221 add finalize method and clean up properly
8222 * gst/gstpipeline.c: (gst_pipeline_dispose):
8225 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8227 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8229 add more things to check
8230 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8234 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8236 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8237 (GST_START_TEST), (fakesrc_suite):
8238 * check/gst-libs/gdp.c: (GST_START_TEST):
8239 * check/gst/gst.c: (GST_START_TEST):
8240 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8241 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8242 * check/gst/gstbus.c: (GST_START_TEST):
8243 * check/gst/gstcaps.c: (GST_START_TEST):
8244 * check/gst/gstdata.c: (GST_START_TEST):
8245 * check/gst/gstelement.c: (GST_START_TEST):
8246 * check/gst/gstghostpad.c: (GST_START_TEST):
8247 * check/gst/gstiterator.c: (GST_START_TEST):
8248 * check/gst/gstmessage.c: (GST_START_TEST):
8249 * check/gst/gstobject.c: (GST_START_TEST):
8250 * check/gst/gstpad.c: (GST_START_TEST):
8251 * check/gst/gststructure.c: (GST_START_TEST):
8252 * check/gst/gstsystemclock.c: (GST_START_TEST),
8253 (gst_systemclock_suite):
8254 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8255 * check/gst/gstvalue.c: (GST_START_TEST):
8256 * check/pipelines/cleanup.c: (GST_START_TEST):
8257 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8258 * check/states/sinks.c: (GST_START_TEST):
8259 * check/gstcheck.c: (gst_check_init):
8261 add debugging category
8262 use GST_START_TEST now, so we add a debug line
8264 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8266 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8267 add test for state change message on a bin
8268 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8270 * gst/gstbin.c: (gst_bin_init):
8271 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8272 * gst/gstelement.c: (gst_element_post_message),
8273 (gst_element_set_state):
8274 * gst/gstelementfactory.c: (gst_element_factory_create):
8275 * gst/gstmessage.c: (gst_message_new):
8276 * gst/gstscheduler.c:
8277 various debugging additions and cleanups
8279 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8281 * check/Makefile.am:
8282 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8284 adding tests for elements
8285 * gst/gstelement.c: (gst_element_dispose):
8287 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8289 * gst/registries/gstlibxmlregistry.c: (load_feature):
8290 plug more leaks. A simple gst_init() now is leakfree, yay.
8292 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8294 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8295 (gst_xml_registry_load):
8296 plug another memleak
8298 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8301 use GST_SET_ERROR_CFLAGS
8303 change to ERROR_CFLAGS
8305 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8308 make GST_ERROR_CFLAGS overridable and re-enable Werror
8310 add a note about error CFLAGS
8311 * docs/gst/tmpl/gstfakesrc.sgml:
8312 * gst/elements/gstfakesrc.c:
8313 comment out some unused code
8314 * gst/gst.c: (split_and_iterate):
8315 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8319 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8321 * common/Makefile.am:
8322 * common/gtk-doc.mak:
8323 * docs/gst/Makefile.am:
8324 factor out gtk-doc.mak
8326 2005-07-07 Wim Taymans <wim@fluendo.com>
8328 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8329 (gst_thread_scheduler_dispose):
8330 Unlock the STREAM_LOCK completely.
8332 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8334 * check/Makefile.am:
8335 * check/elements/.cvsignore:
8336 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8337 (START_TEST), (fakesrc_suite), (main):
8338 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8339 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8340 (gst_fakesrc_create), (gst_fakesrc_start):
8341 * gst/elements/gstfakesrc.h:
8342 adding a first element test
8344 2005-07-07 Andy Wingo <wingo@pobox.com>
8346 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8349 2005-07-07 Wim Taymans <wim@fluendo.com>
8355 2005-07-07 Wim Taymans <wim@fluendo.com>
8357 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8358 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8359 Allow subclasses to implement their own negotiation.
8361 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8363 * docs/design/part-gstbin.txt:
8364 * docs/design/part-gstpipeline.txt:
8365 Update design notes to reflect the movement of
8366 responsibility for bus handling from GstPipeline to
8369 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8372 Remove unnecessary queue2/3/4 examples.
8374 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8376 * examples/Makefile.am:
8377 * examples/helloworld/helloworld.c: (event_loop), (main):
8378 * examples/queue/queue.c: (event_loop), (main):
8379 * examples/queue2/queue2.c: (main):
8380 Update a couple of the examples to work again.
8382 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8383 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8384 Spelling corrections and extra debug.
8386 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8387 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8388 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8390 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8391 (gst_pipeline_change_state):
8392 * gst/gstpipeline.h:
8393 Move the bus handler for children to the GstBin, and create a
8394 separate bus for receiving messages from children to the one the
8395 bus sends 'upwards' on.
8397 2005-07-06 Wim Taymans <wim@fluendo.com>
8400 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8401 (gst_base_sink_handle_object), (gst_base_sink_loop),
8402 (gst_base_sink_change_state):
8403 * gst/base/gstbasesink.h:
8404 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8405 (gst_base_src_init), (gst_base_src_setcaps),
8406 (gst_base_src_getcaps), (gst_base_src_loop),
8407 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8408 (gst_base_src_start), (gst_base_src_change_state):
8409 * gst/base/gstbasesrc.h:
8410 Make basesrc negotiate.
8411 Handle the case where preroll fails in basesink.
8414 2005-07-06 Wim Taymans <wim@fluendo.com>
8416 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8417 Implement the fixate function.
8418 Clean up acceptcaps.
8420 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8422 * docs/pwg/building-filterfactory.xml:
8424 Remove never-written filter-factory chapter; I'll add the various
8425 base classes to part 4 ("other element types") later on.
8427 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8429 * docs/pwg/advanced-negotiation.xml:
8430 * docs/pwg/building-boiler.xml:
8431 * docs/pwg/building-pads.xml:
8433 * examples/pwg/Makefile.am:
8434 Add a chapter on caps negotiation, simplify the original code
8435 samples a bit w.r.t. caps negotiation, add link to the advanced
8436 section. Add a bunch of examples showing different use cases of
8437 different types of caps negotiation. Upstream renegotiation isn't
8438 fully documented yet since nobody knows how that works.
8440 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8442 * check/gst/gstpad.c:
8444 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8445 if pad has no parent, return NULL as list of internal links
8447 2005-07-05 Andy Wingo <wingo@pobox.com>
8449 * gst/elements/gstfilesrc.c:
8450 * gst/elements/gstfakesrc.c:
8451 * gst/base/gstpushsrc.c:
8452 * gst/base/gstbasesrc.h:
8453 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8455 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8458 better report generation target (lcov needs a patch)
8460 2005-07-05 Andy Wingo <wingo@pobox.com>
8462 * gst/elements, testsuite: Null if we got it...
8464 2005-07-05 Wim Taymans <wim@fluendo.com>
8467 * libs/gst/dataprotocol/Makefile.am:
8468 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8469 * libs/gst/dataprotocol/dataprotocol.h:
8470 * pkgconfig/Makefile.am:
8471 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8472 * pkgconfig/gstreamer-dataprotocol.pc.in:
8473 Ported dataprotol to 0.9.
8474 Added pkgconfig files.
8476 2005-07-05 Andy Wingo <wingo@pobox.com>
8478 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8479 Default to returning TRUE for the case when tranform_caps returns
8480 a fixed caps, like for identity or volume.
8482 * check/gst/gstbus.c (pound_bus_with_messages):
8483 * check/gst/gstmessage.c (START_TEST):
8484 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8487 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8488 logic weaks here: always run transform_caps, trying passthrough
8489 operation only if the original caps intersects with the transform.
8491 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8492 source and sink caps.
8494 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8495 Intersect the peer caps with the pad template before going into
8497 (gst_base_transform_transform_caps): More debugging.
8499 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8502 2005-07-04 Edward Hervey <edward@fluendo.com>
8506 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8509 2005-07-04 Andy Wingo <wingo@pobox.com>
8511 * check/gst/gstpad.c: Only set explicit caps on pads.
8513 2005-07-01 Andy Wingo <wingo@pobox.com>
8515 * tests/network-clock.scm: Commentary update.
8517 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8518 Didn't really make sense, not implementable with basetransform,
8520 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8521 attempt at implementing the sync property, needs an unlock method.
8523 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8524 New func, by default returns the same caps (the identity
8526 (gst_base_transform_getcaps): Uses transform_caps to return
8528 (gst_base_transform_setcaps): Complicated logic to get caps on
8529 both pads, even if they are different, and to call set_caps once
8530 for every time both pads get their caps set.
8531 (gst_base_transform_handle_buffer): Give the ref to the transform
8532 function. Allows in-place modification of the buffer.
8534 * gst/base/gstbasetransform.h (transform_caps): New class method.
8535 Given caps on one side, what can I do on the other.
8536 (set_caps): Take two caps, one for each side of the element.
8539 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8540 caps in place. This is safe because we can check the mutability of
8541 the caps, and a good idea because fixate functions are just called
8542 as a matter of last resort. (Not actually implemented.)
8543 (gst_pad_set_caps): If the caps we're setting is actually the same
8544 as the existing pad caps, just update the pointer without calling
8545 setcaps. Assert that caps is either NULL or fixed, as per the
8548 * gst/gstghostpad.c: Update for fixate changes.
8550 2005-07-02 Andy Wingo <wingo@pobox.com>
8553 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8554 two refcounts makes it immutable, which is enough. Doc more.
8556 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8558 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8559 Put the mini_object into GValue as a mini_object,
8560 not a gpointer, since that's how we declared
8563 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8565 * examples/pwg/Makefile.am:
8568 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8570 * docs/pwg/building-testapp.xml:
8572 * examples/pwg/Makefile.am:
8575 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8578 * examples/Makefile.am:
8579 * examples/pwg/Makefile.am:
8580 * examples/pwg/extract.pl:
8581 Enable building the PWG examples.
8582 * docs/pwg/advanced-interfaces.xml:
8583 Add URI interface stub.
8584 * docs/pwg/advanced-types.xml:
8585 * docs/pwg/other-autoplugger.xml:
8586 * docs/pwg/appendix-porting.xml:
8588 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8589 * docs/pwg/building-boiler.xml:
8590 * docs/pwg/building-chainfn.xml:
8591 * docs/pwg/building-pads.xml:
8592 * docs/pwg/building-props.xml:
8593 * docs/pwg/building-state.xml:
8594 * docs/pwg/building-testapp.xml:
8595 Update the building-*.xml parts for 0.9 changes. All examples
8596 code blocks compile in examples/pwg/*.
8598 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8600 * docs/manual/advanced-autoplugging.xml:
8601 * docs/manual/appendix-checklist.xml:
8602 * docs/manual/appendix-integration.xml:
8603 * docs/manual/highlevel-components.xml:
8604 Fix playbin/decodebin examples, update docs a bit, mention bus
8605 instead of signals in various places, mention kmplayer and
8606 kaffeine since they have a working GStreamer backend in the KDE
8609 2005-06-30 Wim Taymans <wim@fluendo.com>
8612 * docs/design/draft-ghostpads.txt:
8613 * docs/design/draft-push-pull.txt:
8614 * docs/design/draft-query.txt:
8615 * docs/design/part-TODO.txt:
8616 * docs/design/part-query.txt:
8617 Added CHANGES-0.9 doc, updated status of other docs.
8622 2005-06-30 Wim Taymans <wim@fluendo.com>
8624 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8625 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8626 (gst_base_sink_change_state):
8627 * gst/base/gstbasesink.h:
8628 Some tweaks, only EOS and a buffer complete a preroll.
8630 2005-06-30 Andy Wingo <wingo@pobox.com>
8632 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8633 activate_push down to the internal pad as well.
8635 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
8637 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8639 * gst/gsttaginterface.c:
8640 Some documentation fixes (#307394 and #307397).
8642 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
8644 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8646 * gst/gstvalue.c: (gst_value_intersect_list):
8647 Fix memleak (#309125).
8649 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8651 * docs/manual/advanced-dataaccess.xml:
8652 Fix fakesrc example to compile; doesn't work, bug somewhere...?
8653 * docs/manual/basics-pads.xml:
8654 Add reference for filtered caps to above chapter.
8656 2005-06-30 Wim Taymans <wim@fluendo.com>
8658 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8659 (gst_bin_change_state):
8661 Lame attempt at making the state change function a bit
8664 2005-06-30 Wim Taymans <wim@fluendo.com>
8666 * docs/design/part-clocks.txt:
8667 * docs/design/part-element-sink.txt:
8668 * docs/design/part-events.txt:
8669 * docs/design/part-preroll.txt:
8670 * docs/design/part-states.txt:
8671 Some more tweeks and additions to the docs.
8673 2005-06-30 Wim Taymans <wim@fluendo.com>
8675 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8676 (default_have_data), (gst_pad_class_init), (gst_pad_init),
8677 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8678 (gst_pad_check_pull_range), (gst_pad_get_range),
8679 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8681 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8682 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8683 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8684 (gst_pad_remove_buffer_probe):
8685 Removed atomic operations, use existing LOCK.
8686 Move exception handling out of main code path.
8688 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8690 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8691 (silly_return_true_function), (gst_pad_class_init),
8692 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8693 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8694 (gst_pad_send_event):
8695 Fix accumulator, add default value by using _emitv() instead
8696 of _emit() for signal emission.
8698 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8700 * docs/manual/advanced-dataaccess.xml:
8701 * examples/manual/Makefile.am:
8703 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8706 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
8708 * gst/elements/gstfilesink.c: (gst_filesink_render):
8709 Simplify code so that we don't have to handle short
8710 writes and return GST_FLOW_ERROR if an error occured.
8712 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8714 * docs/gst/gstreamer-docs.sgml:
8717 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8719 * docs/gst/gstreamer-sections.txt:
8720 * docs/gst/tmpl/gstpad.sgml:
8721 * docs/gst/tmpl/gstprobe.sgml:
8723 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8724 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8725 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8726 (gst_pad_push_event), (gst_pad_send_event):
8728 * gst/gstutils.c: (gst_pad_add_data_probe),
8729 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8730 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8731 (gst_pad_remove_buffer_probe):
8733 Remove old probes, add new g-signal-based probes and some utility
8736 2005-06-29 Edward Hervey <edward@fluendo.com>
8738 * gst/gstelementfactory.c:
8741 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8742 the definition to the header file.
8744 2005-06-29 Andy Wingo <wingo@pobox.com>
8746 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8747 plugins from the source directory.
8749 2005-06-29 Wim Taymans <wim@fluendo.com>
8751 * docs/gst/tmpl/gstbuffer.sgml:
8752 * docs/gst/tmpl/gstclock.sgml:
8753 Some fixings for blantently wrong text.
8755 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8757 * check/Makefile.am:
8758 * gst/gst.c: (add_path_func), (init_pre):
8759 * gst/gstregistry.c: (gst_registry_add_path):
8760 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8761 only scan the GST_PLUGIN_PATH locations, and not add
8764 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8766 * docs/gst/gstreamer-sections.txt:
8767 * docs/gst/tmpl/gstbasesrc.sgml:
8774 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8776 * docs/manual/advanced-autoplugging.xml:
8777 Fix autoplugging example.
8779 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8781 * docs/manual/advanced-autoplugging.xml:
8782 * docs/manual/mime-world.fig:
8783 Try to get autoplugging working, fix type detection. Fix text
8784 in hello-world image.
8786 2005-06-29 Wim Taymans <wim@fluendo.com>
8788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8789 (gst_base_sink_change_state):
8793 map SIGNAL and BROADCAST to the right function.
8796 Remove redundant braces.
8798 * gst/gstpad.c: (gst_pad_set_caps):
8799 Don't call setcaps function when reseting caps to NULL.
8801 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8802 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8803 (gst_system_clock_id_unschedule):
8804 Use BROADCAST as this is what we do.
8806 2005-06-29 Wim Taymans <wim@fluendo.com>
8808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8809 We are actually prerolling before commiting the state
8812 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8814 * docs/manual/advanced-clocks.xml:
8815 * docs/manual/advanced-interfaces.xml:
8816 * docs/manual/advanced-metadata.xml:
8817 * docs/manual/advanced-position.xml:
8818 * docs/manual/advanced-schedulers.xml:
8819 * docs/manual/advanced-threads.xml:
8820 * docs/manual/appendix-porting.xml:
8821 * docs/manual/basics-bins.xml:
8822 * docs/manual/basics-bus.xml:
8823 * docs/manual/basics-elements.xml:
8824 * docs/manual/basics-helloworld.xml:
8825 * docs/manual/basics-pads.xml:
8826 * docs/manual/highlevel-components.xml:
8827 * docs/manual/manual.xml:
8828 * docs/manual/thread.fig:
8829 Update (until threads/scheduling) Application Development Manual;
8830 remove GstThread, add GstBus, add simple porting checklist, add
8831 documentation for tag writing, clocks, make all examples until this
8832 part compile and run.
8833 * examples/manual/Makefile.am:
8834 Update from changes to Application Development Manual; add bus
8835 example, remove thread example.
8837 2005-06-28 Wim Taymans <wim@fluendo.com>
8839 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8840 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8841 (gst_bus_source_dispatch):
8842 Add debugging messages.
8843 Make internal methods static.
8844 Handle the case where the bus is flushed in the handler.
8846 * gst/gstelement.c: (gst_element_get_bus):
8847 Fix refcount in _get_bus();
8849 * gst/gstpipeline.c: (gst_pipeline_change_state),
8850 (gst_pipeline_get_clock_func):
8851 Clock refcounting fixes.
8852 Handle the case where preroll timed out more gracefully.
8854 * gst/gstsystemclock.c: (gst_system_clock_dispose):
8855 Clean up the internal thread in dispose. This is needed
8856 for subclasses that actually get disposed.
8858 * gst/schedulers/threadscheduler.c:
8859 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8860 (gst_thread_scheduler_dispose):
8861 Free thread pool in dispose.
8863 2005-06-28 Andy Wingo <wingo@pobox.com>
8865 * tests/network-clock-utils.scm (debug, print-event): New utils.
8867 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8868 (*packet-loss*): Unified loss probability.
8869 (network-time): Report out-of-band events.
8871 * tests/plot-data: Add support for out-of-band events. Hack it
8872 into this script instead of passing it down the pipe; should fix
8875 2005-06-28 Wim Taymans <wim@fluendo.com>
8877 * docs/gst/gstreamer.types:
8878 * docs/gst/tmpl/gstbasesrc.sgml:
8879 * docs/gst/tmpl/gstpad.sgml:
8882 2005-06-28 Wim Taymans <wim@fluendo.com>
8884 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8885 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8886 (gst_proxy_pad_do_fixatecaps):
8887 Correctly proxy the check_pull_range function.
8889 2005-06-28 Andy Wingo <wingo@pobox.com>
8891 * tests/network-clock.scm: Removed need for slib.
8893 2005-06-28 Wim Taymans <wim@fluendo.com>
8895 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8896 (gst_basesink_preroll_queue_flush):
8897 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8898 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8899 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8900 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8901 (gst_proxy_pad_set_property):
8904 * gst/gstqueue.c: (gst_queue_init):
8905 The deprecated pad loop function is removed now.
8907 2005-06-28 Andy Wingo <wingo@pobox.com>
8909 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8910 New parameters, simulate network packet loss.
8912 * tests/network-clock-utils.scm: Initialize the RNG.
8914 2005-06-28 Wim Taymans <wim@fluendo.com>
8916 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8917 (gst_basesink_event), (gst_basesink_deactivate):
8918 Flushing the preroll queue always needs to unlock the waiters.
8920 2005-06-28 Edward Hervey <edward@fluendo.com>
8922 * gst/gstpipeline.c: (gst_pipeline_send_event):
8923 Wheen a seek was successful on a pipeline, set the stream_time to the
8924 seek offset in order to have a synchronized stream_time.
8926 2005-06-28 Wim Taymans <wim@fluendo.com>
8928 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8929 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8930 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8931 (gst_proxy_pad_do_fixatecaps):
8932 Call wrapper function instead of just calling the function
8933 pointers. This takes care of any locking and whatmore.
8935 2005-06-28 Wim Taymans <wim@fluendo.com>
8937 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8938 (gst_pad_pull_range):
8940 CONNECTED -> LINKED.
8942 2005-06-28 Andy Wingo <wingo@pobox.com>
8944 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8945 source-munging commit!!!
8947 * gst/gstobject.c (gst_object_unref, gst_object_ref)
8948 (gst_object_sink): Take gpointer arguments, not GstObject --
8949 avoids casts. Like GLib.
8951 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8954 2005-06-27 Andy Wingo <wingo@pobox.com>
8956 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8959 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8960 returns a sorted copy of the trace list.
8961 (gst_alloc_trace_print_live): New API, only prints traces with
8962 live objects. Sort the list.
8963 (gst_alloc_trace_print_all): Sort the list.
8964 (gst_alloc_trace_print): Align columns.
8966 * gst/elements/gstttypefindelement.c:
8967 * gst/elements/gsttee.c:
8968 * gst/base/gstbasesrc.c:
8969 * gst/base/gstbasesink.c:
8970 * gst/base/gstbasetransform.c:
8971 * gst/gstqueue.c: Adapt for pad activation changes.
8973 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8975 (gst_pipeline_dispose): Drop ref on sched.
8977 * gst/gstpad.c (gst_pad_init): Set the default activate func.
8978 (gst_pad_activate_default): Push mode by default.
8979 (pre_activate_switch, post_activate_switch): New stubs, things to
8980 do before and after switching activation modes on pads.
8981 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8982 the pad's activate function to choose which mode to activate.
8983 Shortcut on deactivation and call the right function directly.
8984 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8986 (gst_pad_activate_push): New API, same for push mode.
8987 (gst_pad_set_activate_function)
8988 (gst_pad_set_activatepull_function)
8989 (gst_pad_set_activatepush_function): Setters for new API.
8991 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8992 Trace all miniobjects.
8993 (gst_mini_object_make_writable): Unref the arg if we copy, like
8994 gst_caps_make_writable.
8996 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8998 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8999 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9000 Adapt for new pad API.
9002 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9005 * gst/gstelement.c (gst_element_iterate_src_pads)
9006 (gst_element_iterate_sink_pads): New API functions.
9008 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9009 should fold into gstiterator.c in some form.
9010 (gst_element_pads_activate): Simplified via use of fold and
9011 delegation of decisions to gstpad->activate.
9013 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9016 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9017 class once in init, like gstmessage. Didn't run into this issue
9018 but it seems correct. Don't initialize a trace, gstminiobject does
9021 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9022 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9024 (assert_live_count): New util function, uses alloc traces to check
9027 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9028 To be modified when unlink drops the internal pad.
9030 2005-06-27 Wim Taymans <wim@fluendo.com>
9032 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9033 (gst_bin_change_state):
9034 Cleanup the get_state() function a little, make sure it
9035 iterates the same set of elements.
9036 Added stub iterate_state_order().
9038 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9040 * docs/gst/gstreamer-docs.sgml:
9041 * docs/gst/gstreamer-sections.txt:
9042 * docs/gst/gstreamer.types:
9043 * docs/gst/tmpl/gstbasesink.sgml:
9044 * docs/gst/tmpl/gstbasesrc.sgml:
9045 * docs/gst/tmpl/gstbasetransform.sgml:
9046 * docs/gst/tmpl/gstelement.sgml:
9047 * docs/gst/tmpl/gstiterator.sgml:
9048 * gst/base/gstbasesrc.c:
9049 * gst/base/gstbasesrc.h:
9050 * gst/base/gstbasetransform.h:
9052 * gst/gstiterator.h:
9053 adding basetransform and iterator docs
9055 2005-06-27 Andy Wingo <wingo@pobox.com>
9057 * docs/design/part-activation.txt: Notes on how activation should
9058 work -- not quite implemented yet.
9060 2005-06-25 Wim Taymans <wim@fluendo.com>
9062 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9063 At least get the chain function correct, needs more
9066 2005-06-25 Wim Taymans <wim@fluendo.com>
9068 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9069 (gst_basesink_handle_object), (gst_basesink_event),
9070 (gst_basesink_do_sync), (gst_basesink_handle_event),
9071 (gst_basesink_change_state):
9073 Right, two problems here: ghostpads don't take locks and
9074 glib _rec_mutex_lock_full() with depth==0 still locks.
9075 Catch illegal locking and g_warn them.
9077 2005-06-25 Wim Taymans <wim@fluendo.com>
9079 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9080 Have to check for completion now...
9082 2005-06-25 Wim Taymans <wim@fluendo.com>
9084 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9085 (gst_basesink_handle_object), (gst_basesink_event),
9086 (gst_basesink_do_sync), (gst_basesink_handle_event),
9087 (gst_basesink_change_state):
9089 Unlock STREAM_LOCK whatever the recursion was.
9091 2005-06-25 Wim Taymans <wim@fluendo.com>
9093 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9094 (gst_basesink_preroll_queue_empty),
9095 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9096 (gst_basesink_event), (gst_basesink_do_sync),
9097 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9098 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9099 (gst_basesink_change_state):
9100 Reworked the base sink, handle event and buffer serialisation
9101 correctly and removed possible deadlock.
9102 Handle EOS correctly.
9104 2005-06-25 Wim Taymans <wim@fluendo.com>
9106 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9107 (gst_pipeline_change_state):
9108 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9109 Allow elements to post EOS in the state change function.
9110 Fix up -launch, make it exit the poll loop when the
9111 pipeline actually changed state.
9112 Fix up warning parsing in -launch.
9114 2005-06-25 Wim Taymans <wim@fluendo.com>
9116 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9117 (gst_tee_sink_activate):
9118 Core takes STREAM_LOCK for us now.
9120 2005-06-25 Wim Taymans <wim@fluendo.com>
9122 * gst/gstelement.c: (gst_element_get_state_func),
9123 (gst_element_set_state):
9125 * gst/gstmessage.c: (gst_message_parse_error),
9126 (gst_message_parse_warning):
9127 Keep track of current target state while performing a state
9128 change so that subclasses can do something interesting.
9129 Fix parsing of warning/error messages when GError is NULL.
9131 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9133 * docs/gst/Makefile.am:
9134 * docs/gst/gstreamer-docs.sgml:
9135 * docs/gst/gstreamer-sections.txt:
9136 * docs/gst/gstreamer.types:
9137 * docs/gst/tmpl/gstbasesink.sgml:
9138 * docs/gst/tmpl/gstbasesrc.sgml:
9139 * docs/gst/tmpl/gstbin.sgml:
9140 * docs/gst/tmpl/gstcompat.sgml:
9141 * docs/gst/tmpl/gstfakesink.sgml:
9142 * docs/gst/tmpl/gstfakesrc.sgml:
9143 * docs/gst/tmpl/gstfilesink.sgml:
9144 * docs/gst/tmpl/gstfilesrc.sgml:
9145 * docs/gst/tmpl/gstindex.sgml:
9146 * docs/manual/appendix-quotes.xml:
9147 * gst/base/gstbasesrc.h:
9148 * gst/elements/gstfakesrc.h:
9150 start pulling in base classes and elements in our docs
9152 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9154 * docs/gst/Makefile.am:
9155 * docs/libs/Makefile.am:
9156 fixed make distcheck with gtk-doc 1.3
9158 2005-06-23 Wim Taymans <wim@fluendo.com>
9160 * gst/gstelement.c: (gst_element_get_state_func),
9161 (gst_element_set_state), (gst_element_change_state):
9162 When the state did not change, also report NO_PREROLL
9165 2005-06-23 Wim Taymans <wim@fluendo.com>
9167 * gst/gstpad.c: (gst_pad_event_default):
9168 * gst/gstqueue.c: (gst_queue_loop):
9169 No unsafe task pausing please.
9171 2005-06-23 Wim Taymans <wim@fluendo.com>
9173 * gst/schedulers/threadscheduler.c:
9174 (gst_thread_scheduler_task_start),
9175 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9176 Ref the task before pushing it on the threadpool. This
9177 makes sure that we have a ref when the threadfunction is
9180 2005-06-23 Andy Wingo <wingo@pobox.com>
9182 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9183 offset is greater than the file's size.
9185 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9186 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9187 * gst/gstobject.c (gst_object_class_init): Make the class lock
9188 recursive. Wim won't let me drop deep_notify. Decodebin works
9191 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9192 internal pad, and hacks accordingly. Doesn't do it on the target
9193 pad because we change its caps. Probably catches all cases of
9195 (gst_ghost_pad_set_property): Connect to notify::caps as
9198 * tests/network-clock.scm (plot-simulation): Pipe data to the
9199 elite python skript.
9201 * tests/network-clock-utils.scm (define-parameter): New macro,
9202 defines a parameter that can be set via the command line.
9203 (set-parameter!, parse-parameter-arguments): Command line args
9206 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9209 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9211 * gst/elements/gsttypefindelement.c:
9212 (gst_type_find_element_handle_event):
9213 Don't restart typefinding on a discont.
9214 * gst/gstelement.c: (gst_element_set_state):
9216 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9217 Allow changing mode of an active pad.
9219 * gst/registries/gstlibxmlregistry.c: (load_feature):
9220 Don't cast a static pad template to a normal pad template.
9222 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9224 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9225 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9226 remove gst_strtoll completely, since it didn't actually do
9227 anything more than what g_ascii_strtoull already does.
9228 check for range errors when deserializing
9229 do a cast for the unsigned cases; but further fixing needs
9230 a decision on what the interpretation of "(int)" and
9231 deserialization should be for values that fall outside the
9232 type's boundaries (ie, refuse, or interpret as casting)
9234 2005-06-23 Wim Taymans <wim@fluendo.com>
9236 * check/Makefile.am:
9237 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9238 * docs/design/part-live-source.txt:
9239 * docs/design/part-states.txt:
9240 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9241 (gst_basesrc_set_live), (gst_basesrc_is_live),
9242 (gst_basesrc_get_range), (gst_basesrc_activate),
9243 (gst_basesrc_change_state):
9244 * gst/base/gstbasesrc.h:
9245 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9246 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9247 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9248 * gst/gstelement.c: (gst_element_get_state_func),
9249 (gst_element_set_state):
9252 * tools/gst-launch.c: (event_loop), (main):
9253 Added support for live sources and other elements that
9255 Updated design docs, added live-source design doc.
9256 Implemented live source functionality in basesrc
9257 Fix error condition in _bin_get_state()
9258 Implement live source handling in -launch.
9259 Added check for live sources.
9260 Fixed case in GstBin where elements were changed state
9264 2005-06-23 Andy Wingo <wingo@pobox.com>
9266 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9269 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9270 gst_caps_replace takes care of this for us.
9272 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9273 gst_pad_set_caps on the target, not just its setcaps() function.
9275 * tests/network-clock.scm:
9276 * tests/network-clock-utils.scm: A network clock simulator.
9277 Something of an algorithmic testbed before doing something in C.
9279 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9281 * check/Makefile.am:
9282 * check/gst/capslist.h:
9283 copy over from 0.8, and add two with bitmasks specified with
9285 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9286 add test to parse everything from capslist.h
9287 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9289 add test for structure deserialization
9290 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9291 add tests for deserialization of strings to int types
9292 * gst/gststructure.c: (gst_structure_nth_field_name):
9293 * gst/gststructure.h:
9294 add a way to get the name of a field referenced by index
9295 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9296 instead of checking if the resulting long long lies between
9297 min and max, we check if the long long would fit into
9298 a number of bytes for the final type.
9299 This fixes cases where a string represents 2^32 - 1, which
9300 when cast to int would be the (valid) -1, but is bigger than
9303 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9305 * gst/parse/grammar.y:
9306 add a log line for type deserialization
9308 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9310 * check/gst/gstvalue.c: (START_TEST):
9311 * gst/gstvalue.c: (gst_value_deserialize):
9312 return long long, not int, so gint64 deserialization actually
9313 works. Is there any flag that makes the compiler check this ?
9316 2005-06-22 Wim Taymans <wim@fluendo.com>
9319 Added convenience macros for setting buffers in GValue.
9321 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9323 * check/gst/.cvsignore:
9324 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9325 add a test deserializing int64, and comment part out because
9328 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9330 * check/Makefile.am:
9331 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9332 * testsuite/Makefile.am:
9333 * testsuite/caps/Makefile.am:
9334 * testsuite/caps/value_serialize.c:
9335 * testsuite/test_gst_init.c:
9336 move a value_serialize test over
9338 2005-06-20 Wim Taymans <wim@fluendo.com>
9343 * gst/gstvalue.c: (gst_value_compare_buffer),
9344 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9345 (gst_value_compare_flags), (gst_value_serialize_flags),
9346 (gst_value_deserialize_flags), (_gst_value_initialize):
9347 Fix serialisation of buffers, they are not boxed types anymore
9349 2005-06-20 Wim Taymans <wim@fluendo.com>
9351 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9352 Testcase to show error in buffer-on-caps serialisation.
9354 2005-06-20 Andy Wingo <wingo@pobox.com>
9356 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9357 will be adding to later.
9359 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9360 if its socks fill with rocks.
9361 (gst_system_clock_obtain): Set the name on object construction.
9362 Avoid double-checked locking.
9364 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9366 * gst/gsturi.c: (gst_element_make_from_uri):
9367 Fix potential endless loop.
9369 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9371 * check/Makefile.am:
9373 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9375 move over from testsuite dir and clean up
9378 * testsuite/Makefile.am:
9379 * testsuite/tags/.cvsignore:
9380 * testsuite/tags/Makefile.am:
9381 * testsuite/tags/merge.c:
9382 remove testsuite/tags
9384 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9386 * docs/gst/gstreamer-sections.txt:
9387 * docs/gst/tmpl/gstenumtypes.sgml:
9388 * win32/gstenumtypes.c:
9389 clean up documentation build a little
9391 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9394 add macros for checking refcounts on objects and caps
9395 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9396 add some more unit tests
9397 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9398 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9399 fix leaked refcounts (I hope :)) so unittest works
9403 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9405 * configure.ac: back to HEAD
9407 === release 0.9.1 ===
9409 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9415 2005-06-17 Andy Wingo <wingo@pobox.com>
9417 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9418 assert; it's always possible that the pad gets deactivated in
9419 between the checks in gstpad.c and the implementation. Rely on
9420 finish_preroll() to return a FLUSHING or similar instead of on the
9423 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9424 clock and post an EOS message if we come out of finish_preroll in
9427 2005-06-16 David Schleef <ds@schleef.org>
9429 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9430 (gst_capsfilter_set_property): Allow NULL as possible value
9431 for filter_caps property, indicating GST_CAPS_ANY.
9433 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9435 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9437 * gst/schedulers/Makefile.am:
9439 * gstreamer.spec.in:
9442 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9444 * gstreamer.spec.in:
9447 2005-06-08 Andy Wingo <wingo@pobox.com>
9449 * gst/gstutils.c: RPAD fixes all around.
9450 (gst_element_link_pads): Refcounting fixes.
9452 * tools/gst-inspect.c:
9453 * tools/gst-xmlinspect.c:
9455 * gst/base/gsttypefindhelper.c:
9456 * gst/base/gstbasesink.c:
9457 * gst/gstqueue.c: RPAD fixes.
9459 * gst/gstghostpad.h:
9460 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9461 pads. The tricky thing is they provide both source and sink
9462 interfaces, since they proxy the internal pad for the external
9463 pad, and vice versa. Implement with lower-level ProxyPad objects,
9464 with the interior proxy pad as a child of the exterior ghost pad.
9465 Should write a doc on this.
9467 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9468 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9471 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9472 pads are real pads. No ghost pads in this file. Not documenting
9473 the myriad s/RPAD/PAD/ and REALIZE fixes.
9474 (gst_pad_class_init): Add properties for "direction" and
9475 "template". Both are construct-only, so they can't change during
9476 the life of the pad. Fixes properly deriving from GstPad.
9477 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9478 derived objects, just set properties when creating the objects via
9480 (gst_pad_get_parent): Implement as a function, return NULL if the
9481 parent is not an element.
9482 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9483 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9485 * gst/gstobject.c (gst_object_class_init): Make name a construct
9486 property. Don't set it in the object init.
9488 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9489 with UNKNOWN direction.
9490 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9491 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9492 (gst_element_remove_pad): Remove ghost-pad special cases.
9493 (gst_element_pads_activate): Remove rpad cruft.
9495 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9496 catch the pad's-parent-not-an-element case.
9498 * gst/gst.h: Include gstghostpad.h.
9500 * gst/gst.c (init_post): No more real, ghost pads.
9502 * gst/Makefile.am: Add gstghostpad.[ch].
9504 * check/Makefile.am:
9505 * check/gst/gstbin.c:
9506 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9507 into a bin creates ghost pads, and that the refcounts are right.
9508 Partly moved from gstbin.c.
9510 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9512 * check/gst-libs/.cvsignore:
9513 * check/gst/.cvsignore:
9514 * check/pipelines/.cvsignore:
9516 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9517 (START_TEST), (cleanup_suite), (main):
9518 add some tests related to cleanup after running pipelines
9520 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9522 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9523 add a testsuite for GstBuffer
9525 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9527 * gst/gstminiobject.h:
9528 add defines for accessing the refcount
9530 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9532 * Makefile.am: added support for html unit test coverage reports
9534 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9536 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9537 Free existing caps if the capsfilter changes. Add a FIXME about
9538 setting those caps on the pads.
9540 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9541 Before adding a ghost pad to a parent bin, check that there isn't
9542 already one for the element on the bin. Prevents infinite recursion
9543 when using decodebin in parse pipelines. Andy says he'll rewrite the
9544 way this works anyway, so ignore the hack.
9546 2005-06-02 Andy Wingo <wingo@pobox.com>
9548 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9549 file size, pass it on to the type find helper.
9551 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9552 segment_start and segment_end properly according to the seek
9553 method. Segment_end is still a bit flaky because offset can be
9554 negative for CUR and END cases, but it takes -1 as an "unset"
9557 2005-06-02 Wim Taymans <wim@fluendo.com>
9559 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9560 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9561 (gst_basesink_activate):
9562 * gst/base/gstbasesink.h:
9563 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9564 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9565 (gst_pad_query), (gst_pad_start_task):
9567 * gst/gstqueue.c: (gst_queue_bufferalloc),
9568 (gst_queue_handle_sink_event), (gst_queue_chain):
9569 Bufferalloc: return GstFlowReturn to more accuratly report
9570 why allocation failed.
9572 2005-06-02 Wim Taymans <wim@fluendo.com>
9574 * gst/gstpipeline.c: (gst_pipeline_send_event):
9575 Take snapshot of state without blocking.
9577 2005-06-02 Wim Taymans <wim@fluendo.com>
9579 * docs/design/part-TODO.txt:
9580 * docs/design/part-caps.txt:
9581 * docs/design/part-clocks.txt:
9582 * docs/design/part-negotiation.txt:
9583 * docs/design/part-preroll.txt:
9586 2005-05-30 Wim Taymans <wim@fluendo.com>
9588 * gst/elements/gstidentity.c: (gst_identity_event),
9589 (gst_identity_transform), (gst_identity_get_property):
9590 Protect last_message property as it is accessed from
9593 2005-05-30 Wim Taymans <wim@fluendo.com>
9595 * gst/gstelement.c: (gst_element_init),
9596 (gst_element_pads_activate), (gst_element_change_state):
9597 Slicker pad activation code.
9599 2005-05-30 Wim Taymans <wim@fluendo.com>
9603 * gst/gstelementfactory.h:
9605 Move elementfactory methods to separate .h file.
9607 2005-05-30 Wim Taymans <wim@fluendo.com>
9609 * docs/design/part-overview.txt:
9610 * gst/gstsystemclock.h:
9611 Small typo fixes, doc updates.
9613 2005-05-30 Wim Taymans <wim@fluendo.com>
9615 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9616 (init_popt_callback):
9617 Remove cpu-opt flag.
9619 2005-05-30 Wim Taymans <wim@fluendo.com>
9621 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9622 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9624 Avoid typechecking in places where not needed.
9625 Added accessor for malloc_data.
9627 2005-05-30 Wim Taymans <wim@fluendo.com>
9629 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9630 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9631 (gst_pad_configure_sink), (gst_pad_configure_src),
9632 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9633 (gst_pad_start_task):
9634 Propagate errors from _set_caps() in configure_src/sink
9635 functions instead of returning TRUE.
9636 FLUSH events can travel up and downstream
9639 2005-05-30 Wim Taymans <wim@fluendo.com>
9641 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9642 (gst_basesink_activate):
9643 Handle EOS in preroll.
9645 2005-05-30 Wim Taymans <wim@fluendo.com>
9647 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9648 (gst_queue_loop), (gst_queue_handle_src_event):
9649 Remove old pieces of code
9650 Flushing the queue in an upstream event is a very bad idea.
9652 2005-05-26 Andy Wingo <wingo@pobox.com>
9654 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9655 gst_value_set_mini_object so as to add a ref on the object (which
9656 will be removed when the value is unset).
9658 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9659 arg type in ::handoff.
9661 * gst/gstelement.c (gst_element_change_state): Also deactivate
9662 pads in READY->NULL, just in case the element didn't make it to
9663 PAUSED. Wingo tested, Wim approved.
9665 2005-05-26 Wim Taymans <wim@fluendo.com>
9667 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9668 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9669 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9670 A flushing pad cannot be used to alloc_buffer from.
9672 2005-05-26 Wim Taymans <wim@fluendo.com>
9674 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9675 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9676 (gst_bus_source_dispatch), (gst_bus_source_finalize),
9677 (gst_bus_create_watch), (gst_bus_add_watch_full):
9679 Implement a real GSource and use g_main_context_wakeup() to
9680 signal new messages instead of the socketpair.
9682 2005-05-25 Wim Taymans <wim@fluendo.com>
9684 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9685 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9686 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9687 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9688 (gst_pad_send_event), (gst_pad_start_task):
9689 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9690 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9691 (gst_queue_sink_activate), (gst_queue_src_activate),
9692 (gst_queue_change_state):
9694 Fix state changes for non sinks. We now change sinks, then elements
9695 with unconnected srcpads, then the rest.
9696 More efficient queue unlocking in flush and state changes.
9697 Set the pad activate mode even if it does not have an activate
9700 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9702 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9703 Don't go in pull mode for non-seekable sources.
9704 * gst/elements/gsttypefindelement.h:
9705 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9706 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9707 (free_entry), (stop_typefinding),
9708 (gst_type_find_element_handle_event), (find_peek),
9709 (gst_type_find_element_chain), (do_pull_typefind),
9710 (gst_type_find_element_change_state):
9711 Allow typefinding (w/o seeking) in push-mode, simplified version
9713 * gst/gstutils.c: (gst_buffer_join):
9715 gst_buffer_join() from 0.8.
9717 2005-05-25 Wim Taymans <wim@fluendo.com>
9719 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9720 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9721 (gst_pad_send_event), (gst_pad_start_task):
9722 Disable attempt at mode switching until it is figured out.
9724 2005-05-25 Wim Taymans <wim@fluendo.com>
9726 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9727 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9728 (gst_basesink_finish_preroll), (gst_basesink_chain),
9729 (gst_basesink_loop), (gst_basesink_activate),
9730 (gst_basesink_change_state):
9731 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9732 (gst_basesrc_get_range), (gst_basesrc_loop),
9733 (gst_basesrc_activate):
9734 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9735 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9736 (gst_real_pad_init), (gst_real_pad_set_property),
9737 (gst_real_pad_get_property), (gst_pad_set_active),
9738 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9739 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9740 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9741 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9742 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9743 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9744 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9745 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9746 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9747 (gst_pad_stop_task):
9749 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9750 (gst_queue_loop), (gst_queue_src_activate):
9751 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9752 (gst_task_get_state):
9754 * gst/schedulers/threadscheduler.c:
9755 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9756 Implement gst_pad_pause/start/stop_task(), take STREAM lock
9758 Remove ACTIVE pad flag, use FLUSHING everywhere
9759 Added _pad_chain(), _pad_get_range() to call chain/getrange
9761 Add locks around IS_FLUSHING when reading.
9762 Take STREAM lock in chain(), get_range() functions so plugins
9763 don't need to take it anymore.
9767 2005-05-25 Wim Taymans <wim@fluendo.com>
9769 * tools/gst-launch.c: (event_loop):
9770 Unref message after using its contents instead of
9773 2005-05-24 Wim Taymans <wim@fluendo.com>
9775 * docs/design/draft-ghostpads.txt:
9776 * docs/design/draft-push-pull.txt:
9777 * docs/design/draft-query.txt:
9778 * docs/design/part-overview.txt:
9779 Docs updates, added general overview doc.
9781 2005-05-21 David Schleef <ds@schleef.org>
9783 * docs/gst/tmpl/old/GstBin.sgml:
9784 * docs/gst/tmpl/old/GstBuffer.sgml:
9785 * docs/gst/tmpl/old/GstCaps.sgml:
9786 * docs/gst/tmpl/old/GstClock.sgml:
9787 * docs/gst/tmpl/old/GstCompat.sgml:
9788 * docs/gst/tmpl/old/GstData.sgml:
9789 * docs/gst/tmpl/old/GstElement.sgml:
9790 * docs/gst/tmpl/old/GstEvent.sgml:
9791 * docs/gst/tmpl/old/GstIndex.sgml:
9792 * docs/gst/tmpl/old/GstStructure.sgml:
9793 * docs/gst/tmpl/old/GstTag.sgml:
9794 * docs/gst/tmpl/old/cothreads.sgml:
9795 * docs/gst/tmpl/old/cothreads_compat.sgml:
9796 * docs/gst/tmpl/old/gettext.sgml:
9797 * docs/gst/tmpl/old/gobject2gtk.sgml:
9798 * docs/gst/tmpl/old/grammar.tab.sgml:
9799 * docs/gst/tmpl/old/gst-i18n-app.sgml:
9800 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9801 * docs/gst/tmpl/old/gst_private.sgml:
9802 * docs/gst/tmpl/old/gstaggregator.sgml:
9803 * docs/gst/tmpl/old/gstarch.sgml:
9804 * docs/gst/tmpl/old/gstatomic_impl.sgml:
9805 * docs/gst/tmpl/old/gstbufferstore.sgml:
9806 * docs/gst/tmpl/old/gstdata_private.sgml:
9807 * docs/gst/tmpl/old/gstdisksink.sgml:
9808 * docs/gst/tmpl/old/gstdisksrc.sgml:
9809 * docs/gst/tmpl/old/gstelementfactory.sgml:
9810 * docs/gst/tmpl/old/gstextratypes.sgml:
9811 * docs/gst/tmpl/old/gstfakesink.sgml:
9812 * docs/gst/tmpl/old/gstfakesrc.sgml:
9813 * docs/gst/tmpl/old/gstfdsink.sgml:
9814 * docs/gst/tmpl/old/gstfdsrc.sgml:
9815 * docs/gst/tmpl/old/gstfilesink.sgml:
9816 * docs/gst/tmpl/old/gstfilesrc.sgml:
9817 * docs/gst/tmpl/old/gsthttpsrc.sgml:
9818 * docs/gst/tmpl/old/gstidentity.sgml:
9819 * docs/gst/tmpl/old/gstindexfactory.sgml:
9820 * docs/gst/tmpl/old/gstmarshal.sgml:
9821 * docs/gst/tmpl/old/gstmd5sink.sgml:
9822 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9823 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9824 * docs/gst/tmpl/old/gstpadtemplate.sgml:
9825 * docs/gst/tmpl/old/gstpipefilter.sgml:
9826 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9827 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9828 * docs/gst/tmpl/old/gstshaper.sgml:
9829 * docs/gst/tmpl/old/gstspider.sgml:
9830 * docs/gst/tmpl/old/gstspideridentity.sgml:
9831 * docs/gst/tmpl/old/gststatistics.sgml:
9832 * docs/gst/tmpl/old/gsttee.sgml:
9833 * docs/gst/tmpl/old/gsttimecache.sgml:
9834 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9835 * docs/gst/tmpl/old/gstxmlregistry.sgml:
9836 * docs/gst/tmpl/old/gthread-cothreads.sgml:
9837 * docs/gst/tmpl/old/types.sgml:
9838 I didn't intend to add these or check them in.
9840 2005-05-19 David Schleef <ds@schleef.org>
9842 * configure.ac: Use -no-common everywhere. In a sane world, it
9843 would be the default in libtool, because without it, you can't
9844 build DLLs on Windows.
9845 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9846 * docs/gst/gstreamer-sections.txt:
9847 * docs/gst/tmpl/gstcpu.sgml:
9848 * docs/gst/tmpl/gstdata.sgml:
9849 * docs/gst/tmpl/gstthread.sgml:
9851 2005-05-19 David Schleef <ds@schleef.org>
9853 * gst/gstminiobject.c: (gst_value_set_mini_object),
9854 (gst_value_take_mini_object), (gst_value_get_mini_object):
9855 * gst/gstminiobject.h: Add GValue set/get functions.
9857 2005-05-19 Wim Taymans <wim@fluendo.com>
9859 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9860 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9861 (gst_subbuffer_init), (gst_buffer_is_span_fast):
9863 * gst/gstbus.c: (gst_bus_post):
9864 * gst/gstelement.c: (gst_element_get_random_pad):
9865 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9866 Make subbufer unref the parent in finalize.
9867 some more debugging info.
9870 2005-05-19 Wim Taymans <wim@fluendo.com>
9872 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9873 (gst_basesink_init), (gst_basesink_finalize),
9874 (gst_basesink_activate), (gst_basesink_change_state):
9875 Don't free preroll queue too early.
9877 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9881 Hi, I'm outdated. Please shoot me.
9883 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9885 * gst/gstpipeline.c: (gst_pipeline_send_event):
9886 Do not access variables after they have been deleted.
9888 2005-05-19 Wim Taymans <wim@fluendo.com>
9890 * tools/gst-inspect.c: (print_plugin_features):
9891 A plugin feature does unfortunatly not use the
9894 2005-05-18 Wim Taymans <wim@fluendo.com>
9896 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9897 Port _span() functions to new subbuffers.
9899 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9901 * gst/gstbin.c: (gst_bin_add_func):
9902 Fix clock settery in bins when adding kids after the clock has
9905 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9907 * gst/elements/gstidentity.c: (gst_identity_class_init):
9908 Workaround until signals support GstMiniObject.
9910 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9913 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9915 2005-05-18 Wim Taymans <wim@fluendo.com>
9917 * gst/base/Makefile.am:
9918 * gst/base/gstadapter.c: (gst_adapter_base_init),
9919 (gst_adapter_class_init), (gst_adapter_init),
9920 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9921 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9922 (gst_adapter_flush), (gst_adapter_available),
9923 (gst_adapter_available_fast):
9924 * gst/base/gstadapter.h:
9925 Ported and added adapter to the base classes.
9927 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9931 Make sure the class is reffed/unreffed once before threads can be
9932 used. Fixes #304551.
9934 2005-05-17 Wim Taymans <wim@fluendo.com>
9936 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9937 (gst_basesink_chain_unlocked), (gst_basesink_activate):
9938 * gst/gstminiobject.c: (gst_mini_object_get_type),
9939 (gst_mini_object_free):
9940 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9941 (gst_pad_push), (gst_pad_push_event):
9942 * gst/gstqueue.c: (gst_queue_change_state):
9943 Don't queue buffers in basesink when we are flushing.
9944 Unref buffer when flushing in basesink.
9945 Flush queue when going to READY
9946 Unref buffer when _push() returns an error.
9947 Don't free MiniObject instance when refcount is incremented
9948 in _finalize() so that we can recover objects.
9950 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
9952 * docs/manual/advanced-schedulers.xml:
9953 * docs/manual/appendix-checklist.xml:
9954 * docs/pwg/advanced-clock.xml:
9955 * docs/pwg/advanced-interfaces.xml:
9956 * docs/pwg/advanced-request.xml:
9957 * docs/pwg/advanced-types.xml:
9958 * docs/pwg/intro-preface.xml:
9959 * examples/plugins/example.c: (gst_example_get_type),
9960 (gst_example_class_init), (gst_example_chain),
9961 (gst_example_set_property), (gst_example_get_property),
9962 (gst_example_change_state), (plugin_init):
9963 * examples/plugins/example.h:
9966 2005-05-17 Wim Taymans <wim@fluendo.com>
9968 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9969 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9970 * gst/gstqueue.c: (gst_queue_change_state):
9971 Clear queue when going to READY.
9972 Remove IN_SETCAPS flag too.
9974 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
9976 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9977 Remove implicit cast from gboolean to GstElementStateReturn;
9978 make sure we still return failure in paused => ready case if
9979 the parent class fails to change state and our own stop
9982 2005-05-17 Wim Taymans <wim@fluendo.com>
9984 * tools/gst-launch.c: (event_loop):
9985 Message was unreffed too soon.
9987 2005-05-16 Andy Wingo <wingo@pobox.com>
9989 * gst/gstbin.c (sink_iterator_filter): Err... um...
9991 * check/gst/gstbin.c (test_ghost_pads): New test for the
9992 ghosting-if-elements-not-in-same-bin behavior.
9994 2005-05-16 David Schleef <ds@schleef.org>
9996 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9997 accessing refcount directly.
9999 2005-05-15 David Schleef <ds@schleef.org>
10001 * check/Makefile.am: remove GstData checks
10002 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10003 * gst/Makefile.am: add miniobject, remove data
10004 * gst/gst.h: add miniobject, remove data
10005 * gst/gstdata.c: remove
10006 * gst/gstdata.h: remove
10007 * gst/gstdata_private.h: remove
10008 * gst/gsttypes.h: remove GstEvent and GstMessage
10009 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10010 * gst/gstmarshal.list: change BOXED -> OBJECT
10012 Implement GstMiniObject.
10013 * gst/gstminiobject.c:
10014 * gst/gstminiobject.h:
10016 Modify to be subclasses of GstMiniObject.
10017 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10018 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10019 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10020 (gst_subbuffer_get_type), (gst_subbuffer_init),
10021 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10024 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10025 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10026 (_gst_event_copy), (gst_event_new):
10028 * gst/gstmessage.c: (_gst_message_initialize),
10029 (gst_message_get_type), (gst_message_class_init),
10030 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10031 (gst_message_new), (gst_message_new_error),
10032 (gst_message_new_warning), (gst_message_new_tag),
10033 (gst_message_new_state_changed), (gst_message_new_application):
10034 * gst/gstmessage.h:
10035 * gst/gstprobe.c: (gst_probe_perform),
10036 (gst_probe_dispatcher_dispatch):
10038 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10039 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10040 (_gst_query_copy), (gst_query_new):
10042 Update elements for GstData -> GstMiniObject changes
10044 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10045 (gst_queue_chain), (gst_queue_loop):
10046 * gst/elements/gstbufferstore.c:
10047 (gst_buffer_store_add_buffer_func),
10048 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10049 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10050 (gst_fakesink_render):
10051 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10052 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10053 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10054 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10055 (gst_filesrc_create_read):
10056 * gst/elements/gstidentity.c: (gst_identity_class_init):
10057 * gst/elements/gsttypefindelement.c:
10058 (gst_type_find_element_src_event), (free_entry_buffers),
10059 (gst_type_find_element_handle_event):
10060 * libs/gst/dataprotocol/dataprotocol.c:
10061 (gst_dp_header_from_buffer):
10062 * libs/gst/dataprotocol/dataprotocol.h:
10063 * libs/gst/dataprotocol/dp-private.h:
10065 2005-05-15 David Schleef <ds@schleef.org>
10067 * gst/elements/gstelements.c: Don't include headers that were
10070 2005-05-15 David Schleef <ds@schleef.org>
10072 * gst/elements/Makefile.am: Remove some elements that don't
10073 need to be in the core (or even exist at all).
10074 * gst/elements/gstaggregator.c:
10075 * gst/elements/gstaggregator.h:
10076 * gst/elements/gstmd5sink.c:
10077 * gst/elements/gstmd5sink.h:
10078 * gst/elements/gstmultifilesrc.c:
10079 * gst/elements/gstmultifilesrc.h:
10080 * gst/elements/gstpipefilter.c:
10081 * gst/elements/gstpipefilter.h:
10082 * gst/elements/gstshaper.c:
10083 * gst/elements/gstshaper.h:
10084 * gst/elements/gststatistics.c:
10085 * gst/elements/gststatistics.h:
10086 * po/POTFILES.in: Remove above files.
10088 2005-05-14 Andy Wingo <wingo@pobox.com>
10090 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10091 so as to get the refs right.
10092 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10093 unreffing objects that don't pass the filter.
10095 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10096 gst_element_set_bus.
10097 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10098 normal cases, this will destroy the bus.
10100 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10103 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10106 2005-05-13 Andy Wingo <wingo@pobox.com>
10108 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10109 gst_pad_link, call pad_link_maybe_ghosting,
10110 (pad_link_maybe_ghosting): Links pads, making sure that the
10111 elements being linked are in the same bin.
10112 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10113 Helpers for pad_link_maybe_ghosting.
10115 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10118 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10120 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10122 * docs/design/part-element-source.txt:
10125 2005-05-12 Wim Taymans <wim@fluendo.com>
10127 * gst/base/gstbasesink.c: (gst_basesink_init),
10128 (gst_basesink_activate):
10129 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10130 (gst_basesrc_is_seekable):
10131 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10132 (bin_element_is_sink), (gst_bin_change_state):
10133 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10134 * gst/gstelement.h:
10135 Identify sinks by their flag to avoid overly complicated
10137 Do state changes even for elements not reachable from the
10139 BaseSink is a sink now :)
10140 Some more debugging info in the basesrc.
10143 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10145 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10146 Implement _query on a bin, similar to _send_event.
10148 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10150 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10151 Discont event offset format should be GST_FORMAT_BYTES,
10152 not GST_FORMAT_TIME.
10154 2005-05-12 Wim Taymans <wim@fluendo.com>
10156 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10157 Same fix as Ronald's but without the signal.
10159 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10161 * gst/gstutils.c: (gst_element_query_position):
10162 No, an element is not a pad.
10164 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10166 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10167 (gst_bin_get_state):
10168 If a child is removed from a bin while we remove the child from
10169 the bin and while we're retrieving its state, signal this to the
10170 get_state function so we abort the wait (instead of waiting for
10171 a timeout) and can immediately re-iterate over all other elements.
10173 2005-05-12 Wim Taymans <wim@fluendo.com>
10175 * gst/base/Makefile.am:
10176 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10177 (gst_basesrc_start):
10178 * gst/base/gstbasesrc.h:
10179 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10180 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10181 (gst_pushsrc_init), (gst_pushsrc_create):
10182 * gst/base/gstpushsrc.h:
10183 Added is_seekable to BaseSrc
10184 Added simple PushSrc.
10186 2005-05-11 Wim Taymans <wim@fluendo.com>
10188 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10189 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10190 (gst_element_link_pads), (gst_element_query_position),
10191 (gst_element_query_convert), (intersect_caps_func),
10192 (gst_pad_query_position), (gst_pad_query_convert):
10193 Fix refcounting in utils function.
10194 No point in trying to activate a pad when it's added, it could
10195 be added from the state change function and then we deadlock, the
10196 element has to decide what to do.
10198 2005-05-10 Andy Wingo <wingo@pobox.com>
10200 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10201 *all* the arguments.
10203 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10204 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10205 lock (according to the docs -- if this is wrong change the docs).
10207 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10208 flush messages in the NULL state.
10210 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10211 message immediately and return.
10212 (gst_bus_set_flushing): New function. If a bus is flushing, it
10213 flushes out any queued messages and immediately unrefs new
10214 messages. This is so when an element goes to NULL, all of the
10215 unhandled messages coming from it can be freed, and their
10216 references to the element dropped. In other words: message source
10217 ref considered harmful :P
10219 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10220 we're finished with it.
10222 * gst/gstmessage.c (gst_message_new_state_changed):
10224 2005-05-10 Wim Taymans <wim@fluendo.com>
10226 * gst/gstvalue.c: (gst_value_compare_flags),
10227 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10228 (_gst_value_initialize):
10229 Added flags serialize/deserialize/compare code.
10231 2005-05-09 Andy Wingo <wingo@pobox.com>
10233 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10234 Intersect the peer's caps with our caps.
10236 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10238 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10239 * gst/elements/gsttypefindelement.c: (find_peek):
10240 Handle negative offsets better. Fixes decodebin.
10242 2005-05-09 Wim Taymans <wim@fluendo.com>
10244 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10245 (gst_base_transform_event):
10246 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10247 Implement accept_caps.
10248 Fix silly lock/unlock mismatch in base class.
10250 2005-05-09 Wim Taymans <wim@fluendo.com>
10252 * docs/design/draft-push-pull.txt:
10253 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10254 * gst/elements/gstfilesink.c: (gst_filesink_init),
10255 (gst_filesink_query):
10256 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10257 (gst_type_find_handle_src_query), (find_element_get_length):
10258 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10259 * gst/gstelement.h:
10260 * gst/gstmessage.c:
10261 * gst/gstmessage.h:
10262 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10263 (gst_real_pad_get_caps_unlocked),
10264 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10265 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10266 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10267 (gst_real_pad_dispose), (gst_real_pad_finalize),
10268 (gst_pad_load_and_link), (gst_pad_save_thyself),
10269 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10270 (gst_pad_check_pull_range), (gst_pad_pull_range),
10271 (gst_pad_template_get_type), (gst_pad_template_class_init),
10272 (gst_pad_template_init), (gst_pad_template_dispose),
10273 (name_is_valid), (gst_static_pad_template_get),
10274 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10275 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10276 (gst_pad_get_element_private), (gst_pad_start_task),
10277 (gst_pad_pause_task), (gst_pad_stop_task),
10278 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10279 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10280 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10281 (gst_ghost_pad_new):
10283 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10284 (gst_query_new_position), (gst_query_set_position),
10285 (gst_query_parse_position), (gst_query_new_convert),
10286 (gst_query_set_convert), (gst_query_parse_convert):
10288 * gst/gstqueryutils.c:
10289 * gst/gstqueryutils.h:
10290 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10291 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10292 (gst_queue_handle_src_query):
10293 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10294 (gst_element_query_position), (gst_element_query_convert),
10295 (intersect_caps_func), (gst_pad_query_position),
10296 (gst_pad_query_convert):
10298 * tools/gst-inspect.c: (print_pad_info):
10299 * tools/gst-xmlinspect.c: (print_element_info):
10300 Remove old query functions. Ported old code.
10301 Added position/convert helper functions to gstutils.
10302 Reordered gstpad.c code, grouping relevant things.
10303 Remove gst_message_new(), always need to speficy a specific
10307 2005-05-09 Andy Wingo <wingo@pobox.com>
10309 * gst/gstiterator.h: Add some includes.
10311 * gst/gstqueryutils.h: Include more headers.
10314 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10315 some uses of gst_pad_query.
10317 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10318 NULL out parameters.
10319 (gst_query_new_position): New proc, allocates a new position
10322 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10323 gstqueryutils.c to the build.
10325 * gst/gststructure.c (gst_structure_set_valist): Implement with
10326 the generic G_VALUE_COLLECT.
10328 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10330 * gst/Makefile.am: (gst_headers):
10331 Added gstqueryutils.h to the list of headers to install, that was
10332 a 'nachty' move wingo :)
10334 2005-05-06 Andy Wingo <wingo@pobox.com>
10337 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10338 GstData, init a memchunk.
10339 (standard_definitions): Add a few query types, deprecate a few.
10340 (gst_query_get_type): New proc.
10341 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10343 (gst_query_new_application, gst_query_get_structure): New public
10346 * docs/design/draft-query.txt: Removed LINKS from the query types,
10347 because all the rest can be dispatched to other pads -- seemed
10348 ugly to have a query that couldn't be dispatched. internal_links
10349 is fine as a pad method.
10351 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10352 in gstpad.c, but maintain binary compatibility for the moment.
10353 Will fix before 0.9 is out.
10355 * gst/gstqueryutils.c:
10356 * gst/gstqueryutils.h: New files, implement 3 methods for each
10357 query type: parse_query, parse_response, and set. Probably need an
10360 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10362 * gst/elements/gstfilesink.c (gst_filesink_query2):
10363 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10364 query_types, and formats methods.
10366 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10367 (gst_pad_set_query2_function): New functions.
10368 (gst_real_pad_init): Set query2_default as the default query2
10369 function. Basically just dispatches to internally linked pads.
10373 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10374 without using the atomic operations. Only one thread can possibly
10375 be accessing the data at this point. Changed so as to avoid
10376 gst_atomic operations.
10378 2005-05-06 Wim Taymans <wim@fluendo.com>
10380 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10381 Also set caps if we use the fallback buffer alloc.
10383 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10385 * docs/gst/Makefile.am:
10386 * docs/gst/gstreamer-docs.sgml:
10387 * docs/gst/gstreamer-sections.txt:
10388 * docs/gst/tmpl/gstatomic.sgml:
10389 * docs/gst/tmpl/gstmemchunk.sgml:
10390 * testsuite/elements/struct_i386.h:
10391 * win32/GStreamer.vcproj:
10393 Purge GstAtomic stuff from docs and win32 makefiles as well
10395 2005-05-06 Wim Taymans <wim@fluendo.com>
10397 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10398 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10399 * gst/gstpad.c: (gst_pad_peer_get_caps):
10400 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10401 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10402 (gst_queue_src_activate), (gst_queue_change_state):
10404 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10405 (intersect_caps_func):
10406 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10407 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10408 Some fixes for the peer_get_caps() change.
10410 2005-05-06 Wim Taymans <wim@fluendo.com>
10412 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10413 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10414 (gst_basesink_activate):
10415 Actually do something with error codes returned from the push
10418 2005-05-06 Wim Taymans <wim@fluendo.com>
10420 * docs/design/part-element-sink.txt:
10421 * docs/design/part-element-source.txt:
10422 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10423 (gst_basesink_event), (gst_basesink_activate):
10424 * gst/base/gstbasesink.h:
10425 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10426 (gst_basesrc_activate):
10427 * gst/base/gstbasesrc.h:
10428 * gst/gstelement.c: (gst_element_pads_activate):
10429 Some more documentation.
10430 Fixed scheduling decision in _pads_activate().
10432 2005-05-05 Andy Wingo <wingo@pobox.com>
10434 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10437 2005-05-05 Wim Taymans <wim@fluendo.com>
10439 * gst/base/Makefile.am:
10440 * gst/base/gstbasesink.h:
10441 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10442 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10443 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10444 (gst_collectpads_class_init), (gst_collectpads_init),
10445 (gst_collectpads_finalize), (gst_collectpads_new),
10446 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10447 (find_pad), (gst_collectpads_remove_pad),
10448 (gst_collectpads_is_active), (gst_collectpads_collect),
10449 (gst_collectpads_collect_range), (gst_collectpads_start),
10450 (gst_collectpads_stop), (gst_collectpads_peek),
10451 (gst_collectpads_pop), (gst_collectpads_available),
10452 (gst_collectpads_read), (gst_collectpads_flush),
10453 (gst_collectpads_chain):
10454 * gst/base/gstcollectpads.h:
10455 * gst/elements/Makefile.am:
10456 * gst/elements/gstelements.c:
10457 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10458 (gst_fakesink_get_times), (gst_fakesink_event),
10459 (gst_fakesink_preroll), (gst_fakesink_render):
10460 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10461 (gst_filesink_init), (gst_filesink_set_location),
10462 (gst_filesink_open_file), (gst_filesink_close_file),
10463 (gst_filesink_pad_query), (gst_filesink_event),
10464 (gst_filesink_render), (gst_filesink_change_state):
10465 * gst/elements/gstfilesink.h:
10466 Added object to help in making collect pad based elements.
10468 Make event function in sink baseclass return gboolean.
10470 2005-05-05 Wim Taymans <wim@fluendo.com>
10472 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10473 (gst_bin_get_by_name):
10475 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10476 (gst_clock_finalize):
10477 * gst/gstdata.c: (gst_data_replace):
10479 * gst/gstelement.c: (gst_element_request_pad),
10480 (gst_element_pads_activate):
10481 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10482 (gst_object_unref):
10483 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10484 (gst_pad_set_checkgetrange_function),
10485 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10486 (gst_pad_check_pull_range), (gst_pad_pull_range),
10487 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10488 (gst_pad_pause_task), (gst_pad_stop_task):
10489 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10490 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10491 Fix name lookup in GstBin.
10492 Added _data_replace() function and _buffer_replace()
10493 Use finalize method to clean up clock.
10494 Fix refcounting on request pads.
10495 Fix pad schedule mode error.
10496 Some more object refcounting debug info,
10499 2005-05-04 Andy Wingo <wingo@pobox.com>
10501 * check/Makefile.am:
10502 * docs/gst/tmpl/gstatomic.sgml:
10503 * docs/gst/tmpl/gstplugin.sgml:
10504 * gst/base/gstbasesink.c: (gst_basesink_activate):
10505 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10506 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10507 (gst_basesrc_query), (gst_basesrc_set_property),
10508 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10509 (gst_basesrc_activate):
10510 * gst/base/gstbasesrc.h:
10511 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10512 (gst_base_transform_src_activate):
10513 * gst/elements/gstelements.c:
10514 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10515 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10516 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10517 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10518 (gst_type_find_element_checkgetrange),
10519 (gst_type_find_element_activate):
10520 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10521 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10522 (gst_caps_load_thyself):
10523 * gst/gstelement.c: (gst_element_pads_activate),
10524 (gst_element_save_thyself), (gst_element_restore_thyself):
10525 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10526 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10528 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10529 (gst_xml_parse_file), (gst_xml_parse_memory),
10530 (gst_xml_get_element), (gst_xml_make_element):
10531 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10532 (_file_index_id_save_xml), (gst_file_index_commit):
10533 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10534 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10536 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10537 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10538 * tools/gst-complete.c: (main):
10539 * tools/gst-compprep.c: (main):
10540 * tools/gst-inspect.c: (print_element_properties_info):
10541 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10542 * tools/gst-xmlinspect.c: (print_element_properties):
10545 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10547 * gst/gstplugin.c: (gst_plugin_check_module),
10548 (gst_plugin_check_file), (gst_plugin_load_file):
10549 apply patch from #172526 to make register work on MacOSX
10551 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10553 * docs/gst/tmpl/gstconfig.sgml:
10554 * gst/gstconfig.h.in:
10555 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10556 * testsuite/debug/printf_extension.c: (main):
10557 Do not use GST_PTR_FORMAT on pointers to types with
10558 sizeof < sizeof(gpointer). Fixes test on 64-bit
10559 * testsuite/elements/property.h:
10560 use correct printf format
10562 2005-05-02 Wim Taymans <wim@fluendo.com>
10564 * docs/design/draft-push-pull.txt:
10565 * docs/design/draft-query.txt:
10566 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10567 (gst_basesrc_start):
10568 Added draft for new query API.
10569 Added draft for better selecting scheduling methods.
10570 Make basesrc ignore length if the subclass does not support
10573 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10576 possible fixes for automake-1.5 - _LIBADD is reserved
10578 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10580 * docs/faq/Makefile.am:
10581 * docs/manual/Makefile.am:
10582 * docs/manuals.mak:
10583 * docs/pwg/Makefile.am:
10585 possible fixes for automake-1.5
10587 2005-04-28 Wim Taymans <wim@fluendo.com>
10589 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10590 (gst_basesink_pad_getcaps), (gst_basesink_init),
10591 (gst_basesink_do_sync):
10592 * gst/gstclock.c: (gst_clock_entry_new):
10593 * gst/gstevent.c: (gst_event_discont_get_value):
10594 * gst/gstpipeline.c: (pipeline_bus_handler),
10595 (gst_pipeline_change_state):
10596 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10597 Better debugging of clocking info.
10598 Allow NULL values when getting discont values.
10600 2005-04-27 Wim Taymans <wim@fluendo.com>
10602 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10603 * check/gst/gstpad.c: (gst_pad_suite):
10604 Increase timeout for checks.
10606 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10608 * check/Makefile.am:
10609 fix the broken rule for cleanup. Apparently this rule is
10610 only needed on FC2, so maybe this warrants further autotool
10613 2005-04-26 Wim Taymans <wim@fluendo.com>
10615 * gst/gsttrashstack.h:
10616 Ooohh. a nasty one! After having a failed pop() from the stack,
10617 it's possible that the stack is empty. In that case, don't
10618 follow the NULL pointer.
10620 2005-04-25 Wim Taymans <wim@fluendo.com>
10622 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10623 (gst_pad_set_checkgetrange_function),
10624 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10625 (gst_pad_check_pull_range), (gst_pad_pull_range),
10626 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10627 (gst_pad_pause_task), (gst_pad_stop_task):
10628 * gst/gstplugin.c: (gst_plugin_load):
10630 Remove gst_library_load as it does more harm than good with
10631 the new g_module flags.
10632 Revert bogus caps template check in pad linking, pad caps
10633 are important when linking not the template, which is more
10634 general than the current caps.
10636 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10638 * gst/autoplug/.cvsignore:
10639 * gst/autoplug/Makefile.am:
10640 * gst/autoplug/gstsearchfuncs.c:
10641 * gst/autoplug/gstsearchfuncs.h:
10642 * gst/autoplug/gstspider.c:
10643 * gst/autoplug/gstspider.h:
10644 * gst/autoplug/gstspideridentity.c:
10645 * gst/autoplug/gstspideridentity.h:
10646 * gst/autoplug/spidertest.c:
10649 2005-04-25 Wim Taymans <wim@fluendo.com>
10651 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10652 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10653 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10654 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10656 Added stubs for unimplemented functions.
10658 2005-04-24 David Schleef <ds@schleef.org>
10660 * gst/gstpad.h: Disable some unimplemented functions. Wim,
10663 2005-04-24 David Schleef <ds@schleef.org>
10665 Convert everything from GstAtomicInt to g_atomic_int_*, and
10670 * gst/gstatomic_impl.h:
10678 * gst/gstdata_private.h:
10682 * gst/gstmessage.c:
10685 * gst/gststructure.c:
10686 * gst/gststructure.h:
10687 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10690 2005-04-24 David Schleef <ds@schleef.org>
10692 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10693 make the regressions tests work. Remove some code that is no
10695 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10696 Disable warning for pads without templates.
10698 2005-04-24 David Schleef <ds@schleef.org>
10700 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
10701 functions that handle filtered links.
10702 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10704 * gst/gstutils.c: Fix/remove utility functions that handle
10707 * gst/gstvalue.c: Add serialization/deserialization of caps
10708 * gst/parse/grammar.y: Ignore filtered caps when linking. This
10709 requires fixing so that the filter caps notation creates
10710 a capsfilter element and sets the filter_caps property. I
10711 think everyone probably wants to keep the shorthand notation.
10712 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10713 * docs/gst/tmpl/gstpad.sgml:
10715 * gst/elements/gstelements.c: Register capsfilter element.
10716 * gst/Makefile.am: fix spacing
10717 * docs/random/ds/0.9-suggested-changes: random
10719 2005-04-23 David Schleef <ds@schleef.org>
10721 * gst/elements/Makefile.am:
10722 * gst/elements/gstcapsfilter.c: New element that acts like an
10723 identity, but filters caps. Will eventually replace filtered
10724 caps in pad linking.
10725 * gst/gstutils.c: (gst_element_create_all_pads): New function
10726 to create all the ALWAYS pads that are registered with an
10727 element class. This functionality should eventually be
10728 merged in with GstElement initialization.
10730 * testsuite/trigger/README: part of trigger test code that should
10731 have been checked in a long time ago.
10733 2005-04-23 David Schleef <ds@schleef.org>
10735 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
10736 needed with new versions of libtool (nobody will confirm this),
10737 and hard to carry around.
10738 * gst/autoplug/Makefile.am:
10739 * gst/base/Makefile.am:
10740 * gst/elements/Makefile.am:
10741 * gst/indexers/Makefile.am:
10742 * gst/schedulers/Makefile.am:
10743 * libs/gst/bytestream/Makefile.am:
10744 * libs/gst/control/Makefile.am:
10745 * libs/gst/dataprotocol/Makefile.am:
10746 * libs/gst/getbits/Makefile.am:
10748 2005-04-21 Wim Taymans <wim@fluendo.com>
10750 * docs/design/draft-push-pull.txt:
10751 * docs/design/part-MT-refcounting.txt:
10752 * docs/design/part-TODO.txt:
10753 * docs/design/part-caps.txt:
10754 * docs/design/part-events.txt:
10755 * docs/design/part-gstbus.txt:
10756 * docs/design/part-gstpipeline.txt:
10757 * docs/design/part-messages.txt:
10758 * docs/design/part-push-pull.txt:
10759 * docs/design/part-query.txt:
10762 2005-04-21 Wim Taymans <wim@fluendo.com>
10764 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10765 (gst_message_new), (gst_message_new_error),
10766 (gst_message_new_warning), (gst_message_new_tag),
10767 (gst_message_new_state_changed), (gst_message_new_application),
10768 (gst_message_get_structure):
10769 * gst/gstmessage.h:
10770 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10771 (gst_structure_copy_conditional):
10772 Use parent refcount in GstMessage to ensure GstStructure
10774 Cleaned up headers a bit.
10777 2005-04-20 Wim Taymans <wim@fluendo.com>
10779 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10780 (gst_basesink_pad_getcaps), (gst_basesink_init),
10781 (gst_basesink_chain_unlocked):
10782 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10783 (gst_type_find_helper):
10784 * gst/elements/gsttypefindelement.c:
10785 (gst_type_find_element_have_type), (gst_type_find_element_init),
10786 (stop_typefinding), (gst_type_find_element_handle_event),
10787 (find_suggest), (gst_type_find_element_chain),
10788 (gst_type_find_element_checkgetrange),
10789 (gst_type_find_element_getrange), (do_typefind),
10790 (gst_type_find_element_activate):
10791 * gst/gstbuffer.c: (_gst_buffer_sub_free),
10792 (gst_buffer_default_free), (gst_buffer_default_copy),
10793 (gst_buffer_set_caps):
10794 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10795 (gst_caps_replace):
10796 * gst/gstmessage.c: (gst_message_new),
10797 (gst_message_new_state_changed):
10798 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10799 (gst_pad_set_checkgetrange_function),
10800 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10801 (gst_pad_set_caps), (gst_pad_check_pull_range),
10802 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10804 * gst/gsttypefind.c: (gst_type_find_register):
10805 Make gst_caps_replace() work like other _replace() functions.
10806 Use _caps_replace() where possible.
10807 Make sure _message_new() initialises its field.
10808 Add gst_static_pad_template_get_caps()
10811 2005-04-18 Andy Wingo <wingo@pobox.com>
10813 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10814 on the peer, not the pad. I think that was a typo. Pass an extra
10815 arg to see if random access is possible. Activate the pads as
10816 PULL_RANGE if possible.
10818 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10820 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
10821 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10824 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10826 * docs/faq/using.xml:
10827 Add note on gstreamer-properties (#154996).
10829 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10831 * docs/random/bbb/optional-properties:
10832 Some analysis on optional properties.
10834 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10836 * docs/gst/tmpl/gstelementfactory.sgml:
10837 * gst/gstelement.h:
10838 * gst/gstelementfactory.c: (gst_element_factory_init),
10839 (gst_element_factory_cleanup), (gst_element_register),
10840 (__gst_element_factory_add_static_pad_template),
10841 (gst_element_factory_get_static_pad_templates),
10842 (gst_element_factory_can_src_caps),
10843 (gst_element_factory_can_sink_caps):
10844 * gst/registries/Makefile.am:
10845 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10846 (gst_xml_registry_class_init), (gst_xml_registry_init),
10847 (gst_xml_registry_new), (gst_xml_registry_set_property),
10848 (gst_xml_registry_get_property), (get_time), (make_dir),
10849 (gst_xml_registry_get_perms_func),
10850 (plugin_times_older_than_recurse), (plugin_times_older_than),
10851 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10852 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10853 (add_to_char_array), (read_string), (read_uint), (read_enum),
10854 (load_pad_template), (load_feature), (load_plugin), (load_paths),
10855 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10856 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10857 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10858 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10859 (gst_xml_registry_rebuild):
10860 * gst/registries/gstlibxmlregistry.h:
10861 * tools/gst-compprep.c: (main):
10862 * tools/gst-inspect.c: (print_pad_templates_info):
10863 * tools/gst-xmlinspect.c: (print_element_info):
10864 Use libxml2 for registry parsing, use staticpadtemplates in
10865 elementfactories. Makes gst_init() +/- 10x faster.
10867 2005-04-12 Wim Taymans <wim@fluendo.com>
10869 * gst/base/Makefile.am:
10870 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10871 (gst_basesink_pad_getcaps), (gst_basesink_init),
10872 (gst_basesink_event), (gst_basesink_change_state):
10873 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10874 (gst_basesrc_init), (gst_basesrc_query),
10875 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10876 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10877 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10878 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10879 (gst_basesrc_stop), (gst_basesrc_activate),
10880 (gst_basesrc_change_state):
10881 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10882 (helper_find_suggest), (gst_type_find_helper):
10883 * gst/base/gsttypefindhelper.h:
10884 * gst/elements/Makefile.am:
10885 * gst/elements/gstelements.c:
10886 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10887 (gst_fakesink_get_times), (gst_fakesink_event),
10888 (gst_fakesink_preroll), (gst_fakesink_render):
10889 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10890 (gst_fakesrc_init), (gst_fakesrc_event_handler),
10891 (gst_fakesrc_get_property), (gst_fakesrc_create),
10892 (gst_fakesrc_start), (gst_fakesrc_stop):
10893 * gst/elements/gstfakesrc.h:
10894 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10895 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10896 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10897 (gst_filesrc_create_read), (gst_filesrc_create),
10898 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10899 (gst_filesrc_start):
10900 * gst/elements/gsttypefindelement.c:
10901 (gst_type_find_element_have_type), (gst_type_find_element_init),
10902 (start_typefinding), (stop_typefinding), (push_buffer_store),
10903 (gst_type_find_element_handle_event),
10904 (gst_type_find_element_chain),
10905 (gst_type_find_element_checkgetrange),
10906 (gst_type_find_element_getrange), (do_typefind),
10907 (gst_type_find_element_activate),
10908 (gst_type_find_element_change_state):
10909 * gst/elements/gsttypefindelement.h:
10910 * gst/gstpipeline.c: (pipeline_bus_handler):
10911 Added typefind helper.
10912 Small preroll fix in the base sink.
10913 Disable typefind code in basesrc.
10914 Crude port of typefindelement.
10918 2005-04-11 Wim Taymans <wim@fluendo.com>
10920 * check/gst/gstbus.c: (gstbus_suite):
10921 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10922 * check/gstcheck.h:
10923 Fix up the timeout so that the test does not fail.
10925 2005-04-06 Wim Taymans <wim@fluendo.com>
10928 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10929 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10930 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10931 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10932 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10933 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10934 (gst_basesrc_stop), (gst_basesrc_activate),
10935 (gst_basesrc_change_state), (basesrc_find_peek),
10936 (basesrc_find_suggest), (gst_basesrc_type_find):
10937 * gst/base/gstbasesrc.h:
10938 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10939 (gst_filesrc_class_init), (gst_filesrc_init),
10940 (gst_filesrc_finalize), (gst_filesrc_set_location),
10941 (gst_filesrc_set_property), (gst_filesrc_get_property),
10942 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10943 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10944 (gst_filesrc_create_read), (gst_filesrc_create),
10945 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10946 * gst/elements/gstfilesrc.h:
10947 * gst/gstelement.c: (gst_element_get_state_func),
10948 (gst_element_lost_state), (gst_element_pads_activate):
10949 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10950 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10951 (gst_pad_pull_range):
10953 More work on the generic source base class, implement seeking,
10955 Make filesrc extend the base source class.
10956 Added gst_pad_set_checkgetrange_function to GstPad.
10958 2005-04-06 Andy Wingo <wingo@pobox.com>
10960 * pkgconfig/gstreamer-base.pc.in:
10961 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10963 * pkgconfig/Makefile.am:
10964 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10966 2005-04-04 Wim Taymans <wim@fluendo.com>
10968 * gst/base/Makefile.am:
10970 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10971 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10972 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10973 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10974 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10975 (gst_basesrc_base_init), (gst_basesrc_class_init),
10976 (gst_basesrc_init), (gst_basesrc_get_formats),
10977 (gst_basesrc_get_query_types), (gst_basesrc_query),
10978 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10979 (gst_basesrc_set_property), (gst_basesrc_get_property),
10980 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10981 (gst_basesrc_loop), (gst_basesrc_activate),
10982 (gst_basesrc_change_state):
10983 * gst/base/gstbasesrc.h:
10984 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10985 (gst_fakesrc_class_init), (gst_fakesrc_init),
10986 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10987 (gst_fakesrc_get_property), (gst_fakesrc_create):
10988 * gst/elements/gstfakesrc.h:
10989 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10990 (gst_filesrc_open_file), (gst_filesrc_loop),
10991 (gst_filesrc_activate), (filesrc_find_peek),
10992 (gst_filesrc_type_find):
10993 Made base source class, make fakesrc extend it.
10994 Add comments to basesink class.
10995 Some filesrc cleanup.
10997 2005-03-31 David Schleef <ds@schleef.org>
10999 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11000 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11001 expected to link against libgstreamer.
11002 * gst/base/Makefile.am: link against libgstreamer
11003 * gst/elements/Makefile.am: same
11005 2005-03-31 Andy Wingo <wingo@pobox.com>
11007 * tests/instantiate/Makefile.am:
11008 * tests/instantiate/caps.c: Add test to test speed of caps copy
11011 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11012 GMemChunk to be fair.
11014 * gst/gsttrashstack.h: Remove warning about using the fallback
11015 trash stack implementation, it's still faster than malloc.
11017 2005-03-30 Andy Wingo <wingo@pobox.com>
11019 * tests/complexity.c: Add a copyright.
11021 2005-03-31 Wim Taymans <wim@fluendo.com>
11023 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11024 (gst_base_transform_class_init), (gst_base_transform_init),
11025 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11026 (gst_base_transform_get_property),
11027 (gst_base_transform_sink_activate),
11028 (gst_base_transform_src_activate),
11029 (gst_base_transform_change_state):
11030 * gst/base/gstbasetransform.h:
11031 * gst/elements/gstidentity.c: (gst_identity_class_init),
11032 (gst_identity_event), (gst_identity_check_perfect),
11033 (gst_identity_transform), (gst_identity_start),
11034 (gst_identity_stop):
11035 Added start/stop methods to transform base class so subclasses
11036 don't need to deal with state changes even.
11038 2005-03-31 Wim Taymans <wim@fluendo.com>
11040 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11041 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11043 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11044 (gst_pad_pull_range):
11045 Added rate to the discont event to prepare for variable speed
11046 and reverse playback.
11048 2005-03-29 David Schleef <ds@schleef.org>
11051 * testsuite/trigger/Makefile.am:
11052 * testsuite/trigger/trigger.c: A little example program to show
11053 how trigger-based elements can work.
11055 2005-03-29 Wim Taymans <wim@fluendo.com>
11057 * gst/base/Makefile.am:
11059 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11060 (gst_basesink_base_init), (gst_basesink_class_init),
11061 (gst_basesink_pad_getcaps), (gst_basesink_init),
11062 (gst_basesink_activate), (gst_basesink_change_state):
11063 * gst/base/gstbasesink.h:
11064 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11065 (gst_base_transform_base_init), (gst_base_transform_finalize),
11066 (gst_base_transform_class_init), (gst_base_transform_init),
11067 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11068 (gst_base_transform_event), (gst_base_transform_getrange),
11069 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11070 (gst_base_transform_set_property),
11071 (gst_base_transform_get_property),
11072 (gst_base_transform_sink_activate),
11073 (gst_base_transform_src_activate),
11074 (gst_base_transform_change_state):
11075 * gst/base/gstbasetransform.h:
11076 * gst/elements/gstidentity.c: (gst_identity_finalize),
11077 (gst_identity_class_init), (gst_identity_init),
11078 (gst_identity_event), (gst_identity_check_perfect),
11079 (gst_identity_transform), (gst_identity_set_property),
11080 (gst_identity_get_property), (gst_identity_change_state):
11081 * gst/elements/gstidentity.h:
11082 * gst/gstelement.c: (gst_element_get_state_func),
11083 (gst_element_lost_state), (gst_element_pads_activate):
11084 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11085 (gst_pad_check_pull_range), (gst_pad_pull_range):
11087 Simplify pad activation.
11088 Added function to check if pull_range can be performed.
11089 Error out when pulling inactive or flushing pads.
11090 Removed const from refcounted types as it does not make sense.
11091 Simplify pad templates in basesink
11092 Added base class for simple 1-to-1 transforms.
11093 Make identity subclass the base transform.
11095 2005-03-29 Andy Wingo <wingo@pobox.com>
11097 * docs/libs/gstreamer-libs-overrides.txt:
11098 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11099 really don't understand what's going on, but like whatever. I want
11102 * docs/gst/Makefile.am:
11103 * docs/libs/Makefile.am: Dist the overrides files.
11105 * check/Makefile.am (clean-local): Remove .libs directories.
11107 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11108 elements to EXTRA_DIST, so po/ files are happy.
11110 * po/POTFILES.in: Er, remove it here.
11112 * po/POTFILES: Remove gstspider.c.
11114 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11116 * docs/libs/gstreamer-libs-docs.sgml:
11117 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11120 * tests/complexity.c (main): Set the length of the preroll queue
11121 on the sinks to prevent a lockup.
11123 * libs/gst/dataprotocol/Makefile.am:
11124 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11125 the same as the one in check/gst-libs/gdp.c.
11127 * po/, docs/gst/: Commit automatic changes to docs and po files.
11129 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11130 the versioned libgstbase.
11132 * check/Makefile.am: Depend on an unversioned gst-register, seems
11133 to make autoconf happier.
11135 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11137 2005-03-28 Wim Taymans <wim@fluendo.com>
11140 * docs/design/part-gstelement.txt:
11141 * docs/design/part-negotiation.txt:
11142 * docs/design/part-preroll.txt:
11143 * docs/design/part-scheduling.txt:
11144 * docs/design/part-states.txt:
11146 * gst/base/Makefile.am:
11148 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11149 (gst_basesink_base_init), (gst_basesink_class_init),
11150 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11151 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11152 (gst_basesink_set_pad_functions),
11153 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11154 (gst_basesink_set_property), (gst_basesink_get_property),
11155 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11156 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11157 (gst_basesink_preroll_queue_push),
11158 (gst_basesink_preroll_queue_empty),
11159 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11160 (gst_basesink_event), (gst_basesink_get_times),
11161 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11162 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11163 (gst_basesink_loop), (gst_basesink_activate),
11164 (gst_basesink_change_state):
11165 * gst/base/gstbasesink.h:
11166 * gst/elements/Makefile.am:
11167 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11168 (gst_fakesink_class_init), (gst_fakesink_init),
11169 (gst_fakesink_set_property), (gst_fakesink_get_property),
11170 (gst_fakesink_get_times), (gst_fakesink_event),
11171 (gst_fakesink_preroll), (gst_fakesink_render),
11172 (gst_fakesink_change_state):
11173 * gst/elements/gstfakesink.h:
11174 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11175 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11176 * gst/gstelement.c: (gst_element_add_pad),
11177 (gst_element_get_state_func), (gst_element_abort_state),
11178 (gst_element_commit_state), (gst_element_lost_state),
11179 (gst_element_set_state), (gst_element_pads_activate):
11180 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11181 * gst/gstpipeline.c: (gst_pipeline_send_event),
11182 (gst_pipeline_change_state):
11183 Added state change code.
11184 Added/updated docs.
11185 Added sink base class, make fakesink extend the base class.
11186 Small cleanups in GstPipeline.
11188 2005-03-26 David Schleef <ds@schleef.org>
11190 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11191 is broken and should be implemented in a different library.
11192 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11193 * gst/gst.h: remove gstcpu.h
11194 * gst/gstcpu.c: remove
11195 * gst/gstcpu.h: remove
11196 * gst/Makefile.am.future: Remove this file. It's ancient.
11198 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11200 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11201 (gst_bin_send_event):
11202 Add default event/set_manager handlers. The set_manager handler
11203 takes care that the manager is distributed over kids that were
11204 already in the bin before the manager was set. The event handler
11205 is a utility virtual function that sends the event over all sinks,
11206 so that gst_element_send_event (bin, event); has the expected
11208 * gst/gstpad.c: (gst_pad_event_default):
11209 Re-install default event handling for discontinuities, so that
11210 seeking works without requiring hacks in applications or extra
11212 * gst/gstpipeline.c: (gst_pipeline_class_init),
11213 (gst_pipeline_send_event):
11214 Half hack, half utility: set a pipeline to PAUSED for seek events,
11215 since that is the only way we can guarantee a/v sync. Means that
11216 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11217 and it "just works".
11219 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11221 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11222 Lock/unlock mismatch.
11224 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11226 * docs/faq/gst-uninstalled:
11227 add gst-plugins-base
11228 * docs/gst/Makefile.am:
11229 don't error out until docs are fixed
11230 * docs/gst/gstreamer.types:
11233 2005-03-22 Wim Taymans <wim@fluendo.com>
11235 * check/Makefile.am:
11236 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11237 * gst/gststructure.c: (gst_structure_set_valist),
11238 (gst_structure_copy_conditional):
11239 Activated more tests.
11240 Added message test.
11241 Added G_TYPE_POINTER to GstStructure.
11244 2005-03-22 Wim Taymans <wim@fluendo.com>
11246 * docs/design/part-TODO.txt:
11247 * docs/design/part-events.txt:
11248 * docs/design/part-gstbin.txt:
11249 * docs/design/part-gstbus.txt:
11250 * docs/design/part-gstpipeline.txt:
11251 * docs/design/part-messages.txt:
11253 * gst/gstmessage.c:
11256 2005-03-21 Wim Taymans <wim@fluendo.com>
11258 * gst/gstbus.c: (gst_bus_post):
11259 Fix copy-and-paste error.
11261 2005-03-21 Wim Taymans <wim@fluendo.com>
11263 * check/Makefile.am:
11265 * gst/elements/Makefile.am:
11266 * gst/elements/gstelements.c:
11267 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11268 (gst_fakesink_event), (gst_fakesink_chain):
11269 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11270 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11271 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11272 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11273 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11274 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11275 (gst_fakesrc_loop), (gst_fakesrc_activate),
11276 (gst_fakesrc_change_state):
11277 * gst/elements/gstfakesrc.h:
11278 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11279 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11280 (gst_filesrc_open_file), (gst_filesrc_loop),
11281 (gst_filesrc_activate), (gst_filesrc_change_state),
11282 (filesrc_find_peek), (filesrc_find_suggest),
11283 (gst_filesrc_type_find):
11284 * gst/elements/gstidentity.c: (gst_identity_finalize),
11285 (gst_identity_class_init), (gst_identity_init),
11286 (gst_identity_proxy_getcaps), (identity_queue_push),
11287 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11288 (gst_identity_getrange), (gst_identity_chain),
11289 (gst_identity_sink_loop), (gst_identity_src_loop),
11290 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11291 (gst_identity_set_property), (gst_identity_get_property),
11292 (gst_identity_change_state):
11293 * gst/elements/gstidentity.h:
11294 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11295 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11296 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11297 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11298 (gst_tee_sink_activate):
11299 * gst/elements/gsttee.h:
11300 * gst/gst.c: (gst_register_core_elements), (init_post):
11302 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11303 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11304 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11305 (gst_bin_change_state):
11307 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11308 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11309 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11310 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11311 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11312 (bus_watch_callback), (bus_watch_destroy),
11313 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11314 (poll_timeout), (gst_bus_poll):
11318 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11319 (gst_element_post_message), (gst_element_message_full),
11320 (gst_element_get_state_func), (gst_element_get_state),
11321 (gst_element_abort_state), (gst_element_commit_state),
11322 (gst_element_lost_state), (gst_element_set_state),
11323 (gst_element_pads_activate), (gst_element_change_state),
11324 (gst_element_dispose), (gst_element_set_manager_func),
11325 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11326 (gst_element_set_manager), (gst_element_get_manager),
11327 (gst_element_set_bus), (gst_element_get_bus),
11328 (gst_element_set_scheduler), (gst_element_get_scheduler):
11329 * gst/gstelement.h:
11330 * gst/gstevent.c: (gst_event_new_segment_seek),
11331 (gst_event_new_flush):
11333 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11334 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11335 (gst_message_new_eos), (gst_message_new_error),
11336 (gst_message_new_warning), (gst_message_new_tag),
11337 (gst_message_new_state_changed), (gst_message_new_application),
11338 (gst_message_get_structure), (gst_message_parse_tag),
11339 (gst_message_parse_state_changed), (gst_message_parse_error),
11340 (gst_message_parse_warning):
11341 * gst/gstmessage.h:
11342 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11343 (gst_real_pad_set_property), (gst_pad_set_active),
11344 (gst_pad_is_active), (gst_pad_set_blocked_async),
11345 (gst_pad_set_blocked), (gst_pad_is_blocked),
11346 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11347 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11348 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11349 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11350 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11351 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11352 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11353 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11354 (gst_pad_set_caps), (gst_pad_configure_sink),
11355 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11356 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11357 (gst_real_pad_dispose), (gst_real_pad_finalize),
11358 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11359 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11360 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11362 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11363 (pipeline_bus_handler), (gst_pipeline_change_state),
11364 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11365 * gst/gstpipeline.h:
11367 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11368 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11369 (gst_queue_link_src), (gst_queue_bufferalloc),
11370 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11371 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11372 (gst_queue_loop), (gst_queue_handle_src_event),
11373 (gst_queue_handle_src_query), (gst_queue_src_activate),
11374 (gst_queue_change_state):
11376 * gst/gstscheduler.c: (gst_scheduler_init),
11377 (gst_scheduler_dispose), (gst_scheduler_create_task),
11378 (gst_scheduler_factory_create):
11379 * gst/gstscheduler.h:
11380 * gst/gststructure.c: (gst_structure_get_type),
11381 (gst_structure_copy_conditional):
11382 * gst/gststructure.h:
11383 * gst/gsttaginterface.h:
11384 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11385 (gst_task_init), (gst_task_dispose), (gst_task_create),
11386 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11392 * gst/schedulers/Makefile.am:
11393 * gst/schedulers/cothreads_compat.h:
11394 * gst/schedulers/entryscheduler.c:
11395 * gst/schedulers/faircothreads.c:
11396 * gst/schedulers/faircothreads.h:
11397 * gst/schedulers/fairscheduler.c:
11398 * gst/schedulers/gstbasicscheduler.c:
11399 * gst/schedulers/gstoptimalscheduler.c:
11400 * gst/schedulers/gthread-cothreads.h:
11401 * gst/schedulers/threadscheduler.c:
11402 (gst_thread_scheduler_task_get_type),
11403 (gst_thread_scheduler_task_class_init),
11404 (gst_thread_scheduler_task_init),
11405 (gst_thread_scheduler_task_start),
11406 (gst_thread_scheduler_task_stop),
11407 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11408 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11409 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11410 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11412 * libs/gst/Makefile.am:
11413 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11414 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11415 (gst_file_pad_parent_set):
11416 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11417 (gst_dp_event_from_packet):
11418 * tests/complexity.c: (main):
11419 * tests/mass_elements.c: (main):
11420 * testsuite/states/locked.c: (message_received), (main):
11421 * testsuite/states/parent.c: (main):
11422 * tools/gst-inspect.c: (print_element_flag_info),
11423 (print_implementation_info), (print_pad_info):
11424 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11426 * tools/gst-md5sum.c: (event_loop), (main):
11427 * tools/gst-typefind.c: (main):
11428 * tools/gst-xmlinspect.c: (print_element_info):
11430 Added GstBus for mainloop integration.
11431 Added GstMessage for sending notifications on the bus.
11432 Added GstTask as an abstraction for pipeline entry points.
11434 Removed Schedulers.
11435 Simplified GstQueue for multithreaded core.
11436 Made _link threadsafe, removed old capsnego.
11437 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11438 Added pad blocking functions.
11439 Reworked scheduling functions in GstPad to prepare for
11440 scheduling updates soon.
11441 Moved events out of data stream.
11442 Simplified GstEvent types.
11443 Added return values to push/pull.
11444 Removed clocking from GstElement.
11445 Added prototypes for state change function for next merge.
11446 Removed iterate from bins and state change management.
11447 Fixed some elements, disabled others for now.
11448 Fixed -inspect and -launch.
11449 Added check for GstBus.
11451 2005-03-10 Wim Taymans <wim@fluendo.com>
11453 * docs/design/part-MT-refcounting.txt:
11454 * docs/design/part-clocks.txt:
11455 * docs/design/part-gstelement.txt:
11456 * docs/design/part-gstobject.txt:
11457 * docs/design/part-standards.txt:
11458 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11459 (gst_bin_remove_func), (gst_bin_remove):
11463 * testsuite/clock/clock1.c: (main):
11464 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11466 * testsuite/dlopen/loadgst.c: (do_test):
11467 * testsuite/refcounting/bin.c: (add_remove_test1),
11468 (add_remove_test2), (main):
11469 * testsuite/refcounting/element.c: (main):
11470 * testsuite/refcounting/element_pad.c: (main):
11471 * testsuite/refcounting/pad.c: (main):
11472 * tools/gst-launch.c: (sigint_handler_sighandler):
11473 * tools/gst-typefind.c: (main):
11475 Added doc about clock.
11476 removed gst_bin_iterate_recurse_up(), marked methods
11478 Fix more testsuites.
11480 2005-03-09 Wim Taymans <wim@fluendo.com>
11482 * gst/gstpad.c: (gst_pad_get_direction),
11483 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11484 (gst_pad_collect_valist):
11485 * testsuite/bins/interface.c: (main):
11486 * testsuite/caps/audioscale.c: (test_caps):
11487 * testsuite/caps/caps.c: (test1), (test2), (test3):
11488 * testsuite/caps/deserialize.c: (main):
11489 * testsuite/caps/enumcaps.c: (main):
11490 * testsuite/caps/filtercaps.c: (main):
11491 * testsuite/caps/intersect2.c: (main):
11492 * testsuite/caps/random.c: (main):
11493 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11494 * testsuite/caps/sets.c: (check_caps):
11495 * testsuite/caps/simplify.c: (check_caps), (main):
11496 * testsuite/caps/subtract.c: (check_caps):
11497 Fix _pad_get_direction wrt ghostpads.
11498 Fix caps testsuite.
11500 2005-03-09 Wim Taymans <wim@fluendo.com>
11502 * check/Makefile.am:
11503 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11504 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11505 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11506 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11507 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11508 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11509 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11510 (bin_element_is_sink), (gst_bin_iterate_sinks),
11511 (gst_bin_iterate_all_by_interface):
11513 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11514 (gst_element_change_state), (gst_element_dispose),
11515 (gst_element_finalize), (gst_element_set_loop_function):
11516 * gst/gstelement.h:
11517 * gst/gstiterator.c: (find_custom_fold_func):
11518 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11519 (gst_pad_collectv), (gst_pad_collect_valist),
11520 (gst_pad_template_new):
11521 * gst/gstpipeline.c: (gst_pipeline_class_init),
11522 (gst_pipeline_dispose), (gst_pipeline_set_property),
11523 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11524 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11525 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11527 * gst/schedulers/entryscheduler.c:
11528 * gst/schedulers/gstbasicscheduler.c:
11529 (gst_basic_scheduler_cothreaded_chain),
11530 (gst_basic_scheduler_chain_add_element):
11531 * testsuite/bins/interface.c: (main):
11533 Added GstSystemClock test.
11534 Implemented clock distribution code in GstBin.
11535 Implemented iterate sinks method for future use.
11536 Rearranged gstelement.h
11537 Fix GstIterator comparison bug.
11538 Moved some code to GstPipeline, mostly clocking related.
11540 2005-03-09 Wim Taymans <wim@fluendo.com>
11543 * gst/gst_private.h:
11544 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11545 (gst_bin_remove_func), (gst_bin_remove),
11546 (gst_bin_get_by_name_recurse_up):
11547 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11548 (gst_clock_id_compare_func), (gst_clock_id_wait),
11549 (gst_clock_id_wait_async), (gst_clock_init),
11550 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11551 * gst/gstelement.h:
11552 * gst/gstinfo.c: (_gst_debug_init):
11554 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11555 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11557 Bump version number, we're now 0.9.0
11558 Add future debugging category.
11559 Fix NULL _unref() in _get_by_name_recurse_up
11560 Rearrange gstpad.h.
11563 2005-03-08 Wim Taymans <wim@fluendo.com>
11565 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11566 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11567 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11568 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11569 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11570 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11571 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11572 * gst/elements/gstidentity.c: (gst_identity_class_init):
11573 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11574 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11575 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11576 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11577 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11579 * gst/gstelement.c: (gst_element_class_init),
11580 (gst_element_base_class_init), (gst_element_init),
11581 (gst_element_get_random_pad), (gst_element_wait_state_change),
11582 (gst_element_change_state), (gst_element_dispose),
11583 (gst_element_finalize), (gst_element_set_loop_function):
11584 * gst/gstelement.h:
11585 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11586 * gst/gstthread.c: (gst_thread_class_init),
11587 (gst_thread_release_children_locks), (gst_thread_change_state):
11588 * gst/schedulers/gstbasicscheduler.c:
11589 (gst_basic_scheduler_loopfunc_wrapper),
11590 (gst_basic_scheduler_chain_wrapper),
11591 (gst_basic_scheduler_src_wrapper),
11592 (gst_basic_scheduler_remove_element):
11593 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11594 Remove threadsafe properties. Fix elements because GObject
11595 complains when installing a property before declaring a
11596 set/get_property handler.
11597 Rearrange gstelement.h file, use STATE macros for state locks.
11598 Free mutexes in the finalize method instead of dispose.
11600 2005-03-08 Wim Taymans <wim@fluendo.com>
11602 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11603 * gst/gstthread.c: (gst_thread_release_children_locks):
11604 Added parentage check.
11605 Fix build og GstThread again.
11607 2005-03-08 Wim Taymans <wim@fluendo.com>
11609 * docs/design/part-MT-refcounting.txt:
11610 * docs/design/part-conventions.txt:
11611 * docs/design/part-gstobject.txt:
11612 * docs/design/part-relations.txt:
11613 * docs/design/part-standards.txt:
11614 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11615 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11616 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11617 (gst_bin_iterate_all_by_interface):
11620 * gst/gstelement.c: (gst_element_class_init),
11621 (gst_element_change_state), (gst_element_set_loop_function):
11622 * gst/gstelement.h:
11623 * gst/gstiterator.c:
11624 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11625 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11626 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11627 (gst_object_set_parent), (gst_object_unparent),
11628 (gst_object_check_uniqueness):
11630 Docs updates, clean up some headers.
11632 2005-03-07 Wim Taymans <wim@fluendo.com>
11634 * check/.cvsignore:
11635 * check/Makefile.am:
11636 * check/gst-libs/.cvsignore:
11637 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11638 * check/gst/.cvsignore:
11639 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11640 (START_TEST), (gstbus_suite), (main):
11641 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11642 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11643 (gst_data_suite), (main):
11644 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11645 (add_fold_func), (gstiterator_suite), (main):
11646 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11647 (thread_name_object), (thread_name_object_default),
11648 (gst_object_name_compare), (gst_object_suite), (main):
11649 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11650 (gst_pad_suite), (main):
11651 * check/gstcheck.c: (gst_check_log_message_func),
11652 (gst_check_log_critical_func), (gst_check_init):
11653 * check/gstcheck.h:
11654 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11655 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11658 2005-03-07 Wim Taymans <wim@fluendo.com>
11660 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11661 (gst_list_iterator_next), (gst_list_iterator_resync),
11662 (gst_list_iterator_free), (gst_iterator_new_list),
11663 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11664 (gst_iterator_free), (gst_iterator_push), (filter_next),
11665 (filter_resync), (filter_uninit), (filter_free),
11666 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11667 (gst_iterator_foreach), (find_custom_fold_func),
11668 (gst_iterator_find_custom):
11669 * gst/gstiterator.h:
11670 Added missing files.
11672 2005-03-07 Wim Taymans <wim@fluendo.com>
11676 * docs/design/part-MT-refcounting.txt:
11677 * docs/design/part-conventions.txt:
11678 * docs/design/part-gstobject.txt:
11679 * docs/design/part-relations.txt:
11680 * examples/mixer/mixer.c: (main):
11681 * examples/thread/thread.c: (eos), (main):
11683 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11684 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11685 (gst_spider_plug_from_srcpad):
11686 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11687 (gst_spider_identity_change_state),
11688 (gst_spider_identity_sink_loop_type_finding):
11689 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11690 * gst/elements/gstidentity.c: (gst_identity_init):
11691 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11692 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11693 * gst/elements/gsttypefindelement.c: (free_entry):
11696 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11697 (gst_bin_set_clock_func), (gst_bin_auto_clock),
11698 (gst_bin_set_index), (gst_bin_set_element_sched),
11699 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11700 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11701 (gst_bin_iterate_elements), (iterate_child_recurse),
11702 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11703 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11704 (compare_interface), (gst_bin_get_by_interface),
11705 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11707 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11708 (gst_buffer_default_free), (gst_buffer_default_copy),
11709 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11710 (gst_buffer_create_sub):
11712 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11713 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11714 (gst_caps_unref), (gst_static_caps_get),
11715 (gst_caps_remove_and_get_structure), (gst_caps_append),
11716 (gst_caps_append_structure), (gst_caps_remove_structure),
11717 (gst_caps_copy_nth), (gst_caps_set_simple),
11718 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11719 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11720 (gst_caps_structure_intersect_field), (gst_caps_intersect),
11721 (gst_caps_structure_subtract_field), (gst_caps_subtract),
11722 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11723 (gst_caps_structure_figure_out_union),
11724 (gst_caps_switch_structures), (gst_caps_do_simplify),
11725 (gst_caps_replace), (gst_caps_from_string),
11726 (gst_caps_copy_conditional):
11728 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11729 (_gst_clock_id_free), (gst_clock_id_unref),
11730 (gst_clock_id_compare_func), (gst_clock_id_wait),
11731 (gst_clock_id_wait_async), (gst_clock_class_init),
11732 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11733 (gst_clock_get_time), (gst_clock_set_time_adjust),
11734 (gst_clock_set_property), (gst_clock_get_property):
11737 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11738 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11740 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11741 (gst_element_requires_clock), (gst_element_provides_clock),
11742 (gst_element_set_clock), (gst_element_clock_wait),
11743 (gst_element_wait), (gst_element_set_time_delay),
11744 (gst_element_is_indexable), (gst_element_add_pad),
11745 (gst_element_add_ghost_pad), (gst_element_remove_pad),
11746 (pad_compare_name), (gst_element_get_static_pad),
11747 (gst_element_request_pad), (gst_element_get_request_pad),
11748 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11749 (gst_element_class_get_pad_template_list),
11750 (gst_element_class_get_pad_template), (gst_element_error_func),
11751 (gst_element_get_random_pad), (gst_element_get_event_masks),
11752 (gst_element_send_event), (gst_element_seek),
11753 (gst_element_get_query_types), (gst_element_query),
11754 (gst_element_get_formats), (gst_element_convert),
11755 (gst_element_is_locked_state), (gst_element_set_locked_state),
11756 (gst_element_sync_state_with_parent), (gst_element_change_state),
11757 (gst_element_finalize), (gst_element_yield),
11758 (gst_element_interrupt), (gst_element_set_scheduler),
11759 (gst_element_get_scheduler), (gst_element_set_loop_function):
11760 * gst/gstelement.h:
11762 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11763 (gst_format_get_by_nick), (gst_format_get_details),
11764 (gst_format_iterate_definitions):
11766 * gst/gstindex.c: (gst_index_gtype_resolver):
11769 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11770 (gst_mem_chunk_free):
11771 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11772 (gst_object_ref), (gst_object_unref), (gst_object_sink),
11773 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11774 (gst_object_dispatch_properties_changed),
11775 (gst_object_set_name_default), (gst_object_set_name),
11776 (gst_object_get_name), (gst_object_set_name_prefix),
11777 (gst_object_get_name_prefix), (gst_object_set_parent),
11778 (gst_object_get_parent), (gst_object_unparent),
11779 (gst_object_check_uniqueness), (gst_object_save_thyself),
11780 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11781 (gst_object_set_property), (gst_object_get_property),
11782 (gst_object_get_path_string):
11784 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11785 (gst_real_pad_init), (gst_real_pad_get_property),
11786 (gst_pad_custom_new), (gst_pad_get_direction),
11787 (gst_pad_set_active), (gst_pad_is_active),
11788 (gst_pad_set_event_function), (gst_pad_is_linked),
11789 (gst_pad_link_free), (gst_pad_link_intersect),
11790 (gst_pad_link_fixate), (gst_pad_set_caps),
11791 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11792 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11793 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11794 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11795 (gst_pad_get_caps), (gst_pad_peer_get_caps),
11796 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11797 (gst_pad_realize), (gst_pad_get_allowed_caps),
11798 (gst_real_pad_dispose), (gst_real_pad_finalize),
11799 (gst_pad_collectv), (gst_pad_collect_valist),
11800 (gst_pad_template_dispose), (gst_pad_template_new),
11801 (gst_pad_get_internal_links):
11803 * gst/gstpipeline.c: (gst_pipeline_dispose),
11804 (gst_pipeline_change_state):
11805 * gst/gstpipeline.h:
11807 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11808 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11809 * gst/gstpluginfeature.h:
11810 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11811 * gst/gstquery.c: (_gst_query_type_initialize),
11812 (gst_query_type_register), (gst_query_type_get_by_nick),
11813 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11815 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11816 * gst/gstscheduler.c: (gst_scheduler_add_element),
11817 (gst_scheduler_factory_create):
11818 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11819 (gst_structure_free), (gst_structure_set_name),
11820 (gst_structure_id_set_value), (gst_structure_set_value),
11821 (gst_structure_set_valist), (gst_structure_remove_field),
11822 (gst_structure_remove_fields),
11823 (gst_structure_remove_fields_valist),
11824 (gst_structure_remove_all_fields), (gst_structure_foreach),
11825 (gst_structure_map_in_place),
11826 (gst_caps_structure_fixate_field_nearest_int),
11827 (gst_caps_structure_fixate_field_nearest_double):
11828 * gst/gststructure.h:
11829 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11830 (gst_system_clock_init), (gst_system_clock_dispose),
11831 (gst_system_clock_async_thread),
11832 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11833 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11834 * gst/gstsystemclock.h:
11835 * gst/gsttag.c: (gst_tag_list_add_value_internal),
11836 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11837 * gst/gsttaginterface.c:
11838 * gst/gstthread.c: (gst_thread_dispose),
11839 (gst_thread_release_children_locks), (gst_thread_change_state),
11840 (gst_thread_main_loop):
11841 * gst/gsttrashstack.h:
11842 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11844 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11845 (gst_element_request_pad), (gst_element_get_pad_from_template),
11846 (gst_element_request_compatible_pad),
11847 (gst_element_get_compatible_pad_filtered),
11848 (gst_element_get_compatible_pad), (gst_element_state_get_name),
11849 (gst_element_link_pads_filtered), (gst_element_link_filtered),
11850 (gst_element_link_many), (gst_element_link),
11851 (gst_element_link_pads), (gst_element_unlink_pads),
11852 (gst_element_unlink_many), (gst_element_unlink),
11853 (gst_pad_can_link_filtered), (gst_pad_can_link),
11854 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11855 (gst_object_default_error), (gst_bin_add_many),
11856 (gst_bin_remove_many), (gst_element_populate_std_props),
11857 (gst_element_class_install_std_props), (gst_buffer_merge),
11858 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11859 (link_fold_func), (gst_pad_proxy_setcaps):
11861 * gst/gstvalue.c: (gst_value_deserialize_string):
11862 * gst/parse/grammar.y:
11863 * gst/schedulers/gstbasicscheduler.c:
11864 (gst_basic_scheduler_cothreaded_chain),
11865 (gst_basic_scheduler_chain_recursive_add),
11866 (gst_basic_scheduler_pad_link):
11867 * gst/schedulers/gstoptimalscheduler.c:
11868 (get_group_schedule_function),
11869 (gst_opt_scheduler_state_transition),
11870 (gst_opt_scheduler_add_element), (element_get_reachables_func):
11871 * libs/gst/bytestream/bytestream.c:
11872 * libs/gst/dataprotocol/dataprotocol.c:
11873 (gst_dp_header_from_buffer):
11876 * tests/threadstate/threadstate2.c: (eos):
11877 * tools/gst-compprep.c: (main):
11878 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11879 (print_pad_info), (print_children_info):
11880 * tools/gst-launch.c: (idle_func), (main):
11881 * tools/gst-md5sum.c: (idle_func), (main):
11882 * tools/gst-xmlinspect.c: (print_element_info):
11883 First THREADED backport attempt, focusing on adding locks and
11884 making sure the API is threadsafe. Needs more work. More docs
11887 2005-02-24 Andy Wingo <wingo@pobox.com>
11889 * tests/bench-complexity.scm:
11890 * tests/complexity.gnuplot: New files, good for running complexity
11893 * tests/Makefile.am:
11894 * tests/complexity.c: New test, sets up N elements, at each level
11895 teeing into M streams per element. Eeeenteresting.
11897 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11898 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11899 running bench-mass_elements.scm.
11901 * tests/bench-mass_elements.scm: New script, runs mass_elements
11902 for various numbers of identities, outputting the results to a
11903 file. Requires guile 1.6. Just for testing.
11905 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
11907 * gst/schedulers/fairscheduler.c:
11908 compile with debug disabled
11910 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11913 hunting season on 0.9 is now OPEN