1 2005-11-24 Wim Taymans <wim@fluendo.com>
3 * docs/gst/gstreamer-sections.txt:
4 * gst/base/gstadapter.h:
5 * gst/base/gstbasesink.h:
6 * gst/base/gstbasesrc.h:
7 * gst/base/gstbasetransform.h:
8 * gst/base/gstpushsrc.h:
9 * gst/elements/gstfakesink.h:
10 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11 * gst/elements/gstfakesrc.h:
12 * gst/elements/gstfilesink.h:
13 * gst/elements/gstfilesrc.h:
16 * gst/gstbuffer.c: (_gst_buffer_copy):
19 * gst/gstchildproxy.c:
22 * gst/gstelementfactory.c:
23 * gst/gstelementfactory.h:
28 * gst/gstminiobject.c:
29 * gst/gstminiobject.h:
32 * gst/gstpadtemplate.h:
34 * gst/gstpluginfeature.h:
46 * gst/net/gstnetclientclock.c:
47 * gst/net/gstnetclientclock.h:
48 * gst/net/gstnettimepacket.c:
49 * gst/net/gstnettimeprovider.c:
50 * gst/net/gstnettimeprovider.h:
53 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
55 * configure.ac: back to HEAD
59 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
62 releasing 0.9.6, "Always On Time"
64 2005-11-23 Wim Taymans <wim@fluendo.com>
66 * docs/gst/gstreamer-sections.txt:
70 * gst/net/gstnetclientclock.c:
71 * gst/net/gstnettimepacket.h:
74 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
77 * docs/libs/tmpl/gstcontrol.sgml:
78 * docs/manual/advanced-dparams.xml:
79 * docs/manual/appendix-checklist.xml:
80 * docs/manual/basics-elements.xml:
81 * docs/pwg/other-source.xml:
82 * docs/random/moving-plugins:
84 * tools/gst-launch.1.in:
85 remove mentions of sinesrc
87 2005-11-23 Michael Smith <msmith@fluendo.com>
89 * docs/gst/gstreamer-sections.txt:
90 Update for new API and API changes.
92 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
94 Documentation typo fix.
95 * gst/net/gstnettimepacket.c:
96 Documentation fixes for arguments.
98 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
100 * gst/gststructure.c: (gst_structure_get_fraction),
101 (gst_structure_parse_value),
102 (gst_structure_fixate_field_nearest_fraction):
103 * gst/gststructure.h:
104 * gst/gstutils.c: (gst_util_uint64_scale_int):
106 * scripts/update-funcnames:
108 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
109 Make gst_structure_fixate_field_nearest_fraction take a numerator
110 and denominator argument instead of a GValue
111 add gst_structure_get_fraction helper function.
113 2005-11-23 Wim Taymans <wim@fluendo.com>
115 * docs/design/part-TODO.txt:
118 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
119 * gst/net/gstnetclientclock.h:
120 Use parent fields for timeout and window_size.
122 2005-11-23 Andy Wingo <wingo@pobox.com>
124 * check/net/gstnetclientclock.c (test_functioning): Adjust to
125 rate_num/rate_denom change.
127 * gst/net/gstnetclientclock.c
128 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
129 OBJECT_LOCK. Don't call add_observation with the lock.
131 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
133 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
135 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
136 deal with rate as a fraction whose numerator and denominator are
138 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
139 master; the other fields are protected by the SLAVE_LOCK.
140 (do_linear_regression): Note that this must be called with the
142 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
143 OBJECT_LOCK. Call set_calibration instead of touching the
145 (gst_clock_set_property, gst_clock_get_property): Protect
146 master/slave parameters with the SLAVE_LOCK.
148 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
149 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
150 note that all of the instance variables that add_observation and
151 the set_master functions use are protected by that lock and not
153 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
155 * gst/gstclock.c (gst_clock_add_observation): No longer requires
156 the caller to take the object lock.
158 2005-11-23 Wim Taymans <wim@fluendo.com>
160 * gst/gsterror.c: (_gst_core_errors_init):
162 Add error for clock stuff.
164 * gst/gstpipeline.c: (gst_pipeline_change_state),
165 (gst_pipeline_set_clock):
166 Post clock error when clock cannot be used in a pipeline.
168 2005-11-23 Stefan Kost <ensonic@users.sf.net>
170 * docs/gst/gstreamer-sections.txt:
171 make two symbols from gstinfo private for the docs
172 * gst/base/gstcollectpads.h:
174 fix doc typos, update docs
176 2005-11-22 Wim Taymans <wim@fluendo.com>
178 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
179 (gst_base_sink_wait), (gst_base_sink_do_sync),
180 (gst_base_sink_handle_event):
181 * gst/base/gstbasesink.h:
182 No need to store the clock, the parent element class already
185 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
186 Updates for clock_set returning a gboolean
188 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
189 (gst_clock_id_wait_async), (gst_clock_class_init),
190 (gst_clock_init), (gst_clock_finalize),
191 (gst_clock_get_internal_time), (gst_clock_get_time),
192 (gst_clock_slave_callback), (gst_clock_set_master),
193 (gst_clock_get_master), (do_linear_regression),
194 (gst_clock_add_observation), (gst_clock_set_property),
195 (gst_clock_get_property):
197 Implement master/slave. When setting a clock as a slave, a
198 periodic timeout is scheduled to sample master and slave times.
199 Then the slave clock is recalibrated to match offset and rate
201 Update logging a bit.
202 Add flag so that a clock can state that is cannot be slaved to
205 * gst/gstelement.c: (gst_element_set_clock):
207 The set clock returns a gboolean for when an element cannot
208 deal with the selected clock in the pipeline.
210 * gst/gstpipeline.c: (gst_pipeline_change_state),
211 (gst_pipeline_set_clock):
213 Handle the case where the selected clock cannot be set on
216 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
217 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
218 (gst_net_client_clock_set_property),
219 (gst_net_client_clock_get_property),
220 (gst_net_client_clock_observe_times):
221 * gst/net/gstnetclientclock.h:
222 Use regression code in GstClock parent, remove duplicated
225 2005-11-22 Michael Smith <msmith@fluendo.com>
227 * gst/gstutils.c: (gst_util_clock_time_scale):
229 * docs/gst/gstreamer-sections.txt:
230 Rename method to have extra underscore.
232 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
234 * gst/elements/Makefile.am:
235 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
236 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
237 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
238 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
239 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
240 * gst/elements/gstfakesrc.h:
241 * gst/gstqueue.c: (queue_leaky_get_type):
242 correctly fix GEnumValues so that nick is the short lowercase
244 * tools/gst-inspect.c: (print_element_properties_info):
245 also show the nick, since it's useful to use from parse_launch
249 2005-11-22 Michael Smith <msmith@fluendo.com>
251 * gst/gstutils.c: (gst_util_clocktime_scale):
253 * docs/gst/gstreamer-sections.txt:
254 Add util method for scaling a clocktime by a fraction. Useful
255 implementation is left as an exercise for the reader.
257 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
259 * gst/gstvalue.c: (gst_value_collect_fraction_range):
260 If needed, allocate storage in the destination value during
263 2005-11-22 Edward Hervey <edward@fluendo.com>
265 * docs/gst/gstreamer-sections.txt:
270 * gst/gstutils.c: (gst_util_set_object_arg):
271 * tools/gst-compprep.c: (main):
272 * tools/gst-inspect.c: (print_element_properties_info):
273 Removed GstURI, closes bug #321061
275 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
277 * check/gst/gststructure.c: (GST_START_TEST):
278 * gst/gststructure.c: (gst_structure_parse_value):
279 Oops, broke automatic string type parsing.
280 Add a test to catch it in future.
282 2005-11-22 Andy Wingo <wingo@pobox.com>
284 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
285 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
286 Actually rename the function implementations. Grr.
288 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
290 * check/gst/capslist.h:
292 * check/gst/gststructure.c: (GST_START_TEST),
293 (gst_structure_suite):
294 Test automatic value type detection in gst_structure_from_string.
295 * gst/gststructure.c: (gst_structure_parse_value):
296 Add fraction as a type we try and guess automatically in
297 caps/structure strings.
299 2005-11-22 Andy Wingo <wingo@pobox.com>
301 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
303 * gst/gsttagsetter.h:
304 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
305 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
306 (gst_tag_setter_add_tag_valist)
307 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
308 _add_values, _add_valist, and _add_valist_values. Since this is an
309 interface the function suffixes should be more explicit so
310 language binding don't end up with element.add_valist ->
311 gst_tag_setter_add_valist, for example. Fixes #322069.
313 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
315 * check/gst/gstcaps.c: (GST_START_TEST):
316 Extend caps string tests to check that a caps to string
317 conversion is reversible and produces the same caps.
319 * gst/gststructure.c: (gst_structure_value_get_generic_type):
320 Output "fraction" as the generic type fraction range, so caps
321 serialisation and deserialisation works.
322 * check/gst/capslist.h:
323 * gst/gstvalue.c: (gst_value_deserialize_fraction):
324 Support 'MIN' and 'MAX' for deserialising fractions.
326 2005-11-22 Andy Wingo <wingo@pobox.com>
328 * gst/gstevent.h (gst_event_new_new_segment)
329 (gst_event_parse_new_segment, gst_event_new_buffer_size)
330 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
331 Renamed from *_newsegment, *_buffersize, *_notarget.
333 * scripts/update-funcnames: New script, performs the changes
336 2005-11-22 Wim Taymans <wim@fluendo.com>
338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
339 Make sure the GstFlowReturn is returned.
341 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
342 (gst_bus_add_signal_watch):
344 add gst_bus_add_signal_watch_full.
346 * gst/gstplugin.c: (gst_plugin_load_file):
349 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
351 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
352 Block the fakesrc srcpad when we send an event, to avoid
353 contention on the stream_lock causing random test failures.
355 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
357 * check/gst/gstvalue.c: (GST_START_TEST):
358 * gst/gstvalue.c: (gst_value_fraction_subtract):
361 2005-11-22 Stefan Kost <ensonic@users.sf.net>
364 include "gstchildproxy.h"
365 * gst/gstchildproxy.h:
366 * libs/gst/controller/gstcontroller.h:
367 use G_GNUC_NULL_TERMINATED
369 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
371 * check/gst/capslist.h:
372 * check/gst/gstcaps.c: (GST_START_TEST):
373 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
374 * gst/gststructure.c: (gst_structure_parse_range),
375 (gst_structure_fixate_field_nearest_fraction):
376 * gst/gststructure.h:
377 * gst/gstvalue.c: (gst_value_init_fraction_range),
378 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
379 (gst_value_collect_fraction_range),
380 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
381 (gst_value_set_fraction_range_full),
382 (gst_value_get_fraction_range_min),
383 (gst_value_get_fraction_range_max),
384 (gst_value_serialize_fraction_range),
385 (gst_value_transform_fraction_range_string),
386 (gst_value_compare_fraction_range),
387 (gst_value_deserialize_fraction_range),
388 (gst_value_intersect_fraction_fraction_range),
389 (gst_value_intersect_fraction_range_fraction_range),
390 (gst_value_subtract_fraction_fraction_range),
391 (gst_value_subtract_fraction_range_fraction),
392 (gst_value_subtract_fraction_range_fraction_range),
393 (gst_value_collect_fraction), (gst_value_fraction_multiply),
394 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
395 (gst_value_transform_string_fraction), (_gst_value_initialize):
397 Implement fraction ranges and extend GstFraction to support
398 arithmetic subtraction, as well as deserialization from integer
399 strings such as "100"
400 Add a testsuite as for int and double range set operations
402 2005-11-21 Andy Wingo <wingo@pobox.com>
406 * gst/gststructure.h: Add glib-compat.h.
408 2005-11-21 Wim Taymans <wim@fluendo.com>
410 * gst/gstbin.c: (gst_bin_change_state_func):
413 2005-11-21 Wim Taymans <wim@fluendo.com>
416 And add a nice define too.
418 2005-11-21 Wim Taymans <wim@fluendo.com>
420 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
421 (gst_segment_new), (gst_segment_free), (gst_segment_init),
422 (gst_segment_set_duration), (gst_segment_set_last_stop),
423 (gst_segment_set_seek), (gst_segment_set_newsegment),
424 (gst_segment_to_stream_time), (gst_segment_to_running_time),
427 Make binding friendly.
429 2005-11-21 Andy Wingo <wingo@pobox.com>
431 * gst/gsttagsetter.h:
433 * gst/gststructure.h:
435 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
438 * gst/gsterror.c (_gst_core_errors_init):
439 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
442 * gst/Makefile.am (gst_headers): Add glib-compat.h.
443 (noinst_HEADERS): noinst the -private.
445 2005-11-21 Michael Smith <msmith@fluendo.com>
449 Remove unimplemented declarations for which we can see no sensible
452 2005-11-21 Andy Wingo <wingo@pobox.com>
454 * gst/gst.h: Include glib-compat.h.
456 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
458 * gst/glib-compat.c: Include the public and the private header.
460 * gst/glib-compat-private.h: Copied here from glib-compat.h.
464 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
466 * check/gst/gstevent.c (create_custom_events): Check that
467 FLUSH_STOP is serialized.
469 * check/elements/identity.c (event_func):
470 * check/elements/fakesrc.c (event_func): No stream lock, the core
473 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
474 stream lock taking, yay.
476 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
477 ensure that core takes the stream lock.
479 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
482 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
483 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
484 it already. For the flush start we do take it though so we get the
485 right preroll state change messages.
487 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
488 the stream lock here, the core does it for us.
490 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
492 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
493 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
494 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
495 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
496 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
497 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
499 * gst/gstpad.c: Update for stream lock name change.
501 * gst/base/gstbasesink.c: Update for preroll lock name change.
503 2005-11-21 Wim Taymans <wim@fluendo.com>
505 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
506 (gst_clock_get_master):
508 * gst/gstsystemclock.c: (gst_system_clock_init):
509 Convert Clock flags to object flags.
510 Added methods to manage master/slave clocks.
512 2005-11-21 Wim Taymans <wim@fluendo.com>
514 * check/gst/gstsegment.c: (GST_START_TEST):
515 * docs/design/part-TODO.txt:
516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
517 (gst_base_sink_event), (gst_base_sink_do_sync),
518 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
519 (gst_base_sink_query), (gst_base_sink_change_state):
520 * gst/base/gstbasesink.h:
521 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
522 (gst_base_src_default_newsegment),
523 (gst_base_src_configure_segment), (gst_base_src_do_seek),
524 (gst_base_src_get_range), (gst_base_src_loop),
525 (gst_base_src_change_state):
526 * gst/base/gstbasesrc.h:
527 * gst/base/gstbasetransform.c:
528 (gst_base_transform_prepare_output_buf),
529 (gst_base_transform_event), (gst_base_transform_change_state):
530 * gst/base/gstbasetransform.h:
531 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
532 (gst_collect_pads_event):
533 * gst/base/gstcollectpads.h:
534 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
535 (gst_fake_src_create):
536 * gst/elements/gstfakesrc.h:
537 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
538 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
539 (gst_segment_set_last_stop), (gst_segment_set_seek),
540 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
541 (gst_segment_to_running_time), (gst_segment_clip):
543 More segment updates, replace code in plugins with segment
546 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
548 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
549 Don't ignore sscanf results
551 2005-11-21 Andy Wingo <wingo@pobox.com>
553 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
556 * *.c: Ran scripts/update-macros. Oh yes.
558 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
559 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
562 * scripts/update-macros: New script. Run it on your files to
563 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
566 2005-11-21 Stefan Kost <ensonic@users.sf.net>
568 * docs/gst/Makefile.am:
569 * docs/gst/gstreamer-docs.sgml:
570 * docs/gst/gstreamer-sections.txt:
571 * docs/gst/gstreamer.types:
573 more docs fixes, add new api to the docs
575 2005-11-21 Andy Wingo <wingo@pobox.com>
577 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
578 state_broadcast call.
580 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
582 2005-11-21 Julien MOUTTE <julien@moutte.net>
584 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
585 function calls for arrays.
587 2005-11-21 Stefan Kost <ensonic@users.sf.net>
589 * docs/random/ensonic/media-device-daemon.txt:
590 wild idea, can this be done?
591 * docs/gst/gstreamer-sections.txt:
596 * gst/gstpluginfeature.c:
600 doc fixes and additions
602 2005-11-21 Andy Wingo <wingo@pobox.com>
604 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
605 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
606 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
607 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
608 private to the basesrc implementation.
610 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
611 behalf of event function if necessary. It should no longer be
612 necessary to take the stream lock in pad's event functions. Fixes
615 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
616 * docs/gst/gstreamer-sections.txt:
617 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
618 (gst_structure_fixate_field_nearest_double),
619 (gst_structure_fixate_field_boolean):
620 * gst/gststructure.h:
621 * win32/common/libgstreamer.def:
622 * win32/gstreamer.def:
624 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
627 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
629 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
630 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
631 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
632 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
633 (gst_fdsrc_uri_handler_init):
634 * gst/elements/gstfdsrc.h:
635 Port fd:// URI handler from 0.8 to fdsrc
637 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
639 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
640 (gst_value_serialize_fourcc):
642 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
643 consistent with our other format defines (#320324).
645 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
647 * gst/gstvalue.c: (gst_value_is_fixed):
648 Revert previous commit. Value lists are by definition
649 not fixed, as they are a list of possible values.
651 2005-11-21 Andy Wingo <wingo@pobox.com>
653 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
654 during the stable series if we need it. Fixes #319178.
656 * gst/gstevent.c (gst_event_new_filler): Removed.
658 * check/gst/gstevent.c: Update comment about filler events.
660 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
662 * gst/gstvalue.c: (gst_value_is_fixed):
663 Should handle both value arrays and value lists.
665 2005-11-21 Andy Wingo <wingo@pobox.com>
667 patch by: Alessandro Dessina <alessandro nnva org>
669 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
670 functions to access arrays. Fixes #321962.
672 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
674 * docs/gst/gstreamer.types:
675 gst_collectpads_get_type => gst_collect_pads_get_type.
677 * gst/base/gstbasetransform.c:
678 Remove unused SIGNAL_HANDOFF enum.
680 2005-11-21 Andy Wingo <wingo@pobox.com>
682 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
683 the event type (upstream, downstream, serialized). Renamed
684 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
685 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
686 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
688 * gst/gstevent.c: Update for new CUSTOM event names.
690 * check/gst/gstevent.c: Update check for new CUSTOM event names.
693 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
696 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
698 * docs/gst/gstreamer-sections.txt:
699 * win32/common/libgstbase.def:
700 * win32/libgstbase.def:
701 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
702 (gst_collect_pads_class_init), (gst_collect_pads_init),
703 (gst_collect_pads_finalize), (gst_collect_pads_new),
704 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
705 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
706 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
707 (gst_collect_pads_start), (gst_collect_pads_stop),
708 (gst_collect_pads_peek), (gst_collect_pads_pop),
709 (gst_collect_pads_available), (gst_collect_pads_read),
710 (gst_collect_pads_flush), (gst_collect_pads_event),
711 (gst_collect_pads_chain):
712 * gst/base/gstcollectpads.h:
713 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
714 unimplemented functions as unimplemented. Add padding to
715 GstCollectData. (#320766, #320423)
717 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
720 Improve docs for DURATION message (usage of duration parameter)
723 2005-11-20 Wim Taymans <wim@fluendo.com>
726 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
730 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
731 (gst_segment_set_seek), (gst_segment_set_newsegment),
732 (gst_segment_to_stream_time), (gst_segment_to_running_time),
735 Added segment helper structure and methods. Not fully implemented
739 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
741 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
742 Add a deserialisation test for fractions
743 * examples/metadata/read-metadata.c: (message_loop),
744 (make_pipeline), (main):
745 Fix up metadata reading sample.
746 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
748 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
749 Don't try and fixate empty caps
751 Wrap in G_BEGIN_DECLS/G_END_DECLS
752 * gst/gstvalue.c: (gst_value_collect_fraction),
753 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
754 (gst_value_transform_string_fraction),
755 (gst_value_compare_fraction):
756 Add some extra guards to ensure that we don't end up
757 with an invalid denominator of 0 in a gstfraction and
758 that fractions always get reduced.
760 2005-11-20 Wim Taymans <wim@fluendo.com>
762 * docs/gst/gstreamer-sections.txt:
773 2005-11-20 Wim Taymans <wim@fluendo.com>
775 * docs/design/part-TODO.txt:
777 Make a proper enum of the flag.
779 2005-11-19 Wim Taymans <wim@fluendo.com>
781 * docs/design/part-TODO.txt:
782 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
783 (gst_format_to_quark), (gst_format_register):
785 * gst/gstquery.c: (_gst_query_initialize),
786 (gst_query_type_get_name), (gst_query_type_to_quark),
787 (gst_query_type_register):
789 Add type to quark and type to string conversions.
791 2005-11-19 Andy Wingo <wingo@pobox.com>
793 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
796 2005-11-19 Wim Taymans <wim@fluendo.com>
798 * docs/design/part-TODO.txt:
799 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
800 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
801 (gst_bin_handle_message_func):
803 Make message handling overridable.
805 2005-11-19 Andy Wingo <wingo@pobox.com>
807 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
810 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
812 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
813 is a GstClockTime. Fixes #321710.
815 * gst/gstclock.h (GstClock): Remove offset property. Add
816 internal_calibration and external_calibration. Fix padding. Pad
817 also by GstClockTime so we don't run into problems.
819 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
820 (gst_clock_get_rate_offset): Remove.
821 (gst_clock_set_time_adjust): Remove. Fixes #321712.
824 * gst/gstutils.c (g_static_rec_cond_wait)
825 (g_static_rec_cond_timed_wait): Removed, no longer needed.
827 * gst/gstbin.c: Remove terrible continue_state prototype.
829 * gst/gstelement.h (gst_element_continue_state): Make public.
832 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
833 by continue_state. Fixes #319389.
835 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
836 Really fixes #168438. However I don't see anywhere where the
837 filter function is called... stupid GStreamer...
839 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
840 don't have a dispose function, so it won't get called when the
841 object is unreffed, but oh well!
843 * gst/gstindex.c (gst_index_set_filter_full): New API function,
844 allows a destroy function to be set so user_data can be freed.
846 (gst_index_set_filter): Call gst_index_set_filter_full.
848 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
850 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
851 string should produce an error, given the lack of a way to
852 represent NULL strings. Fixes #165650.
855 * gst/gstvalue.c (gst_value_array_append_value)
856 (gst_value_array_prepend_value, gst_value_array_get_size)
857 (gst_value_array_get_value): New API, copied from
858 gst_value_list_*, only operates on arrays.
859 (gst_value_list_append_value, gst_value_list_prepend_value)
860 (gst_value_list_concat, gst_value_list_get_size)
861 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
863 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
864 init_list, because it works on both.
865 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
866 (gst_value_copy_list_or_array): Renamed from copy_list.
867 (gst_value_free_list_or_array): Renamed from free_list.
868 (gst_value_collect_list_or_array): Renamed from collect_list.
869 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
870 (gst_value_list_or_array_peek_pointer): Renamed from
872 (_gst_value_array_value_table, _gst_value_list_value_table):
873 Update value table functions.
874 (gst_value_compare_list_or_array): Renamed from compare_list.
876 * gsttaglist.h: Whoops, foreach function returns void. Also fix
880 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
881 GstTagList*. Fixes #143472.
883 * gst/gststructure.h: Clarify what the foreach/map functions can
884 or can't do to their arguments.
886 2005-11-18 Wim Taymans <wim@fluendo.com>
888 * gst/gstclock.c: (gst_clock_set_calibration),
889 (gst_clock_get_calibration):
891 Calibration can be set with internal time equal to current
894 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
900 2005-11-18 Andy Wingo <wingo@pobox.com>
903 * pkgconfig/gstreamer-net.pc.in:
904 * pkgconfig/gstreamer-net-uninstalled.pc.in:
905 * pkgconfig/Makefile.am: Add net pkgconfig files.
907 2005-11-18 Stefan Kost <ensonic@users.sf.net>
916 2005-11-18 Andy Wingo <wingo@pobox.com>
918 * gst/net/gstnetclientclock.c: Turn off debugging.
920 * check/net/gstnetclientclock.c (test_functioning): Assert that the
921 times connverge somewhat. Can't make a real test.
923 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
924 integer arithmetic. Return the minimum of the domain, which can be
925 set as "internal" for gst_clock_set_calibration.
926 (gst_net_client_clock_observe_times): Call _set_calibration.
927 (gst_net_client_clock_new): Call _set_calibration instead of
930 * check/net/gstnetclientclock.c (test_functioning): Use the right
934 * gst/gstclock.c (gst_clock_get_calibration)
935 (gst_clock_set_calibration): New functions, obsolete the ones I
936 added yesterday. Doh. Precision issues mean we have to extrapolate
937 from a point in the more recent past than 1970.
938 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
940 (gst_clock_adjust_unlocked): Use the right calibration data.
942 2005-11-18 Edward Hervey <edward@fluendo.com>
944 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
945 Also reset the ->current_* values in READY->PAUSED
947 2005-11-18 Andy Wingo <wingo@pobox.com>
949 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
950 Whoops, check the right fd. Also add some debugging.
951 (gst_net_client_clock_observe_times): Adjust for int64 offset.
952 (do_linear_regression): Add a crapload of debugging. Subtract off
953 the minimum values from the input series to discard unneeded bits.
954 Use only int arithmetic. There is still double arithmetic when
955 calculating the intercept that needs fixing. Return boolean to
956 indicate success; FALSE would mean the domain or range is too
957 great. Still needs fixes.
959 2005-11-18 Wim Taymans <wim@fluendo.com>
961 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
962 For the current position in stream time, we need to subtract
965 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
966 Release lock before calling the callback function of async
969 2005-11-18 Andy Wingo <wingo@pobox.com>
971 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
972 Port goes all the way to MAXUINT16.
974 * gst/net/gstnettimeprovider.c: Make the port range the same as
975 for the kernel: 0 assigns, otherwise ports are less than
978 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
981 * check/net/gstnetclientclock.c (test_functioning): Add the start
984 2005-11-18 Wim Taymans <wim@fluendo.com>
986 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
987 (gst_bin_remove_func), (bin_bus_handler):
989 Removing a clock provider from a bin, triggers a clock lost message
990 so that a new clock will be selected.
991 Adding a clock to a bin triggers a clock provider message.
992 Make sure we reselect a clock when we received a clock lost message.
993 Keep a reference to the element that provided the clock.
995 2005-11-18 Andy Wingo <wingo@pobox.com>
997 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
998 the clock initially so it produces values around the base time.
999 (gst_net_client_clock_class_init): Typo fix.
1000 (gst_net_client_clock_thread): Add note on when the socket gets
1003 2005-11-17 Wim Taymans <wim@fluendo.com>
1005 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1006 Free remote and local time arrays.
1008 2005-11-17 Wim Taymans <wim@fluendo.com>
1010 * gst/net/gstnetclientclock.c: (do_linear_regression),
1011 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1012 Fix compilation, uninitialized vars and a forgotten continue.
1014 2005-11-17 Andy Wingo <wingo@pobox.com>
1016 * check/Makefile.am (check_PROGRAMS):
1017 * check/net/gstnetclientclock.c: Add a most minimal test for the
1018 net client clock. More to come later.
1021 * gst/net/Makefile.am: Add netclientclock.
1023 * gst/net/gstnetclientclock.h:
1024 * gst/net/gstnetclientclock.c: New files, implement an untested
1025 GstClock that takes its time from a network time provider.
1026 Implements the algorithm in network-clock.scm.
1028 * tests/network-clock.scm (*window-size*): Rename from
1030 * tests/network-clock.scm (network-time):
1031 * tests/network-clock-utils.scm (q-push): Update callers.
1033 2005-11-17 Wim Taymans <wim@fluendo.com>
1035 * gst/gstbin.c: (gst_bin_provide_clock_func),
1036 (gst_bin_sort_iterator_new):
1037 And unref the child too..
1039 2005-11-17 Wim Taymans <wim@fluendo.com>
1041 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1042 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1043 Refactor the sort iterator so it can be used while holding the
1045 Make clock selection select a clock closest to the source.
1047 2005-11-17 Michael Smith <msmith@fluendo.com>
1049 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1050 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1052 Anonymous structs are a gcc (and some other compilers) extension, so
1053 don't use them. Since this is only for ABI-compatibility, and our
1054 API/ABI freeze is over in a few days, this whole thing will only
1055 last a few days, so don't bother trying to think up a meaningful
1056 name for the struct.
1058 2005-11-17 Andy Wingo <wingo@pobox.com>
1060 * gst/gstclock.h (GstClock): Add rate and offset properties,
1061 preserving ABI stability. Add rate/offset accessors. Will file bug
1062 for the freeze break.
1064 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1065 and offset, trying to keep precision and avoiding
1067 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1068 functions. Make gst_clock_set_time_adjust obsolete.
1069 (gst_clock_set_time_adjust): Note that this function is obsolete.
1072 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1073 greppable by using GST_PADDING-1+1.
1075 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1077 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1079 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1080 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1082 * gst/gstpadtemplate.h:
1083 * gst/gstpluginfeature.h:
1084 Don't use c++ style comments in headers (#321638).
1086 2005-11-16 Andy Wingo <wingo@pobox.com>
1088 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1091 * check/net/gstnettimeprovider.c: Check to see that the time
1092 provider actually provides times. Works, yo!
1094 2005-11-16 Wim Taymans <wim@fluendo.com>
1096 * check/Makefile.am:
1099 * check/elements/fakesrc.c: (GST_START_TEST):
1100 Set element to NULL before disposing it.
1102 2005-11-16 Andy Wingo <wingo@pobox.com>
1104 * gst/net/Makefile.am:
1106 * gst/net/gstnettimeprovider.c:
1107 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1108 provider, include it from gstnet.h, and add it to the build.
1110 * gst/net/gstnettimepacket.h:
1111 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1112 sending and receiving.
1114 2005-11-16 Wim Taymans <wim@fluendo.com>
1116 * check/Makefile.am:
1117 Enable valgrind check.
1119 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1120 (gst_fake_src_alloc_buffer):
1123 2005-11-16 Wim Taymans <wim@fluendo.com>
1125 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1126 Call parent finalize too.
1128 2005-11-16 Wim Taymans <wim@fluendo.com>
1130 * check/Makefile.am:
1131 Enable valgrind check that should work fine now.
1133 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1134 * gst/gstqueue.c: (gst_queue_init):
1135 Fix memleaks in pad allocation.
1137 2005-11-16 Andy Wingo <wingo@pobox.com>
1139 * gst/net/Makefile.am:
1140 * gst/net/gstnet.h: New part of core to hold network elements and
1141 objects. Put in core because it exposes API that applications want
1142 to use. The library is named libgstnet-tempname right now because
1143 of the existing libgstnet in gst-plugins-base. Solution is
1144 probably to rename the one in plugins-base; will file a bug for
1147 * gst/net/gstnettimeprovider.c:
1148 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1149 get_time call over the network.
1152 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1154 * check/Makefile.am:
1155 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1156 get additions shortly.
1158 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1160 * gst/gstpad.c: (gst_pad_new_from_static_template):
1162 add gst_pad_new_from_static_template functions
1163 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1164 (gst_check_setup_sink_pad):
1165 * gst/elements/gsttee.c: (gst_tee_init):
1168 2005-11-16 Wim Taymans <wim@fluendo.com>
1170 * gst/gstpad.c: (gst_pad_pause_task):
1171 Removed warning, it's not really an error either.
1173 2005-11-16 Wim Taymans <wim@fluendo.com>
1175 * gst/base/gstbasetransform.c:
1176 (gst_base_transform_prepare_output_buf),
1177 (gst_base_transform_event):
1178 Check if the caps are NULL, this can happen if the element
1179 is shutting down and the pad caps are set to NULL.
1181 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1183 * gst/elements/gsttee.c: (gst_tee_init):
1184 fix pad template leak in tee
1186 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1188 * gst/glib-compat.c: (g_value_dup_gst_object):
1189 * gst/glib-compat.h:
1190 * gst/gstpad.c: (gst_pad_set_property):
1191 use gst_object_ref when setting the pad template; this will
1192 trigger the pad template leaks on GLib 2.6 and the slaves
1194 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1196 * gst/glib-compat.c: (gst_flags_get_first_value):
1197 * gst/glib-compat.h:
1198 * gst/gstregistryxml.c:
1199 remove functions copied from GLib 2.6
1201 2005-11-16 Michael Smith <msmith@fluendo.com>
1204 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1205 do, but only breaks with newer valgrind versions. We're not a
1206 valgrind tool, we have no link-time dependencies on libcoregrind.
1208 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1210 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1215 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1217 * gst/base/gstbasesrc.c: (gst_base_src_init):
1218 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1219 * gst/gstqueue.c: (gst_queue_init):
1220 * gst/gstregistryxml.c: (load_feature):
1221 Revert all these unrefs, they don't even pass make check !
1223 2005-11-15 Johan Dahlin <johan@gnome.org>
1225 * gst/base/gstbasesrc.c: (gst_base_src_init):
1226 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1227 * gst/gstqueue.c: (gst_queue_init):
1228 Free pad templates, fixes a couple of leaks.
1230 2005-11-15 Daniel Fischer <dan at f3c dot com>
1232 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1234 * gst/gstpad.c: (gst_pad_get_property):
1235 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1236 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1239 2005-11-15 Wim Taymans <wim@fluendo.com>
1244 2005-11-15 Andy Wingo <wingo@pobox.com>
1246 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1248 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1249 using GST_CLOCK_TIME_NONE to disable base time management.
1250 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1251 time if it was NONE before.
1252 (gst_pipeline_change_state): Only munge the base time if
1253 stream_time != GST_CLOCK_TIME_NONE.
1255 * check/gst/gstpipeline.c (test_base_time): Punt around the
1256 problem of the probe not being called, because that's not the
1257 issue I'm looking at. Add a check that setting stream_time to NONE
1258 disables base time management.
1260 2005-11-15 Wim Taymans <wim@fluendo.com>
1262 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1263 segment_stop == -1 at startup.
1265 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1266 (gst_base_transform_change_state):
1267 Init segment values at start.
1269 2005-11-15 Wim Taymans <wim@fluendo.com>
1271 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1272 0 segment values are 0 in any format.
1274 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1275 * gst/base/gstbasetransform.h:
1276 Parse newsegment correctly in basetransform
1278 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1279 Sync to clock using updated segment values.
1281 2005-11-15 Andy Wingo <wingo@pobox.com>
1283 * check/gst/gstpipeline.c (test_base_time): Add check that the
1284 base time and stream time are reset correctly.
1286 2005-11-15 Wim Taymans <wim@fluendo.com>
1288 * docs/design/part-TODO.txt:
1289 Some more TODO items.
1291 2005-11-15 Andy Wingo <wingo@pobox.com>
1293 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1294 error if the user selected "no clock" as the clocking method.
1296 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1297 timestamps with live capture.
1299 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1300 is 0 but we are a live source, timestamp the buffers using the
1303 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1305 * docs/gst/gstreamer-sections.txt:
1307 * gst/gstghostpad.c:
1312 2005-11-14 Wim Taymans <wim@fluendo.com>
1315 add suppressions from Wim's Debian machine
1317 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1320 add suppressions from Andy's AMD64 Ubuntu machine
1322 2005-11-14 Andy Wingo <wingo@pobox.com>
1324 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1325 STATE_LOCK not necessary. Fixes #311489.
1327 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1330 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1331 this function is not implemented.
1333 2005-11-14 Julien MOUTTE <julien@moutte.net>
1335 * gst/base/gstbasetransform.c:
1336 (gst_base_transform_prepare_output_buf):
1337 Ref the source pad caps while we need them.
1340 2005-11-11 Wim Taymans <wim@fluendo.com>
1342 * docs/gst/gstreamer-sections.txt:
1343 Added some docs for GstCollectData.
1345 * gst/base/gstadapter.c:
1346 Some small code example fix.
1348 * gst/base/gstcollectpads.c:
1349 * gst/base/gstcollectpads.h:
1352 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1354 * configure.ac: back to HEAD
1356 === release 0.9.5 ===
1358 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1361 releasing 0.9.5, "Bike Lunch Day"
1363 2005-11-11 Wim Taymans <wim@fluendo.com>
1365 * gst/gstbuffer.c: (_gst_buffer_copy):
1368 * gst/gstcaps.c: (gst_caps_is_equal):
1370 Make _is_equal fast in the trivial cases.
1372 * gst/gstminiobject.c:
1373 * gst/gstminiobject.h:
1374 More docs. Spifify .h file.
1379 2005-11-11 Wim Taymans <wim@fluendo.com>
1381 * gst/base/gstbasetransform.c:
1382 (gst_base_transform_prepare_output_buf),
1383 (gst_base_transform_handle_buffer):
1385 If we're processing a buffer and need to allocate an output
1386 buffer, we cannot accept a format change. If we did get a
1387 format change, we have to alloc a buffer ourselves of the
1390 2005-11-11 Wim Taymans <wim@fluendo.com>
1392 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1393 While checking the flag for reentrancy in the gstcaps function
1394 is nice to detect recursive invocations, it also makes it
1395 impossible to call getcaps from multiple threads, which must be
1396 possible. So, checking for recursive calls has to go.
1398 2005-11-11 Michael Smith <msmith@fluendo.com>
1400 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1401 Don't sync on buffers that fall partially outside our current
1402 segment. Prevents an assertion failure/abort playing some files.
1404 2005-11-10 Andy Wingo <wingo@pobox.com>
1406 * check/gst/gstbin.c (test_message_state_changed_children): Style
1409 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1410 gst_bus_poll with the signal watch. Ensures that poll and a signal
1411 watch see the same messages.
1413 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1414 a poll and a watch at the same time get the same messages.
1416 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1418 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1419 * gst/gstcaps.c: (gst_caps_intersect):
1420 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1421 and it's not needed.
1423 2005-11-10 Wim Taymans <wim@fluendo.com>
1425 * docs/design/part-TODO.txt:
1428 2005-11-10 Wim Taymans <wim@fluendo.com>
1430 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1431 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1432 (gst_base_src_do_sync), (gst_base_src_get_range):
1433 Implement clock sync in base class.
1435 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1437 patch by: Tim-Philipp Müller <tim at centricular dot net>
1439 * gst/gststructure.c: (gst_structure_parse_field),
1440 (gst_structure_from_string):
1441 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1442 so that gst_parse_launch() can deal with spaces in filtered link
1443 caps (fixes #164479)
1444 * check/gst/capslist.h:
1445 * check/gst/gststructure.c: (GST_START_TEST):
1446 add unit tests for this change
1448 2005-11-10 Wim Taymans <wim@fluendo.com>
1450 * docs/gst/gstreamer-sections.txt:
1453 Fix docs, move some STATE macros to private.
1455 2005-11-10 Wim Taymans <wim@fluendo.com>
1457 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1458 Added check for bug #317341
1462 Some more spiffifying.
1464 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1465 Call peer linkfunction if we are a source pad. Totally fixes
1469 Update docs, source pads should call the peer linkfunction
1470 so they can atomically perform the pad link.
1472 2005-11-09 Wim Taymans <wim@fluendo.com>
1476 Uber-spiffy-spiffify some more.
1478 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1480 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1481 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1482 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1483 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1484 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1485 * gst/gstpad.c: (gst_pad_init):
1486 Use GST_DEBUG_FUNCPTR() more extensively.
1488 2005-11-09 Wim Taymans <wim@fluendo.com>
1490 * gst/gstobject.c: (gst_object_class_init):
1492 Documentation fixes.
1494 2005-11-09 Edward Hervey <edward@fluendo.com>
1496 * gst/gsttypefindfactory.c:
1499 2005-11-09 Edward Hervey <edward@fluendo.com>
1501 * gst/base/gsttypefindhelper.c:
1502 * gst/gsttypefind.c:
1503 * gst/gsttypefind.h:
1506 2005-11-09 Wim Taymans <wim@fluendo.com>
1508 * gst/gstiterator.c:
1515 2005-11-09 Wim Taymans <wim@fluendo.com>
1521 2005-11-09 Wim Taymans <wim@fluendo.com>
1523 * docs/gst/gstreamer-sections.txt:
1524 Moved the message async delivery private lock and cond
1525 to the private section.
1531 2005-11-09 Edward Hervey <edward@fluendo.com>
1533 * docs/gst/gstreamer-sections.txt:
1536 Document GstURIHandler
1538 2005-11-09 Wim Taymans <wim@fluendo.com>
1540 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1541 (gst_iterator_find_custom):
1542 * gst/gstiterator.h:
1545 2005-11-09 Wim Taymans <wim@fluendo.com>
1548 Document another field.
1550 * gst/gststructure.c:
1551 * gst/gststructure.h:
1554 2005-11-09 Wim Taymans <wim@fluendo.com>
1559 2005-11-09 Wim Taymans <wim@fluendo.com>
1561 * docs/gst/gstreamer-sections.txt:
1562 Added some new macros.
1569 2005-11-09 Wim Taymans <wim@fluendo.com>
1571 * docs/design/part-TODO.txt:
1572 Some more items for the TODO
1578 2005-11-09 Andy Wingo <wingo@pobox.com>
1580 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1581 to work on something else now tho...
1583 * gst/base/gstadapter.c: More adapter docs.
1585 * gst/elements/gstfilesink.c (gst_file_sink_start)
1586 (gst_file_sink_stop): New functions, replace the state change
1588 (gst_file_sink_class_init): Hook up the start and stop functions.
1589 (gst_file_sink_base_init): Don't set the state change handler any
1590 more. It was a bit ugly too, being set from here...
1591 (gst_file_sink_get_property, gst_file_sink_set_property):
1593 (gst_file_sink_set_location): More robust check that doesn't call
1596 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1598 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1599 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1601 2005-11-08 Wim Taymans <wim@fluendo.com>
1603 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1604 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1605 (gst_base_sink_chain), (gst_base_sink_change_state):
1606 * gst/base/gstbasesink.h:
1607 * gst/base/gstbasesrc.h:
1610 Avoid excessive typechecking in macros.
1612 * gst/gstminiobject.c: (gst_mini_object_get_type),
1613 (gst_mini_object_init), (gst_mini_object_new),
1614 (gst_mini_object_free):
1615 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1616 (gst_object_finalize):
1617 Remove cruft code, optimize alloc_trace.
1619 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1621 * docs/faq/gst-uninstalled:
1622 fix up PS1 for systems that try to reset it
1624 2005-11-07 Wim Taymans <wim@fluendo.com>
1626 * gst/base/gstbasesrc.c: (gst_base_src_init),
1627 (gst_base_src_get_range):
1628 Set the segment_end to -1 initially. Fixed typefind.
1630 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1632 * gst/base/gstadapter.c:
1633 Debug category should be 'adapter', not 'GstAdapter'.
1635 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1636 (gst_collectpads_class_init), (gst_collectpads_init),
1637 (gst_collectpads_peek), (gst_collectpads_pop),
1638 (gst_collectpads_event), (gst_collectpads_chain):
1639 Add debug category and some debugging output. Use boilerplate
1640 macros. Remove some extraneous words from docs.
1642 2005-11-05 Andy Wingo <wingo@pobox.com>
1644 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1647 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1649 * docs/gst/gstreamer-sections.txt:
1652 * gst/gstminiobject.h:
1657 2005-11-04 Wim Taymans <wim@fluendo.com>
1659 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1660 Small update to stop at the configured segment_end
1663 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1665 * gst/gstregistry.c:
1666 * gst/gstregistry.h:
1669 2005-11-04 Edward Hervey <edward@fluendo.com>
1671 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1672 Check if we are doing a segment seek and have arrived at the
1673 end of that segment.
1675 2005-11-04 Wim Taymans <wim@fluendo.com>
1677 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1678 Don't leak a mutex unlock in case of an error.
1683 2005-11-04 Wim Taymans <wim@fluendo.com>
1685 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1687 Get the context to wake up only once.
1689 2005-11-03 Wim Taymans <wim@fluendo.com>
1691 * check/states/sinks.c: (GST_START_TEST):
1692 Uncomment fixed check.
1694 * docs/design/part-TODO.txt:
1697 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1698 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1699 (gst_base_sink_get_position):
1700 If we are going to PLAYING, post the right pending state
1701 when we post the intermediate paused message.
1703 * gst/gstelement.c: (gst_element_continue_state),
1704 (gst_element_set_state_func), (gst_element_change_state):
1705 Don't post state changes that were between the same state
1708 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1710 * docs/gst/gstreamer-sections.txt:
1713 * gst/gstminiobject.h:
1716 more docs and doc style fixes
1718 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1720 * docs/gst/gstreamer-sections.txt:
1722 * gst/gstminiobject.c:
1725 2005-11-03 Andy Wingo <wingo@pobox.com>
1727 * check/states/sinks.c (test_livesrc_sink): Add checks that the
1728 state-changed messages actually have the right order and the right
1731 2005-11-03 Wim Taymans <wim@fluendo.com>
1733 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1734 Added some more checks. Specifically the case where NO_PREROLL
1735 elements are in the pipeline.
1737 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1738 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1739 (gst_base_sink_get_position):
1740 Post READY->PAUSED state change messages too.
1741 Fix bug where VOID was posted as pending state...
1743 * gst/gstbin.c: (gst_bin_recalc_state):
1744 use _element_continue_state() to continue the state change.
1746 * gst/gstelement.c: (gst_element_continue_state),
1747 (gst_element_commit_state), (gst_element_set_state_func),
1748 (gst_element_change_state), (gst_element_change_state_func):
1749 Lots of state change cleanups, assign the STATE_RETURN in
1750 a new continue_state() function that also propagates the
1751 last return value from a state change to the app.
1752 Update some debug statements with proper category.
1754 2005-11-03 Wim Taymans <wim@fluendo.com>
1756 * docs/design/part-events.txt:
1757 * docs/design/part-gstpipeline.txt:
1758 * docs/design/part-messages.txt:
1759 * docs/design/part-overview.txt:
1760 * docs/design/part-seeking.txt:
1761 * docs/design/part-states.txt:
1762 * docs/design/part-trickmodes.txt:
1763 * docs/manual/advanced-position.xml:
1767 People think !! is ugly, this looks better.
1769 * gst/gstpad.c: (gst_pad_set_blocked_async):
1770 Remove !! since it's fixed elsewhere now.
1772 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1774 * gst/gstminiobject.h:
1776 Add !! to _FLAG_IS_SET macros to make the result boolean.
1778 2005-11-03 Edward Hervey <edward@fluendo.com>
1780 * gst/gstpad.c: (gst_pad_set_blocked_async):
1781 comparing a flag and a gboolean rarely returns coherent results...
1782 Added two characters (!!) to make that work correctly.
1784 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1786 * gst/gstbus.c: (gst_bus_class_init):
1789 * gst/gstqueue.c: (gst_queue_loop):
1790 Don't assume a miniobject that isn't a buffer is an
1791 event (it could be that there is a refcounting
1792 problem somewhere and the pointer is stale and
1793 refers to an already destroyed miniobject).
1795 2005-11-03 Julien MOUTTE <julien@moutte.net>
1797 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1799 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1801 * docs/manual/advanced-position.xml:
1802 Update seek example and explanations to current 0.9 API.
1804 * gst/elements/gsttypefindelement.c:
1805 (gst_type_find_element_activate):
1806 Remove FIXME comment now that the found caps
1809 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
1811 * gst/gstregistryxml.c: (load_feature):
1812 Add another GST_STR_NULL instance
1814 2005-11-02 Edward Hervey <edward@fluendo.com>
1816 * gst/gstpad.c: (handle_pad_block):
1817 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1819 2005-11-02 Wim Taymans <wim@fluendo.com>
1824 * gst/gstelement.c: (gst_element_commit_state):
1825 Remove unused value.
1827 * gst/gstiterator.c:
1828 Mention that the returned element is reffed in the docs.
1830 2005-11-02 Wim Taymans <wim@fluendo.com>
1832 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1833 (gst_pad_push), (gst_pad_push_event):
1834 Unlock blocked pads when they are flushed.
1836 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1839 * docs/gst/gstreamer-sections.txt:
1842 * gst/gstregistry.c: (gst_registry_scan_path_level):
1843 fix for a nasty little missed situation where an installed plug-in
1844 which was in the cache did not get overridden by an uninstalled one
1845 which was earlier in the plugin path because the newly created plugin
1846 for the uninstalled one (not in the registry) didn't get its
1847 ->registered set to TRUE
1849 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1851 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1852 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1853 (gst_collectpads_is_active), (gst_collectpads_collect),
1854 (gst_collectpads_collect_range), (gst_collectpads_start),
1855 (gst_collectpads_stop), (gst_collectpads_peek),
1856 (gst_collectpads_pop), (gst_collectpads_available),
1857 (gst_collectpads_read), (gst_collectpads_flush):
1858 Guard public API with assertions.
1861 Fix docs for gst_pad_set_link_function().
1863 2005-11-02 Johan Dahlin <johan@gnome.org>
1865 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
1866 Unref found_caps after we used it.
1868 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1870 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1871 Don't try to ref NULL.
1873 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1875 * win32/common/config.h.in:
1876 provide a GST_FUNCTION that just gives a string for now
1878 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1880 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1881 (gst_object_flags_get_type), (register_gst_bin_flags),
1882 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1883 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1884 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1885 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1886 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1887 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1888 (gst_clock_flags_get_type), (register_gst_state),
1889 (gst_state_get_type), (register_gst_state_change_return),
1890 (gst_state_change_return_get_type), (register_gst_state_change),
1891 (gst_state_change_get_type), (register_gst_element_flags),
1892 (gst_element_flags_get_type), (register_gst_core_error),
1893 (gst_core_error_get_type), (register_gst_library_error),
1894 (gst_library_error_get_type), (register_gst_resource_error),
1895 (gst_resource_error_get_type), (register_gst_stream_error),
1896 (gst_stream_error_get_type), (register_gst_event_type),
1897 (gst_event_type_get_type), (register_gst_seek_type),
1898 (gst_seek_type_get_type), (register_gst_seek_flags),
1899 (gst_seek_flags_get_type), (register_gst_format),
1900 (gst_format_get_type), (register_gst_index_certainty),
1901 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1902 (gst_index_entry_type_get_type),
1903 (register_gst_index_lookup_method),
1904 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1905 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1906 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1907 (gst_index_flags_get_type), (register_gst_debug_level),
1908 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1909 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1910 (gst_iterator_result_get_type), (register_gst_iterator_item),
1911 (gst_iterator_item_get_type), (register_gst_message_type),
1912 (gst_message_type_get_type), (register_gst_mini_object_flags),
1913 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1914 (gst_pad_link_return_get_type), (register_gst_flow_return),
1915 (gst_flow_return_get_type), (register_gst_activate_mode),
1916 (gst_activate_mode_get_type), (register_gst_pad_direction),
1917 (gst_pad_direction_get_type), (register_gst_pad_flags),
1918 (gst_pad_flags_get_type), (register_gst_pad_presence),
1919 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1920 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1921 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1922 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1923 (gst_plugin_flags_get_type), (register_gst_rank),
1924 (gst_rank_get_type), (register_gst_query_type),
1925 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1926 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1927 (gst_tag_flag_get_type), (register_gst_task_state),
1928 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1929 (gst_alloc_trace_flags_get_type),
1930 (register_gst_type_find_probability),
1931 (gst_type_find_probability_get_type), (register_gst_uri_type),
1932 (gst_uri_type_get_type), (register_gst_parse_error),
1933 (gst_parse_error_get_type):
1934 * win32/common/gstversion.h:
1937 2005-11-01 Luca Ognibene <luogni@tin.it>
1940 fix docs. popt is dead, long live GOption.
1942 2005-10-31 Wim Taymans <wim@fluendo.com>
1947 2005-10-31 Andy Wingo <wingo@pobox.com>
1951 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1953 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1954 need to serialize property notifications on GLib 2.8. GLib 2.6 has
1955 the possibility of deadlocks here if code calling notify() or
1956 set() has a lock that can be taken in another notify handler (ABBA
1957 with class lock and e.g. python GIL state lock).
1959 2005-10-28 Julien MOUTTE <julien@moutte.net>
1961 * gst/gstbus.c: Doc updates.
1963 2005-10-28 Wim Taymans <wim@fluendo.com>
1965 * docs/design/part-TODO.txt:
1966 * gst/gstiterator.c:
1967 * gst/gstsystemclock.c:
1968 * gst/gstsystemclock.h:
1971 2005-10-28 Edward Hervey <edward@fluendo.com>
1973 * docs/gst/gstreamer-docs.sgml:
1974 * docs/gst/gstreamer-sections.txt:
1975 the GstURIType documentation page is private, it only defines GstURIType
1976 which should be defined in the GstURIHandler page
1978 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
1980 * gst/gstbin.c: (gst_bin_class_init):
1983 Documentation updates.
1985 2005-10-28 Wim Taymans <wim@fluendo.com>
1987 * docs/gst/gstreamer-sections.txt:
1990 Documented the clocks.
1992 2005-10-28 Stefan Kost <ensonic@users.sf.net>
1994 * docs/gst/gstreamer-sections.txt:
1995 move some macros to private sections
1996 * gst/gstminiobject.c:
1997 * gst/gstminiobject.h:
1998 add descriptions provided by ds and some more
2000 mark macro as to be removed
2002 2005-10-28 Wim Taymans <wim@fluendo.com>
2004 * docs/design/part-TODO.txt:
2005 Add an item to TODO.
2007 * gst/gstiterator.c: (gst_iterator_fold),
2008 (gst_iterator_find_custom):
2009 * gst/gstiterator.h:
2012 2005-10-28 Wim Taymans <wim@fluendo.com>
2014 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2015 (gst_base_transform_init):
2018 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2019 An EOS event marks the queue as completely filled.
2021 2005-10-27 Wim Taymans <wim@fluendo.com>
2023 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2024 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2025 Some more debugging.
2027 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2028 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2029 (gst_base_transform_event), (gst_base_transform_getrange),
2030 (gst_base_transform_chain):
2031 * gst/base/gstbasetransform.h:
2033 Protect transform and concurrent buffer alloc with a new lock.
2034 Try not to break ABI/API.
2036 2005-10-27 Wim Taymans <wim@fluendo.com>
2038 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2039 (gst_base_src_init), (gst_base_src_query),
2040 (gst_base_src_default_newsegment),
2041 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2042 (gst_base_src_send_event), (gst_base_src_event_handler),
2043 (gst_base_src_pad_get_range), (gst_base_src_loop),
2044 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2045 (gst_base_src_start), (gst_base_src_deactivate),
2046 (gst_base_src_activate_push), (gst_base_src_change_state):
2047 Move some stuff around and cleanup things.
2049 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2051 * gst/base/gstbasesrc.c: (gst_base_src_query):
2052 Add missing break statements.
2054 2005-10-27 Wim Taymans <wim@fluendo.com>
2056 * check/gst/gstbin.c: (GST_START_TEST):
2057 An extra refcount is taken in basesrc.
2059 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2060 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2061 (gst_base_src_loop):
2062 Small cleanups, check for flushing after being unlocked from the
2063 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2064 Don't send out EOS when going to READY.
2066 2005-10-27 Wim Taymans <wim@fluendo.com>
2068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2069 (gst_base_sink_get_position):
2072 * gst/gstbin.c: (message_check), (bin_replace_message),
2073 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2074 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2075 (bin_query_duration_init), (bin_query_duration_fold),
2076 (bin_query_duration_done), (bin_query_generic_fold),
2078 * tools/gst-launch.c: (main):
2081 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2083 * examples/controller/audio-example.c: (main):
2084 * examples/queue/queue.c: (event_loop):
2085 * gst/base/gstbasetransform.h:
2086 * gst/gstelement.c: (gst_element_send_event):
2088 * gst/gstpad.c: (gst_pad_send_event):
2091 changing log priority in error situations
2093 2005-10-25 Wim Taymans <wim@fluendo.com>
2095 * gst/gstbin.c: (message_check), (bin_replace_message),
2096 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2097 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2098 (bin_query_duration_init), (bin_query_duration_fold),
2099 (bin_query_duration_done), (bin_query_generic_fold),
2101 Some doc and debug updates.
2102 Cache previously requested query DURATION for speed. invalidate
2103 cached duration if element posts a DURATION message.
2105 2005-10-25 Wim Taymans <wim@fluendo.com>
2107 * docs/design/part-TODO.txt:
2110 * gst/gstbin.c: (message_check), (bin_replace_message),
2111 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2112 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2113 (bin_query_duration_init), (bin_query_duration_fold),
2114 (bin_query_duration_done), (bin_query_generic_fold),
2116 Handle SEGMENT_START/DONE messages correctly.
2117 More evolved query algorithm that handles duration queries
2120 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2121 (gst_element_get_state_func), (gst_element_abort_state),
2122 (gst_element_commit_state), (gst_element_lost_state):
2123 Some more debugging.
2128 2005-10-25 Wim Taymans <wim@fluendo.com>
2130 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2131 Don't use invalid stream_time.
2133 * gst/gstevent.c: (gst_event_new_newsegment):
2134 stream_time in newsegment cannot be undefined.
2136 2005-10-24 Wim Taymans <wim@fluendo.com>
2141 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2143 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2145 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2147 * docs/libs/tmpl/gstdparam.sgml:
2148 * docs/libs/tmpl/gstdplinint.sgml:
2149 * docs/libs/tmpl/gstdpman.sgml:
2150 * docs/libs/tmpl/gstdpsmooth.sgml:
2151 * docs/libs/tmpl/gstunitconvert.sgml:
2154 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2159 === release 0.9.4 ===
2161 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2164 releasing 0.9.4, "Tyrannosaurus Rex"
2166 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2168 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2169 (gst_file_sink_get_current_offset):
2170 Use fseeko() and ftello() if available. When falling back on
2171 lseek() to get the current offset, fflush() first to make sure
2172 everything is up-to-date and we get the right offset.
2174 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2176 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2177 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2178 * gst/gsterror.c: (_gst_stream_errors_init):
2180 * gst/gstqueue.c: (gst_queue_loop):
2182 remove prematurely added error category and clean up the instances
2184 2005-10-21 Wim Taymans <wim@fluendo.com>
2186 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2187 (gst_base_sink_get_position), (gst_base_sink_query),
2188 (gst_base_sink_change_state):
2189 Simply set the right flag when going to playing, that's all
2190 we need to do instead of calling a function inside the object
2191 lock (that could take the lock as well and deadlock)
2193 2005-10-21 Wim Taymans <wim@fluendo.com>
2195 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2196 (gst_base_src_loop):
2197 Don't warn, the peer element knows what to do best when
2198 the seek failed, it might try something else.
2200 2005-10-21 Wim Taymans <wim@fluendo.com>
2202 * gst/base/gstbasesrc.c: (gst_base_src_init),
2203 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2206 2005-10-21 Wim Taymans <wim@fluendo.com>
2208 * docs/design/part-segments.txt:
2211 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2212 Correctly set caps, even on the subbufer.
2214 2005-10-21 Wim Taymans <wim@fluendo.com>
2216 * docs/gst/gstreamer-docs.sgml:
2217 * docs/gst/gstreamer-sections.txt:
2224 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2228 And 2% more doc coverage.
2230 2005-10-21 Andy Wingo <wingo@pobox.com>
2232 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2235 2005-10-20 Wim Taymans <wim@fluendo.com>
2237 * gst/gsterror.c: (gst_error_get_message):
2240 * gst/gststructure.c:
2245 2005-10-20 Wim Taymans <wim@fluendo.com>
2250 Another 1% more coverage.
2252 2005-10-20 Wim Taymans <wim@fluendo.com>
2254 * docs/gst/gstreamer-sections.txt:
2255 * gst/gstelement.c: (gst_element_get_state_func),
2256 (gst_element_abort_state), (gst_element_commit_state),
2257 (gst_element_lost_state):
2259 * gst/gstquery.c: (gst_query_set_position),
2260 (gst_query_parse_position), (gst_query_set_duration),
2261 (gst_query_parse_duration), (gst_query_new_convert):
2263 Yay! 1% more docs coverage.
2265 2005-10-20 Wim Taymans <wim@fluendo.com>
2268 * gst/gstquery.c: (gst_query_set_position),
2269 (gst_query_parse_position), (gst_query_set_duration),
2270 (gst_query_parse_duration), (gst_query_new_convert):
2272 * gst/gstutils.c: (gst_element_query_convert):
2274 Docs and consistency fixes.
2276 2005-10-20 Wim Taymans <wim@fluendo.com>
2282 2005-10-20 Wim Taymans <wim@fluendo.com>
2284 * gst/gstbin.c: (message_check), (bin_replace_message),
2285 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2286 (update_degree), (gst_bin_sort_iterator_next),
2287 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2288 Reworked the message handling a bit, cache the messages instead of
2289 only the senders. alows us to do more in the future.
2291 2005-10-20 Wim Taymans <wim@fluendo.com>
2293 * docs/design/part-TODO.txt:
2296 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2297 (gst_base_sink_query):
2298 Don't use clock time to report position when in EOS.
2300 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2302 * tools/gst-inspect.c: (print_interfaces),
2303 (print_element_properties_info), (print_element_info):
2304 Fix interface output with gst-inspect -a; don't print
2305 newlines after double/float properties.
2307 2005-10-20 Wim Taymans <wim@fluendo.com>
2309 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2310 (gst_base_sink_query):
2311 Speed up current position calculation.
2313 * gst/base/gstbasesrc.c: (gst_base_src_query),
2314 (gst_base_src_default_newsegment):
2315 Correctly set stream position in newsegment.
2317 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2318 (update_degree), (gst_bin_sort_iterator_next),
2319 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2320 * gst/gstmessage.c: (gst_message_new_custom):
2321 Clean up debugging info
2323 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2324 (gst_queue_loop), (gst_queue_handle_src_query):
2327 2005-10-19 Wim Taymans <wim@fluendo.com>
2329 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2330 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2331 Fix query handling again.
2333 2005-10-19 Wim Taymans <wim@fluendo.com>
2335 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2336 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2337 * gst/base/gstbasesrc.c: (gst_base_src_query):
2338 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2339 * gst/elements/gsttypefindelement.c:
2340 (gst_type_find_handle_src_query), (find_element_get_length),
2341 (gst_type_find_element_activate):
2344 * gst/gstquery.c: (gst_query_new_position),
2345 (gst_query_set_position), (gst_query_parse_position),
2346 (gst_query_new_duration), (gst_query_set_duration),
2347 (gst_query_parse_duration), (gst_query_set_segment),
2348 (gst_query_parse_segment):
2350 Bundling query position/duration is not a good idea since duration
2351 does not change much and we don't want to recalculate it for every
2352 position query, so they are separated again..
2353 Base value in segment query is not needed.
2355 * gst/gstqueue.c: (gst_queue_handle_src_query):
2356 * gst/gstutils.c: (gst_element_query_position),
2357 (gst_element_query_duration), (gst_pad_query_position),
2358 (gst_pad_query_duration):
2360 Updates for query API change.
2361 Added some docs here and there.
2363 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2365 * check/gst/gstbin.c: (GST_START_TEST):
2366 * check/gst/gstghostpad.c: (GST_START_TEST):
2367 * check/pipelines/cleanup.c: (GST_START_TEST):
2368 wait on thread to die so we can check refcount correctly
2370 2005-10-18 Wim Taymans <wim@fluendo.com>
2372 * check/pipelines/stress.c: (GST_START_TEST):
2373 Make check a little more time consuming.
2375 2005-10-18 Wim Taymans <wim@fluendo.com>
2377 * check/Makefile.am:
2378 * check/pipelines/stress.c: (GST_START_TEST),
2379 (simple_launch_lines_suite), (main):
2380 Small state change torture test.
2382 * docs/design/part-states.txt:
2383 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2384 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2385 (gst_base_sink_change_state):
2386 Never take state lock from streaming thread, clean up ugly
2387 hacks. Unfortunatly core does not yet support nice ways to
2390 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2392 Start state recalc if a STATE_DIRTY message is posted, but only
2393 on the toplevel bin.
2395 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2396 (gst_element_get_state_func), (gst_element_abort_state),
2397 (gst_element_commit_state), (gst_element_lost_state),
2398 (gst_element_set_state_func), (gst_element_change_state):
2400 State variables are now protected with the LOCK, the state
2401 lock is only used to serialize _set_state().
2403 2005-10-18 Wim Taymans <wim@fluendo.com>
2405 * check/gst/gstbin.c: (GST_START_TEST):
2406 * check/gst/gstmessage.c: (GST_START_TEST):
2407 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2408 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2410 * gst/gstelement.c: (gst_element_abort_state),
2411 (gst_element_commit_state), (gst_element_lost_state):
2412 * gst/gstmessage.c: (gst_message_new_state_changed),
2413 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2414 (gst_message_new_segment_done), (gst_message_new_duration),
2415 (gst_message_parse_state_changed),
2416 (gst_message_parse_segment_start),
2417 (gst_message_parse_segment_done), (gst_message_parse_duration):
2419 * tools/gst-launch.c: (event_loop):
2420 Seriously, this is better than a previous commit as we only need
2421 to notify the fact that an element changed state in a streaming
2422 thread, marking the state of the parents dirty, hence the
2423 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2426 2005-10-18 Wim Taymans <wim@fluendo.com>
2428 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2429 (gst_bin_recalc_func):
2430 * gst/gstelement.c: (gst_element_set_clock),
2431 (gst_element_abort_state), (gst_element_lost_state):
2432 Cleanups, prepare for state change fixes.
2434 2005-10-18 Wim Taymans <wim@fluendo.com>
2437 * gst/gstelement.c: (gst_element_class_init),
2438 (gst_element_set_state), (gst_element_set_state_func):
2440 Pending ABI changes.
2441 GThreadPool in GstBinClass to monitor async state changes.
2442 state_cookie in GstElement to detect concurrent gst/set state.
2443 set_state is now virtual too in case a very complicated element
2444 has to be constructed.
2446 2005-10-18 Wim Taymans <wim@fluendo.com>
2448 * check/gst/gstbin.c: (GST_START_TEST):
2449 * check/gst/gstmessage.c: (GST_START_TEST):
2450 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2451 * gst/gstbin.c: (bin_bus_handler):
2452 * gst/gstelement.c: (gst_element_commit_state),
2453 (gst_element_lost_state):
2454 * gst/gstmessage.c: (gst_message_new_state_changed),
2455 (gst_message_new_segment_start), (gst_message_new_segment_done),
2456 (gst_message_new_duration), (gst_message_parse_state_changed),
2457 (gst_message_parse_segment_start),
2458 (gst_message_parse_segment_done), (gst_message_parse_duration):
2460 * tools/gst-launch.c: (event_loop):
2461 Make messages future proof.
2462 state-change gets a flag if it was a message comming from the
2464 segment-start/stop can also be specified in other formats.
2465 A message to notify an app that a pipeline changed playback
2467 Also fix a GstMessage leak in -launch
2469 2005-10-18 Andy Wingo <wingo@pobox.com>
2471 * gst/gstelement.c (gst_element_dispose): More helpful message.
2473 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2475 reviewed by: <delete if not using a buddy>
2477 * common/gtk-doc.mak:
2479 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2481 * gst/gstregistry.c: (gst_registry_scan_path_level):
2482 unref a plug-in we get that was already initialized
2484 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2486 * docs/gst/gstreamer-sections.txt:
2487 * docs/libs/gstreamer-libs-sections.txt:
2492 2005-10-17 Andy Wingo <wingo@pobox.com>
2494 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2497 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2499 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2501 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2502 (gst_element_get_state_func): Better debug message.
2503 (gst_element_commit_state): s/INFO/DEBUG/.
2504 (gst_element_lost_state, gst_element_change_state):
2506 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2507 (gst_message_new_custom): s/INFO/LOG/.
2509 2005-10-17 Michael Smith <msmith@fluendo.com>
2511 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2512 Check if end time is valid using end time, not start time.
2514 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2516 * check/gst-libs/controller.c: (GST_START_TEST),
2517 (gst_controller_suite):
2518 * libs/gst/controller/gstcontroller.c:
2519 (gst_controlled_property_set_interpolation_mode):
2520 * libs/gst/controller/gstcontroller.h:
2521 * libs/gst/controller/gstinterpolation.c:
2522 * testsuite/controller/.cvsignore:
2523 * testsuite/controller/Makefile.am:
2524 * testsuite/controller/interpolator.c:
2525 merge controller testsuites
2527 remove mem-chunk from docs
2529 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2531 * gst/gstmemchunk.c:
2532 * gst/gstmemchunk.h:
2533 * gst/gsttrashstack.c:
2534 * gst/gsttrashstack.h:
2535 out. get out. you're fired. to the Attic !
2537 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2539 * gst/gstcaps.c: (gst_caps_intersect):
2540 fix signedness issues in a (hopefully) correct way
2541 * gst/gstelement.c: (gst_element_pads_activate):
2543 * gst/gstobject.c: (gst_object_set_parent):
2546 2005-10-17 Julien MOUTTE <julien@moutte.net>
2548 * gst/gstvalue.h: Fix prototypes.
2550 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2552 * docs/gst/gstreamer-sections.txt:
2553 * gst/gst.c: (gst_version_string):
2555 * gst/gstversion.h.in:
2556 * win32/common/libgstreamer.def:
2557 add gst_version_string ()
2559 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2563 * gst/gst.c: (init_post):
2564 * win32/common/config.h.in:
2566 * gst/gstcaps.c: (gst_caps_intersect):
2567 use gint64, the range could be bigger than a guint
2569 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2572 document potential problem in 2038
2574 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2576 * gst/gstcaps.c: (gst_caps_intersect):
2577 Fix guint j diving under 0
2579 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2582 * win32/common/config.h:
2583 * win32/common/config.h.in:
2584 check for process.h, declares getpid() on Windows
2586 include process.h if we have it
2587 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2588 * gst/gstmemchunk.h:
2589 fix signedness issues
2590 * win32/common/libgstreamer.def:
2593 2005-10-16 Julien MOUTTE <julien@moutte.net>
2595 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2596 fix. Because of unsigned ints, caps intersection was going nuts and
2597 trying to access structures with G_MAXUINT index. That fixes
2598 videotestsrc ! ffmpegcolorspace ! fakesink
2599 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2602 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2605 use the gettext macro
2606 * gst/elements/gstelements.c:
2608 * gst/indexers/gstindexers.c:
2609 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2610 * win32/common/config.h:
2612 * win32/common/config.h.in:
2613 add the template to generate config.h
2614 * win32/common/gstenumtypes.c:
2615 * win32/common/gstversion.h:
2618 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2620 * gst/gst.c: (gst_version):
2621 * gst/gstversion.h.in:
2624 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2627 Oops, add missing closing bracket.
2629 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2632 use common m4's for argument checking
2634 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2636 * docs/gst/gstreamer-sections.txt:
2638 Add GST_EVENT_TYPE_NAME() macro.
2640 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2643 * gst/gstpluginfeature.c:
2645 privatize more symbols
2647 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2650 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2651 everything that uses GStreamer API should have the includes
2653 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2655 * docs/gst/gstreamer-sections.txt:
2656 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2658 give each value a _get_type, removes the DATA exports
2660 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2664 remove _gst_registry_auto_load, not used anymore
2665 * gst/gstbin.c: (gst_bin_get_type):
2667 * gst/gstelement.c: (gst_element_get_type):
2669 * gst/gstobject.c: (gst_object_get_type):
2671 * gst/gstpad.c: (gst_pad_get_type):
2673 make _get_type functions similar, fixes data export from library
2675 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2678 correctly make conditionals
2679 * gst/elements/Makefile.am:
2680 * gst/elements/gstelements.c:
2681 fix typo causing fdsrc not to build
2683 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2685 * testsuite/Makefile.am:
2686 * testsuite/bytestream/.cvsignore:
2687 * testsuite/bytestream/Makefile.am:
2688 * testsuite/bytestream/filepadsink.c:
2689 * testsuite/bytestream/gstbstest.c:
2690 * testsuite/bytestream/test1.c:
2691 * testsuite/bytestream/testfile1:
2692 * testsuite/caps/normalisation.c:
2693 * testsuite/caps/random.c: (main):
2694 * testsuite/cleanup/.cvsignore:
2695 * testsuite/cleanup/Makefile.am:
2696 * testsuite/cleanup/cleanup1.c:
2697 * testsuite/cleanup/cleanup2.c:
2698 * testsuite/cleanup/cleanup3.c:
2699 * testsuite/cleanup/cleanup4.c:
2700 * testsuite/cleanup/cleanup5.c:
2701 * testsuite/controller/interpolator.c:
2702 * testsuite/debug/printf_extension.c: (main):
2703 * testsuite/elements/tee.c:
2704 * testsuite/negotiation/.cvsignore:
2705 * testsuite/negotiation/Makefile.am:
2706 * testsuite/negotiation/pad_link.c:
2707 * testsuite/pad/Makefile.am:
2708 * testsuite/pad/chainnopull.c:
2709 * testsuite/pad/getnopush.c:
2710 * testsuite/pad/link.c:
2711 * testsuite/refcounting/sched.c: (create_pipeline):
2712 * testsuite/registry/Makefile.am:
2713 * testsuite/registry/gst-print-formats.c:
2714 * testsuite/schedulers/.cvsignore:
2715 * testsuite/schedulers/142183-2.c:
2716 * testsuite/schedulers/142183.c:
2717 * testsuite/schedulers/143777-2.c:
2718 * testsuite/schedulers/143777.c:
2719 * testsuite/schedulers/147713.c:
2720 * testsuite/schedulers/147819.c:
2721 * testsuite/schedulers/147894-2.c:
2722 * testsuite/schedulers/147894.c:
2723 * testsuite/schedulers/Makefile.am:
2724 * testsuite/schedulers/group_link.c:
2725 * testsuite/schedulers/queue_link.c:
2726 * testsuite/schedulers/relink.c:
2727 * testsuite/schedulers/unlink.c:
2728 * testsuite/schedulers/unref.c:
2729 * testsuite/schedulers/useless_iteration.c:
2730 * testsuite/states/bin.c:
2731 clean out/remove some stuff from the testsuite directories
2733 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2736 check for some headers
2737 * gst/elements/Makefile.am:
2738 * gst/elements/gstelements.c:
2739 don't compile fdsrc without sys/socket.h
2740 * gst/indexers/Makefile.am:
2741 * gst/indexers/gstindexers.c: (plugin_init):
2742 don't compile fileindex without mmap
2744 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2751 * check/Makefile.am:
2752 * docs/gst/Makefile.am:
2753 * examples/helloworld/Makefile.am:
2755 * gst/base/Makefile.am:
2756 * gst/check/Makefile.am:
2757 * gst/elements/Makefile.am:
2758 * gst/indexers/Makefile.am:
2759 * gst/parse/Makefile.am:
2760 * libs/gst/controller/Makefile.am:
2761 * libs/gst/dataprotocol/Makefile.am:
2762 * examples/helloworld/helloworld.c: (event_loop):
2763 compile fixes, though it's not being compiled currently
2765 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2767 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2768 Add some simple tests for the new taglist date API.
2770 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2772 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2773 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2774 Beautify 'last-message' output: print 'none' for buffer timestamps
2775 and durations if none is set; improve alignment with next messages.
2777 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2779 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2780 * gst/gstpluginfeature.h:
2781 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2782 * gst/gstregistry.h:
2783 * docs/gst/gstreamer-sections.txt:
2784 Add new API to check plugin feature version requirements.
2786 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2787 Some basic tests for the above.
2789 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2791 * gst/gststructure.c: (gst_structure_to_string):
2792 guard against NULL printf - happens when for example
2793 a message structure with GstClock gets serialized
2795 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2797 * gst/base/gstcollectpads.c: (gst_collectpads_event):
2798 Fix presumable copy'n'pasto.
2800 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2802 * gst/elements/gstfakesrc.h:
2803 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2804 * gst/elements/gsttypefindelement.c:
2806 * gst/elements/gstfilesink.c: (gst_file_sink_render):
2807 I wonder if this could actually write +2GB files before
2809 2005-10-13 Andy Wingo <wingo@pobox.com>
2811 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2812 Fix Timmeke Waymans bug.
2813 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2814 string of the proper length to gst_caps_from_string. There's a
2815 potential for, before this fix, that this could cause someone
2816 connecting over the network to cause a segfault if the payload is
2819 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2821 * docs/design/draft-push-pull.txt:
2822 * docs/design/part-overview.txt:
2823 * docs/random/TODO-pre-0.9:
2824 * docs/random/old/ChangeLog.gstreamer:
2825 * gst/base/gstpushsrc.c:
2829 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2831 * gst/glib-compat.c: (gst_flags_get_first_value):
2832 * gst/glib-compat.h:
2833 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2834 (gst_value_compare_double), (gst_value_serialize_flags):
2835 GLib 2.6 g_flags_get_first_value has a bug that triggers an
2838 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2841 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2843 * tools/gst-launch.c: (event_loop):
2844 print out clock nicely
2846 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2848 * docs/gst/gstreamer-sections.txt:
2850 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2851 (gst_tag_list_get_date_index):
2852 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2853 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2855 2005-10-13 Julien MOUTTE <julien@moutte.net>
2857 * gst/base/gstcollectpads.c: (gst_collectpads_event),
2858 (gst_collectpads_chain):
2859 * gst/base/gstcollectpads.h: Handle newsegment and store informations
2862 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2864 * docs/gst/gstreamer-sections.txt:
2867 * tools/gst-inspect.c: (main):
2868 * tools/gst-launch.c: (main):
2869 * tools/gst-run.c: (main):
2870 * tools/gst-xmlinspect.c: (main):
2871 fix GOption context leaks
2874 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2878 * win32/common/config.h:
2880 * win32/vs6/grammar.dsp:
2881 * win32/vs6/libgstelements.dsp:
2882 * win32/vs6/libgstreamer.dsp:
2885 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2888 * gst/base/gstbasesrc.c: (gst_base_src_query):
2889 fix more guint64<->gdouble conversions
2891 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2894 add win32-update target
2895 * win32/common/gstconfig.h:
2896 * win32/common/gstenumtypes.c:
2897 * win32/common/gstenumtypes.h:
2898 * win32/common/gstversion.h:
2899 add files that visual studio can't generate
2901 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2904 add a win32-update target
2907 2005-10-12 Wim Taymans <wim@fluendo.com>
2909 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2910 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2911 * gst/gstelement.c: (gst_element_commit_state),
2912 (gst_element_set_state):
2913 Protect flags with proper lock.
2914 unref provided cached clock in dispose.
2916 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2919 * gst/gstminiobject.h:
2921 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2922 removed unused flags from miniobject
2925 2005-10-12 Wim Taymans <wim@fluendo.com>
2927 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2928 (gst_file_sink_event), (gst_file_sink_render):
2929 Flush before seeking.
2931 2005-10-12 Andy Wingo <wingo@pobox.com>
2933 * gst/gst.c (gst_init_check): Ignore unknown options, as has
2934 always been the case.
2936 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2938 * check/gst/gstbin.c: (GST_START_TEST):
2939 * docs/gst/gstreamer-sections.txt:
2940 * gst/base/gstbasesink.c: (gst_base_sink_init):
2941 * gst/base/gstbasesrc.c: (gst_base_src_init),
2942 (gst_base_src_get_range), (gst_base_src_check_get_range),
2943 (gst_base_src_start), (gst_base_src_stop):
2944 * gst/base/gstbasesrc.h:
2945 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2946 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2947 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2951 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2953 * gst/gstelement.c: (gst_element_is_locked_state),
2954 (gst_element_set_locked_state), (gst_element_commit_state),
2955 (gst_element_set_state):
2957 * gst/gstindex.c: (gst_index_init):
2959 * gst/gstminiobject.h:
2960 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2961 (gst_object_set_parent):
2963 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2964 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2966 * gst/gstpadtemplate.h:
2967 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2968 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2969 * gst/gstpipeline.h:
2970 * gst/indexers/gstfileindex.c: (gst_file_index_load),
2971 (gst_file_index_commit):
2972 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2973 * testsuite/pad/link.c: (gst_test_src_init),
2974 (gst_test_filter_init), (gst_test_sink_init):
2975 * testsuite/states/locked.c: (main):
2976 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2977 moved bitshift from macro to enum definition
2979 2005-10-12 Wim Taymans <wim@fluendo.com>
2981 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2982 * gst/elements/gstfilesink.c: (gst_file_sink_event),
2983 (gst_file_sink_render):
2984 Some more debugging info.
2986 2005-10-12 Wim Taymans <wim@fluendo.com>
2988 * docs/design/part-states.txt:
2989 * tools/gst-launch.c: (main):
2991 Revert non-intentional change.
2993 2005-10-12 Wim Taymans <wim@fluendo.com>
2995 * check/gst/gstbin.c: (GST_START_TEST):
2996 * check/gst/gstelement.c: (GST_START_TEST):
2997 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2998 * check/gst/gstghostpad.c: (GST_START_TEST):
2999 * check/gst/gstpipeline.c: (GST_START_TEST):
3000 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3001 * check/states/sinks.c: (GST_START_TEST):
3002 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3003 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3004 (gst_bin_remove_func), (gst_bin_get_state_func),
3005 (gst_bin_recalc_state), (gst_bin_change_state_func),
3007 * gst/gstelement.c: (gst_element_get_state_func),
3008 (gst_element_get_state), (gst_element_abort_state),
3009 (gst_element_commit_state), (gst_element_set_state),
3010 (gst_element_change_state), (gst_element_change_state_func):
3012 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3013 (gst_pipeline_provide_clock_func):
3014 * gst/gstutils.c: (gst_element_link_pads_filtered):
3015 * tools/gst-launch.c: (main):
3016 * tools/gst-typefind.c: (main):
3017 Use GstClockTime in _get_state() instead of GTimeVal.
3018 Remove old code in gstutils.c
3020 2005-10-12 Andy Wingo <wingo@pobox.com>
3022 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3025 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3026 there is no task. Shouldn't affect any code, as nothing in our
3027 plugins checks this return value.
3028 (gst_pad_stop_task): Also take the stream lock if the pad has no
3031 2005-10-12 Wim Taymans <wim@fluendo.com>
3033 * gst/gstpad.c: (pre_activate), (post_activate),
3034 (gst_pad_activate_pull), (gst_pad_activate_push):
3035 Cleanup activation code. Reset old state if
3038 2005-10-12 Wim Taymans <wim@fluendo.com>
3040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3041 (gst_base_sink_change_state):
3042 No need to prerol after receiving EOS.
3044 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3045 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3046 * gst/elements/gstidentity.c: (gst_identity_event):
3047 Print events more verbosely.
3049 2005-10-12 Wim Taymans <wim@fluendo.com>
3051 * check/Makefile.am:
3052 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3053 * check/states/sinks2.c:
3054 Moved sinks2 testcode in sinks check.
3056 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3057 (gst_bin_remove_func), (gst_bin_recalc_state),
3058 (gst_bin_change_state_func), (bin_bus_handler):
3059 Fix potential race condition when _get_state() iterated over an
3060 ASYNC element right before it posted a state completion.
3063 Do proper cast here.
3065 * gst/gstevent.c: (gst_event_new_newsegment),
3066 (gst_event_parse_newsegment):
3067 A playback rate of 0.0 is not allowed.
3069 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3071 * win32/common/config.h:
3072 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3073 (_trewinddir), (_ttelldir), (_tseekdir):
3074 * win32/common/dirent.h:
3075 * win32/common/gtchar.h:
3076 * win32/common/libgstbase.def:
3077 * win32/common/libgstreamer.def:
3078 * win32/vs6/grammar.dsp:
3079 * win32/vs6/gst_inspect.dsp:
3080 * win32/vs6/gst_launch.dsp:
3081 * win32/vs6/gstreamer.dsw:
3082 * win32/vs6/libgstbase.dsp:
3083 * win32/vs6/libgstelements.dsp:
3084 * win32/vs6/libgstreamer.dsp:
3085 Visual Studio 6 project files, and a new common directory.
3088 2005-10-11 Wim Taymans <wim@fluendo.com>
3090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3091 (gst_base_sink_do_sync), (gst_base_sink_query),
3092 (gst_base_sink_change_state):
3093 * gst/base/gstbasesink.h:
3094 Correctly parse newsegment info.
3096 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3098 * gst/gst.c: (init_post):
3099 split plugin paths correctly
3101 2005-10-11 Wim Taymans <wim@fluendo.com>
3103 * check/gst/gstevent.c: (GST_START_TEST):
3104 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3105 (gst_base_sink_change_state):
3106 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3107 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3108 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3109 * gst/gstevent.c: (gst_event_new_newsegment),
3110 (gst_event_parse_newsegment):
3112 Added extra flag to newsegment for future API freeze.
3113 Updated check and base elements.
3115 2005-10-11 Julien MOUTTE <julien@moutte.net>
3117 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3118 (gst_collectpads_add_pad), (gst_collectpads_pop),
3119 (gst_collectpads_event), (gst_collectpads_chain):
3120 * gst/base/gstcollectpads.h: Handle EOS correctly.
3122 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3124 * tools/gst-launch.c: (main):
3125 more null protecting
3127 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3129 * gst/gst-i18n-lib.h:
3130 check for ENABLE_NLS, not GETTEXT_PACKAGE
3131 * gst/gstregistry.c: (gst_registry_add_plugin),
3132 (gst_registry_scan_path_level),
3133 (_gst_registry_remove_cache_plugins):
3134 protect possibly NULL strings
3135 * gst/parse/types.h:
3136 config.h already included before
3137 * tools/gst-inspect.c: (main):
3138 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3139 check for ENABLE_NLS, not GETTEXT_PACKAGE
3140 * tools/gst-launch.c: (main):
3141 check for ENABLE_NLS, not GETTEXT_PACKAGE
3143 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3146 if we don't have glib, fail before testing 2.8
3147 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3148 fix a leak, should fix plugins-base testsuite
3150 2005-10-11 Andy Wingo <wingo@pobox.com>
3152 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3153 take the mode we're going to as an arg. Go head and set the mode
3154 and flushing flags now, so that if the activate function starts a
3155 thread all the flags will be in the right state.
3156 (post_activate): Renamed also. Just handle making sure streaming
3157 finishes for the deactivation case, and setting the deactivated
3159 (gst_pad_set_active): Complain loudly if deactivation fails.
3160 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3161 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3162 remove the terrible hack.
3164 2005-10-11 Wim Taymans <wim@fluendo.com>
3166 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3167 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3168 (gst_bin_recalc_state), (gst_bin_change_state_func),
3169 (gst_bin_dispose), (bin_bus_handler):
3171 Prepare to make current EOS message queue more generic.
3174 * gst/gstevent.c: (gst_event_new_newsegment),
3175 (gst_event_parse_newsegment):
3177 Rename base to stream_time.
3182 2005-10-11 Wim Taymans <wim@fluendo.com>
3184 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3185 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3186 (gst_bin_change_state_func), (bin_bus_handler):
3188 Work on proper clock selection.
3190 2005-10-11 Edward Hervey <edward@fluendo.com>
3192 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3193 * libs/gst/controller/gstcontroller.h:
3194 Added GList* version of _remove_properties() in order to be able to wrap
3197 2005-10-11 Wim Taymans <wim@fluendo.com>
3199 * docs/design/part-states.txt:
3202 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3203 (gst_bin_change_state_func), (bin_bus_handler):
3204 Doc updates. Don't distribute the same clock over and over again.
3210 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3211 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3212 (gst_pad_send_event):
3214 Make probe emission threadsafe again.
3215 Register quarks and move _get_name() from utils.
3218 * gst/gstpipeline.c: (gst_pipeline_class_init),
3219 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3220 Only redistribute the clock of it changed.
3222 * gst/gstsystemclock.h:
3227 Moved the _flow_get_name() to GstPad.
3229 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3231 * check/gst-libs/gdp.c: (GST_START_TEST):
3232 * check/gst/gstcaps.c: (GST_START_TEST):
3233 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3234 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3235 (gst_dp_packet_from_caps):
3236 fix more valgrind warnings before turning up the heat
3238 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3240 * gst/parse/grammar.y:
3241 some cleanup before the hacking
3243 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3245 * gst/base/gstbasesrc.c: (gst_base_src_query):
3247 * gst/gstutils.c: (gst_guint64_to_gdouble),
3248 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3250 externalize, basesrc uses it
3251 obviously the implementation needs testing
3253 2005-10-10 Wim Taymans <wim@fluendo.com>
3255 * tests/sched/Makefile.am:
3256 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3257 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3259 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3261 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3262 apparently converting from guint64 to double is not implemented
3265 2005-10-10 Wim Taymans <wim@fluendo.com>
3267 * check/Makefile.am:
3268 * check/generic/states.c: (GST_START_TEST):
3269 * check/gst/gstbin.c: (GST_START_TEST):
3270 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3271 * check/states/sinks.c: (GST_START_TEST):
3272 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3274 Check fixes, use API as stated in design docs, remove hacks.
3276 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3277 (gst_base_sink_change_state):
3278 Catch stopping our task while we're shutting down.
3280 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3281 (gst_bin_remove_func), (gst_bin_get_state_func),
3282 (gst_bin_recalc_state), (gst_bin_change_state_func),
3285 * gst/gstelement.c: (gst_element_init),
3286 (gst_element_get_state_func), (gst_element_abort_state),
3287 (gst_element_commit_state), (gst_element_lost_state),
3288 (gst_element_set_state), (gst_element_change_state),
3289 (gst_element_change_state_func):
3291 New state change algorithm (see #318116)
3293 * gst/gstpipeline.c: (gst_pipeline_class_init),
3294 (gst_pipeline_init), (gst_pipeline_set_property),
3295 (gst_pipeline_get_property), (do_pipeline_seek),
3296 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3297 * gst/gstpipeline.h:
3298 Remove crude state change hacks.
3303 * tools/gst-launch.c: (main):
3304 Fixes for state change. Needs some more work to fully use the
3307 2005-10-10 Andy Wingo <wingo@pobox.com>
3309 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3311 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3312 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3315 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3317 * gst/gstiterator.c: (gst_iterator_new):
3318 Fix my previous commit: GTypes passed to gst_iterator_new()
3319 can be fundamental types.
3321 2005-10-10 Wim Taymans <wim@fluendo.com>
3323 * gst/gstelement.c: (gst_element_iterate_pad_list),
3324 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3325 (gst_element_iterate_sink_pads):
3326 Use src/sink pads lists for the respective iterators instead
3329 2005-10-10 Andy Wingo <wingo@pobox.com>
3331 Merged in popt removal + GOption addition patch from Ronald, bug
3334 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3335 GstElement macros around, remove popt-related symbols, add goption
3338 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3340 * docs/gst/Makefile.am:
3341 * docs/libs/Makefile.am: No POPT_CFLAGS.
3343 * examples/manual/Makefile.am:
3344 * docs/manual/basics-init.xml: Doc updates with an example.
3346 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3347 (gst_init), (parse_one_option), (parse_goption_arg):
3348 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3349 bit of hand merging and debugging to get the GOption stuff working
3352 * tests/Makefile.am:
3353 * tools/Makefile.am:
3354 * tools/gst-inspect.c: (main):
3355 * tools/gst-launch.c: (main):
3356 * tools/gst-run.c: (main):
3357 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3359 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3361 * gst/gstiterator.c: (gst_iterator_new):
3362 Add assertions to make sure passed GType is likely to really
3363 be a GType (as the compiler won't catch it if the size and
3364 GType arguments get mixed up, see #318447).
3366 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3368 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3370 * gst/gstbin.c: (gst_bin_iterate_sorted):
3371 Pass GType and size arguments to gst_iterator_new() in the right
3372 order (maybe we should make _new() take the GType as first argument
3373 just like _new_list()?) (#318447).
3376 2005-10-10 Wim Taymans <wim@fluendo.com>
3378 * gst/gstelement.c: (gst_element_finalize):
3379 And free the GStaticRecMutex too
3381 2005-10-10 Andy Wingo <wingo@pobox.com>
3383 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3384 Allocate and free the mutex properly.
3386 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3388 (GstElement): The state_lock is now recursive. Rebuild your
3389 plugins, suckers. Old macros adapted.
3391 * docs/gst/gstreamer-sections.txt: Doc updates.
3394 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3395 (g_static_rec_cond_wait): Ported from state changes patch, while
3396 we wait on bug #317802 to be solved in a well-distributed GLib.
3398 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3399 gst_element_change_state, variable name changes.
3400 (gst_element_change_state): Split out of gst_element_set_state in
3401 preparation for the state change merge. Doesn't pay attention to
3402 the 'transition' argument.
3403 (gst_element_set_state): Updates, hopefully purely cosmetic.
3404 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3406 (gst_element_get_state_func): Renamed from get_state, cosmetic
3409 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3411 * gst/elements/gstelements.c:
3412 * win32/GStreamer.vcproj:
3414 * win32/dirent.c: (_tseekdir):
3415 * win32/gst-inspect.vcproj:
3416 * win32/gst-launch.vcproj:
3417 * win32/gstconfig.h:
3418 * win32/gstelements.vcproj:
3419 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3420 * win32/gstreamer.def:
3422 updates for the win32 build (patch from Sebastien Moutte)
3424 2005-10-10 Andy Wingo <wingo@pobox.com>
3426 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3427 gst_bin_get_state, cleaned up (but no logic changes).
3428 (bin_element_is_sink): Comment updates.
3429 (sink_iterator_filter): Remove needless cast.
3430 (gst_bin_iterate_sinks): Doc update.
3431 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3432 cleaned up (but no logic changes).
3434 * check/states/sinks.c (test_src_sink): Cleanups from the state
3436 (test_livesrc_sink): Sync on the state.
3438 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3439 the state change patch.
3441 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3444 * check/gst/gstbin.c: Merge in some style fixes and additional
3445 checks from Wim's state change patch.
3447 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3449 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3450 (gst_type_find_helper):
3451 Check whether we have the requested data already in our list of
3452 cached buffers before pulling a new buffer; also make the buffer
3453 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3455 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3460 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3461 don't use long long, it's not portable. Replacing with
3462 gint64 seems to work; let's hope no skeletons fall out of the closet.
3464 2005-10-10 Andy Wingo <wingo@pobox.com>
3466 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3468 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3470 * docs/gst/gstreamer-sections.txt:
3475 * gst/gstmessage.c: (gst_message_parse_state_changed):
3478 more docs, fix compilation
3480 2005-10-09 Philippe Khalaf <burger@speedy.org>
3482 Fixed a few forgotten variables on previous commit
3484 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3486 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3487 Fix evil typefind crasher: getrange() might return a short
3488 buffer at the end of a file, but gst_type_find_peek() must
3489 either return the full data as requested or NULL, but
3490 never a short buffer.
3492 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3494 * gst/gstmessage.c: (gst_message_new_state_changed),
3495 (gst_message_parse_state_changed):
3497 don't use "new", it's a C++ keyword
3499 2005-10-08 Wim Taymans <wim@fluendo.com>
3501 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3502 * gst/gstelement.c: (gst_element_post_message):
3503 * gst/gstpipeline.c: (gst_pipeline_change_state):
3504 Small docs and debug updates.
3506 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3508 * docs/gst/gstreamer-sections.txt:
3509 * gst/gstelementfactory.c:
3514 2005-10-08 Wim Taymans <wim@fluendo.com>
3516 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3517 (gst_bin_dispose), (bin_bus_handler):
3518 Fix typos, add comments.
3519 Clear EOS list when going to PAUSED from any direction and do it
3520 in a threadsafe way.
3521 Get base time in a threadsafe way too.
3522 Fix confusing debug in the change_state function.
3523 Various other small cleanups.
3525 * gst/gstelement.c: (gst_element_post_message):
3526 Fix very verbose bus posting code.
3528 * gst/gstpipeline.c: (gst_pipeline_class_init),
3529 (gst_pipeline_set_property), (gst_pipeline_get_property),
3530 (gst_pipeline_change_state):
3531 Small ARG_ -> PROP_ cleanup
3533 2005-10-08 Wim Taymans <wim@fluendo.com>
3535 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3536 Do a less CPU demanding EOS check because we can.
3538 2005-10-08 Wim Taymans <wim@fluendo.com>
3540 * libs/gst/dataprotocol/dataprotocol.c:
3541 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3542 (gst_dp_packet_from_event):
3543 * libs/gst/dataprotocol/dataprotocol.h:
3544 * libs/gst/dataprotocol/dp-private.h:
3545 It's about time we bump the version number.
3546 Since event types don't fit in the guint8 anymore describing
3547 the payload type, make payload type 16 bits wide.
3549 2005-10-08 Wim Taymans <wim@fluendo.com>
3551 * docs/design/part-TODO.txt:
3552 * docs/design/part-clocks.txt:
3553 * docs/design/part-events.txt:
3554 * docs/design/part-gstbin.txt:
3555 * docs/design/part-gstelement.txt:
3556 * docs/design/part-gstpipeline.txt:
3557 * docs/design/part-live-source.txt:
3558 * docs/design/part-messages.txt:
3559 * docs/design/part-overview.txt:
3560 * docs/design/part-states.txt:
3563 2005-10-08 Wim Taymans <wim@fluendo.com>
3567 Fix event quark registration.
3568 Add some space between events so we can insert them in the
3571 2005-10-08 Wim Taymans <wim@fluendo.com>
3573 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3574 (gst_base_sink_handle_buffer):
3581 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3582 (gst_queue_set_property), (gst_queue_get_property):
3584 Remove old unused properties.
3586 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3587 * docs/gst/gstreamer-sections.txt:
3590 * gst/gstminiobject.c:
3591 * gst/gstminiobject.h:
3595 lots of new docs and doc fixes
3597 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3599 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3601 * gst/gstregistry.c: (gst_registry_lookup_locked),
3602 (gst_registry_scan_path_level):
3603 * gst/gstregistryxml.c: (load_plugin):
3604 Only ever load one plugin for a given plugin basename.
3605 This ensures correct overriding of GST_PLUGIN_PATH over
3606 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3607 system installed plugins.
3609 2005-10-08 Wim Taymans <wim@fluendo.com>
3611 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3612 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3613 Prepare for doing QOS.
3615 2005-10-08 Wim Taymans <wim@fluendo.com>
3617 * check/gst/gstbin.c: (GST_START_TEST):
3618 * check/pipelines/cleanup.c: (GST_START_TEST):
3619 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3620 Allow new clock message too.
3622 2005-10-08 Wim Taymans <wim@fluendo.com>
3624 * gst/gstmessage.c: (gst_message_new_error),
3625 (gst_message_new_warning), (gst_message_new_tag),
3626 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3627 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3628 (gst_message_new_segment_start), (gst_message_new_segment_done),
3629 (gst_message_parse_state_changed),
3630 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3631 (gst_message_parse_new_clock):
3633 Also carry the clock in question.
3635 2005-10-08 Wim Taymans <wim@fluendo.com>
3637 * gst/gstmessage.c: (gst_message_new_custom),
3638 (gst_message_new_eos), (gst_message_new_error),
3639 (gst_message_new_warning), (gst_message_new_tag),
3640 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3641 (gst_message_new_new_clock), (gst_message_new_segment_start),
3642 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3643 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3646 Added clock related messages.
3648 * gst/gstpipeline.c: (gst_pipeline_change_state):
3649 Post message when the clock changed.
3651 * tools/gst-launch.c: (event_loop):
3654 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3656 * tools/gst-inspect.c: (print_element_properties_info):
3657 Can't pass NULL strings to g_print() on windows.
3659 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3662 * docs/gst/Makefile.am:
3663 * docs/gst/gstreamer-docs.sgml:
3664 * docs/gst/running.xml:
3665 * docs/version.entities.in:
3666 add a chapter on running GStreamer.
3667 document GST_DEBUG and GST_PLUGIN* env vars
3669 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3674 remove PLUGINS_BUILDDIR stuff
3675 * gst/gst.c: (init_post):
3676 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3678 remove, it was condescending and not needed
3680 2005-10-08 Wim Taymans <wim@fluendo.com>
3682 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3683 (gst_base_sink_handle_object), (gst_base_sink_event),
3684 (gst_base_sink_wait), (gst_base_sink_handle_event),
3685 (gst_base_sink_change_state):
3686 * gst/base/gstbasesink.h:
3687 Repost EOS message while going to PLAYING if still EOS.
3688 Make sure that when receiving a FLUSH_START we don't attempt
3689 to sync on the clock anymore.
3691 2005-10-08 Wim Taymans <wim@fluendo.com>
3693 * tools/gst-launch.c: (event_loop):
3694 Better message printout.
3696 2005-10-08 Wim Taymans <wim@fluendo.com>
3698 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3699 (gst_bin_child_proxy_get_children_count):
3700 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3701 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3702 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3703 (gst_child_proxy_set_valist):
3704 * gst/parse/grammar.y:
3705 Make ChildProxy threadsafe and fix mem leaks.
3707 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3709 * gst/gst.c: (init_post):
3710 debug the GST_PLUGIN_ env vars
3712 2005-10-08 Wim Taymans <wim@fluendo.com>
3714 * check/gst/gstbin.c: (GST_START_TEST):
3715 * check/gst/gstmessage.c: (GST_START_TEST):
3716 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3717 * gst/gstelement.c: (gst_element_commit_state),
3718 (gst_element_lost_state):
3719 * gst/gstmessage.c: (gst_message_new_state_changed),
3720 (gst_message_parse_state_changed):
3722 * tools/gst-launch.c: (event_loop):
3723 Added extra field to STATE_CHANGE message with the pending
3724 state, which will be different from the new state soon.
3726 2005-10-08 Wim Taymans <wim@fluendo.com>
3728 * gst/gstbus.c: (gst_bus_pop):
3730 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3731 Small cleanups and doc updates.
3733 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3735 * gst/gst.c: (init_pre):
3736 * gst/gstbin.c: (gst_bin_add_func):
3737 log distributing clocks and base time
3738 * gst/gstregistry.c: (gst_registry_add_plugin),
3739 (gst_registry_scan_path_level), (gst_registry_scan_path):
3740 clean up the debugging output a little
3741 * gst/gstutils.c: (gst_element_state_get_name):
3742 warn about a memleak (I've actually seen this be used, though
3743 it was probably a bug)
3745 2005-10-07 Wim Taymans <wim@fluendo.com>
3747 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3748 (gst_base_src_init), (gst_base_src_default_newsegment),
3749 (gst_base_src_newsegment), (gst_base_src_do_seek),
3750 (gst_base_src_loop), (gst_base_src_start):
3751 * gst/base/gstbasesrc.h:
3752 Make the newsegment event customizable by subclasses.
3754 2005-10-07 Wim Taymans <wim@fluendo.com>
3756 * gst/gstevent.c: (gst_event_new_buffersize),
3757 (gst_event_parse_buffersize):
3759 New event for future idea.
3761 2005-10-07 Andy Wingo <wingo@pobox.com>
3763 * gst/gstelement.c (gst_element_post_message): Doc update.
3765 * docs/gst/gstreamer-sections.txt: Update.
3767 * gst/gstmessage.c (gst_message_new_application): Made into a
3768 function like honest API calls.
3769 (gst_message_new_element): New message type.
3771 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3773 * check/elements/fakesrc.c (test_no_preroll): New check, checks
3774 that setting a live fakesrc to PAUSED returns NO_PREROLL both
3777 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3778 NO_PREROLL from gst_element_change_state to fall through.
3780 2005-10-07 Wim Taymans <wim@fluendo.com>
3782 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3783 (gst_ghost_pad_do_activate_push):
3784 Activating a ghostpad with no internal pad in push mode
3787 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
3790 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3791 Fixes compilation on Windows.
3793 2005-10-07 Michael Smith <msmith@fluendo.com>
3795 * tools/gst-inspect.c:
3796 Print out feature and plugin count at the end when printing out
3799 2005-10-04 Michael Smith <msmith@fluendo.com>
3801 * gst/gsterror.c: (_gst_stream_errors_init):
3802 Add another error string used in a few existing plugins.
3805 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3806 * tools/gst-inspect.c: (print_element_info):
3807 When a feature disappears from a plugin (and the feature exists in
3808 the cached registry file), things went horribly wrong. This isn't a
3809 complete fix, we should actually be removing the 'missing' features
3810 from the features list when we load the actual plugin. That's not
3813 2005-10-04 Johan Dahlin <johan@gnome.org>
3815 * check/gst/gstiterator.c: (GST_START_TEST):
3816 * gst/gstbin.c: (gst_bin_iterate_elements),
3817 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3818 * gst/gstelement.c: (gst_element_iterate_pads):
3819 * gst/gstformat.c: (gst_format_iterate_definitions):
3820 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3821 (gst_iterator_new_list), (gst_iterator_filter):
3822 * gst/gstiterator.h:
3823 * gst/gstquery.c: (gst_query_type_iterate_definitions):
3824 Add a GType to GstIterator, update callsites and tests.
3826 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3828 * gst/gstpad.c: (gst_pad_event_default_dispatch):
3829 give events a chance to be handled by event probes when the pad
3832 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3834 * gst/gstevent.c: (gst_event_type_get_name),
3835 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3837 add string representations for event types
3839 2005-10-06 Wim Taymans <wim@fluendo.com>
3841 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3842 Don't use NULL pointers.
3844 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3846 * gst/gst_private.h:
3850 * gst/gstpluginfeature.c:
3851 widen the debug category in output to fit the biggest one we have
3852 add a bus category and use it
3853 play with the colors
3854 fix up some categories
3856 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3858 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3859 add push activation of sink ghost pads.
3860 Andye, please verify
3862 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3864 * gst/gstutils.c: (gst_element_link_pads):
3865 fix a bug in the case where neither element has a pad
3866 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3867 add a test for that case
3869 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3871 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3872 emit have-data before checking for peers. This allows
3873 for probe handlers to connect elements. This helps autopluggers.
3874 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3876 add six checks, linked/unlinked with no/true/false probe
3878 2005-10-04 Wim Taymans <wim@fluendo.com>
3880 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3881 (gst_fake_sink_event), (gst_fake_sink_preroll),
3882 (gst_fake_sink_render), (gst_fake_sink_change_state):
3883 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3884 (gst_fake_src_get_property), (gst_fake_src_create),
3885 (gst_fake_src_stop):
3886 * gst/elements/gstidentity.c: (gst_identity_stop):
3887 Protect last_message with lock.
3889 2005-10-04 Edward Hervey <edward@fluendo.com>
3892 Added precision in the comments for GST_FORMAT_DEFAULT
3894 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
3896 * tools/gst-launch.c: (main):
3897 Don't try to run erroneous pipelines.
3899 2005-10-04 Julien MOUTTE <julien@moutte.net>
3901 * gst/gstbus.c: We don't need this header.
3903 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3908 === release 0.9.3 ===
3910 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3914 Releasing 0.9.3, "Unregistered"
3916 2005-10-03 Andy Wingo <wingo@pobox.com>
3918 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3919 whereby calling a pad's activatepush() function can start a thread
3920 that starts to push or pull before the pad gets the FLUSHING flag
3921 unset. Hack around it by holding the stream lock until the flag is
3922 set. Need to replace this with a proper solution. Together with
3923 the ghost pad fixes, this fixes mp3 playing/tagreading.
3925 * docs/design/part-gstghostpad.txt: Add a note about activation of
3926 proxy pads outside of ghost pads.
3928 * gst/gstghostpad.c: Implement the ghost pad activation design.
3930 2005-10-02 Andy Wingo <wingo@pobox.com>
3932 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3933 It is volatile, after all.
3935 * docs/design/part-gstghostpad.txt: Flesh out activation with
3938 * gst/base/gstbasesrc.c (gst_base_src_init): Use
3941 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
3944 Fix (unused) AM_CONDITIONAL tests.
3946 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
3948 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3950 * gst/gstutils.c: (gst_pad_query_convert):
3951 Add assertion that makes sure src_val is >=0, just like
3952 gst_query_new_convert() has. (#315895)
3954 2005-09-30 Edward Hervey <edward@fluendo.com>
3956 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3957 Let's not iterate pads we're not interested in, it avoids getting
3958 sky-high refcounts on sinkpad.
3960 2005-09-30 Wim Taymans <wim@fluendo.com>
3962 * gst/gstelement.c: (gst_element_set_state),
3963 (gst_element_change_state):
3964 Small tweak, element in ASYNC remains ASYNC.
3966 2005-09-30 Wim Taymans <wim@fluendo.com>
3968 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3969 Only error is an error.
3971 * gst/gstbin.c: (gst_bin_change_state):
3974 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3975 Also call pad_block in pad alloc.
3977 * gst/gstutils.c: (gst_flow_get_name):
3980 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3982 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3983 (gst_base_src_get_range):
3984 Fix documentation typos. Add some more debug info.
3986 2005-09-29 David Schleef <ds@schleef.org>
3988 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3989 more end-user friendly.
3990 * tools/gst-inspect.c: (main): Check if command-line argument is
3991 a file and attempt to load that file as a plugin.
3993 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3995 * check/gst/gstbin.c:
3996 * check/states/sinks.c:
3997 fix tests for the new warning
3998 * check/gst/gstpipeline.c:
3999 add a test for pipeline and bus interaction
4001 elements should be NULL if they get disposed; add a warning if not
4003 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4006 for 2.6 refcounting, make debug log more correct by printing
4007 the actual refcounts at the time of swap (Wim)
4009 2005-09-29 Andy Wingo <wingo@pobox.com>
4011 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4012 removes signal watches previously added via
4013 gst_bus_add_signal_watch.
4014 (gst_bus_add_signal_watch): Don't return the source id, just store
4015 it on the bus if there wasn't an id already.
4017 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4018 add_signal_watch and remove_signal_watch.
4020 2005-09-29 Edward Hervey <edward@fluendo.com>
4022 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4023 Better if we actually iterate the list :)
4025 2005-09-29 Wim Taymans <wim@fluendo.com>
4027 * check/gst/gstbin.c: (GST_START_TEST):
4028 Change for new bus API.
4030 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4031 (send_messages), (GST_START_TEST), (gstbus_suite):
4032 Change for new bus signal API.
4034 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4035 (gst_bus_source_prepare), (gst_bus_source_check),
4036 (gst_bus_create_watch), (gst_bus_add_watch_full),
4037 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4038 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4040 Remove support for multiple GSources operating on different
4041 message types as it is too complex and unneeded when using
4043 Added support for receiving signals from the bus.
4045 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4047 * docs/libs/tmpl/gstdataprotocol.sgml:
4048 * docs/manual/advanced-dataaccess.xml:
4049 * gst/elements/gstcapsfilter.c:
4051 rename filter-caps to caps property
4053 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4055 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4056 More robust fraction string parsing.
4058 * docs/pwg/appendix-porting.xml:
4059 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4061 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4063 * gst/gstcaps.c: (gst_caps_do_simplify):
4064 Thou shalt not free a structure and then continue using it
4065 in the next loop iteration.
4067 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4069 Add test case for caps simplification.
4071 2005-09-29 Wim Taymans <wim@fluendo.com>
4073 * check/gst/gstbin.c: (GST_START_TEST):
4076 2005-09-29 Wim Taymans <wim@fluendo.com>
4078 * check/gst/gstbin.c: (GST_START_TEST):
4081 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4082 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4083 (find_element), (gst_bin_sort_iterator_next),
4084 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4085 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4086 (gst_bin_change_state), (gst_bin_dispose):
4087 A bin does not have a bus, it gets the bus from the parent.
4089 * gst/gstelement.c: (gst_element_requires_clock),
4090 (gst_element_provides_clock), (gst_element_is_indexable),
4091 (gst_element_is_locked_state), (gst_element_change_state),
4092 (gst_element_set_bus_func):
4095 * gst/gstpipeline.c: (gst_pipeline_class_init),
4096 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4097 The pipeline provides a bus.
4099 2005-09-28 Johan Dahlin <johan@gnome.org>
4101 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4102 gst_structure_get_enum instead of gst_structure_get_int
4104 * gst/gststructure.c (gst_structure_get_enum): Impl.
4106 * gst/gststructure.h (gst_structure_get_enum): Add
4108 * docs/gst/gstreamer-sections.txt: Ditto
4110 * gst/gstmessage.c (gst_message_new_state_changed): Use
4111 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4112 which does introspection.
4113 Reviewed by Christian Schaller
4115 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4117 * gst/gstinfo.c: (gst_debug_log_default):
4118 don't do dummy g_strdup()s
4119 * libs/gst/controller/gstcontroller.c:
4120 (on_object_controlled_property_changed),
4121 (gst_controlled_property_new), (gst_controller_new_valist),
4122 (gst_controller_new_list),
4123 (gst_controller_remove_properties_valist), (gst_controller_set),
4124 (gst_controller_get), (gst_controller_sync_values),
4125 (gst_controller_get_value_array), (_gst_controller_class_init),
4126 (gst_controller_get_type):
4127 * libs/gst/controller/gstcontroller.h:
4128 * libs/gst/controller/gstinterpolation.c:
4129 (gst_controlled_property_find_timed_value_node):
4130 convert // to /**/ comments
4132 2005-09-28 Wim Taymans <wim@fluendo.com>
4134 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4135 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4136 (gst_bus_sync_signal_handler):
4138 Added async-message and sync-message signals to the bus.
4139 Added helper BusFunc to emit signals for all posted messages.
4141 * gst/gstmessage.c: (gst_message_type_get_name),
4142 (gst_message_type_to_quark), (gst_message_get_type):
4144 Register quarks for message names.
4146 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4148 * docs/libs/gstreamer-libs-sections.txt:
4149 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4150 (gst_controller_new_list):
4151 * libs/gst/controller/gstcontroller.h:
4152 added another constructor for language bindings
4154 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4156 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4160 * gst/gstinfo.c: (_gst_debug_init):
4161 slightly more readable color for refcount debugging
4163 2005-09-28 Wim Taymans <wim@fluendo.com>
4165 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4166 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4167 (find_element), (gst_bin_sort_iterator_next),
4168 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4169 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4170 (gst_bin_change_state), (gst_bin_dispose):
4171 Small doc fixes. get_clock -> provide_clock.
4173 * gst/gstelement.c: (gst_element_class_init),
4174 (gst_element_provides_clock), (gst_element_provide_clock),
4175 (gst_element_get_clock), (gst_element_commit_state),
4176 (gst_element_lost_state):
4178 Make get/set_clock() symetric. Add provide_clock vmethod since
4179 that is actually what this function does.
4181 * gst/gstpipeline.c: (gst_pipeline_class_init),
4182 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4183 (gst_pipeline_get_clock):
4184 get_clock -> provide_clock.
4186 2005-09-28 Andy Wingo <wingo@pobox.com>
4188 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4189 lieu of real docs...
4191 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4193 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4195 * gst/elements/gstcapsfilter.c:
4196 * gst/elements/gstfakesink.c:
4197 * gst/elements/gstfakesrc.c:
4198 * gst/elements/gstfdsink.c:
4199 * gst/elements/gstfdsrc.c:
4200 * gst/elements/gstfilesink.c:
4201 * gst/elements/gstfilesrc.c:
4202 * gst/elements/gstidentity.c:
4203 * gst/elements/gsttee.c:
4204 * gst/elements/gsttypefindelement.c:
4205 Make element details static.
4207 2005-09-28 Wim Taymans <wim@fluendo.com>
4209 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4210 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4211 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4212 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4213 (gst_bin_change_state), (gst_bin_dispose):
4214 Some documentation updates.
4215 Clean up dispose handlers.
4217 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4218 * gst/gstpad.c: (gst_pad_dispose):
4219 Clean up dispose handler.
4221 * gst/gstpipeline.c: (gst_pipeline_change_state):
4222 Removed spurious UNLOCK.
4224 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4226 * docs/gst/gstreamer-sections.txt:
4227 * gst/base/gstbasesrc.h:
4232 * gst/gstpipeline.c:
4233 * gst/gstpipeline.h:
4236 added two new functions to the docs
4237 documents all undocumented GstXXXFlags
4238 completed some incomplete docs
4240 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4242 * gst/gstbin.c: (gst_bin_dispose):
4243 * gst/gstelement.c: (gst_element_dispose):
4244 remove now useless and leaky resurrection code in dispose
4245 * gst/base/gstbasesrc.c: (gst_base_src_init):
4246 * gst/gstelementfactory.c: (gst_element_factory_create):
4247 * gst/gstobject.c: (gst_object_set_parent):
4250 2005-09-27 Wim Taymans <wim@fluendo.com>
4252 * docs/design/part-TODO.txt:
4255 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4256 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4257 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4258 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4259 (gst_bin_change_state):
4261 Remove element variable, we keep element info in the iterator now.
4263 2005-09-27 Andy Wingo <wingo@pobox.com>
4265 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4268 2005-09-27 Wim Taymans <wim@fluendo.com>
4270 * check/gst/gstbin.c: (GST_START_TEST):
4271 Enable check that works now.
4273 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4274 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4275 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4276 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4277 (gst_bin_change_state):
4279 Redid the state change algorithm using a topological sort algo.
4280 Handles all cases correctly.
4281 Exposed iterator for state change order.
4284 Temp storage for state changes. Need to get rid of this soon.
4286 2005-09-27 Wim Taymans <wim@fluendo.com>
4288 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4289 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4290 (link_fold_func), (gst_pad_proxy_setcaps):
4291 Leak fixes, the fold functions need to unref the passed object and
4292 _get_parent_*() returns ref to parent.
4294 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4296 * check/gst/gstbuffer.c: (test_make_writable):
4297 Plug leak in test case and fix 'make check-valgrind'
4299 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4301 * gst/gstbuffer.c: (gst_subbuffer_init):
4302 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4303 works correctly in all circumstances (we could have just copied
4304 the parent buffer's readonly flag, but conceptually it seems
4305 cleaner to mark all subbuffers as read-only). (based on patch
4306 by Alessandro Decina, #314710).
4308 * check/gst/gstbuffer.c: (create_read_only_buffer),
4309 (test_make_writable), (test_subbuffer_make_writable),
4311 Add some tests for gst_buffer_make_writable().
4313 2005-09-27 Wim Taymans <wim@fluendo.com>
4315 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4316 use gst_object_has_ancestor().
4318 * gst/gstobject.c: (gst_object_has_ancestor):
4320 gst_object_has_ancestor() copied from gstbin.c as it is a
4323 * tests/instantiate/create.c: (create_all_elements):
4324 * tests/lat.c: (handoff_src), (handoff_sink):
4325 * tests/sched/runxml.c: (main):
4326 * tests/seeking/seeking1.c: (main):
4327 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4329 Fix compilation of some tests.
4331 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4334 Remove comment. GST_TYPE_G_ERROR is here to stay,
4335 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4338 2005-09-26 Wim Taymans <wim@fluendo.com>
4340 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4341 Added check that shows error in state change order.
4343 2005-09-26 Wim Taymans <wim@fluendo.com>
4345 * gst/gstbin.c: (gst_bin_change_state):
4346 Make state change function use 3 queues again, we were
4347 adding elements in the wrong order.
4349 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4352 * gst/gstpad.c: (gst_pad_dispose):
4353 Added some debug info first.
4355 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4357 * docs/design/draft-push-pull.txt:
4358 * docs/design/part-events.txt:
4359 * docs/design/part-overview.txt:
4360 * docs/design/part-scheduling.txt:
4361 Replace all _pull_region() with _pull_range()
4363 2005-09-26 Andy Wingo <wingo@pobox.com>
4365 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4367 * check/gst-libs/controller.c: Update for controller api change.
4370 * tests/Makefile.am:
4371 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4372 over by GLib bug 118439.
4374 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4375 routines to a function.
4377 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4379 * libs/gst/controller/gsthelper.c:
4380 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4381 (gst_object_sync_values): Renamed from sink_values. Ugh.
4383 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4385 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4386 Renamed from controller_key, as it is exported.
4388 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4390 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4395 * gst/gstpadtemplate.h:
4398 * gst/gstqueryutils.c:
4399 * gst/gstqueryutils.h:
4400 remove queryutils headers after moving the two used functions
4401 to gstquery. also fixes build problem for gstsiddec
4403 2005-09-26 Michael Smith <msmith@fluendo.com>
4405 * tools/gst-launch.1.in:
4406 Correct documentation in manpage of debug syntax
4408 2005-09-26 Wim Taymans <wim@fluendo.com>
4410 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4411 (gst_base_src_is_seekable), (gst_base_src_change_state):
4412 Some more debugging info.
4414 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4416 * docs/gst/gstreamer-sections.txt:
4417 * gst/base/gstbasetransform.h:
4421 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4423 * docs/gst/.cvsignore:
4424 * docs/gst/tmpl/.cvsignore:
4425 * docs/gst/tmpl/gstpipeline.sgml:
4426 * docs/gst/tmpl/gstplugin.sgml:
4427 * gst/gstpipeline.c:
4430 inlined the last two docs files
4431 removed the tmpl directory from cvs (no more conflicts here!)
4433 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4435 * docs/gst/gstreamer-sections.txt:
4436 * docs/gst/tmpl/.cvsignore:
4437 * docs/gst/tmpl/gstpad.sgml:
4438 * docs/gst/tmpl/gstpadtemplate.sgml:
4440 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4441 (gst_pad_finalize), (gst_pad_set_pad_template):
4443 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4444 (gst_pad_template_class_init), (gst_pad_template_init),
4445 (gst_pad_template_dispose), (name_is_valid),
4446 (gst_static_pad_template_get), (gst_pad_template_new),
4447 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4448 (gst_pad_template_pad_created):
4449 * gst/gstpadtemplate.h:
4450 inlined two more docs
4451 factored gstpadtemplate out of gstpad
4453 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4455 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4456 (test_children_state_change_order_semi_sink):
4457 Fix test case: we can't rely on a fixed state change order when
4458 going from READY => PAUSED because the sink might commit its
4459 new state first when the first buffer created by the source
4460 reaches the sink before the source has finished its change state.
4461 (Test case still fails at times, see #316856, comment 5 onwards)
4463 2005-09-24 Wim Taymans <wim@fluendo.com>
4465 * docs/design/part-events.txt:
4466 * docs/design/part-gstbus.txt:
4467 * docs/design/part-gstpipeline.txt:
4468 * docs/design/part-messages.txt:
4469 * docs/design/part-overview.txt:
4470 * docs/design/part-segments.txt:
4477 * gst/gstiterator.c:
4478 Various documentation updates.
4480 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4483 Well, that's embarassing. Luckily we weren't using
4484 GST_CLOCK_DIFF anywhere.
4486 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4488 * common/gtk-doc.mak:
4489 don't fail on building XML, FC4 slave shows a bunch of doc
4490 missing bits that I don't get
4492 * gst/gstpipeline.c:
4493 * gst/gststructure.c:
4496 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4498 * docs/design/part-gstbin.txt:
4499 * docs/design/part-gstbus.txt:
4501 Add blurb about how the bus goes into flushing mode and
4502 drops all messages when its bin goes from READY into NULL
4505 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4507 * docs/gst/gstreamer-sections.txt:
4508 * gst/gststructure.c: (gst_structure_get_clock_time):
4509 * gst/gststructure.h:
4510 add a method to get a GstClockTime out of a structure
4512 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4514 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4515 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4516 Added test to check state change order in bins (can still be made
4517 to fail here under heavy disk load; bails out with 'Push on pad
4518 fakesink:sink0, but it was not activated in push mode').
4520 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4521 Fix state change order when there is only a semi sink (#316856)
4523 * gst/gstbus.c: (gst_bus_class_init):
4524 Use _class_peek_parent(), not _class_ref(); fix docs to say
4525 'default main context' instead of 'mainloop' where that is
4528 * gst/gstelement.c: (gst_element_commit_state),
4529 (gst_element_set_state):
4530 Fix typos in debug messages
4532 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4535 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4536 * gst/gstpluginfeature.c:
4539 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4540 change an assert into an error until it gets fixed properly
4542 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4544 * docs/gst/gstreamer-sections.txt:
4545 * docs/gst/tmpl/.cvsignore:
4546 * docs/gst/tmpl/gstelement.sgml:
4547 * docs/gst/tmpl/gstinfo.sgml:
4548 * docs/gst/tmpl/gstobject.sgml:
4553 * gst/gstobject.c: (gst_object_class_init):
4555 inlined 3 more biiiig doc files and added some missing docs on the fly
4557 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4559 * check/gst/.cvsignore:
4560 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4561 * gst/gstregistryxml.c: (load_plugin),
4562 (gst_registry_xml_save_plugin):
4563 put back source in registry. add checks for find_plugin.
4564 * testsuite/states/bin.c: (assert_state), (empty_bin),
4565 (test_adding_one_element), (main):
4566 * testsuite/states/locked.c: (main):
4567 some compile/run fixes
4569 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4571 * check/gst/gstvalue.c: (GST_START_TEST):
4572 fix leaks in the test itself
4574 2005-09-22 Wim Taymans <wim@fluendo.com>
4576 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4577 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4578 (gst_base_sink_query):
4579 Prepare for more accurate position reporting and query
4582 * gst/gstelement.c: (gst_element_send_event),
4583 (gst_element_set_state):
4586 2005-09-22 Wim Taymans <wim@fluendo.com>
4588 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4589 (gst_query_parse_segment):
4592 Add segment query for future use.
4594 2005-09-22 Wim Taymans <wim@fluendo.com>
4596 * gst/gstbin.c: (gst_bin_add_func):
4597 Some more debug info.
4599 * gst/gstelement.c: (gst_element_send_event):
4603 Don't know how flags got broken.
4608 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4610 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4611 Add simplistic test suite for GST_TYPE_DATE serialisation and
4614 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4616 * docs/gst/gstreamer-sections.txt:
4617 * gst/gststructure.c: (gst_structure_set_valist),
4618 (gst_structure_get_date):
4619 * gst/gststructure.h:
4620 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4621 (gst_date_copy), (gst_value_compare_date),
4622 (gst_value_serialize_date), (gst_value_deserialize_date),
4623 (gst_value_transform_date_string),
4624 (gst_value_transform_string_date), (_gst_value_initialize):
4626 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4627 bunch of utility functions along with a hack that checks that
4628 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4629 is required. Part of the grand scheme in #170777.
4631 2005-09-22 Andy Wingo <wingo@pobox.com>
4633 * gst/gstconfig.h.in: Psych out gtk-doc.
4635 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4637 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4639 * tools/gst-inspect.c (print_element_list): Plug some
4640 inconsequential leaks.
4642 * gst/gstregistry.c (gst_registry_get_default): Doc.
4644 * check/gst/gstplugin.c:
4645 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4646 * gst/gstelementfactory.c (gst_element_factory_create):
4647 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4650 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4651 (gst_plugin_feature_load): Doc, don't eat refs.
4653 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4654 (gst_plugin_list_free): Doc.
4655 (gst_plugin_load_file): Doc updates.
4657 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4658 accessors returning refcounted objects, return a ref.
4660 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4661 accessor for caps. IDEMPOTENCE. Oh yes.
4663 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4665 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4667 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4668 (_gst_debug_register_funcptr):
4669 Add mutex to serialise access to the hash table with
4670 the function pointer => function name string mapping;
4671 make that hash table static scope (#316809).
4673 * gst/registries/.cvsignore:
4674 Remove left-over file.
4676 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4678 * docs/pwg/appendix-porting.xml:
4679 And something about newsegment events and caps-on-buffers to
4680 the porting guide (feel free to improve).
4682 2005-09-21 Andy Wingo <wingo@pobox.com>
4684 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4685 data and event probes on the same pad.
4686 (test_buffer_probe_once): Test that removing probes from within
4687 the probe functions works.
4689 2005-09-21 Andy Wingo <wingo@pobox.com>
4691 * check/gst/gstutils.c: New file.
4692 (test_buffer_probe_n_times): A simple buffer probe test. More to
4695 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4696 have-data::buffer, not have-data.
4697 (gst_pad_add_event_probe): Likewise for have-data::event.
4698 (gst_pad_add_data_probe): More docs. The part about 'resolving the
4699 peer' isn't quite right yet though.
4700 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
4701 (gst_pad_remove_data_probe): Change to take the guint handler_id
4702 as their arg, not the function+data, which is more glib-like.
4704 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4705 the signal emission to indicate if the data is a buffer or an
4707 (gst_pad_get_type): Initialize buffer and event quarks.
4708 (gst_pad_class_init): have-data is now a detailed signal, yes it
4711 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4713 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4714 * gst/gstutils.c: (gst_util_set_value_from_string),
4715 (gst_util_set_object_arg):
4716 Don't put functional code in g_return_if_fail() or
4717 g_return_val_if_fail() statements, otherwise things will
4718 break when G_DISABLE_CHECKS is defined during compilation.
4720 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4722 * docs/gst/tmpl/.cvsignore:
4723 * docs/gst/tmpl/gstvalue.sgml:
4726 inlied another one and added some obvious docs
4728 2005-09-21 Wim Taymans <wim@fluendo.com>
4730 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4731 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4732 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4733 (gst_fdsrc_get_property), (gst_fdsrc_create):
4734 * gst/elements/gstfdsrc.h:
4735 Properly implement fdsrc. Removed signal and timeout,
4736 better implemented somewhere else.
4738 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4740 * docs/gst/tmpl/.cvsignore:
4741 * docs/gst/tmpl/gstimplementsinterface.sgml:
4742 * gst/gstinterface.c:
4745 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4747 * docs/gst/gstreamer-sections.txt:
4748 * docs/gst/tmpl/.cvsignore:
4749 * docs/gst/tmpl/gstenumtypes.sgml:
4750 remove obsolete doc file
4752 2005-09-21 David Schleef <ds@schleef.org>
4754 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4755 little beer, fix a little leak.
4757 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4759 * docs/gst/gstreamer-docs.sgml:
4760 * docs/gst/gstreamer-sections.txt:
4761 * docs/gst/tmpl/.cvsignore:
4766 * gst/gstindex.c: (gst_index_class_init):
4768 * gst/gstindexfactory.c: (gst_index_factory_get_type),
4769 (gst_index_factory_class_init), (gst_index_factory_init),
4770 (gst_index_factory_finalize), (gst_index_factory_new),
4771 (gst_index_factory_destroy), (gst_index_factory_find),
4772 (gst_index_factory_create), (gst_index_factory_make):
4773 * gst/gstindexfactory.h:
4774 * gst/gstpluginfeature.c:
4775 * gst/gstpluginfeature.h:
4776 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4777 more docs inlined, splitted gstindex.{c,h}
4779 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4781 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4784 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4786 * gst/elements/gstfilesink.c: (gst_file_sink_init):
4787 Set sync to FALSE by default.
4789 2005-09-20 Wim Taymans <wim@fluendo.com>
4791 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4792 (gst_base_sink_init):
4793 Make sync property settable from subclass.
4795 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4796 (gst_fake_sink_change_state):
4797 Set sync to FALSE by default.
4799 2005-09-20 Wim Taymans <wim@fluendo.com>
4801 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4802 * tools/gst-launch.c: (main):
4803 The timeout handler should have lower priority than the source
4804 so we don't timeout before popping a message with 0 timeout.
4805 Dump error messages after failed state change.
4807 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4809 * tools/gst-inspect.c: (print_element_properties_info):
4812 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4814 * check/gst/gstevent.c:
4815 * gst/elements/gstfakesink.c:
4816 * gst/elements/gstfakesink.h:
4817 remove the sync property from fakesink.
4818 has the side effect of setting sync TRUE
4819 for fakesink, which is a change. Anyone who knows how
4820 to fix this nicely in a GObject-y way, feel free.
4822 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4824 * docs/gst/gstreamer-docs.sgml:
4825 remove probe refsection
4827 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4829 * check/Makefile.am:
4830 disable valgrinding the controller test again
4831 * docs/gst/gstreamer-sections.txt:
4832 update for api-changes
4834 2005-09-20 Wim Taymans <wim@fluendo.com>
4836 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4837 (gst_base_sink_set_property), (gst_base_sink_get_property),
4838 (gst_base_sink_do_sync):
4839 * gst/base/gstbasesink.h:
4840 Added sync property to basesink to disable clock sync.
4842 2005-09-20 Andy Wingo <wingo@pobox.com>
4844 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4845 eating the caller's refcount.
4847 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
4848 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4851 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4852 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4853 of GLib 2.8 public, so we can know which refcount to check in
4856 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4857 (gst_object_init): Only set the gst refcount if we're going ahead
4858 with the refcount hack.
4860 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4862 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4863 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4864 more leaks plumbed, added more debug-logging
4868 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4871 remove include of gstmemchunk.h
4873 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4875 * gst/gstclock.c: (_gst_clock_id_free):
4876 Commit from the Political Party For More Atomic CVS Commits,
4877 so that people don't waste too much of their day fishing
4878 out obvious leaks out of massive commits.
4879 Oh, and fix a pretty damn obvious leak in the memchunk
4882 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4884 * check/Makefile.am:
4885 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4886 plug mem-leak, re-add to valgrindable tests
4888 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4891 unbreak the build for those who have chronic arthritis
4892 and typing "make check" is just too taxing on the hands
4894 2005-09-20 Andy Wingo <wingo@pobox.com>
4896 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4897 really want it out, you should fix plugins at the same time.
4899 2005-09-19 Stefan Kost <ensonic@users.sf.net>
4902 * docs/gst/gstreamer-sections.txt:
4904 added missing symbols to api docs
4905 disable ref-count hack if we have glib >= 2.8
4907 2005-09-19 David Schleef <ds@schleef.org>
4909 * docs/gst/Makefile.am: Ignore a few more internal headers
4910 * docs/gst/gstreamer-docs.sgml: Remove old sections
4911 * docs/gst/gstreamer-sections.txt: Remove old sections
4912 * docs/gst/tmpl/gstobject.sgml: update
4913 * docs/gst/tmpl/gstplugin.sgml: update
4914 * docs/gst/tmpl/gstpluginfeature.sgml: update
4915 * docs/random/ds/0.9-suggested-changes: update.
4916 * gst/Makefile.am: remove memchunk and trashstack, since they're
4918 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4919 * gst/gst.h: don't include some headers
4920 * gst/gstchildproxy.c: add gstmarshal.h
4921 * gst/gstclock.c: Don't use memchunks
4922 * gst/gstminiobject.c: Add some docs
4923 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4924 * gst/gstobject.h: same
4925 * gst/gstplugin.c: include gstmacros.h
4926 * gst/gstplugin.h: don't include gstmacros.h, since it's private
4927 * gst/gstquery.c: don't use memchunks
4928 * gst/gstregistry.c: rename gst_registry_deinit()
4929 * gst/gstregistry.h: same
4931 2005-09-19 David Schleef <ds@schleef.org>
4933 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4934 * docs/libs/gstreamer-libs-sections.txt:
4935 * docs/libs/tmpl/gstgetbits.sgml:
4936 * docs/libs/tmpl/gstputbits.sgml:
4938 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
4940 * win32/gstenumtypes.c:
4941 * win32/gstenumtypes.h:
4944 2005-09-19 Wim Taymans <wim@fluendo.com>
4946 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4947 Automatically PAUSE and RESUME a pipeline when a flushing seek
4950 2005-09-19 Andy Wingo <wingo@pobox.com>
4952 * gst/gstregistry.h: Spacing fixen.
4954 2005-09-19 Wim Taymans <wim@fluendo.com>
4956 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4957 Handle state change failure more correctly.
4959 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4961 * check/Makefile.am:
4962 * check/pipelines/cleanup.c: (run_pipeline):
4963 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4965 enable cleanup again after fixing the leak
4967 some more info on docs
4969 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4971 * check/Makefile.am:
4972 re-enable tests now that leaks are plugged
4974 * check/gst/gstbin.c:
4975 * check/gst/gstpipeline.c:
4976 add some more tests while fixing leaks
4978 make sure binaries are uptodate when valgrinding/gdbing
4980 * gst/gstelementfactory.c:
4981 remove a ref too many, and add a FIXME for when we get
4982 round to disposing of classes
4984 fix the refcounting when loading a plugin from a file and
4985 the code pretends that the pointer is the same even though
4986 of course it can change
4987 * gst/gstpluginfeature.c:
4988 unref plugins marked cached (a bit confusing as a name)
4989 as the docs state should be done
4990 various doc additions to explain refcounting
4991 * gst/gstregistry.c:
4992 * gst/gstregistryxml.c:
4995 2005-09-19 Wim Taymans <wim@fluendo.com>
4997 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4998 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4999 (send_messages), (GST_START_TEST), (gstbus_suite):
5000 * check/gst/gstpipeline.c: (GST_START_TEST):
5001 * check/pipelines/cleanup.c: (run_pipeline):
5002 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5004 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5005 (gst_bus_source_check), (gst_bus_source_dispatch),
5006 (gst_bus_create_watch), (gst_bus_add_watch_full),
5007 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5009 * tools/gst-launch.c: (event_loop):
5010 * tools/gst-md5sum.c: (event_loop):
5011 GstBusHandler -> GstBusFunc, return value has the same meaning as
5012 any other GSource (FALSE == remove source).
5013 _add_watch() and _add_watch_full() now take a MessageType mask to
5014 only handle specific types of messages.
5015 _poll() returns the GstMessage instead of the message type to avoid
5017 _have_pending() takes a MessageType mask now too.
5018 Added testsuite for multiple bus watches.
5019 Fix testsuites and applications for new bus API.
5021 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5023 * check/Makefile.am:
5024 mark a bunch of the tests as to fix until we fix them
5026 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5029 use GST_PLUGIN settings for valgrind tests as well, so we're
5030 valgrinding the correct thing
5031 * gst/gst.c: (init_post):
5034 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5036 * gst/gst.c: (init_post), (gst_deinit):
5037 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5038 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5039 * gst/gstindex.c: (gst_index_factory_class_init),
5040 (gst_index_factory_finalize):
5041 * gst/gstobject.c: (gst_object_dispose):
5042 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5043 (gst_plugin_load_file), (gst_plugin_desc_free):
5044 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5045 (gst_plugin_feature_finalize):
5046 * gst/gstregistry.c: (gst_registry_class_init),
5047 (gst_registry_init), (gst_registry_finalize),
5048 (gst_registry_get_default), (gst_registry_deinit):
5049 * gst/gstregistry.h:
5050 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5051 various cleanups and memleak plugging. make valgrind is happy now.
5053 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5056 add a check-valgrind target
5058 2005-09-18 David Schleef <ds@schleef.org>
5060 * tools/gst-inspect.c: Revert the GOption code.
5062 2005-09-17 David Schleef <ds@schleef.org>
5064 * check/Makefile.am: Fix environment variables.
5065 * check/gst/gstplugin.c: Fix for API changes.
5066 * tools/gst-inspect.c: Fix for API changes.
5067 * tools/gst-xmlinspect.c: Fix for API changes.
5068 * gst/gstelementfactory.c:
5071 * gst/gstpluginfeature.c:
5072 * gst/gstpluginfeature.h:
5073 * gst/gstregistry.c:
5074 * gst/gstregistry.h:
5075 * gst/gstregistryxml.c:
5076 * gst/gsttypefind.c:
5077 * gst/gsttypefindfactory.c:
5078 * gst/indexers/gstfileindex.c:
5079 * gst/indexers/gstmemindex.c:
5080 * gst/schedulers/Makefile.am:
5081 Change registry to keep track of both plugins and features,
5082 removing the feature tracking from plugins themselves.
5084 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5086 * check/Makefile.am:
5087 * tools/gst-register.1.in:
5090 2005-09-15 David Schleef <ds@schleef.org>
5092 * check/gst/gstplugin.c:
5093 * gst/gstelementfactory.c:
5095 * gst/gstpluginfeature.c:
5096 * gst/gstregistry.c:
5097 Getting tired of debugging. Disabled all the unreffing of
5098 plugins and features, which fixes the segfaults, but of
5099 course leaks like crazy. At least playbin works.
5101 2005-09-15 David Schleef <ds@schleef.org>
5103 * check/gst/gstplugin.c: (register_check_elements),
5104 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5106 * gst/elements/gsttypefindelement.c: Fix refcounting.
5107 * gst/gsttypefind.c:
5108 * gst/gsttypefindfactory.c:
5109 * gst/gsttypefindfactory.h:
5111 2005-09-15 David Schleef <ds@schleef.org>
5113 * gst/gstindex.c: get refcounting correct.
5114 * gst/gstregistry.c: Handle the case where a feature/plugin is
5117 2005-09-15 David Schleef <ds@schleef.org>
5119 * check/Makefile.am:
5120 * check/gst/gstplugin.c: Add test
5121 * gst/gstplugin.c: Fix problems noticed by testsuite
5123 * gst/gstregistry.c:
5124 * gst/gstregistry.h:
5126 2005-09-15 David Schleef <ds@schleef.org>
5128 * gst/gstplugin.c: Implement semi-decent recounting and locking
5129 in plugins and plugin features.
5131 * gst/gstpluginfeature.c:
5132 * gst/gstpluginfeature.h:
5133 * gst/gstregistry.c:
5135 2005-09-15 Michael Smith <msmith@fluendo.com>
5137 * gst/gstregistry.c: (gst_registry_get_feature_list):
5138 Implement this. Makes oggdemux work; decodebin still broken.
5140 2005-09-14 David Schleef <ds@schleef.org>
5142 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5144 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5145 * gst/check/Makefile.am:
5146 * libs/gst/controller/Makefile.am:
5147 * libs/gst/dataprotocol/Makefile.am:
5149 2005-09-14 David Schleef <ds@schleef.org>
5151 * configure.ac: Remove getbits library. Nothing uses it, and
5152 it should be in something like liboil if someone did want
5154 * libs/gst/Makefile.am:
5155 * libs/gst/getbits/Makefile.am:
5156 * libs/gst/getbits/gbtest.c:
5157 * libs/gst/getbits/getbits.c:
5158 * libs/gst/getbits/getbits.h:
5159 * libs/gst/getbits/gstgetbits_generic.c:
5160 * libs/gst/getbits/gstgetbits_i386.s:
5161 * libs/gst/getbits/gstgetbits_inl.h:
5163 2005-09-14 David Schleef <ds@schleef.org>
5165 * gst/Makefile.am: Dist glib-compat.h
5167 2005-09-14 David Schleef <ds@schleef.org>
5169 * configure.ac: Remove gst/registries, since it's no longer used.
5170 * gst/registries/Makefile.am:
5171 * gst/registries/gstlibxmlregistry.c:
5172 * gst/registries/gstlibxmlregistry.h:
5173 * gst/registries/gstxmlregistry.c:
5174 * gst/registries/gstxmlregistry.h:
5175 * gst/registries/registrytest.c:
5177 2005-09-14 David Schleef <ds@schleef.org>
5179 * gst/glib-compat.h:
5180 * gst/gstregistryxml.c:
5181 Convergence is near. Seriously.
5183 2005-09-14 David Schleef <ds@schleef.org>
5185 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5186 * gst/glib-compat.h:
5187 Attempt #4 to appease the buildbots.
5189 2005-09-14 David Schleef <ds@schleef.org>
5191 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5194 2005-09-14 David Schleef <ds@schleef.org>
5196 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5199 2005-09-14 David Schleef <ds@schleef.org>
5201 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5204 2005-09-14 David Schleef <ds@schleef.org>
5206 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5207 * gst/glib-compat.h: Add some functions that are in newer versions
5208 of glib than we care to require.
5209 * gst/gstregistryxml.c: Use them.
5211 2005-09-14 David Schleef <ds@schleef.org>
5213 * po/POTFILES.in: remove gst-register.c
5215 2005-09-14 David Schleef <ds@schleef.org>
5217 * docs/gst/gstreamer-docs.sgml:
5218 * docs/gst/gstreamer-sections.txt:
5219 * docs/gst/gstreamer.types:
5220 * docs/gst/tmpl/gstelement.sgml:
5221 * docs/gst/tmpl/gstplugin.sgml:
5222 * docs/gst/tmpl/gstpluginfeature.sgml:
5223 Documentation updates for registry changes.
5225 2005-09-14 David Schleef <ds@schleef.org>
5227 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5228 because we don't require glib-2.8.
5230 2005-09-14 David Schleef <ds@schleef.org>
5232 * gst/gstregistryxml.c: Added. Essentially moved out of the
5233 registries directory.
5235 2005-09-14 David Schleef <ds@schleef.org>
5237 * check/Makefile.am:
5238 * check/generic/states.c:
5242 * gst/gst_private.h:
5243 * gst/gstelementfactory.c:
5248 * gst/gstpluginfeature.c:
5249 * gst/gstpluginfeature.h:
5250 * gst/gstregistry.c:
5251 * gst/gstregistry.h:
5252 * gst/gstregistrypool.c: remove
5253 * gst/gstregistrypool.h: remove
5254 * gst/gsttypefind.c:
5255 * gst/gsttypefindfactory.c:
5257 * tools/Makefile.am:
5258 * tools/gst-compprep.c:
5259 * tools/gst-inspect.c:
5260 * tools/gst-register.c: remove
5261 * tools/gst-xmlinspect.c:
5262 Registry rewrite. Changes registry from being a file created
5263 by a tool into a simple cache file created automatically by
5264 libgstreamer. Removed gst-register (because it's no longer
5265 needed). Remove registry pools, because we only have one
5266 registry implementation (XML). Fix up other subsystems as
5269 2005-09-13 Michael Smith <msmith@fluendo.com>
5271 * gst/gstconfig.h.in:
5272 Don't Use windows linking attributes for MinGW. Fixes #316157
5274 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5276 * gst/gstutils.c: (set_state_async_thread_func),
5277 (gst_element_set_state_async):
5278 Apparently people think it's better if this function doesn't
5279 try to set the state to whatever state was asked for on the first
5280 call to this function for any object. Seriously.
5282 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5284 * check/gst/gstpipeline.c: (GST_START_TEST):
5285 * docs/gst/gstreamer-sections.txt:
5286 * gst/gstutils.c: (set_state_async_thread_func),
5287 (gst_element_set_state_async):
5289 add a "gst_element_set_state_async" method that
5290 sets the state and starts a thread to make sure the state
5291 change completes as best as it can
5293 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5295 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5296 codify design+behaviour in testsuite after discussion
5298 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5300 * docs/gst/tmpl/gstelement.sgml:
5301 * docs/manual/appendix-quotes.xml:
5303 * gst/gstelement.c: (gst_element_set_state):
5306 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5308 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5309 (gst_base_transform_prepare_output_buf),
5310 (gst_base_transform_handle_buffer):
5311 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5312 (gst_capsfilter_prepare_buf):
5313 Remove the requirement for sub-classes to call the parent
5314 implementation of prepare_output_buffer with a wrapper function.
5317 * gst/gsttagsetter.h:
5320 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5322 * docs/gst/gstreamer-sections.txt:
5325 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5327 * docs/gst/gstreamer-sections.txt:
5328 * docs/gst/tmpl/gstelement.sgml:
5329 * docs/gst/tmpl/gstplugin.sgml:
5330 * gst/gstminiobject.c:
5332 docs now stop throwing warnings
5334 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5336 * docs/gst/gstreamer-sections.txt:
5337 * docs/gst/gstreamer.types:
5338 * docs/gst/tmpl/gstpad.sgml:
5339 * docs/gst/tmpl/gsttypes.sgml:
5340 * gst/base/gstadapter.h:
5341 * gst/base/gstbasesink.h:
5342 * gst/base/gstbasesrc.h:
5352 * gst/gststructure.c:
5353 * gst/registries/gstlibxmlregistry.h:
5354 various documentation fixes
5356 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5358 * docs/gst/gstreamer-sections.txt:
5359 * docs/gst/tmpl/gstvalue.sgml:
5360 rearrange gstvalue section
5361 * gst/gstutils.c: (gst_element_state_get_name):
5363 * gst/gstvalue.c: (_gst_value_initialize):
5367 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5369 * check/gst-libs/controller.c:
5371 * gst/base/gstbasetransform.c:
5372 (gst_base_transform_default_prepare_buf),
5373 (gst_base_transform_handle_buffer):
5374 * gst/base/gstbasetransform.h:
5375 Some more basetransform changes and fixes to enable sub-classes
5376 that modify buffer metadata only.
5377 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5378 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5379 (gst_capsfilter_prepare_buf):
5380 If the output pad has fixed allowed caps and input buffers
5381 don't have any, set the fixed caps on outgoing buffers.
5383 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5384 * check/elements/identity.c: (GST_START_TEST):
5385 Make the error a little clearer when the test fails because
5386 identity made a copy of the buffer.
5387 * docs/gst/gstreamer-sections.txt:
5388 New symbols in gstbasetransform.h
5389 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5390 (gst_base_transform_init), (gst_base_transform_transform_size),
5391 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5392 (gst_base_transform_default_prepare_buf),
5393 (gst_base_transform_get_unit_size),
5394 (gst_base_transform_buffer_alloc),
5395 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5396 (gst_base_transform_change_state),
5397 (gst_base_transform_set_passthrough),
5398 (gst_base_transform_set_in_place),
5399 (gst_base_transform_is_in_place):
5400 * gst/base/gstbasetransform.h:
5401 Change BaseTransform to separate in_place operate from same_caps
5402 output. in_place implies that the element can perform the transform
5403 on incoming buffers in-place, even if the caps on the output are
5405 Sub-class elements can now implement special buffer allocation
5406 methods for outgoing buffers if they wish to.
5407 Big documentation addition.
5408 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5409 * gst/elements/gstelements.c:
5410 Changes for basetransform modifications.
5411 * gst/elements/Makefile.am:
5412 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5413 Compile fix. Extra debug output.
5415 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5417 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5419 add tests for valid pad naming
5420 * gst/check/gstcheck.c: (gst_check_log_message_func),
5421 (gst_check_log_critical_func):
5423 remove printing of code, it is fragile when the code contains
5424 % and the line number is enough info
5425 * gst/check/gstcheck.h:
5426 * gst/gstpad.c: (gst_pad_template_new):
5429 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5432 say what CHECK flags we use
5433 * docs/libs/gstreamer-libs.types:
5434 * libs/gst/controller/Makefile.am:
5435 * libs/gst/controller/gst-controller.c:
5436 * libs/gst/controller/gst-controller.h:
5437 * libs/gst/controller/gst-helper.c:
5438 * libs/gst/controller/gst-interpolation.c:
5439 * libs/gst/controller/gstcontroller.c:
5440 * libs/gst/controller/gsthelper.c:
5441 * libs/gst/controller/gstinterpolation.c:
5442 * tools/gst-inspect.c: (print_plugin_info):
5443 we don't use dashes in header names
5445 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5447 * check/Makefile.am:
5448 * check/gst/.cvsignore:
5449 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5450 (gst_pipeline_suite), (main):
5451 adding a test for pipelines and state changes
5452 * gst/gstutils.c: (get_state_func):
5454 * gstreamer.spec.in:
5457 2005-09-08 Michael Smith <msmith@fluendo.com>
5459 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5460 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5461 (gst_file_src_is_seekable), (gst_file_src_get_size),
5462 (gst_file_src_start):
5463 * gst/elements/gstfilesrc.h:
5464 Various fixes for unseekable, unmmapable, and non-normal files, so
5465 that fallback to read() rather than mmap() works.
5466 * gst/gstevent.c: (gst_event_new_newsegment):
5467 Allow newsegment events with segment_start == segment_end, as will
5468 correctly happen if you use filesrc on a zero-size file, for
5471 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5473 * gst/gstplugin.c: (gst_plugin_load_file):
5474 Call g_module_close when we don't load the module
5476 * gst/registries/gstlibxmlregistry.c:
5477 (gst_xml_registry_get_property):
5478 Port leak fix from 0.8
5480 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5482 * docs/gst/gstreamer-docs.sgml:
5483 * docs/gst/tmpl/.cvsignore:
5484 * docs/gst/tmpl/gsttrace.sgml:
5485 * docs/gst/tmpl/gsttrashstack.sgml:
5494 * gst/gsttaginterface.c:
5495 * gst/gsttaginterface.h:
5498 * gst/gsttagsetter.c:
5499 * gst/gsttagsetter.h:
5502 * gst/gsttrashstack.c:
5503 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5504 inlined docs for gsttrace, gsttrashstack
5506 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5509 * gst/elements/gstbufferstore.h:
5510 * gst/elements/gsttypefindelement.c:
5511 * gst/elements/gsttypefindelement.h:
5513 * gst/gsttypefind.c:
5514 * gst/gsttypefind.h:
5515 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5516 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5517 (gst_type_find_factory_dispose),
5518 (gst_type_find_factory_unload_thyself),
5519 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5520 (gst_type_find_factory_get_caps),
5521 (gst_type_find_factory_get_extensions),
5522 (gst_type_find_factory_call_function):
5523 * gst/gsttypefindfactory.h:
5524 * gst/registries/gstlibxmlregistry.c:
5525 * gst/registries/gstxmlregistry.c:
5526 splitted gsttypefind into gsttypefind, gsttypefindfactory
5528 2005-09-07 Andy Wingo <wingo@pobox.com>
5530 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5531 condition whereby the pad's task function is entered before the
5532 pad_mode variable was set.
5534 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5536 * gst/gstpad.c: (gst_pad_alloc_buffer):
5537 Catch misbehaving pad_alloc functions that don't
5538 set up caps and do it for them.
5540 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5542 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5544 * docs/gst/tmpl/.cvsignore:
5545 * docs/gst/tmpl/gstmemchunk.sgml:
5546 * docs/gst/tmpl/gstparse.sgml:
5547 * docs/gst/tmpl/gsttaglist.sgml:
5548 * docs/gst/tmpl/gsttagsetter.sgml:
5549 * docs/gst/tmpl/gsttypefind.sgml:
5550 * docs/gst/tmpl/gsttypefindfactory.sgml:
5551 * gst/gstmemchunk.c:
5554 * gst/gsttaginterface.c:
5555 * gst/gsttypefind.c:
5556 * gst/gsttypefind.h:
5559 === release 0.9.2 ===
5561 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5566 releasing 0.9.2, "South"
5568 2005-09-05 Andy Wingo <wingo@pobox.com>
5570 * gst/registries/gstxmlregistry.h:
5571 * gst/registries/gstxmlregistry.c: Um... resurrect...
5573 * gst/registries/gstxmlregistry.h:
5574 * gst/registries/gstxmlregistry.c: and update to newer API.
5575 Incidentally they should be a bit faster now that they don't have
5578 2005-09-05 Andy Wingo <wingo@pobox.com>
5580 * gst/registries/gstxmlregistry.h:
5581 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5582 replaced by the libxml registry a while back
5584 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5586 * docs/gst/tmpl/gstplugin.sgml:
5587 * gst/elements/gstelements.c:
5589 * gst/gstplugin.c: (gst_plugin_register_func),
5590 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5591 (gst_plugin_get_source):
5593 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5594 (gst_xml_registry_save_plugin):
5595 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5596 (gst_xml_registry_save_plugin):
5597 * tools/gst-inspect.c: (print_plugin_info):
5598 add a "source" plugin description field, to represent the source
5599 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5600 will set it to PACKAGE, which is automake's idea of the name of
5603 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5609 * docs/faq/Makefile.am:
5610 * docs/gst/tmpl/gstelement.sgml:
5611 * docs/gst/tmpl/gsttypes.sgml:
5612 * docs/htmlinstall.mak:
5613 * docs/manual/Makefile.am:
5614 * docs/pwg/Makefile.am:
5615 reorganize doc build a little
5616 split out docbook and gtk-doc stuff
5617 have two separate --enable's and enable them through autogen
5618 but disable by default in configure (to be similar to other
5620 * gstreamer.spec.in:
5621 clean up docs install
5641 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5643 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5646 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5647 (gst_fake_sink_change_state):
5648 Make state change function thread-safe.
5650 * gst/gstpad.c: (gst_pad_alloc_buffer):
5651 Set offset on generic buffer allocated by fallback.
5653 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5655 * docs/gst/gstreamer-sections.txt:
5656 * docs/gst/tmpl/gstelement.sgml:
5658 * libs/gst/controller/gst-controller.c:
5659 (gst_controlled_property_set_interpolation_mode),
5660 (gst_controlled_property_new),
5661 (gst_controller_find_controlled_property):
5662 run the wingo-magic script against the docs
5664 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5666 * docs/gst/gstreamer-docs.sgml:
5667 * docs/gst/gstreamer-sections.txt:
5668 * docs/gst/tmpl/.cvsignore:
5669 * docs/gst/tmpl/gstelementdetails.sgml:
5670 * docs/gst/tmpl/gstelementfactory.sgml:
5673 * gst/gstelementfactory.c:
5674 * gst/gstelementfactory.h:
5675 merged elementdetails docs into elementfactory docs
5678 2005-09-02 Andy Wingo <wingo@pobox.com>
5680 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5681 consider this enum an enum and not a flags.
5683 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5685 * docs/gst/gstreamer-docs.sgml:
5686 * docs/gst/tmpl/.cvsignore:
5687 * docs/gst/tmpl/gstghostpad.sgml:
5688 * docs/gst/tmpl/gstiterator.sgml:
5689 * docs/gst/tmpl/gstmacros.sgml:
5690 * docs/gst/tmpl/gstrealpad.sgml:
5691 * docs/gst/tmpl/gstregistry.sgml:
5692 * docs/gst/tmpl/gstregistrypool.sgml:
5693 * docs/gst/tmpl/gststructure.sgml:
5694 * docs/gst/tmpl/gstsystemclock.sgml:
5695 * docs/gst/tmpl/gsttrace.sgml:
5696 * gst/gstghostpad.c:
5698 * gst/gstmemchunk.c:
5699 * gst/gstmemchunk.h:
5701 * gst/gstregistry.c:
5702 * gst/gstregistrypool.c:
5703 * gst/gststructure.c:
5704 * gst/gstsystemclock.c:
5707 2005-09-02 Andy Wingo <wingo@pobox.com>
5709 * gst/gstelement.h (GstState): Renamed from GstElementState,
5710 changed to be a normal enum instead of flags.
5711 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5712 munged to be GST_STATE_CHANGE_*.
5713 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5714 work with the new state representation.
5715 (GstStateChange): New enumeration of possible state transitions.
5716 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5717 (GstElementClass::change_state): Pass the GstStateChange along as
5718 an argument. Helps language bindings, so they don't have to use
5719 tricky lock-needing macros like GST_STATE_CHANGE ().
5721 * scripts/update-states (file): New script. Run it on a file to
5722 update it for state naming and API changes. Updates files in
5725 * All files updated for the new API.
5727 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
5729 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5730 * gst/gstutils.c: (gst_util_set_value_from_string),
5731 (gst_util_set_object_arg):
5732 fix a bunch of unchecked return values
5733 * tools/gst-complete.c: (main):
5734 * gstreamer.spec.in:
5737 2005-09-01 Wim Taymans <wim@fluendo.com>
5739 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5740 (gst_base_sink_event), (gst_base_sink_do_sync),
5741 (gst_base_sink_handle_event):
5742 * gst/base/gstbasesink.h:
5743 Handle newsegments more correctly.
5748 * gst/gstevent.c: (gst_event_new_newsegment):
5749 A newsegment cannot have a start_time of -1
5751 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
5753 * win32/gstenumtypes.c:
5754 * win32/gstenumtypes.h:
5757 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5759 * libs/gst/controller/gst-controller.c:
5760 (gst_controlled_property_set_interpolation_mode),
5761 (gst_controlled_property_new):
5764 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
5766 * docs/faq/gst-uninstalled:
5771 * gst/gstutils.c: (gst_element_link_filtered):
5773 add gst_element_link_filtered
5775 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5777 * docs/gst/gstreamer-docs.sgml:
5778 * docs/gst/gstreamer-sections.txt:
5779 * docs/gst/tmpl/.cvsignore:
5780 * docs/gst/tmpl/gsterror.sgml:
5781 * docs/gst/tmpl/gstfilter.sgml:
5782 * docs/gst/tmpl/gsturihandler.sgml:
5783 * docs/gst/tmpl/gsturitype.sgml:
5784 * docs/gst/tmpl/gstutils.sgml:
5785 * docs/gst/tmpl/gstxml.sgml:
5793 inlined more docs, fixed double id-ref
5795 2005-08-31 Wim Taymans <wim@fluendo.com>
5797 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5798 (gst_base_transform_handle_buffer):
5799 Passthrough elements don't need the caps as they don't care.
5801 2005-08-31 Wim Taymans <wim@fluendo.com>
5803 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5804 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5805 Don't leak refcounts on buffers.
5807 2005-08-31 Wim Taymans <wim@fluendo.com>
5809 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5810 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5811 (gst_base_transform_chain), (gst_base_transform_change_state):
5812 * gst/base/gstbasetransform.h:
5813 Handle the case where we are not negotiated more gracefully.
5815 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
5817 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5818 (gst_file_src_map_region):
5819 Set READONLY flag on mmap'ed buffers, otherwise
5820 gst_buffer_make_writable() won't work properly (#314708).
5822 2005-08-31 Wim Taymans <wim@fluendo.com>
5824 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5825 passthrough elements can even do inplace on non writable
5826 buffers (as they don't touch them).
5828 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5830 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5831 (gst_test_mono_source_set_property),
5832 (gst_test_mono_source_class_init), (GST_START_TEST),
5833 (gst_controller_suite):
5834 more tests (hehe I have the most)
5836 describe popping messages whenusing mulltiple sources
5837 * libs/gst/controller/gst-controller.c:
5838 (gst_controlled_property_set_interpolation_mode),
5839 (gst_controlled_property_new):
5840 * libs/gst/controller/gst-controller.h:
5841 * libs/gst/controller/gst-interpolation.c:
5842 implement boolean properties
5844 2005-08-31 Wim Taymans <wim@fluendo.com>
5846 * gst/gstminiobject.c: (gst_mini_object_ref):
5847 Cannot assert that the refcount has to be positive
5848 since a disposed object can be resurrected.
5850 2005-08-31 Wim Taymans <wim@fluendo.com>
5852 * gst/gstpad.c: (gst_pad_init):
5853 Revert change, need to first fix badly behaving
5856 2005-08-30 Wim Taymans <wim@fluendo.com>
5858 * check/elements/fakesrc.c: (setup_fakesrc):
5859 * check/elements/identity.c: (setup_identity):
5860 Activate pads before using them.
5862 2005-08-30 Wim Taymans <wim@fluendo.com>
5864 * gst/base/gstadapter.c: (gst_adapter_flush):
5865 Flushing out 0 bytes is ok for this function.
5867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5868 no newsegment gives a warning and sets the start/stop to
5871 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5872 (gst_base_transform_set_passthrough):
5875 * gst/gstminiobject.c: (gst_mini_object_ref):
5876 Check refcount here too.
5878 * gst/gstpad.c: (gst_pad_init):
5879 Pads are initially flushing and refusing data.
5881 * gst/gstutils.c: (gst_element_link_pads_filtered):
5882 When adding a capsfilter element make sure it has the
5883 same state as the parent bin.
5885 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5887 * docs/gst/tmpl/.cvsignore:
5888 * docs/gst/tmpl/gstformat.sgml:
5889 * docs/gst/tmpl/gstversion.sgml:
5893 * gst/gstversion.h.in:
5894 more docs and two more inlined
5896 2005-08-30 Wim Taymans <wim@fluendo.com>
5898 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5899 Don't sync to clock.
5901 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5903 * docs/gst/gstreamer-sections.txt:
5904 ultral33t func10ns deserve to appear in the docs actually
5905 * docs/gst/tmpl/.cvsignore:
5906 * docs/gst/tmpl/gstcompat.sgml:
5907 * docs/gst/tmpl/gstconfig.sgml:
5908 * gst/check/gstcheck.c:
5910 * gst/gstconfig.h.in:
5913 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5915 * docs/gst/tmpl/.cvsignore:
5916 * docs/gst/tmpl/gstquery.sgml:
5917 * docs/gst/tmpl/gstutils.sgml:
5920 inlined and extended docs
5922 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5924 * check/gst-libs/controller.c: (GST_START_TEST),
5925 (gst_controller_suite):
5927 * docs/gst/tmpl/gstutils.sgml:
5928 * docs/libs/gstreamer-libs-sections.txt:
5929 * docs/libs/tmpl/gstdataprotocol.sgml:
5931 * examples/controller/audio-example.c: (main):
5932 controller example works now
5935 * tools/gst-inspect.c: (print_element_properties_info):
5936 show param spec flags
5938 2005-08-29 Andy Wingo <wingo@pobox.com>
5940 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5942 2005-08-28 Andy Wingo <wingo@pobox.com>
5944 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5945 as having two arguments instead of just one. Allows superclasses
5946 to access information on subclasses -- see the terrible for() loop
5947 in gtype.c:g_type_create_instance for the reason why. All callers
5950 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5952 * docs/design/part-messages.txt:
5954 * docs/gst/tmpl/.cvsignore:
5955 * docs/gst/tmpl/gstcaps.sgml:
5956 * docs/gst/tmpl/gstclock.sgml:
5963 added descriptions for bus and message
5964 inline caps and clock docs
5966 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5972 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5974 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5977 2005-08-26 Andy Wingo <wingo@pobox.com>
5979 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5980 element_set_state's return val.
5981 (test_2_elements): Add test that's been disabled for months.
5983 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5984 can-activate-pull properties.
5986 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5987 can-activate-pull properties. Implement is_seekable so fakesrc can
5988 operate in pull mode.
5990 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5992 (gst_base_sink_activate, gst_base_sink_activate_pull)
5993 (gst_base_sink_activate_push): Make activation mode choosing work.
5995 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5996 is right. Make pull mode work. Post an eos before pausing in pull
5998 (gst_base_sink_change_state): Pay attention to the core's
5999 change_state() return val.
6001 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6002 has-getrange properties. Cleanups.
6004 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6005 has_getrange and replace with can_activate_pull and
6008 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6009 locking comments. Remove has_loop, has_chain and replace with
6010 can_activate_pull and can_activate_push.
6012 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6015 * examples/Makefile.am:
6016 * examples/metadata/Makefile.am:
6017 * examples/metadata/read-metadata.c: (message_loop),
6018 (have_pad_handler), (make_pipeline), (print_tag), (main):
6019 Add metadata reading example that loops over a list of filenames,
6020 dumping any tags found.
6022 * gst/gstbus.c: (gst_bus_dispose):
6023 * gst/gstelement.c: (gst_element_dispose):
6024 Release a few potentially-held references in dispose.
6026 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6028 * docs/gst/tmpl/gstminiobject.sgml:
6029 do *not* add tmpl/*.sgml files to CVS!
6031 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6033 * libs/gst/bytestream/.cvsignore:
6034 * libs/gst/bytestream/Makefile.am:
6035 * libs/gst/bytestream/adapter.c:
6036 * libs/gst/bytestream/adapter.h:
6037 * libs/gst/bytestream/bytestream.c:
6038 * libs/gst/bytestream/bytestream.h:
6039 * libs/gst/bytestream/filepad.c:
6040 * libs/gst/bytestream/filepad.h:
6041 removing obsolete files
6043 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6045 * docs/gst/gstreamer-docs.sgml:
6046 * docs/libs/gstreamer-libs-docs.sgml:
6047 disabed additional index entries again, as this makes docs-gen just
6048 slow and they aren't useful yet
6049 * docs/libs/gstreamer-libs-sections.txt:
6050 little -section.txt cleanup for libs
6052 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6054 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6055 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6056 fix up some debugging
6057 (gst_base_transform_get_unit_size),
6058 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6059 (gst_base_transform_handle_buffer):
6060 * gst/base/gstbasetransform.h:
6061 handle and store timed NEWSEGMENT events so that subclasses that
6062 calculate time by counting samples have a segment_start time they
6063 need to add to their timestamps - see audioresample
6065 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6068 removed ';' from the end of macro defs
6069 * docs/gst/gstreamer-docs.sgml:
6070 * docs/gst/gstreamer-sections.txt:
6071 * docs/gst/tmpl/.cvsignore:
6073 * gst/gstelement.c: (gst_element_class_init),
6074 (gst_element_set_state), (activate_pads),
6075 (gst_element_save_thyself):
6076 * gst/gstevent.c: (gst_event_new_newsegment):
6078 * gst/gstiterator.c:
6079 * gst/gstiterator.h:
6082 * gst/gstutils.c: (gst_pad_query_convert):
6084 fixed parameter name mismatches between source, header and docs
6085 added some more docs, resolved the last batch of unused elements in
6086 docs (now someone needs to doc them)
6088 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6090 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6091 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6092 don't walk through the plugins backwards. Where is all this
6093 reversed logic coming from ?
6095 2005-08-25 Wim Taymans <wim@fluendo.com>
6097 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6098 (gst_base_transform_transform_size),
6099 (gst_base_transform_configure_caps),
6100 (gst_base_transform_get_unit_size),
6101 (gst_base_transform_buffer_alloc),
6102 (gst_base_transform_change_state):
6103 * gst/base/gstbasetransform.h:
6104 Cache caps unit_size.
6105 Make sure we cannot negotiate up and downstream at the
6108 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6110 * gst/gst.c: (init_pre), (init_post):
6111 register the installed plugin path after the env var
6112 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6113 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6114 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6115 directories, so the tests can prefer uninstalled over installed
6117 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6119 * gst/base/gstbasetransform.h:
6124 2005-08-25 Wim Taymans <wim@fluendo.com>
6126 * gst/gstbin.c: (bin_bus_handler):
6127 Be a bit more conservative about the posted message.
6129 * gst/gstbus.c: (gst_bus_post):
6130 Some cleanups, warn wrong return values.
6132 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6134 * check/gst/gstbin.c: (GST_START_TEST):
6135 * gst/gstbin.c: (bin_bus_handler):
6136 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6137 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6138 (gst_message_new_warning), (gst_message_new_tag),
6139 (gst_message_new_state_changed), (gst_message_new_segment_start),
6140 (gst_message_new_segment_done), (gst_message_new_custom):
6142 * tools/gst-launch.c: (event_loop):
6143 * tools/gst-md5sum.c: (event_loop):
6144 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6146 2005-08-25 Wim Taymans <wim@fluendo.com>
6148 * check/generic/states.c: (GST_START_TEST):
6149 Cleanup can be done at the end.
6151 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6152 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6153 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6154 Oh boy.. Thanks for finding this, Thomas.
6156 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6158 * docs/gst/gstreamer.types:
6161 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6163 * docs/gst/gstreamer-docs.sgml:
6164 * docs/gst/gstreamer-sections.txt:
6165 * docs/gst/tmpl/.cvsignore:
6167 * gst/gstiterator.c:
6169 * gst/registries/gstxmlregistry.h:
6170 added missing classes and symbols (123 more to go)
6171 removed removed symbols from section file
6172 fixed many doc-comments
6174 2005-08-24 Wim Taymans <wim@fluendo.com>
6176 * check/generic/states.c: (GST_START_TEST):
6177 Make sure all tasks are stopped.
6179 * check/gst/gstbin.c: (GST_START_TEST):
6180 Unref after usage for proper valgrinding.
6182 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6183 Really wait for the task to stop before destroying the
6186 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6187 (gst_queue_src_activate_push):
6188 Small cleanups. Don't stop the task when we did not start
6191 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6192 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6193 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6196 Protect the stream lock with the object lock.
6197 Disallow setting the stream lock when running.
6198 Add cleanup_all to wait for the threadpool to finish.
6199 Remove code to autoallocate a mutex if none was provided.
6200 Add _join() to wait for a task to stop.
6201 Protect the thread pool with a global lock.
6203 2005-08-24 Wim Taymans <wim@fluendo.com>
6205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6206 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6207 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6208 * gst/base/gstbasesink.h:
6209 Handle newsegment events correctly.
6210 Drop buffers out of the segment range.
6212 2005-08-22 Andy Wingo <wingo@pobox.com>
6214 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6215 macro, implements an interface and gstimplementsinterface for a
6218 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6220 * check/Makefile.am:
6221 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6222 add a test that does a bunch of state changes on elements
6223 needs some fixing for valgrind
6224 * check/states/sinks.c: (gst_object_suite):
6227 add prototype for gst_caps_is_equal_fixed
6229 * gst/gstregistrypool.c:
6232 2005-08-24 Andy Wingo <wingo@pobox.com>
6234 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6235 convert a negative value. Doesn't make much sense. Mostly this is
6236 here to force callers to ensure -1 maps to -1.
6238 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6240 * docs/pwg/advanced-types.xml:
6241 Well done to Michael for catching my deliberate introduction
6242 of this spelling mistake.
6243 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6245 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6246 unlink pads before removing the element from the bin.
6248 2005-08-24 Andy Wingo <wingo@pobox.com>
6250 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6251 the same thing as GST_DEBUG=*:4.
6252 (parse_debug_level, parse_debug_category): New helper parsers.
6254 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6256 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6257 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6258 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6259 (gst_base_transform_buffer_alloc),
6260 (gst_base_transform_handle_buffer):
6261 use gboolean return values and pointers to size so we can use the
6262 full GST_BUFFER_SIZE range (guint) for buffer sizes
6263 use GstPadDirection for transform_caps
6264 * gst/base/gstbasetransform.h:
6265 rename get_size to get_unit_size since that's what it is
6266 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6267 use GstPadDirection for transform_caps
6268 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6270 cleanup and debugging
6272 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6274 * gst/gstelement.c: (gst_element_class_init),
6275 (gst_element_set_state), (activate_pads),
6276 (gst_element_save_thyself):
6277 * tools/gst-compprep.c: (main):
6278 * tools/gst-inspect.c: (print_element_properties_info):
6279 * tools/gst-xmlinspect.c: (print_element_properties):
6280 Fixed long standing mem-leak
6282 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6284 * check/gst/gstbin.c: (GST_START_TEST):
6285 * gst/gstbin.c: (bin_bus_handler):
6286 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6287 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6288 (gst_message_new_warning), (gst_message_new_tag),
6289 (gst_message_new_state_changed), (gst_message_new_segment_start),
6290 (gst_message_new_segment_done), (gst_message_new_custom):
6292 * tools/gst-launch.c: (event_loop):
6293 * tools/gst-md5sum.c: (event_loop):
6294 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6295 that applications can sensibly post custom messages with references
6296 to their own objects.
6298 2005-08-24 Andy Wingo <wingo@pobox.com>
6300 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6303 2005-08-24 Wim Taymans <wim@fluendo.com>
6305 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6306 (gst_base_transform_transform_caps),
6307 (gst_base_transform_transform_size),
6308 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6309 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6310 (gst_base_transform_handle_buffer):
6311 * gst/base/gstbasetransform.h:
6312 Many fixes and new features added by Thomas. Can now also do
6313 transforms with variable sizes and a custom fixate_caps function.
6315 2005-08-24 Wim Taymans <wim@fluendo.com>
6317 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6321 Cast to ClockTime before formatting to time.
6326 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6328 * check/gst-libs/controller.c: (GST_START_TEST),
6329 (gst_controller_suite):
6330 * docs/gst/tmpl/gstcaps.sgml:
6331 * docs/gst/tmpl/gstghostpad.sgml:
6332 * docs/gst/tmpl/gstquery.sgml:
6333 * docs/gst/tmpl/gstutils.sgml:
6334 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6335 (gst_object_sink_values), (gst_object_get_value_arrays),
6336 (gst_object_get_value_array):
6337 gracefully handle helper method calls to objects that are not beeing
6338 controlled, added test case for that
6340 2005-08-23 Wim Taymans <wim@fluendo.com>
6342 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6343 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6344 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6345 (gst_event_parse_qos), (gst_event_new_seek),
6346 (gst_event_parse_seek):
6348 Some more debugging output and doc cleanups.
6350 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6351 Fix possible deadlock.
6353 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6355 * docs/gst/gstreamer-docs.sgml:
6356 * docs/gst/gstreamer-sections.txt:
6357 * docs/gst/gstreamer.types:
6358 * docs/gst/tmpl/.cvsignore:
6363 added 100 symbols from gstreamer-unused.txt to the right sections
6364 fixed more broken comments
6365 added GstBus to docs
6367 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6369 * docs/gst/gstreamer-sections.txt:
6370 * docs/gst/tmpl/.cvsignore:
6371 * docs/gst/tmpl/gstbin.sgml:
6372 * docs/gst/tmpl/gstbuffer.sgml:
6373 * gst/base/gstbasesrc.c:
6374 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6377 * tools/gst-launch.1.in:
6378 inlined more doc comments, added missing comments and fixed comments
6381 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6383 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6387 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6389 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6390 * gst/gststructure.h:
6391 add a fixate function for booleans; add a FIXME that these func
6392 names should probably be gst_structure_fixate_*
6394 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6396 * docs/gst/gstreamer-docs.sgml:
6397 * docs/gst/gstreamer-sections.txt:
6399 * gst/gstbin.c: (gst_bin_get_type),
6400 (gst_bin_child_proxy_get_child_by_index),
6401 (gst_bin_child_proxy_get_children_count),
6402 (gst_bin_child_proxy_init):
6403 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6404 (gst_child_proxy_get_child_by_index),
6405 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6406 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6407 (gst_child_proxy_get), (gst_child_proxy_set_property),
6408 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6409 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6410 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6411 * gst/gstchildproxy.h:
6412 * gst/parse/grammar.y:
6413 * tools/gst-inspect.c: (print_interfaces),
6414 (print_element_properties_info), (print_element_info):
6415 ported gstchildproxy over from 0.8
6416 ported gst-inspect fixes and enhancements over from 0.8
6418 2005-08-22 Wim Taymans <wim@fluendo.com>
6420 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6421 (gst_base_transform_handle_buffer):
6422 Also call the transform function if we have ANY caps.
6424 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6427 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6429 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6430 Don't pretend to handle seek events if the source is not seekable
6432 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6435 Remove extra parameter to debug output
6437 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6438 (gst_base_src_do_seek), (gst_base_src_activate_push):
6439 Fix seek event handling.
6441 * gst/gstpipeline.c: (gst_pipeline_change_state):
6442 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6443 (gst_queue_src_activate_push):
6444 Don't start the src pad task on FLUSH_STOP if the pad
6448 2005-08-22 Wim Taymans <wim@fluendo.com>
6450 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6451 Added check for gst_static_caps_get() refcounting.
6453 2005-08-22 Wim Taymans <wim@fluendo.com>
6455 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6456 Make _static_caps_get() refcounting sane.
6458 * gst/gstelement.c: (gst_element_set_state):
6459 Add g_return_val_if_fail() to protect against segfaults.
6461 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6463 * docs/gst/tmpl/gstevent.sgml:
6466 inlined remaining docs, added missing doc comments
6468 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6470 * check/gst/gstbin.c: (GST_START_TEST):
6471 since we don't know when preroll is done, use refcount range
6473 * gst/check/gstcheck.h:
6474 add macro for checking refcount range
6476 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6478 * check/Makefile.am:
6479 clean up environment for when registry gets built versus
6480 when actual tests are run; valgrind seems to not report
6481 leaks if GST_PLUGIN_PATH is set to some specific values
6482 * check/gst/gstbin.c: (GST_START_TEST):
6483 add more refcounting checks; maybe this exposes a
6486 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6487 * gst/check/gstcheck.h:
6488 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6489 (gst_bin_change_state):
6490 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6491 add/fix debugging/whitespace
6493 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6495 * check/gst/gstevent.c: (event_probe), (test_event),
6497 Er, don't call gst_bin_watch_for_state_change you idiot.
6499 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6501 * check/Makefile.am:
6502 Use CHECK_CFLAGS and CHECK_LIBS
6503 * check/gst/gstevent.c: (event_probe), (test_event),
6506 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6507 (gst_base_src_start), (gst_base_src_stop),
6508 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6509 (gst_base_src_change_state):
6510 Sprinkle gst_base_src_stop liberally around error paths to fix
6511 problems reusing a source after failed state changes.
6512 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6513 (helper_find_suggest), (gst_type_find_helper):
6514 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6516 * docs/gst/tmpl/gstevent.sgml:
6517 Migrate part of the docs from the SGML file. Wait for ensonic to
6518 tell me how I did it wrong ;)
6519 * tools/gst-typefind.c: (main):
6520 Extra robustness to state changes between files.
6522 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6524 * check/Makefile.am:
6525 don't valgrind the controller test - it's leaking - Stefan, HELP
6526 * gst/check/gstcheck.c: (gst_check_message_error),
6527 (gst_check_chain_func), (gst_check_setup_element),
6528 (gst_check_teardown_element), (gst_check_setup_src_pad),
6529 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6530 (gst_check_teardown_sink_pad):
6531 * gst/check/gstcheck.h:
6532 add a bunch of methods to set up elements, and src and sink pads
6533 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6534 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6539 whitespace/doc fixes
6541 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6544 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6545 be handled by the application and not always printed as well
6547 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6549 * check/Makefile.am:
6551 * gst/check/gstcheck.c: (gst_check_message_error):
6552 * gst/check/gstcheck.h:
6553 add a fail_unless_equals_int
6554 add fail_unless for error messages
6556 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6558 * check/Makefile.am:
6560 * common/Makefile.am:
6563 factor out some of the common stuff so we can use it
6565 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6567 * check/Makefile.am:
6568 * check/gst/gstiterator.c: (GST_START_TEST):
6569 * check/gst/gstsystemclock.c: (GST_START_TEST),
6570 (gst_systemclock_suite):
6571 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6575 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6577 * check/elements/.cvsignore:
6578 * check/elements/gstfakesrc.c:
6579 rename to name of element
6580 * check/elements/identity.c: (chain_func), (event_func),
6581 (setup_identity), (cleanup_identity), (GST_START_TEST),
6582 (identity_suite), (main):
6583 add a test for identity
6584 * check/Makefile.am:
6585 * pkgconfig/Makefile.am:
6586 * pkgconfig/gstreamer-check.pc.in:
6587 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6591 move the check stuff to a library that gets installed
6592 * check/gst-libs/controller.c: (GST_START_TEST):
6593 * check/gst-libs/gdp.c:
6594 * check/gst/gst.c: (GST_START_TEST):
6595 * check/gst/gstbin.c:
6596 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6597 * check/gst/gstbus.c:
6598 * check/gst/gstcaps.c: (GST_START_TEST):
6599 * check/gst/gstelement.c:
6600 * check/gst/gstghostpad.c:
6601 * check/gst/gstiterator.c:
6602 * check/gst/gstmessage.c:
6603 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6604 * check/gst/gstobject.c:
6605 * check/gst/gstpad.c: (GST_START_TEST):
6606 * check/gst/gststructure.c: (GST_START_TEST):
6607 * check/gst/gstsystemclock.c: (GST_START_TEST),
6608 (gst_systemclock_suite):
6609 * check/gst/gsttag.c: (gst_tag_suite):
6610 * check/gst/gstvalue.c:
6611 * check/pipelines/cleanup.c:
6612 * check/pipelines/simple_launch_lines.c:
6613 * check/states/sinks.c:
6614 change include statement
6616 * docs/gst/gstreamer-sections.txt:
6617 * docs/gst/tmpl/gstpad.sgml:
6618 document more pad stuff
6619 * gst/gstminiobject.c: (gst_mini_object_ref),
6620 (gst_mini_object_unref):
6623 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6625 * docs/gst/tmpl/gst.sgml:
6627 eliminate another tmpl file, fix spelling in the long-description
6629 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6631 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6632 (test_event), (timediff), (gstevents_suite):
6633 Should fix build on 64-bit arch's
6635 2005-08-18 Andy Wingo <wingo@pobox.com>
6637 Make sure that when a pipeline goes to PLAYING, that data has
6638 actually hit the sink.
6640 * check/states/sinks.c (test_sink): A sink that doesn't get any
6641 data shouldn't return SUCCESS for going to either PLAYING or
6642 PAUSED. Test also the return values on the way back down.
6644 * gst/gstelement.c (gst_element_set_state): When changing the
6645 state of an element currently changing state asynchronously, go to
6646 lost-state after commiting the pending state. Makes future calls
6647 to get_state continue to return ASYNC.
6649 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6650 ASYNC when going to PLAYING if we still don't have preroll, as can
6651 happen with live sources.
6653 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6655 * docs/pwg/advanced-types.xml:
6656 Hack long paragraph into 2 chunks as a workaround for buggy
6657 jadetex version in sid and breezy that loops infinitely and
6660 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6662 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6663 (test_event), (timediff), (gstevents_suite):
6664 Provide more error margin in clock measurements to allow for
6665 g_get_current_time inaccuracies.
6667 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6669 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6670 (test_event), (timediff), (gstevents_suite):
6671 Fix error message output so I might be able to tell why the
6672 test works here but fails on the build farm.
6674 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6676 * check/Makefile.am:
6677 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6678 (test_event), (timediff), (gstevents_suite), (main):
6681 * docs/design/part-seeking.txt:
6684 * docs/gst/tmpl/gstevent.sgml:
6685 * docs/gst/tmpl/gstfakesrc.sgml:
6688 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6689 Treat a buffer-without-newsegment the same as a receiving
6690 a newsegment not in time format, and disable syncing to the clock
6693 * gst/gstbus.c: (gst_bus_set_sync_handler):
6694 Assert if anyone tries to replace the existing sync_handler for bus,
6695 as only the owner should be setting it.
6698 Have a fixed set of custom event enums with events identified by
6699 their structure name (as in 0.8), rather than a free-for-all
6700 allowing collisions between enum values from different plugins.
6702 * gst/gstpad.c: (gst_pad_class_init):
6705 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6706 Handle out-of-band downstream events from the sending thread.
6708 2005-08-17 Andy Wingo <wingo@pobox.com>
6710 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6711 play-timeout==0 to mean no timeout at all. In that case, don't
6712 bother with a get_state or a warning, just return directly, even
6715 * gst/base/gstbasetransform.c: Debug changes.
6718 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6719 ensure bins post state change messages. A bit of a hack but I can't
6720 think of a way to avoid it.
6722 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6724 2005-08-16 Andy Wingo <wingo@pobox.com>
6726 * gst/base/gstadapter.h:
6727 * gst/base/gstadapter.c (gst_adapter_take): New function, like
6728 peek() but you own the data. Not terribly efficient atm.
6730 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6732 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6733 (gst_element_found_tags):
6735 Add two utility functions for tag handling.
6737 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6739 * docs/manual/advanced-dataaccess.xml:
6740 * docs/manual/basics-helloworld.xml:
6741 Fix docs to use _bin_add() before _link(), which fixes the examples
6742 with recent core versions (reported by Madhan Raj M
6743 <raj_madan@rediffmail.com>, #313199).
6745 2005-08-16 Wim Taymans <wim@fluendo.com>
6747 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6748 Added subtract checks.
6750 * docs/design/part-events.txt:
6751 Some more docs about newsegment
6753 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6756 * gst/gstcaps.c: (gst_caps_to_string):
6757 Add comments, cleanups.
6759 * gst/gstelement.c: (gst_element_save_thyself):
6762 * gst/gstvalue.c: (gst_value_collect_int_range),
6763 (gst_string_unwrap), (gst_value_union_int_int_range),
6764 (gst_value_union_int_range_int_range),
6765 (gst_value_intersect_int_int_range),
6766 (gst_value_intersect_int_range_int_range),
6767 (gst_value_intersect_double_double_range),
6768 (gst_value_intersect_double_range_double_range),
6769 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6770 (gst_value_subtract_int_range_int),
6771 (gst_value_subtract_double_range_double),
6772 (gst_value_subtract_double_range_double_range),
6773 (gst_value_subtract_from_list), (gst_value_subtract_list),
6774 (gst_value_can_compare), (gst_value_compare_fraction):
6775 Cleanups, add comments, remove unneeded asserts.
6777 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6779 * tools/gst-launch.c: (event_loop):
6780 don't convert NULL structures to strings
6782 2005-08-15 Stefan Kost <ensonic@users.sf.net>
6784 * docs/gst/gstreamer-sections.txt:
6785 made some defines private
6786 * docs/gst/tmpl/gstconfig.sgml:
6787 * docs/gst/tmpl/gstqueue.sgml:
6788 * docs/gst/tmpl/gsttaglist.sgml:
6789 * docs/gst/tmpl/gsttypes.sgml:
6790 * docs/gst/tmpl/gstutils.sgml:
6791 * docs/pwg/appendix-porting.xml:
6792 * gst/base/gstbasesink.h:
6793 * gst/base/gstbasesrc.c:
6794 * gst/base/gstbasesrc.h:
6795 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6796 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6797 * gst/gstelement.c: (gst_element_class_init):
6798 * gst/gstpad.c: (gst_pad_class_init):
6799 * gst/gstqueue.c: (gst_queue_class_init):
6800 * gst/gstxml.c: (gst_xml_class_init):
6801 documented all undocumented signal inline
6802 * libs/gst/controller/gst-controller.h:
6805 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6807 * docs/pwg/appendix-porting.xml:
6808 Document _set_link_function -> _set_setcaps_function.
6810 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6812 * check/Makefile.am:
6813 add a .check target for running the check
6814 * check/gst-libs/controller.c: (GST_START_TEST):
6816 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6817 complete checks for gstbuffer; would be nice if I could get the
6818 gcov stuff to work so I can see if I actually completed gstbuffer.c
6820 add ASSERT_BUFFER_REFCOUNT
6822 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
6824 * docs/gst/gstreamer-sections.txt:
6825 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6827 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6828 spew out a warning if a tag that is already registered
6829 is re-registered, unless it is re-registered with a
6830 different type (#308438).
6832 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
6834 * docs/pwg/appendix-porting.xml:
6835 * docs/pwg/building-state.xml:
6836 Add some paragraphs about state changes in 0.9 to the PWG
6837 and the porting guide, in particular about the new meaning
6838 of GST_STATE_PAUSED and how to write state change functions
6839 with concurrent access by multiple threads in mind.
6841 2005-08-11 Stefan Kost <ensonic@users.sf.net>
6843 * docs/gst/gstreamer-docs.sgml:
6844 * docs/libs/gstreamer-libs-docs.sgml:
6845 added deprecation and since indexes
6846 * libs/gst/controller/gst-controller.c:
6847 * libs/gst/controller/gst-helper.c:
6851 2005-08-11 Wim Taymans <wim@fluendo.com>
6853 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6854 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6855 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6856 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6857 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6858 (gst_ghost_pad_set_target):
6859 Actually implement (re)setting the target on a ghostpad
6860 as described in the docs.
6862 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6864 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6865 Check whether GST_DEBUG_NO_COLOR environment variable is
6866 set and disable coloured debug output if that is the case.
6868 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6870 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6871 (gst_type_find_helper):
6872 The memory returned by gst_type_find_peek() needs to
6873 stay valid until the end of a typefind function, and
6874 typefind functions may keep results from different
6875 offsets around, so we can't just unref the buffer from
6876 the previous _peek(), but have to save all buffers
6877 returned by _peek() until typefinding is done and only
6880 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
6882 * docs/gst/gstreamer-sections.txt:
6884 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6886 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6888 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6889 Fix a pretty good memleak.
6891 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6893 * gst/gstiterator.h:
6894 Fix wrong include and 'make distcheck'.
6896 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6898 * gst/gstbin.c: (bin_bus_handler):
6899 Use gst_element_post_message() instead.
6901 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6903 * gst/base/gstadapter.h:
6904 * gst/base/gstbasesink.h:
6905 * gst/base/gstbasesrc.h:
6906 * gst/base/gstbasetransform.h:
6907 * gst/base/gstcollectpads.h:
6908 * gst/base/gstpushsrc.h:
6909 * gst/gstiterator.h:
6910 Add padding to our base elements' class and instance structs and
6911 to GstIterator (you will need to rebuild all plugins and apps!)
6913 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6915 * gst/gstbin.c: (bin_bus_handler):
6916 Make default message forwarding from child->bus to bin->bus
6917 threadsafe and make it not emit warnings if the parent has no bus.
6919 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6921 * gst/gstelement.c: (activate_pads):
6922 On paused->ready, set pad->caps to NULL, as is the documented
6923 behaviour in this state change. Fixes playback of series of
6924 media files when visualization is enabled in Totem.
6926 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6928 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6929 Allow NULL as filter-caps (which means "any").
6931 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6933 * docs/libs/gstreamer-libs-sections.txt:
6934 * libs/gst/controller/gst-controller.c:
6935 * libs/gst/controller/gst-controller.h:
6936 * libs/gst/controller/gst-helper.c:
6937 adding more entries to the docs and fix small doc-bugs
6939 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6941 * docs/gst/gstreamer-docs.sgml:
6942 * docs/gst/gstreamer-sections.txt:
6943 * docs/gst/gstreamer.types:
6944 * docs/gst/tmpl/gstbasesink.sgml:
6945 * docs/gst/tmpl/gstbasesrc.sgml:
6946 * docs/gst/tmpl/gstbasetransform.sgml:
6947 * docs/gst/tmpl/gstfakesrc.sgml:
6948 * gst/base/gstcollectpads.c:
6949 * gst/base/gstcollectpads.h:
6950 * libs/gst/controller/gst-controller.c:
6951 * libs/gst/controller/gst-controller.h:
6952 * libs/gst/controller/gst-helper.c:
6953 * libs/gst/controller/gst-interpolation.c:
6954 * libs/gst/controller/lib.c:
6955 added long/short desc for controller docs
6956 added collectpads base class docs
6957 added correct includes to base-class docs
6959 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6961 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6962 (gst_test_mono_source_set_property),
6963 (gst_test_mono_source_class_init), (GST_START_TEST),
6964 (gst_controller_suite):
6965 * docs/gst/gstreamer-docs.sgml:
6966 * docs/gst/gstreamer-sections.txt:
6967 * docs/gst/gstreamer.types:
6968 * docs/libs/gstreamer-libs-docs.sgml:
6969 * docs/libs/gstreamer-libs-sections.txt:
6970 * gst/base/gstadapter.c:
6971 * libs/gst/controller/gst-controller.c:
6972 (gst_controlled_property_new), (gst_controlled_property_free),
6973 (gst_controller_new_valist),
6974 (gst_controller_remove_properties_valist),
6975 (gst_controller_sink_values), (_gst_controller_finalize):
6976 * libs/gst/controller/gst-controller.h:
6977 * libs/gst/controller/gst-helper.c:
6978 (gst_object_control_properties), (gst_object_uncontrol_properties),
6979 (gst_object_get_controller), (gst_object_set_controller),
6980 (gst_object_sink_values), (gst_object_get_value_arrays),
6981 (gst_object_get_value_array):
6982 more tests (and fixes) for the controller
6983 more docs for the controller
6984 integrated companies docs for the adapter
6986 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6988 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6989 (GST_START_TEST), (fakesrc_suite):
6990 add tests for sizetype
6992 2005-08-04 Andy Wingo <wingo@pobox.com>
6994 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6995 fixes buffer_alloc proxying among other things.
6997 * gst/base/gstbasetransform.c:
6998 * gst/base/gstbasetransform.h:
6999 Revert patch to gstbasetransform from 7-28 removing
7002 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7003 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7004 Semantics changed, should return not the size of the output buffer
7005 but the byte size of a buffer with a given caps.
7007 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7009 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7010 out) are not the pad caps until setcaps finishes.
7011 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7012 not-in-place case as well. Deal with changing from in-place to
7013 not-in-place within calling pad_alloc_buffer. Still a bit
7014 concerned about the overhead here...
7016 2005-08-03 Andy Wingo <wingo@pobox.com>
7018 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7019 fixating is an error.
7021 2005-08-04 Edward Hervey <edward@fluendo.com>
7023 * gst/base/gstadapter.h:
7024 Added gst_adapter_get_type() to the header
7026 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7028 * check/Makefile.am:
7029 * check/gst-libs/controller.c:
7030 * libs/gst/controller/gst-controller.c:
7031 (gst_controller_new_valist):
7032 added check test suite for the controller
7033 * gst/base/gstpushsrc.c:
7036 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7038 * docs/gst/Makefile.am:
7039 * docs/gst/gstreamer-docs.sgml:
7040 * docs/gst/gstreamer-sections.txt:
7041 * docs/gst/gstreamer.types:
7042 * docs/gst/tmpl/gstfakesrc.sgml:
7044 * gst/base/gstbasesink.c:
7045 * gst/base/gstbasesink.h:
7046 * gst/base/gstbasesrc.c:
7047 * gst/base/gstbasesrc.h:
7048 * gst/base/gstbasetransform.c:
7049 * gst/base/gstpushsrc.c:
7050 * gst/base/gstpushsrc.h:
7051 add short/long description docs to base classes
7052 add pushsrc to the docs
7053 remove consolidated doc fragments
7055 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7058 * docs/libs/Makefile.am:
7059 * docs/libs/gstreamer-libs-docs.sgml:
7060 * docs/libs/gstreamer-libs-sections.txt:
7061 * docs/libs/gstreamer-libs.types:
7062 * examples/Makefile.am:
7063 * examples/controller/.cvsignore:
7064 * examples/controller/Makefile.am:
7065 * examples/controller/audio-example.c: (main):
7066 * libs/gst/Makefile.am:
7067 * libs/gst/controller/.cvsignore:
7068 * libs/gst/controller/Makefile.am:
7069 * libs/gst/controller/gst-controller.c:
7070 (on_object_controlled_property_changed), (gst_timed_value_compare),
7071 (gst_timed_value_find),
7072 (gst_controlled_property_set_interpolation_mode),
7073 (gst_controlled_property_new), (gst_controlled_property_free),
7074 (gst_controller_find_controlled_property),
7075 (gst_controller_new_valist), (gst_controller_new),
7076 (gst_controller_remove_properties_valist),
7077 (gst_controller_remove_properties), (gst_controller_set),
7078 (gst_controller_set_from_list), (gst_controller_unset),
7079 (gst_controller_get), (gst_controller_get_all),
7080 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7081 (gst_controller_get_value_array),
7082 (gst_controller_set_interpolation_mode),
7083 (_gst_controller_finalize), (_gst_controller_init),
7084 (_gst_controller_class_init), (gst_controller_get_type):
7085 * libs/gst/controller/gst-controller.h:
7086 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7087 (g_object_uncontrol_properties), (g_object_get_controller),
7088 (g_object_set_controller), (g_object_sink_values),
7089 (g_object_get_value_arrays), (g_object_get_value_array):
7090 * libs/gst/controller/gst-interpolation.c:
7091 (gst_controlled_property_find_timed_value_node),
7092 (interpolate_none_get), (interpolate_trigger_get),
7093 (interpolate_trigger_get_value_array):
7094 * libs/gst/controller/lib.c: (gst_controller_init):
7095 * pkgconfig/Makefile.am:
7096 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7097 * pkgconfig/gstreamer-control.pc.in:
7098 * testsuite/Makefile.am:
7099 * testsuite/controller/.cvsignore:
7100 * testsuite/controller/Makefile.am:
7101 * testsuite/controller/interpolator.c: (main):
7102 added controller code
7103 removed dparam pc files
7105 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7106 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7107 (gst_collectpads_stop):
7108 Broadcast the condition when shutting down, to make sure we wake all
7109 threads up. Shut down pads on finalize, for safety.
7111 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7112 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7113 (gst_base_transform_handle_buffer),
7114 (gst_base_transform_change_state):
7115 Handle PAUSED->READY->PAUSED transition after negotiation
7117 * gst/gstmessage.c: (gst_message_init):
7118 Extra piece of debug for new messages.
7120 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7123 * docs/gst/tmpl/gstbasesrc.sgml:
7124 * docs/gst/tmpl/gstelement.sgml:
7125 * docs/gst/tmpl/gstevent.sgml:
7126 * docs/gst/tmpl/gstfakesrc.sgml:
7127 * docs/gst/tmpl/gstformat.sgml:
7128 * docs/gst/tmpl/gstghostpad.sgml:
7129 * docs/gst/tmpl/gstpad.sgml:
7130 * docs/gst/tmpl/gstquery.sgml:
7131 * docs/gst/tmpl/gststructure.sgml:
7132 * docs/gst/tmpl/gsttaglist.sgml:
7133 * docs/gst/tmpl/gstvalue.sgml:
7134 * docs/libs/gstreamer-libs-docs.sgml:
7135 * docs/libs/gstreamer-libs-sections.txt:
7136 * docs/libs/gstreamer-libs.types:
7137 * libs/gst/Makefile.am:
7138 * libs/gst/control/.cvsignore:
7139 * libs/gst/control/Makefile.am:
7140 * libs/gst/control/control.c:
7141 * libs/gst/control/control.h:
7142 * libs/gst/control/dparam.c:
7143 * libs/gst/control/dparam.h:
7144 * libs/gst/control/dparam_smooth.c:
7145 * libs/gst/control/dparam_smooth.h:
7146 * libs/gst/control/dparamcommon.h:
7147 * libs/gst/control/dparammanager.c:
7148 * libs/gst/control/dparammanager.h:
7149 * libs/gst/control/dplinearinterp.c:
7150 * libs/gst/control/dplinearinterp.h:
7151 * libs/gst/control/unitconvert.c:
7152 * libs/gst/control/unitconvert.h:
7153 * testsuite/Makefile.am:
7154 * testsuite/dynparams/.cvsignore:
7155 * testsuite/dynparams/Makefile.am:
7156 * testsuite/dynparams/dparamstest.c:
7157 * tools/Makefile.am:
7158 * tools/gst-inspect.c: (print_element_info), (main):
7159 * tools/gst-xmlinspect.c: (print_element_info), (main):
7160 deactivate and remove dparams (libgstcontrol)
7162 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7164 * gst/elements/gsttypefindelement.c:
7165 (gst_type_find_element_have_type), (gst_type_find_element_init),
7166 (stop_typefinding), (gst_type_find_element_handle_event),
7167 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7168 * gst/elements/gsttypefindelement.h:
7169 Set caps on all outgoing buffers, not just the first one.
7171 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7173 * gst/elements/gsttypefindelement.c:
7174 (gst_type_find_element_have_type),
7175 (gst_type_find_element_check_set_buffer_caps),
7176 (gst_type_find_element_init), (stop_typefinding),
7177 (gst_type_find_element_handle_event),
7178 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7179 * gst/elements/gsttypefindelement.h:
7180 Set caps on first outgoing buffer when we've found the type.
7182 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7184 * docs/gst/gstreamer-docs.sgml:
7185 * docs/gst/gstreamer-sections.txt:
7186 * docs/gst/tmpl/gstscheduler.sgml:
7187 * docs/gst/tmpl/gstschedulerfactory.sgml:
7188 Remove some old cruft from docs.
7190 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7193 Fix inline docs for GstPadLinkReturn.
7195 * gst/gststructure.c: (gst_structure_has_name):
7196 * gst/gststructure.h:
7197 * docs/gst/gstreamer-sections.txt:
7198 New API: gst_structure_has_name().
7200 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7203 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7204 and _LARGEFILE_SOURCE in config.h as required. Do not
7205 export those flags in our .pc files any longer (#142209).
7207 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7209 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7210 (gst_file_sink_do_seek), (gst_file_sink_event),
7211 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7212 Redo seek/tell calls with large file support in mind; add some
7213 debugging messages; add log message that tells us when large
7214 file support is unavailable or not enabled for some reason.
7216 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7217 Add log message that tells us when large file support
7218 is unavailable or not enabled for some reason.
7220 2005-07-29 Wim Taymans <wim@fluendo.com>
7222 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7223 Added test for removing an element with ghostpad from a bin.
7224 Fixed test as current implementation does the right thing.
7226 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7227 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7228 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7229 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7230 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7231 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7232 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7233 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7234 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7235 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7236 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7237 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7238 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7239 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7240 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7241 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7242 * gst/gstghostpad.h:
7243 Clean up ghostpads, remove properties for internal stuff.
7246 Prepare for switching targets, not all use cases work yet.
7248 2005-07-29 Wim Taymans <wim@fluendo.com>
7250 * docs/design/part-gstghostpad.txt:
7253 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7254 (gst_bin_remove_func):
7255 Unlinking pads while holding the bin LOCK is not a good
7258 * gst/gstpad.c: (gst_pad_class_init),
7259 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7260 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7261 No prob setting template after creating the pad.
7263 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7265 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7266 (gst_bus_peek), (gst_bus_source_dispatch),
7267 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7268 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7269 gst_bus_poll may be called from other threads. Handle
7270 this nicely by not making poll_data disappear off the
7271 stack once gst_bus_poll returns.
7272 gst_bus_peek now increments the refcount on the returned
7275 2005-07-29 Wim Taymans <wim@fluendo.com>
7277 * docs/design/part-gstghostpad.txt:
7278 Overview of current GhostPad datastructures and use
7279 cases for changing the target.
7281 2005-07-28 Wim Taymans <wim@fluendo.com>
7283 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7284 Added checks for hierarchy consistency whan adding linked
7287 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7288 Added check to test element scheduling without bin/pipeline.
7290 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7291 First add elements to bin, then link.
7293 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7294 (gst_bin_remove_func):
7295 Unlink pads from elements added/removed from bin to maintain
7296 hierarchy consistency.
7298 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7300 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7301 (gst_base_transform_handle_buffer):
7302 * gst/base/gstbasetransform.h:
7303 Remove broken delay_configure (fixes renegotiation of software
7304 scaling pipelines); remove some leftover printf()s.
7306 2005-07-28 Wim Taymans <wim@fluendo.com>
7308 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7309 Added some more tests for wrong hierarchy
7311 * docs/design/part-overview.txt:
7314 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7317 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7318 (gst_element_dispose):
7321 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7322 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7323 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7324 (gst_pad_set_caps), (gst_pad_send_event):
7325 Check for correct hierarchy when linking pads. Moving to
7326 strict requirement for ghostpads when linking elements in
7330 Clean ups. Added WRONG_HIERARCHY return value.
7332 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7334 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7335 Better debug if no transform is possible.
7337 2005-07-27 Wim Taymans <wim@fluendo.com>
7339 * docs/random/wtay/network-transp:
7342 2005-07-27 Wim Taymans <wim@fluendo.com>
7344 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7345 (gst_dp_event_from_packet):
7346 Fix serialization of seek events.
7348 2005-07-27 Wim Taymans <wim@fluendo.com>
7350 * check/gst-libs/gdp.c: (GST_START_TEST):
7351 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7352 Fix compilation and fix event serialization.
7354 2005-07-27 Wim Taymans <wim@fluendo.com>
7357 * docs/design/part-TODO.txt:
7358 * docs/design/part-events.txt:
7361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7362 (gst_base_sink_event), (gst_base_sink_do_sync),
7363 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7364 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7365 (gst_base_src_do_seek), (gst_base_src_event_handler),
7366 (gst_base_src_loop):
7367 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7368 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7369 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7370 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7371 (gst_base_transform_set_passthrough),
7372 (gst_base_transform_is_passthrough):
7373 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7374 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7380 * gst/gstelement.c: (gst_element_seek):
7382 Update gst_element_seek.
7384 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7385 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7386 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7387 (gst_event_new_eos), (gst_event_new_newsegment),
7388 (gst_event_parse_newsegment), (gst_event_new_tag),
7389 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7390 (gst_event_parse_qos), (gst_event_new_seek),
7391 (gst_event_parse_seek), (gst_event_new_navigation):
7393 Make GstEvent use GstStructure. Add parsing code, make sure the
7394 API is sufficiently generic.
7395 Mark possible directions of events and serialization.
7397 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7398 (_gst_message_copy), (gst_message_new_segment_start),
7399 (gst_message_new_segment_done), (gst_message_new_custom),
7400 (gst_message_parse_segment_start),
7401 (gst_message_parse_segment_done):
7404 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7405 (gst_pad_set_caps), (gst_pad_send_event):
7406 Update for new events.
7407 Catch events sent in wrong directions.
7409 * gst/gstqueue.c: (gst_queue_link_src),
7410 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7411 (gst_queue_handle_src_query):
7416 Remove event code from this file.
7418 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7419 (gst_dp_event_from_packet):
7422 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7424 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7425 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7426 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7427 Make debugging actually useful.
7429 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7431 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7432 (gst_pad_fixate_caps):
7433 Implement default fixation once again, so that gst_pad_fixate()
7434 actually does anything at all. This probably needs to be some
7435 sort of a last resort, and use profile-based fixation first, but
7436 since that doesn't exist yet, this is the best we have. Fixes
7437 visualization in Totem.
7439 2005-07-22 Wim Taymans <wim@fluendo.com>
7441 * docs/design/part-events.txt:
7444 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7445 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7446 (gst_base_sink_activate_pull):
7449 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7450 (gst_fake_src_create):
7451 Fix handoff marshall.
7453 * gst/elements/gstidentity.c: (gst_identity_class_init),
7454 (gst_identity_transform_ip):
7455 We're a real inplace element.
7457 * gst/gstbus.c: (gst_bus_post):
7458 Added some comments.
7460 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7461 * tests/muxing/case1.c: (main):
7462 * tests/sched/dynamic-pipeline.c: (main):
7463 * tests/sched/interrupt1.c: (main):
7464 * tests/sched/interrupt2.c: (main):
7465 * tests/sched/interrupt3.c: (main):
7466 * tests/sched/runxml.c: (main):
7467 * tests/sched/sched-stress.c: (main):
7468 * tests/seeking/seeking1.c: (event_received), (main):
7469 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7471 * tests/threadstate/threadstate3.c: (main):
7472 * tests/threadstate/threadstate4.c: (main):
7473 * tests/threadstate/threadstate5.c: (main):
7476 2005-07-21 Wim Taymans <wim@fluendo.com>
7478 * docs/design/part-seeking.txt:
7479 Some small additions.
7481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7482 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7483 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7484 * gst/base/gstbasesink.h:
7485 discont values are gint64, handle the math correctly.
7487 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7488 Make the basesrc report error if the source pad is not linked.
7490 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7491 (gst_queue_loop), (gst_queue_handle_src_query),
7492 (gst_queue_src_activate_push):
7493 Make queue collect data even if the srcpad is not linked.
7494 Start pushing out data as soon as it is linked.
7496 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7498 Added gst_flow_get_name() to ease error reporting.
7500 2005-07-20 Wim Taymans <wim@fluendo.com>
7502 * gst/gstmessage.c: (gst_message_new_segment_start),
7503 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7504 (gst_message_parse_segment_done):
7506 Added a bunch of messages for advanced seeking.
7508 * gst/parse/grammar.y:
7509 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7510 (gst_dpman_state_changed):
7511 Fix some new-pad -> pad-added signals
7513 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7515 * docs/manual/appendix-porting.xml:
7516 * docs/pwg/appendix-porting.xml:
7517 Document new-pad/state-change signal renames and the FixedList
7520 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7522 * docs/manual/advanced-autoplugging.xml:
7523 * docs/manual/basics-helloworld.xml:
7524 * docs/manual/basics-pads.xml:
7525 * docs/random/ds/0.9-suggested-changes:
7526 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7531 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7532 (gst_structure_parse_array), (gst_structure_parse_value):
7533 * gst/gstvalue.c: (gst_type_is_fixed),
7534 (gst_value_list_prepend_value), (gst_value_list_append_value),
7535 (gst_value_list_get_size), (gst_value_list_get_value),
7536 (gst_value_transform_array_string), (gst_value_serialize_array),
7537 (gst_value_deserialize_array), (gst_value_intersect_array),
7538 (gst_value_is_fixed), (_gst_value_initialize):
7540 GstElement::new-pad -> pad-added, GstElement::state-change ->
7541 state-changed, GstValueFixedList -> GstValueArray, add format and
7542 flags as their own arguments in gst_element_seek() (should improve
7543 "bindeability"), remove function generators since they don't work
7544 under a whole bunch of compilers (they were deprecated already
7547 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7549 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7550 (_gst_debug_register_funcptr):
7552 Fix illegal cast on some platforms (#309253).
7554 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7556 * gst/gstmessage.c: (gst_message_new_custom):
7558 Add _new_custom, make _new_application a macro to _new_custom.
7560 2005-07-20 Wim Taymans <wim@fluendo.com>
7562 * gst/base/gstbasesrc.c: (gst_base_src_init),
7563 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7564 * gst/base/gstbasesrc.h:
7565 Add a gboolean to decide when to push out a discont.
7567 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7568 (gst_queue_loop), (gst_queue_handle_src_query),
7569 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7570 (gst_queue_set_property), (gst_queue_get_property):
7573 * tests/threadstate/threadstate1.c: (main):
7574 Make a thread test compile and run... very silly..
7577 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7579 * docs/manual/appendix-porting.xml:
7580 Mention removal of libgstgconf-0.9.la and existence of gconf
7583 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7585 * docs/pwg/advanced-clock.xml:
7586 * docs/pwg/appendix-porting.xml:
7587 * docs/pwg/intro-preface.xml:
7588 * docs/pwg/other-base.xml:
7589 * docs/pwg/other-manager.xml:
7590 * docs/pwg/other-nton.xml:
7591 * docs/pwg/other-ntoone.xml:
7592 * docs/pwg/other-oneton.xml:
7594 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7595 demuxer), remove n-to-n (was never written), fix some code examples
7596 and links and update the porting section to include all this.
7598 2005-07-19 Wim Taymans <wim@fluendo.com>
7600 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7601 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7602 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7603 (gst_queue_src_activate_push), (gst_queue_change_state),
7604 (gst_queue_get_property):
7606 Propagate GstFlowReturn more intelligently upstream and output
7607 an ERROR/EOS when streaming stopped due to fatal error.
7609 2005-07-19 Wim Taymans <wim@fluendo.com>
7611 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7612 Don't block forever for the state change to complete, the
7613 pipeline already did with a sensible timeout.
7615 2005-07-19 Wim Taymans <wim@fluendo.com>
7617 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7618 Make sure we never call the create function is we
7621 2005-07-19 Andy Wingo <wingo@pobox.com>
7623 * gst/parse/parse.l: Attempt to solve bug #172815.
7625 2005-07-19 Wim Taymans <wim@fluendo.com>
7627 * docs/design/part-clocks.txt:
7628 * docs/design/part-events.txt:
7629 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7631 Only update the seeking values when we are not
7634 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7636 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7637 Oops, ignore the result of gst_pad_push_event here.
7639 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7641 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7642 (gst_base_src_activate_push):
7643 Send discont event from the loop function, as pads
7644 aren't activated yet in the activate_push handler.
7646 * gst/gstbin.c: (bin_bus_handler):
7647 Don't leak element name.
7649 2005-07-18 Andy Wingo <wingo@pobox.com>
7651 * configure.ac: Use AS_LIBTOOL_TAGS.
7653 2005-07-18 Wim Taymans <wim@fluendo.com>
7655 * docs/gst/gstreamer.types:
7656 Remove deleted types.
7658 2005-07-18 Wim Taymans <wim@fluendo.com>
7660 * check/elements/gstfakesrc.c: (GST_START_TEST):
7663 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7664 (init_popt_callback):
7666 * gst/gst_private.h:
7667 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7668 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7671 * gst/gstconfig.h.in:
7672 * gst/gstelement.c: (gst_element_class_init),
7673 (gst_element_set_base_time), (gst_element_get_base_time),
7674 (iterator_fold_with_resync), (gst_element_change_state),
7675 (gst_element_dispose), (gst_element_get_bus):
7677 * gst/gstelementfactory.h:
7678 * gst/gsterror.c: (_gst_core_errors_init):
7681 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7683 * gst/gstinfo.c: (_gst_debug_init):
7684 * gst/gstmessage.c: (_gst_message_copy):
7686 * gst/gstminiobject.h:
7689 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7690 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7693 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7694 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7695 (gst_pipeline_get_last_stream_time):
7696 * gst/gstpipeline.h:
7697 * gst/gstpluginfeature.h:
7699 * gst/gstscheduler.c:
7700 * gst/gstscheduler.h:
7701 * gst/gststructure.h:
7702 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7703 (gst_task_finalize), (gst_task_func), (gst_task_create),
7704 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7705 (gst_task_stop), (gst_task_pause):
7707 * gst/gsttypefind.h:
7709 * gst/registries/gstlibxmlregistry.c: (load_feature),
7710 (gst_xml_registry_load), (gst_xml_registry_save_feature):
7711 * gst/registries/gstxmlregistry.c:
7712 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7713 * gst/schedulers/threadscheduler.c:
7714 * libs/gst/control/dparammanager.h:
7715 * tools/gst-inspect.c: (print_element_list),
7716 (print_plugin_features), (print_element_features):
7717 * tools/gst-xmlinspect.c: (print_element_list),
7718 (print_plugin_info), (main):
7719 Removed plugable schedulers.
7720 Removed Scheduler/Manager from elements.
7721 Removed gsttypes.h, rearranged includes.
7722 Removed dependency pad<->element, element<>pipeline, and
7723 various others, fix includes.
7724 implement gst_pad_get_parent() with gst_object_get_parent()
7725 Make GstTask sefcontained.
7726 Fix _get_state() on GstBin, it did not return ASYNC with a 0
7728 Fix endless loop in iterator_fold_with_resync.
7731 2005-07-18 Wim Taymans <wim@fluendo.com>
7737 2005-07-18 Wim Taymans <wim@fluendo.com>
7742 2005-07-18 Wim Taymans <wim@fluendo.com>
7748 2005-07-18 Wim Taymans <wim@fluendo.com>
7750 * docs/design/part-dynamic.txt:
7751 * docs/design/part-events.txt:
7752 * docs/design/part-seeking.txt:
7753 Some more docs in the works.
7755 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7756 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7757 (gst_base_transform_setcaps), (gst_base_transform_get_size),
7758 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7759 (gst_base_transform_handle_buffer),
7760 (gst_base_transform_sink_activate_push),
7761 (gst_base_transform_src_activate_pull),
7762 (gst_base_transform_set_passthrough),
7763 (gst_base_transform_is_passthrough):
7766 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7769 * gst/gstevent.c: (gst_event_finalize):
7772 * gst/gstutils.c: (gst_element_unlink),
7773 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7774 (gst_pad_proxy_setcaps):
7776 Add _get_parent_element() to get a pads parent as an element.
7778 2005-07-18 Wim Taymans <wim@fluendo.com>
7780 * check/gst/gstbin.c: (GST_START_TEST):
7783 2005-07-18 Wim Taymans <wim@fluendo.com>
7785 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7786 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7787 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7788 (gst_base_sink_event), (gst_base_sink_do_sync),
7789 (gst_base_sink_chain), (gst_base_sink_loop),
7790 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7791 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7793 Fix logic for returning ASYNC when not prerolled.
7795 2005-07-18 Wim Taymans <wim@fluendo.com>
7797 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7798 Fix nasty refcount bug.
7800 2005-07-16 Philippe Khalaf <burger@speedy.org>
7802 * gst/elements/gstfdsrc.c:
7803 * gst/elements/gstfdsrc.h:
7804 * gst/elements/gstelements.c:
7805 * gst/elements/Makefile.am:
7806 Ported fdsrc to 0.9.
7808 2005-07-16 Wim Taymans <wim@fluendo.com>
7810 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7811 (gst_base_sink_do_sync):
7814 2005-07-16 Wim Taymans <wim@fluendo.com>
7816 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7817 (gst_base_sink_event), (gst_base_sink_get_times),
7818 (gst_base_sink_do_sync), (gst_base_sink_change_state):
7819 * gst/base/gstbasesink.h:
7820 Store and use discont values when syncing buffers as described
7823 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7824 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7825 (gst_base_src_activate_push):
7826 Push discont event when starting.
7828 * gst/elements/gstidentity.c: (gst_identity_transform):
7831 * gst/gstbin.c: (gst_bin_change_state):
7832 Small cleanups in base_time distribution.
7834 * gst/gstelement.c: (gst_element_set_base_time),
7835 (gst_element_get_base_time), (gst_element_change_state):
7837 Added methods for the base_time of the element.
7840 * gst/gstpipeline.c: (gst_pipeline_send_event),
7841 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7842 (gst_pipeline_get_last_stream_time):
7843 * gst/gstpipeline.h:
7845 Handle seeking as described in design doc, remove stream_time
7847 Cleanups clock and stream_time selection code. Added accessors
7848 for the stream_time.
7851 2005-07-16 Andy Wingo <wingo@pobox.com>
7853 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7856 2005-07-16 Wim Taymans <wim@fluendo.com>
7858 * check/gst/gstbin.c: (GST_START_TEST):
7859 Make elements silent as the deep_notify refs the
7860 parent, which might make the test fail.
7862 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7863 Don't hold the lock for too long.
7865 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
7867 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7868 Don't unref the caps we passed to gst_caps_make_writable() after
7869 passing them. gst_caps_make_writable() will do that for us.
7871 2005-07-15 Andy Wingo <wingo@pobox.com>
7873 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7876 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7877 own marshalling function for the handoff signal. Properly type the
7878 buffer as a buffer. Fixes some warnings. Should do a more general
7880 (gst_identity_class_init): Plug into the right marshaller.
7882 2005-07-15 Wim Taymans <wim@fluendo.com>
7884 * docs/design/part-TODO.txt:
7885 * docs/design/part-clocks.txt:
7886 * docs/design/part-element-sink.txt:
7887 * docs/design/part-events.txt:
7888 * docs/design/part-gstpipeline.txt:
7889 Updated docs, mostly DISCONT related.
7891 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
7893 * docs/pwg/building-pads.xml:
7894 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7896 2005-07-15 Andy Wingo <wingo@pobox.com>
7898 * tools/gst-typefind.c: Update, add copyright block.
7900 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7901 Normalize and truncate caps before fixation.
7904 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7905 discards all but the first structure from its argument.
7907 2005-07-15 Wim Taymans <wim@fluendo.com>
7909 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7910 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7911 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7912 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7913 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7914 (gst_base_transform_chain), (gst_base_transform_change_state),
7915 (gst_base_transform_set_passthrough),
7916 (gst_base_transform_is_passthrough):
7917 * gst/base/gstbasetransform.h:
7918 Make passthrough work using the bufferpools.
7919 Changed API a bit, subclasses have to write into a buffer
7920 provided by the base class.
7921 More debug info in nego functions.
7923 * gst/elements/gstidentity.c: (gst_identity_init),
7924 (gst_identity_transform):
7925 Port to new base class.
7927 2005-07-15 Wim Taymans <wim@fluendo.com>
7929 * gst/gstmessage.c: (gst_message_new_state_changed):
7930 * tools/gst-launch.c: (event_loop), (main):
7931 Totally dump messages in -launch with the -m option.
7932 Fix message name for State messages,
7934 2005-07-14 Wim Taymans <wim@fluendo.com>
7936 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7937 Post error messages on errors.
7939 2005-07-14 Wim Taymans <wim@fluendo.com>
7941 * gst/gstcaps.c: (gst_caps_do_simplify):
7945 Define error for stream stopped.
7947 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7948 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7949 Do proper return values.
7951 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7952 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7953 (gst_pad_get_range):
7954 Better return values.
7957 Reorganise return values, add macro to check for fatal errors.
7959 * gst/gstqueue.c: (gst_queue_chain):
7960 Return proper GstFlowReturn values,
7962 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
7964 * docs/gst/gstreamer-sections.txt:
7965 * docs/gst/gstreamer.types:
7966 * docs/gst/tmpl/gst.sgml:
7967 * docs/gst/tmpl/gstbasesink.sgml:
7968 * docs/gst/tmpl/gstbasesrc.sgml:
7969 * docs/gst/tmpl/gstbasetransform.sgml:
7970 * docs/gst/tmpl/gstbin.sgml:
7971 * docs/gst/tmpl/gstbuffer.sgml:
7972 * docs/gst/tmpl/gstcaps.sgml:
7973 * docs/gst/tmpl/gstclock.sgml:
7974 * docs/gst/tmpl/gstcompat.sgml:
7975 * docs/gst/tmpl/gstconfig.sgml:
7976 * docs/gst/tmpl/gstelement.sgml:
7977 * docs/gst/tmpl/gstelementdetails.sgml:
7978 * docs/gst/tmpl/gstelementfactory.sgml:
7979 * docs/gst/tmpl/gstenumtypes.sgml:
7980 * docs/gst/tmpl/gsterror.sgml:
7981 * docs/gst/tmpl/gstevent.sgml:
7982 * docs/gst/tmpl/gstfakesink.sgml:
7983 * docs/gst/tmpl/gstfakesrc.sgml:
7984 * docs/gst/tmpl/gstfilesink.sgml:
7985 * docs/gst/tmpl/gstfilesrc.sgml:
7986 * docs/gst/tmpl/gstfilter.sgml:
7987 * docs/gst/tmpl/gstformat.sgml:
7988 * docs/gst/tmpl/gstghostpad.sgml:
7989 * docs/gst/tmpl/gstimplementsinterface.sgml:
7990 * docs/gst/tmpl/gstindex.sgml:
7991 * docs/gst/tmpl/gstindexfactory.sgml:
7992 * docs/gst/tmpl/gstinfo.sgml:
7993 * docs/gst/tmpl/gstiterator.sgml:
7994 * docs/gst/tmpl/gstmacros.sgml:
7995 * docs/gst/tmpl/gstmemchunk.sgml:
7996 * docs/gst/tmpl/gstminiobject.sgml:
7997 * docs/gst/tmpl/gstobject.sgml:
7998 * docs/gst/tmpl/gstpad.sgml:
7999 * docs/gst/tmpl/gstpadtemplate.sgml:
8000 * docs/gst/tmpl/gstparse.sgml:
8001 * docs/gst/tmpl/gstpipeline.sgml:
8002 * docs/gst/tmpl/gstplugin.sgml:
8003 * docs/gst/tmpl/gstpluginfeature.sgml:
8004 * docs/gst/tmpl/gstquery.sgml:
8005 * docs/gst/tmpl/gstqueue.sgml:
8006 * docs/gst/tmpl/gstregistry.sgml:
8007 * docs/gst/tmpl/gstregistrypool.sgml:
8008 * docs/gst/tmpl/gstscheduler.sgml:
8009 * docs/gst/tmpl/gstschedulerfactory.sgml:
8010 * docs/gst/tmpl/gststructure.sgml:
8011 * docs/gst/tmpl/gstsystemclock.sgml:
8012 * docs/gst/tmpl/gsttaglist.sgml:
8013 * docs/gst/tmpl/gsttagsetter.sgml:
8014 * docs/gst/tmpl/gsttrace.sgml:
8015 * docs/gst/tmpl/gsttrashstack.sgml:
8016 * docs/gst/tmpl/gsttypefind.sgml:
8017 * docs/gst/tmpl/gsttypefindfactory.sgml:
8018 * docs/gst/tmpl/gsttypes.sgml:
8019 * docs/gst/tmpl/gsturihandler.sgml:
8020 * docs/gst/tmpl/gsturitype.sgml:
8021 * docs/gst/tmpl/gstutils.sgml:
8022 * docs/gst/tmpl/gstvalue.sgml:
8023 * docs/gst/tmpl/gstversion.sgml:
8024 * docs/gst/tmpl/gstxml.sgml:
8025 * docs/libs/tmpl/gstcontrol.sgml:
8026 * docs/libs/tmpl/gstdataprotocol.sgml:
8027 * docs/libs/tmpl/gstdparam.sgml:
8028 * docs/libs/tmpl/gstdplinint.sgml:
8029 * docs/libs/tmpl/gstdpman.sgml:
8030 * docs/libs/tmpl/gstdpsmooth.sgml:
8031 * docs/libs/tmpl/gstgetbits.sgml:
8032 * docs/libs/tmpl/gstunitconvert.sgml:
8033 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8034 (gst_push_src_base_init), (gst_push_src_class_init),
8035 (gst_push_src_init), (gst_push_src_create):
8036 * gst/base/gstpushsrc.h:
8037 * gst/elements/gstelements.c:
8038 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8039 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8040 (gst_fake_sink_init), (gst_fake_sink_set_property),
8041 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8042 (gst_fake_sink_event), (gst_fake_sink_preroll),
8043 (gst_fake_sink_render), (gst_fake_sink_change_state):
8044 * gst/elements/gstfakesink.h:
8045 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8046 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8047 (gst_fake_src_base_init), (gst_fake_src_class_init),
8048 (gst_fake_src_init), (gst_fake_src_event_handler),
8049 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8050 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8051 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8052 (gst_fake_src_create_buffer), (gst_fake_src_create),
8053 (gst_fake_src_start), (gst_fake_src_stop):
8054 * gst/elements/gstfakesrc.h:
8055 * gst/elements/gstfilesink.c: (_do_init),
8056 (gst_file_sink_base_init), (gst_file_sink_class_init),
8057 (gst_file_sink_init), (gst_file_sink_dispose),
8058 (gst_file_sink_set_location), (gst_file_sink_set_property),
8059 (gst_file_sink_get_property), (gst_file_sink_open_file),
8060 (gst_file_sink_close_file), (gst_file_sink_query),
8061 (gst_file_sink_event), (gst_file_sink_render),
8062 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8063 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8064 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8065 * gst/elements/gstfilesink.h:
8066 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8067 (gst_file_src_class_init), (gst_file_src_init),
8068 (gst_file_src_finalize), (gst_file_src_set_location),
8069 (gst_file_src_set_property), (gst_file_src_get_property),
8070 (gst_file_src_map_region), (gst_file_src_map_small_region),
8071 (gst_file_src_create_mmap), (gst_file_src_create_read),
8072 (gst_file_src_create), (gst_file_src_is_seekable),
8073 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8074 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8075 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8076 (gst_file_src_uri_handler_init):
8077 * gst/elements/gstfilesrc.h:
8078 more autistic cleanliness in functions/names/defines
8080 2005-07-13 Andy Wingo <wingo@pobox.com>
8082 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8083 source couldn't negotiate.
8085 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8089 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8090 function. I am channeling Hades. Put your boots on suckers!!!
8092 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8094 * testsuite/caps/Makefile.am:
8095 * testsuite/caps/value_compare.c:
8096 * testsuite/caps/value_intersect.c:
8097 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8098 move two testsuite apps over to the check dir
8100 2005-07-12 Wim Taymans <wim@fluendo.com>
8102 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8103 Added more debug info in the negotiate process.
8106 Prepare for segment playback.
8108 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8114 * tools/gst-launch.c: (main):
8115 NULL pipeline on errors.
8117 2005-07-12 Andy Wingo <wingo@pobox.com>
8119 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8120 not it comes from a malloc region. Make sure our copy gets freed.
8122 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8124 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8125 * check/gst/gstmessage.c: (GST_START_TEST):
8126 * check/gst/gststructure.c: (GST_START_TEST),
8127 (gst_structure_suite), (main):
8129 * gst/gstelement.c: (gst_element_message_full):
8130 clean up GError and debug string now that they get copied
8131 * gst/gstmessage.c: (gst_message_new_error),
8132 (gst_message_new_warning), (gst_message_parse_error),
8133 (gst_message_parse_warning):
8134 use GST_TYPE_G_ERROR for structure_new, and take copies of
8135 arguments, so that we don't mess up refcounting
8137 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8139 * check/Makefile.am:
8140 add per-test valgrind targets
8141 * check/gst-libs/gdp.c: (GST_START_TEST),
8142 (gst_data_protocol_suite), (main):
8145 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8147 * check/Makefile.am:
8148 instate more valgrindable tests
8149 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8150 (GST_START_TEST), (fakesrc_suite):
8151 * check/gst/gstpad.c: (GST_START_TEST):
8152 * check/gst/gststructure.c: (GST_START_TEST):
8154 * docs/gst/tmpl/gstminiobject.sgml:
8155 * gst/gstpad.c: (gst_pad_finalize):
8156 fix the static mutex leak
8158 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8160 * check/Makefile.am:
8161 add two more tests for valgrinding
8162 * check/gst/gstvalue.c: (GST_START_TEST):
8163 test refcount of deserialized buffer, found a leak
8164 * docs/gst/gstreamer-docs.sgml:
8165 * docs/gst/gstreamer-sections.txt:
8166 * docs/gst/gstreamer.types:
8167 * docs/gst/tmpl/gstminiobject.sgml:
8168 add miniobject to docs
8169 * gst/gstminiobject.c:
8171 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8172 (gst_string_unwrap):
8173 fix a hard-to-find invalid write for one of the tests
8174 fix a leak for deserialized buffers
8176 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8178 * docs/pwg/advanced-events.xml:
8179 * docs/pwg/advanced-request.xml:
8180 * docs/pwg/advanced-scheduling.xml:
8181 * docs/pwg/appendix-porting.xml:
8182 * docs/pwg/building-boiler.xml:
8183 * docs/pwg/intro-preface.xml:
8184 * docs/pwg/other-ntoone.xml:
8185 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8186 of example code and explanation for pad activation, loop() and
8187 getrange() functions and a bit more. Remove old comments pointing
8189 * examples/pwg/Makefile.am:
8190 Add loop/getrange examples.
8192 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8195 check for valgrind binary + some fixes
8197 valgrind suppressions for the tests
8198 * check/Makefile.am:
8199 add a valgrind: target that valgrinds the unit tests
8200 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8201 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8202 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8203 * check/gst/gstghostpad.c:
8205 * check/gst/gstdata.c:
8207 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8208 (thread_unref), (gst_mini_object_suite), (main):
8210 * gst/gst.c: (gst_deinit):
8212 add a method to clean up.
8213 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8214 (gst_system_clock_obtain):
8215 allow for disposing the system clock.
8216 * tools/gst-launch.c: (main):
8219 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8221 * docs/gst/tmpl/gstbasesrc.sgml:
8222 * docs/gst/tmpl/gstfakesrc.sgml:
8223 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8224 (gst_base_src_init), (gst_base_src_set_property),
8225 (gst_base_src_get_property), (gst_base_src_get_range),
8226 (gst_base_src_start):
8227 * gst/base/gstbasesrc.h:
8228 add num-buffers property
8229 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8230 (gst_fakesrc_init), (gst_fakesrc_set_property),
8231 (gst_fakesrc_get_property), (gst_fakesrc_create),
8232 (gst_fakesrc_start):
8233 remove num-buffers property
8235 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8237 * docs/gst/gstreamer-sections.txt:
8238 * docs/gst/tmpl/gstbasesink.sgml:
8239 * docs/gst/tmpl/gstbasesrc.sgml:
8240 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8241 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8242 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8243 (gst_base_sink_set_property), (gst_base_sink_get_property),
8244 (gst_base_sink_handle_object), (gst_base_sink_event),
8245 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8246 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8247 (gst_base_sink_loop), (gst_base_sink_deactivate),
8248 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8249 (gst_base_sink_change_state):
8250 * gst/base/gstbasesink.h:
8251 * gst/base/gstbasesrc.h:
8252 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8253 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8254 (gst_filesink_init):
8255 more macro splitting
8257 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8259 * gst/gstelement.c: (gst_element_get_bus):
8261 * tools/gst-launch.c: (check_intr), (event_loop):
8264 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8266 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8269 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8271 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8272 (gst_base_src_finalize):
8273 add finalize method and clean up properly
8274 * gst/gstpipeline.c: (gst_pipeline_dispose):
8277 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8279 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8281 add more things to check
8282 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8286 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8288 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8289 (GST_START_TEST), (fakesrc_suite):
8290 * check/gst-libs/gdp.c: (GST_START_TEST):
8291 * check/gst/gst.c: (GST_START_TEST):
8292 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8293 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8294 * check/gst/gstbus.c: (GST_START_TEST):
8295 * check/gst/gstcaps.c: (GST_START_TEST):
8296 * check/gst/gstdata.c: (GST_START_TEST):
8297 * check/gst/gstelement.c: (GST_START_TEST):
8298 * check/gst/gstghostpad.c: (GST_START_TEST):
8299 * check/gst/gstiterator.c: (GST_START_TEST):
8300 * check/gst/gstmessage.c: (GST_START_TEST):
8301 * check/gst/gstobject.c: (GST_START_TEST):
8302 * check/gst/gstpad.c: (GST_START_TEST):
8303 * check/gst/gststructure.c: (GST_START_TEST):
8304 * check/gst/gstsystemclock.c: (GST_START_TEST),
8305 (gst_systemclock_suite):
8306 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8307 * check/gst/gstvalue.c: (GST_START_TEST):
8308 * check/pipelines/cleanup.c: (GST_START_TEST):
8309 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8310 * check/states/sinks.c: (GST_START_TEST):
8311 * check/gstcheck.c: (gst_check_init):
8313 add debugging category
8314 use GST_START_TEST now, so we add a debug line
8316 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8318 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8319 add test for state change message on a bin
8320 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8322 * gst/gstbin.c: (gst_bin_init):
8323 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8324 * gst/gstelement.c: (gst_element_post_message),
8325 (gst_element_set_state):
8326 * gst/gstelementfactory.c: (gst_element_factory_create):
8327 * gst/gstmessage.c: (gst_message_new):
8328 * gst/gstscheduler.c:
8329 various debugging additions and cleanups
8331 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8333 * check/Makefile.am:
8334 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8336 adding tests for elements
8337 * gst/gstelement.c: (gst_element_dispose):
8339 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8341 * gst/registries/gstlibxmlregistry.c: (load_feature):
8342 plug more leaks. A simple gst_init() now is leakfree, yay.
8344 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8346 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8347 (gst_xml_registry_load):
8348 plug another memleak
8350 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8353 use GST_SET_ERROR_CFLAGS
8355 change to ERROR_CFLAGS
8357 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8360 make GST_ERROR_CFLAGS overridable and re-enable Werror
8362 add a note about error CFLAGS
8363 * docs/gst/tmpl/gstfakesrc.sgml:
8364 * gst/elements/gstfakesrc.c:
8365 comment out some unused code
8366 * gst/gst.c: (split_and_iterate):
8367 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8371 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8373 * common/Makefile.am:
8374 * common/gtk-doc.mak:
8375 * docs/gst/Makefile.am:
8376 factor out gtk-doc.mak
8378 2005-07-07 Wim Taymans <wim@fluendo.com>
8380 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8381 (gst_thread_scheduler_dispose):
8382 Unlock the STREAM_LOCK completely.
8384 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8386 * check/Makefile.am:
8387 * check/elements/.cvsignore:
8388 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8389 (START_TEST), (fakesrc_suite), (main):
8390 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8391 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8392 (gst_fakesrc_create), (gst_fakesrc_start):
8393 * gst/elements/gstfakesrc.h:
8394 adding a first element test
8396 2005-07-07 Andy Wingo <wingo@pobox.com>
8398 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8401 2005-07-07 Wim Taymans <wim@fluendo.com>
8407 2005-07-07 Wim Taymans <wim@fluendo.com>
8409 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8410 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8411 Allow subclasses to implement their own negotiation.
8413 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8415 * docs/design/part-gstbin.txt:
8416 * docs/design/part-gstpipeline.txt:
8417 Update design notes to reflect the movement of
8418 responsibility for bus handling from GstPipeline to
8421 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8424 Remove unnecessary queue2/3/4 examples.
8426 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8428 * examples/Makefile.am:
8429 * examples/helloworld/helloworld.c: (event_loop), (main):
8430 * examples/queue/queue.c: (event_loop), (main):
8431 * examples/queue2/queue2.c: (main):
8432 Update a couple of the examples to work again.
8434 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8435 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8436 Spelling corrections and extra debug.
8438 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8439 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8440 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8442 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8443 (gst_pipeline_change_state):
8444 * gst/gstpipeline.h:
8445 Move the bus handler for children to the GstBin, and create a
8446 separate bus for receiving messages from children to the one the
8447 bus sends 'upwards' on.
8449 2005-07-06 Wim Taymans <wim@fluendo.com>
8452 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8453 (gst_base_sink_handle_object), (gst_base_sink_loop),
8454 (gst_base_sink_change_state):
8455 * gst/base/gstbasesink.h:
8456 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8457 (gst_base_src_init), (gst_base_src_setcaps),
8458 (gst_base_src_getcaps), (gst_base_src_loop),
8459 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8460 (gst_base_src_start), (gst_base_src_change_state):
8461 * gst/base/gstbasesrc.h:
8462 Make basesrc negotiate.
8463 Handle the case where preroll fails in basesink.
8466 2005-07-06 Wim Taymans <wim@fluendo.com>
8468 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8469 Implement the fixate function.
8470 Clean up acceptcaps.
8472 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8474 * docs/pwg/building-filterfactory.xml:
8476 Remove never-written filter-factory chapter; I'll add the various
8477 base classes to part 4 ("other element types") later on.
8479 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8481 * docs/pwg/advanced-negotiation.xml:
8482 * docs/pwg/building-boiler.xml:
8483 * docs/pwg/building-pads.xml:
8485 * examples/pwg/Makefile.am:
8486 Add a chapter on caps negotiation, simplify the original code
8487 samples a bit w.r.t. caps negotiation, add link to the advanced
8488 section. Add a bunch of examples showing different use cases of
8489 different types of caps negotiation. Upstream renegotiation isn't
8490 fully documented yet since nobody knows how that works.
8492 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8494 * check/gst/gstpad.c:
8496 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8497 if pad has no parent, return NULL as list of internal links
8499 2005-07-05 Andy Wingo <wingo@pobox.com>
8501 * gst/elements/gstfilesrc.c:
8502 * gst/elements/gstfakesrc.c:
8503 * gst/base/gstpushsrc.c:
8504 * gst/base/gstbasesrc.h:
8505 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8507 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8510 better report generation target (lcov needs a patch)
8512 2005-07-05 Andy Wingo <wingo@pobox.com>
8514 * gst/elements, testsuite: Null if we got it...
8516 2005-07-05 Wim Taymans <wim@fluendo.com>
8519 * libs/gst/dataprotocol/Makefile.am:
8520 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8521 * libs/gst/dataprotocol/dataprotocol.h:
8522 * pkgconfig/Makefile.am:
8523 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8524 * pkgconfig/gstreamer-dataprotocol.pc.in:
8525 Ported dataprotol to 0.9.
8526 Added pkgconfig files.
8528 2005-07-05 Andy Wingo <wingo@pobox.com>
8530 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8531 Default to returning TRUE for the case when tranform_caps returns
8532 a fixed caps, like for identity or volume.
8534 * check/gst/gstbus.c (pound_bus_with_messages):
8535 * check/gst/gstmessage.c (START_TEST):
8536 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8539 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8540 logic weaks here: always run transform_caps, trying passthrough
8541 operation only if the original caps intersects with the transform.
8543 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8544 source and sink caps.
8546 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8547 Intersect the peer caps with the pad template before going into
8549 (gst_base_transform_transform_caps): More debugging.
8551 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8554 2005-07-04 Edward Hervey <edward@fluendo.com>
8558 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8561 2005-07-04 Andy Wingo <wingo@pobox.com>
8563 * check/gst/gstpad.c: Only set explicit caps on pads.
8565 2005-07-01 Andy Wingo <wingo@pobox.com>
8567 * tests/network-clock.scm: Commentary update.
8569 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8570 Didn't really make sense, not implementable with basetransform,
8572 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8573 attempt at implementing the sync property, needs an unlock method.
8575 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8576 New func, by default returns the same caps (the identity
8578 (gst_base_transform_getcaps): Uses transform_caps to return
8580 (gst_base_transform_setcaps): Complicated logic to get caps on
8581 both pads, even if they are different, and to call set_caps once
8582 for every time both pads get their caps set.
8583 (gst_base_transform_handle_buffer): Give the ref to the transform
8584 function. Allows in-place modification of the buffer.
8586 * gst/base/gstbasetransform.h (transform_caps): New class method.
8587 Given caps on one side, what can I do on the other.
8588 (set_caps): Take two caps, one for each side of the element.
8591 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8592 caps in place. This is safe because we can check the mutability of
8593 the caps, and a good idea because fixate functions are just called
8594 as a matter of last resort. (Not actually implemented.)
8595 (gst_pad_set_caps): If the caps we're setting is actually the same
8596 as the existing pad caps, just update the pointer without calling
8597 setcaps. Assert that caps is either NULL or fixed, as per the
8600 * gst/gstghostpad.c: Update for fixate changes.
8602 2005-07-02 Andy Wingo <wingo@pobox.com>
8605 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8606 two refcounts makes it immutable, which is enough. Doc more.
8608 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8610 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8611 Put the mini_object into GValue as a mini_object,
8612 not a gpointer, since that's how we declared
8615 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8617 * examples/pwg/Makefile.am:
8620 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8622 * docs/pwg/building-testapp.xml:
8624 * examples/pwg/Makefile.am:
8627 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8630 * examples/Makefile.am:
8631 * examples/pwg/Makefile.am:
8632 * examples/pwg/extract.pl:
8633 Enable building the PWG examples.
8634 * docs/pwg/advanced-interfaces.xml:
8635 Add URI interface stub.
8636 * docs/pwg/advanced-types.xml:
8637 * docs/pwg/other-autoplugger.xml:
8638 * docs/pwg/appendix-porting.xml:
8640 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8641 * docs/pwg/building-boiler.xml:
8642 * docs/pwg/building-chainfn.xml:
8643 * docs/pwg/building-pads.xml:
8644 * docs/pwg/building-props.xml:
8645 * docs/pwg/building-state.xml:
8646 * docs/pwg/building-testapp.xml:
8647 Update the building-*.xml parts for 0.9 changes. All examples
8648 code blocks compile in examples/pwg/*.
8650 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8652 * docs/manual/advanced-autoplugging.xml:
8653 * docs/manual/appendix-checklist.xml:
8654 * docs/manual/appendix-integration.xml:
8655 * docs/manual/highlevel-components.xml:
8656 Fix playbin/decodebin examples, update docs a bit, mention bus
8657 instead of signals in various places, mention kmplayer and
8658 kaffeine since they have a working GStreamer backend in the KDE
8661 2005-06-30 Wim Taymans <wim@fluendo.com>
8664 * docs/design/draft-ghostpads.txt:
8665 * docs/design/draft-push-pull.txt:
8666 * docs/design/draft-query.txt:
8667 * docs/design/part-TODO.txt:
8668 * docs/design/part-query.txt:
8669 Added CHANGES-0.9 doc, updated status of other docs.
8674 2005-06-30 Wim Taymans <wim@fluendo.com>
8676 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8677 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8678 (gst_base_sink_change_state):
8679 * gst/base/gstbasesink.h:
8680 Some tweaks, only EOS and a buffer complete a preroll.
8682 2005-06-30 Andy Wingo <wingo@pobox.com>
8684 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8685 activate_push down to the internal pad as well.
8687 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
8689 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8691 * gst/gsttaginterface.c:
8692 Some documentation fixes (#307394 and #307397).
8694 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
8696 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8698 * gst/gstvalue.c: (gst_value_intersect_list):
8699 Fix memleak (#309125).
8701 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8703 * docs/manual/advanced-dataaccess.xml:
8704 Fix fakesrc example to compile; doesn't work, bug somewhere...?
8705 * docs/manual/basics-pads.xml:
8706 Add reference for filtered caps to above chapter.
8708 2005-06-30 Wim Taymans <wim@fluendo.com>
8710 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8711 (gst_bin_change_state):
8713 Lame attempt at making the state change function a bit
8716 2005-06-30 Wim Taymans <wim@fluendo.com>
8718 * docs/design/part-clocks.txt:
8719 * docs/design/part-element-sink.txt:
8720 * docs/design/part-events.txt:
8721 * docs/design/part-preroll.txt:
8722 * docs/design/part-states.txt:
8723 Some more tweeks and additions to the docs.
8725 2005-06-30 Wim Taymans <wim@fluendo.com>
8727 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8728 (default_have_data), (gst_pad_class_init), (gst_pad_init),
8729 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8730 (gst_pad_check_pull_range), (gst_pad_get_range),
8731 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8733 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8734 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8735 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8736 (gst_pad_remove_buffer_probe):
8737 Removed atomic operations, use existing LOCK.
8738 Move exception handling out of main code path.
8740 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8742 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8743 (silly_return_true_function), (gst_pad_class_init),
8744 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8745 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8746 (gst_pad_send_event):
8747 Fix accumulator, add default value by using _emitv() instead
8748 of _emit() for signal emission.
8750 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8752 * docs/manual/advanced-dataaccess.xml:
8753 * examples/manual/Makefile.am:
8755 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8758 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
8760 * gst/elements/gstfilesink.c: (gst_filesink_render):
8761 Simplify code so that we don't have to handle short
8762 writes and return GST_FLOW_ERROR if an error occured.
8764 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8766 * docs/gst/gstreamer-docs.sgml:
8769 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8771 * docs/gst/gstreamer-sections.txt:
8772 * docs/gst/tmpl/gstpad.sgml:
8773 * docs/gst/tmpl/gstprobe.sgml:
8775 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8776 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8777 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8778 (gst_pad_push_event), (gst_pad_send_event):
8780 * gst/gstutils.c: (gst_pad_add_data_probe),
8781 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8782 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8783 (gst_pad_remove_buffer_probe):
8785 Remove old probes, add new g-signal-based probes and some utility
8788 2005-06-29 Edward Hervey <edward@fluendo.com>
8790 * gst/gstelementfactory.c:
8793 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8794 the definition to the header file.
8796 2005-06-29 Andy Wingo <wingo@pobox.com>
8798 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8799 plugins from the source directory.
8801 2005-06-29 Wim Taymans <wim@fluendo.com>
8803 * docs/gst/tmpl/gstbuffer.sgml:
8804 * docs/gst/tmpl/gstclock.sgml:
8805 Some fixings for blantently wrong text.
8807 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8809 * check/Makefile.am:
8810 * gst/gst.c: (add_path_func), (init_pre):
8811 * gst/gstregistry.c: (gst_registry_add_path):
8812 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8813 only scan the GST_PLUGIN_PATH locations, and not add
8816 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8818 * docs/gst/gstreamer-sections.txt:
8819 * docs/gst/tmpl/gstbasesrc.sgml:
8826 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8828 * docs/manual/advanced-autoplugging.xml:
8829 Fix autoplugging example.
8831 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8833 * docs/manual/advanced-autoplugging.xml:
8834 * docs/manual/mime-world.fig:
8835 Try to get autoplugging working, fix type detection. Fix text
8836 in hello-world image.
8838 2005-06-29 Wim Taymans <wim@fluendo.com>
8840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8841 (gst_base_sink_change_state):
8845 map SIGNAL and BROADCAST to the right function.
8848 Remove redundant braces.
8850 * gst/gstpad.c: (gst_pad_set_caps):
8851 Don't call setcaps function when reseting caps to NULL.
8853 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8854 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8855 (gst_system_clock_id_unschedule):
8856 Use BROADCAST as this is what we do.
8858 2005-06-29 Wim Taymans <wim@fluendo.com>
8860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8861 We are actually prerolling before commiting the state
8864 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8866 * docs/manual/advanced-clocks.xml:
8867 * docs/manual/advanced-interfaces.xml:
8868 * docs/manual/advanced-metadata.xml:
8869 * docs/manual/advanced-position.xml:
8870 * docs/manual/advanced-schedulers.xml:
8871 * docs/manual/advanced-threads.xml:
8872 * docs/manual/appendix-porting.xml:
8873 * docs/manual/basics-bins.xml:
8874 * docs/manual/basics-bus.xml:
8875 * docs/manual/basics-elements.xml:
8876 * docs/manual/basics-helloworld.xml:
8877 * docs/manual/basics-pads.xml:
8878 * docs/manual/highlevel-components.xml:
8879 * docs/manual/manual.xml:
8880 * docs/manual/thread.fig:
8881 Update (until threads/scheduling) Application Development Manual;
8882 remove GstThread, add GstBus, add simple porting checklist, add
8883 documentation for tag writing, clocks, make all examples until this
8884 part compile and run.
8885 * examples/manual/Makefile.am:
8886 Update from changes to Application Development Manual; add bus
8887 example, remove thread example.
8889 2005-06-28 Wim Taymans <wim@fluendo.com>
8891 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8892 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8893 (gst_bus_source_dispatch):
8894 Add debugging messages.
8895 Make internal methods static.
8896 Handle the case where the bus is flushed in the handler.
8898 * gst/gstelement.c: (gst_element_get_bus):
8899 Fix refcount in _get_bus();
8901 * gst/gstpipeline.c: (gst_pipeline_change_state),
8902 (gst_pipeline_get_clock_func):
8903 Clock refcounting fixes.
8904 Handle the case where preroll timed out more gracefully.
8906 * gst/gstsystemclock.c: (gst_system_clock_dispose):
8907 Clean up the internal thread in dispose. This is needed
8908 for subclasses that actually get disposed.
8910 * gst/schedulers/threadscheduler.c:
8911 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8912 (gst_thread_scheduler_dispose):
8913 Free thread pool in dispose.
8915 2005-06-28 Andy Wingo <wingo@pobox.com>
8917 * tests/network-clock-utils.scm (debug, print-event): New utils.
8919 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8920 (*packet-loss*): Unified loss probability.
8921 (network-time): Report out-of-band events.
8923 * tests/plot-data: Add support for out-of-band events. Hack it
8924 into this script instead of passing it down the pipe; should fix
8927 2005-06-28 Wim Taymans <wim@fluendo.com>
8929 * docs/gst/gstreamer.types:
8930 * docs/gst/tmpl/gstbasesrc.sgml:
8931 * docs/gst/tmpl/gstpad.sgml:
8934 2005-06-28 Wim Taymans <wim@fluendo.com>
8936 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8937 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8938 (gst_proxy_pad_do_fixatecaps):
8939 Correctly proxy the check_pull_range function.
8941 2005-06-28 Andy Wingo <wingo@pobox.com>
8943 * tests/network-clock.scm: Removed need for slib.
8945 2005-06-28 Wim Taymans <wim@fluendo.com>
8947 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8948 (gst_basesink_preroll_queue_flush):
8949 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8950 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8951 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8952 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8953 (gst_proxy_pad_set_property):
8956 * gst/gstqueue.c: (gst_queue_init):
8957 The deprecated pad loop function is removed now.
8959 2005-06-28 Andy Wingo <wingo@pobox.com>
8961 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8962 New parameters, simulate network packet loss.
8964 * tests/network-clock-utils.scm: Initialize the RNG.
8966 2005-06-28 Wim Taymans <wim@fluendo.com>
8968 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8969 (gst_basesink_event), (gst_basesink_deactivate):
8970 Flushing the preroll queue always needs to unlock the waiters.
8972 2005-06-28 Edward Hervey <edward@fluendo.com>
8974 * gst/gstpipeline.c: (gst_pipeline_send_event):
8975 Wheen a seek was successful on a pipeline, set the stream_time to the
8976 seek offset in order to have a synchronized stream_time.
8978 2005-06-28 Wim Taymans <wim@fluendo.com>
8980 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8981 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8982 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8983 (gst_proxy_pad_do_fixatecaps):
8984 Call wrapper function instead of just calling the function
8985 pointers. This takes care of any locking and whatmore.
8987 2005-06-28 Wim Taymans <wim@fluendo.com>
8989 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8990 (gst_pad_pull_range):
8992 CONNECTED -> LINKED.
8994 2005-06-28 Andy Wingo <wingo@pobox.com>
8996 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8997 source-munging commit!!!
8999 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9000 (gst_object_sink): Take gpointer arguments, not GstObject --
9001 avoids casts. Like GLib.
9003 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9006 2005-06-27 Andy Wingo <wingo@pobox.com>
9008 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9011 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9012 returns a sorted copy of the trace list.
9013 (gst_alloc_trace_print_live): New API, only prints traces with
9014 live objects. Sort the list.
9015 (gst_alloc_trace_print_all): Sort the list.
9016 (gst_alloc_trace_print): Align columns.
9018 * gst/elements/gstttypefindelement.c:
9019 * gst/elements/gsttee.c:
9020 * gst/base/gstbasesrc.c:
9021 * gst/base/gstbasesink.c:
9022 * gst/base/gstbasetransform.c:
9023 * gst/gstqueue.c: Adapt for pad activation changes.
9025 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9027 (gst_pipeline_dispose): Drop ref on sched.
9029 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9030 (gst_pad_activate_default): Push mode by default.
9031 (pre_activate_switch, post_activate_switch): New stubs, things to
9032 do before and after switching activation modes on pads.
9033 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9034 the pad's activate function to choose which mode to activate.
9035 Shortcut on deactivation and call the right function directly.
9036 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9038 (gst_pad_activate_push): New API, same for push mode.
9039 (gst_pad_set_activate_function)
9040 (gst_pad_set_activatepull_function)
9041 (gst_pad_set_activatepush_function): Setters for new API.
9043 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9044 Trace all miniobjects.
9045 (gst_mini_object_make_writable): Unref the arg if we copy, like
9046 gst_caps_make_writable.
9048 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9050 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9051 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9052 Adapt for new pad API.
9054 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9057 * gst/gstelement.c (gst_element_iterate_src_pads)
9058 (gst_element_iterate_sink_pads): New API functions.
9060 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9061 should fold into gstiterator.c in some form.
9062 (gst_element_pads_activate): Simplified via use of fold and
9063 delegation of decisions to gstpad->activate.
9065 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9068 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9069 class once in init, like gstmessage. Didn't run into this issue
9070 but it seems correct. Don't initialize a trace, gstminiobject does
9073 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9074 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9076 (assert_live_count): New util function, uses alloc traces to check
9079 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9080 To be modified when unlink drops the internal pad.
9082 2005-06-27 Wim Taymans <wim@fluendo.com>
9084 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9085 (gst_bin_change_state):
9086 Cleanup the get_state() function a little, make sure it
9087 iterates the same set of elements.
9088 Added stub iterate_state_order().
9090 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9092 * docs/gst/gstreamer-docs.sgml:
9093 * docs/gst/gstreamer-sections.txt:
9094 * docs/gst/gstreamer.types:
9095 * docs/gst/tmpl/gstbasesink.sgml:
9096 * docs/gst/tmpl/gstbasesrc.sgml:
9097 * docs/gst/tmpl/gstbasetransform.sgml:
9098 * docs/gst/tmpl/gstelement.sgml:
9099 * docs/gst/tmpl/gstiterator.sgml:
9100 * gst/base/gstbasesrc.c:
9101 * gst/base/gstbasesrc.h:
9102 * gst/base/gstbasetransform.h:
9104 * gst/gstiterator.h:
9105 adding basetransform and iterator docs
9107 2005-06-27 Andy Wingo <wingo@pobox.com>
9109 * docs/design/part-activation.txt: Notes on how activation should
9110 work -- not quite implemented yet.
9112 2005-06-25 Wim Taymans <wim@fluendo.com>
9114 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9115 At least get the chain function correct, needs more
9118 2005-06-25 Wim Taymans <wim@fluendo.com>
9120 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9121 (gst_basesink_handle_object), (gst_basesink_event),
9122 (gst_basesink_do_sync), (gst_basesink_handle_event),
9123 (gst_basesink_change_state):
9125 Right, two problems here: ghostpads don't take locks and
9126 glib _rec_mutex_lock_full() with depth==0 still locks.
9127 Catch illegal locking and g_warn them.
9129 2005-06-25 Wim Taymans <wim@fluendo.com>
9131 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9132 Have to check for completion now...
9134 2005-06-25 Wim Taymans <wim@fluendo.com>
9136 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9137 (gst_basesink_handle_object), (gst_basesink_event),
9138 (gst_basesink_do_sync), (gst_basesink_handle_event),
9139 (gst_basesink_change_state):
9141 Unlock STREAM_LOCK whatever the recursion was.
9143 2005-06-25 Wim Taymans <wim@fluendo.com>
9145 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9146 (gst_basesink_preroll_queue_empty),
9147 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9148 (gst_basesink_event), (gst_basesink_do_sync),
9149 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9150 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9151 (gst_basesink_change_state):
9152 Reworked the base sink, handle event and buffer serialisation
9153 correctly and removed possible deadlock.
9154 Handle EOS correctly.
9156 2005-06-25 Wim Taymans <wim@fluendo.com>
9158 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9159 (gst_pipeline_change_state):
9160 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9161 Allow elements to post EOS in the state change function.
9162 Fix up -launch, make it exit the poll loop when the
9163 pipeline actually changed state.
9164 Fix up warning parsing in -launch.
9166 2005-06-25 Wim Taymans <wim@fluendo.com>
9168 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9169 (gst_tee_sink_activate):
9170 Core takes STREAM_LOCK for us now.
9172 2005-06-25 Wim Taymans <wim@fluendo.com>
9174 * gst/gstelement.c: (gst_element_get_state_func),
9175 (gst_element_set_state):
9177 * gst/gstmessage.c: (gst_message_parse_error),
9178 (gst_message_parse_warning):
9179 Keep track of current target state while performing a state
9180 change so that subclasses can do something interesting.
9181 Fix parsing of warning/error messages when GError is NULL.
9183 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9185 * docs/gst/Makefile.am:
9186 * docs/gst/gstreamer-docs.sgml:
9187 * docs/gst/gstreamer-sections.txt:
9188 * docs/gst/gstreamer.types:
9189 * docs/gst/tmpl/gstbasesink.sgml:
9190 * docs/gst/tmpl/gstbasesrc.sgml:
9191 * docs/gst/tmpl/gstbin.sgml:
9192 * docs/gst/tmpl/gstcompat.sgml:
9193 * docs/gst/tmpl/gstfakesink.sgml:
9194 * docs/gst/tmpl/gstfakesrc.sgml:
9195 * docs/gst/tmpl/gstfilesink.sgml:
9196 * docs/gst/tmpl/gstfilesrc.sgml:
9197 * docs/gst/tmpl/gstindex.sgml:
9198 * docs/manual/appendix-quotes.xml:
9199 * gst/base/gstbasesrc.h:
9200 * gst/elements/gstfakesrc.h:
9202 start pulling in base classes and elements in our docs
9204 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9206 * docs/gst/Makefile.am:
9207 * docs/libs/Makefile.am:
9208 fixed make distcheck with gtk-doc 1.3
9210 2005-06-23 Wim Taymans <wim@fluendo.com>
9212 * gst/gstelement.c: (gst_element_get_state_func),
9213 (gst_element_set_state), (gst_element_change_state):
9214 When the state did not change, also report NO_PREROLL
9217 2005-06-23 Wim Taymans <wim@fluendo.com>
9219 * gst/gstpad.c: (gst_pad_event_default):
9220 * gst/gstqueue.c: (gst_queue_loop):
9221 No unsafe task pausing please.
9223 2005-06-23 Wim Taymans <wim@fluendo.com>
9225 * gst/schedulers/threadscheduler.c:
9226 (gst_thread_scheduler_task_start),
9227 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9228 Ref the task before pushing it on the threadpool. This
9229 makes sure that we have a ref when the threadfunction is
9232 2005-06-23 Andy Wingo <wingo@pobox.com>
9234 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9235 offset is greater than the file's size.
9237 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9238 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9239 * gst/gstobject.c (gst_object_class_init): Make the class lock
9240 recursive. Wim won't let me drop deep_notify. Decodebin works
9243 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9244 internal pad, and hacks accordingly. Doesn't do it on the target
9245 pad because we change its caps. Probably catches all cases of
9247 (gst_ghost_pad_set_property): Connect to notify::caps as
9250 * tests/network-clock.scm (plot-simulation): Pipe data to the
9251 elite python skript.
9253 * tests/network-clock-utils.scm (define-parameter): New macro,
9254 defines a parameter that can be set via the command line.
9255 (set-parameter!, parse-parameter-arguments): Command line args
9258 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9261 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9263 * gst/elements/gsttypefindelement.c:
9264 (gst_type_find_element_handle_event):
9265 Don't restart typefinding on a discont.
9266 * gst/gstelement.c: (gst_element_set_state):
9268 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9269 Allow changing mode of an active pad.
9271 * gst/registries/gstlibxmlregistry.c: (load_feature):
9272 Don't cast a static pad template to a normal pad template.
9274 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9276 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9277 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9278 remove gst_strtoll completely, since it didn't actually do
9279 anything more than what g_ascii_strtoull already does.
9280 check for range errors when deserializing
9281 do a cast for the unsigned cases; but further fixing needs
9282 a decision on what the interpretation of "(int)" and
9283 deserialization should be for values that fall outside the
9284 type's boundaries (ie, refuse, or interpret as casting)
9286 2005-06-23 Wim Taymans <wim@fluendo.com>
9288 * check/Makefile.am:
9289 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9290 * docs/design/part-live-source.txt:
9291 * docs/design/part-states.txt:
9292 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9293 (gst_basesrc_set_live), (gst_basesrc_is_live),
9294 (gst_basesrc_get_range), (gst_basesrc_activate),
9295 (gst_basesrc_change_state):
9296 * gst/base/gstbasesrc.h:
9297 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9298 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9299 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9300 * gst/gstelement.c: (gst_element_get_state_func),
9301 (gst_element_set_state):
9304 * tools/gst-launch.c: (event_loop), (main):
9305 Added support for live sources and other elements that
9307 Updated design docs, added live-source design doc.
9308 Implemented live source functionality in basesrc
9309 Fix error condition in _bin_get_state()
9310 Implement live source handling in -launch.
9311 Added check for live sources.
9312 Fixed case in GstBin where elements were changed state
9316 2005-06-23 Andy Wingo <wingo@pobox.com>
9318 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9321 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9322 gst_caps_replace takes care of this for us.
9324 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9325 gst_pad_set_caps on the target, not just its setcaps() function.
9327 * tests/network-clock.scm:
9328 * tests/network-clock-utils.scm: A network clock simulator.
9329 Something of an algorithmic testbed before doing something in C.
9331 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9333 * check/Makefile.am:
9334 * check/gst/capslist.h:
9335 copy over from 0.8, and add two with bitmasks specified with
9337 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9338 add test to parse everything from capslist.h
9339 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9341 add test for structure deserialization
9342 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9343 add tests for deserialization of strings to int types
9344 * gst/gststructure.c: (gst_structure_nth_field_name):
9345 * gst/gststructure.h:
9346 add a way to get the name of a field referenced by index
9347 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9348 instead of checking if the resulting long long lies between
9349 min and max, we check if the long long would fit into
9350 a number of bytes for the final type.
9351 This fixes cases where a string represents 2^32 - 1, which
9352 when cast to int would be the (valid) -1, but is bigger than
9355 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9357 * gst/parse/grammar.y:
9358 add a log line for type deserialization
9360 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9362 * check/gst/gstvalue.c: (START_TEST):
9363 * gst/gstvalue.c: (gst_value_deserialize):
9364 return long long, not int, so gint64 deserialization actually
9365 works. Is there any flag that makes the compiler check this ?
9368 2005-06-22 Wim Taymans <wim@fluendo.com>
9371 Added convenience macros for setting buffers in GValue.
9373 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9375 * check/gst/.cvsignore:
9376 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9377 add a test deserializing int64, and comment part out because
9380 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9382 * check/Makefile.am:
9383 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9384 * testsuite/Makefile.am:
9385 * testsuite/caps/Makefile.am:
9386 * testsuite/caps/value_serialize.c:
9387 * testsuite/test_gst_init.c:
9388 move a value_serialize test over
9390 2005-06-20 Wim Taymans <wim@fluendo.com>
9395 * gst/gstvalue.c: (gst_value_compare_buffer),
9396 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9397 (gst_value_compare_flags), (gst_value_serialize_flags),
9398 (gst_value_deserialize_flags), (_gst_value_initialize):
9399 Fix serialisation of buffers, they are not boxed types anymore
9401 2005-06-20 Wim Taymans <wim@fluendo.com>
9403 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9404 Testcase to show error in buffer-on-caps serialisation.
9406 2005-06-20 Andy Wingo <wingo@pobox.com>
9408 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9409 will be adding to later.
9411 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9412 if its socks fill with rocks.
9413 (gst_system_clock_obtain): Set the name on object construction.
9414 Avoid double-checked locking.
9416 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9418 * gst/gsturi.c: (gst_element_make_from_uri):
9419 Fix potential endless loop.
9421 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9423 * check/Makefile.am:
9425 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9427 move over from testsuite dir and clean up
9430 * testsuite/Makefile.am:
9431 * testsuite/tags/.cvsignore:
9432 * testsuite/tags/Makefile.am:
9433 * testsuite/tags/merge.c:
9434 remove testsuite/tags
9436 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9438 * docs/gst/gstreamer-sections.txt:
9439 * docs/gst/tmpl/gstenumtypes.sgml:
9440 * win32/gstenumtypes.c:
9441 clean up documentation build a little
9443 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9446 add macros for checking refcounts on objects and caps
9447 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9448 add some more unit tests
9449 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9450 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9451 fix leaked refcounts (I hope :)) so unittest works
9455 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9457 * configure.ac: back to HEAD
9459 === release 0.9.1 ===
9461 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9467 2005-06-17 Andy Wingo <wingo@pobox.com>
9469 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9470 assert; it's always possible that the pad gets deactivated in
9471 between the checks in gstpad.c and the implementation. Rely on
9472 finish_preroll() to return a FLUSHING or similar instead of on the
9475 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9476 clock and post an EOS message if we come out of finish_preroll in
9479 2005-06-16 David Schleef <ds@schleef.org>
9481 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9482 (gst_capsfilter_set_property): Allow NULL as possible value
9483 for filter_caps property, indicating GST_CAPS_ANY.
9485 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9487 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9489 * gst/schedulers/Makefile.am:
9491 * gstreamer.spec.in:
9494 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9496 * gstreamer.spec.in:
9499 2005-06-08 Andy Wingo <wingo@pobox.com>
9501 * gst/gstutils.c: RPAD fixes all around.
9502 (gst_element_link_pads): Refcounting fixes.
9504 * tools/gst-inspect.c:
9505 * tools/gst-xmlinspect.c:
9507 * gst/base/gsttypefindhelper.c:
9508 * gst/base/gstbasesink.c:
9509 * gst/gstqueue.c: RPAD fixes.
9511 * gst/gstghostpad.h:
9512 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9513 pads. The tricky thing is they provide both source and sink
9514 interfaces, since they proxy the internal pad for the external
9515 pad, and vice versa. Implement with lower-level ProxyPad objects,
9516 with the interior proxy pad as a child of the exterior ghost pad.
9517 Should write a doc on this.
9519 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9520 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9523 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9524 pads are real pads. No ghost pads in this file. Not documenting
9525 the myriad s/RPAD/PAD/ and REALIZE fixes.
9526 (gst_pad_class_init): Add properties for "direction" and
9527 "template". Both are construct-only, so they can't change during
9528 the life of the pad. Fixes properly deriving from GstPad.
9529 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9530 derived objects, just set properties when creating the objects via
9532 (gst_pad_get_parent): Implement as a function, return NULL if the
9533 parent is not an element.
9534 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9535 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9537 * gst/gstobject.c (gst_object_class_init): Make name a construct
9538 property. Don't set it in the object init.
9540 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9541 with UNKNOWN direction.
9542 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9543 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9544 (gst_element_remove_pad): Remove ghost-pad special cases.
9545 (gst_element_pads_activate): Remove rpad cruft.
9547 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9548 catch the pad's-parent-not-an-element case.
9550 * gst/gst.h: Include gstghostpad.h.
9552 * gst/gst.c (init_post): No more real, ghost pads.
9554 * gst/Makefile.am: Add gstghostpad.[ch].
9556 * check/Makefile.am:
9557 * check/gst/gstbin.c:
9558 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9559 into a bin creates ghost pads, and that the refcounts are right.
9560 Partly moved from gstbin.c.
9562 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9564 * check/gst-libs/.cvsignore:
9565 * check/gst/.cvsignore:
9566 * check/pipelines/.cvsignore:
9568 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9569 (START_TEST), (cleanup_suite), (main):
9570 add some tests related to cleanup after running pipelines
9572 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9574 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9575 add a testsuite for GstBuffer
9577 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9579 * gst/gstminiobject.h:
9580 add defines for accessing the refcount
9582 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9584 * Makefile.am: added support for html unit test coverage reports
9586 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9588 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9589 Free existing caps if the capsfilter changes. Add a FIXME about
9590 setting those caps on the pads.
9592 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9593 Before adding a ghost pad to a parent bin, check that there isn't
9594 already one for the element on the bin. Prevents infinite recursion
9595 when using decodebin in parse pipelines. Andy says he'll rewrite the
9596 way this works anyway, so ignore the hack.
9598 2005-06-02 Andy Wingo <wingo@pobox.com>
9600 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9601 file size, pass it on to the type find helper.
9603 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9604 segment_start and segment_end properly according to the seek
9605 method. Segment_end is still a bit flaky because offset can be
9606 negative for CUR and END cases, but it takes -1 as an "unset"
9609 2005-06-02 Wim Taymans <wim@fluendo.com>
9611 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9612 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9613 (gst_basesink_activate):
9614 * gst/base/gstbasesink.h:
9615 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9616 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9617 (gst_pad_query), (gst_pad_start_task):
9619 * gst/gstqueue.c: (gst_queue_bufferalloc),
9620 (gst_queue_handle_sink_event), (gst_queue_chain):
9621 Bufferalloc: return GstFlowReturn to more accuratly report
9622 why allocation failed.
9624 2005-06-02 Wim Taymans <wim@fluendo.com>
9626 * gst/gstpipeline.c: (gst_pipeline_send_event):
9627 Take snapshot of state without blocking.
9629 2005-06-02 Wim Taymans <wim@fluendo.com>
9631 * docs/design/part-TODO.txt:
9632 * docs/design/part-caps.txt:
9633 * docs/design/part-clocks.txt:
9634 * docs/design/part-negotiation.txt:
9635 * docs/design/part-preroll.txt:
9638 2005-05-30 Wim Taymans <wim@fluendo.com>
9640 * gst/elements/gstidentity.c: (gst_identity_event),
9641 (gst_identity_transform), (gst_identity_get_property):
9642 Protect last_message property as it is accessed from
9645 2005-05-30 Wim Taymans <wim@fluendo.com>
9647 * gst/gstelement.c: (gst_element_init),
9648 (gst_element_pads_activate), (gst_element_change_state):
9649 Slicker pad activation code.
9651 2005-05-30 Wim Taymans <wim@fluendo.com>
9655 * gst/gstelementfactory.h:
9657 Move elementfactory methods to separate .h file.
9659 2005-05-30 Wim Taymans <wim@fluendo.com>
9661 * docs/design/part-overview.txt:
9662 * gst/gstsystemclock.h:
9663 Small typo fixes, doc updates.
9665 2005-05-30 Wim Taymans <wim@fluendo.com>
9667 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9668 (init_popt_callback):
9669 Remove cpu-opt flag.
9671 2005-05-30 Wim Taymans <wim@fluendo.com>
9673 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9674 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9676 Avoid typechecking in places where not needed.
9677 Added accessor for malloc_data.
9679 2005-05-30 Wim Taymans <wim@fluendo.com>
9681 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9682 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9683 (gst_pad_configure_sink), (gst_pad_configure_src),
9684 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9685 (gst_pad_start_task):
9686 Propagate errors from _set_caps() in configure_src/sink
9687 functions instead of returning TRUE.
9688 FLUSH events can travel up and downstream
9691 2005-05-30 Wim Taymans <wim@fluendo.com>
9693 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9694 (gst_basesink_activate):
9695 Handle EOS in preroll.
9697 2005-05-30 Wim Taymans <wim@fluendo.com>
9699 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9700 (gst_queue_loop), (gst_queue_handle_src_event):
9701 Remove old pieces of code
9702 Flushing the queue in an upstream event is a very bad idea.
9704 2005-05-26 Andy Wingo <wingo@pobox.com>
9706 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9707 gst_value_set_mini_object so as to add a ref on the object (which
9708 will be removed when the value is unset).
9710 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9711 arg type in ::handoff.
9713 * gst/gstelement.c (gst_element_change_state): Also deactivate
9714 pads in READY->NULL, just in case the element didn't make it to
9715 PAUSED. Wingo tested, Wim approved.
9717 2005-05-26 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_alloc_buffer),
9721 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9722 A flushing pad cannot be used to alloc_buffer from.
9724 2005-05-26 Wim Taymans <wim@fluendo.com>
9726 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9727 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9728 (gst_bus_source_dispatch), (gst_bus_source_finalize),
9729 (gst_bus_create_watch), (gst_bus_add_watch_full):
9731 Implement a real GSource and use g_main_context_wakeup() to
9732 signal new messages instead of the socketpair.
9734 2005-05-25 Wim Taymans <wim@fluendo.com>
9736 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9737 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9738 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9739 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9740 (gst_pad_send_event), (gst_pad_start_task):
9741 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9742 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9743 (gst_queue_sink_activate), (gst_queue_src_activate),
9744 (gst_queue_change_state):
9746 Fix state changes for non sinks. We now change sinks, then elements
9747 with unconnected srcpads, then the rest.
9748 More efficient queue unlocking in flush and state changes.
9749 Set the pad activate mode even if it does not have an activate
9752 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9754 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9755 Don't go in pull mode for non-seekable sources.
9756 * gst/elements/gsttypefindelement.h:
9757 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9758 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9759 (free_entry), (stop_typefinding),
9760 (gst_type_find_element_handle_event), (find_peek),
9761 (gst_type_find_element_chain), (do_pull_typefind),
9762 (gst_type_find_element_change_state):
9763 Allow typefinding (w/o seeking) in push-mode, simplified version
9765 * gst/gstutils.c: (gst_buffer_join):
9767 gst_buffer_join() from 0.8.
9769 2005-05-25 Wim Taymans <wim@fluendo.com>
9771 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9772 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9773 (gst_pad_send_event), (gst_pad_start_task):
9774 Disable attempt at mode switching until it is figured out.
9776 2005-05-25 Wim Taymans <wim@fluendo.com>
9778 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9779 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9780 (gst_basesink_finish_preroll), (gst_basesink_chain),
9781 (gst_basesink_loop), (gst_basesink_activate),
9782 (gst_basesink_change_state):
9783 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9784 (gst_basesrc_get_range), (gst_basesrc_loop),
9785 (gst_basesrc_activate):
9786 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9787 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9788 (gst_real_pad_init), (gst_real_pad_set_property),
9789 (gst_real_pad_get_property), (gst_pad_set_active),
9790 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9791 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9792 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9793 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9794 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9795 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9796 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9797 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9798 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9799 (gst_pad_stop_task):
9801 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9802 (gst_queue_loop), (gst_queue_src_activate):
9803 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9804 (gst_task_get_state):
9806 * gst/schedulers/threadscheduler.c:
9807 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9808 Implement gst_pad_pause/start/stop_task(), take STREAM lock
9810 Remove ACTIVE pad flag, use FLUSHING everywhere
9811 Added _pad_chain(), _pad_get_range() to call chain/getrange
9813 Add locks around IS_FLUSHING when reading.
9814 Take STREAM lock in chain(), get_range() functions so plugins
9815 don't need to take it anymore.
9819 2005-05-25 Wim Taymans <wim@fluendo.com>
9821 * tools/gst-launch.c: (event_loop):
9822 Unref message after using its contents instead of
9825 2005-05-24 Wim Taymans <wim@fluendo.com>
9827 * docs/design/draft-ghostpads.txt:
9828 * docs/design/draft-push-pull.txt:
9829 * docs/design/draft-query.txt:
9830 * docs/design/part-overview.txt:
9831 Docs updates, added general overview doc.
9833 2005-05-21 David Schleef <ds@schleef.org>
9835 * docs/gst/tmpl/old/GstBin.sgml:
9836 * docs/gst/tmpl/old/GstBuffer.sgml:
9837 * docs/gst/tmpl/old/GstCaps.sgml:
9838 * docs/gst/tmpl/old/GstClock.sgml:
9839 * docs/gst/tmpl/old/GstCompat.sgml:
9840 * docs/gst/tmpl/old/GstData.sgml:
9841 * docs/gst/tmpl/old/GstElement.sgml:
9842 * docs/gst/tmpl/old/GstEvent.sgml:
9843 * docs/gst/tmpl/old/GstIndex.sgml:
9844 * docs/gst/tmpl/old/GstStructure.sgml:
9845 * docs/gst/tmpl/old/GstTag.sgml:
9846 * docs/gst/tmpl/old/cothreads.sgml:
9847 * docs/gst/tmpl/old/cothreads_compat.sgml:
9848 * docs/gst/tmpl/old/gettext.sgml:
9849 * docs/gst/tmpl/old/gobject2gtk.sgml:
9850 * docs/gst/tmpl/old/grammar.tab.sgml:
9851 * docs/gst/tmpl/old/gst-i18n-app.sgml:
9852 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9853 * docs/gst/tmpl/old/gst_private.sgml:
9854 * docs/gst/tmpl/old/gstaggregator.sgml:
9855 * docs/gst/tmpl/old/gstarch.sgml:
9856 * docs/gst/tmpl/old/gstatomic_impl.sgml:
9857 * docs/gst/tmpl/old/gstbufferstore.sgml:
9858 * docs/gst/tmpl/old/gstdata_private.sgml:
9859 * docs/gst/tmpl/old/gstdisksink.sgml:
9860 * docs/gst/tmpl/old/gstdisksrc.sgml:
9861 * docs/gst/tmpl/old/gstelementfactory.sgml:
9862 * docs/gst/tmpl/old/gstextratypes.sgml:
9863 * docs/gst/tmpl/old/gstfakesink.sgml:
9864 * docs/gst/tmpl/old/gstfakesrc.sgml:
9865 * docs/gst/tmpl/old/gstfdsink.sgml:
9866 * docs/gst/tmpl/old/gstfdsrc.sgml:
9867 * docs/gst/tmpl/old/gstfilesink.sgml:
9868 * docs/gst/tmpl/old/gstfilesrc.sgml:
9869 * docs/gst/tmpl/old/gsthttpsrc.sgml:
9870 * docs/gst/tmpl/old/gstidentity.sgml:
9871 * docs/gst/tmpl/old/gstindexfactory.sgml:
9872 * docs/gst/tmpl/old/gstmarshal.sgml:
9873 * docs/gst/tmpl/old/gstmd5sink.sgml:
9874 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9875 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9876 * docs/gst/tmpl/old/gstpadtemplate.sgml:
9877 * docs/gst/tmpl/old/gstpipefilter.sgml:
9878 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9879 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9880 * docs/gst/tmpl/old/gstshaper.sgml:
9881 * docs/gst/tmpl/old/gstspider.sgml:
9882 * docs/gst/tmpl/old/gstspideridentity.sgml:
9883 * docs/gst/tmpl/old/gststatistics.sgml:
9884 * docs/gst/tmpl/old/gsttee.sgml:
9885 * docs/gst/tmpl/old/gsttimecache.sgml:
9886 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9887 * docs/gst/tmpl/old/gstxmlregistry.sgml:
9888 * docs/gst/tmpl/old/gthread-cothreads.sgml:
9889 * docs/gst/tmpl/old/types.sgml:
9890 I didn't intend to add these or check them in.
9892 2005-05-19 David Schleef <ds@schleef.org>
9894 * configure.ac: Use -no-common everywhere. In a sane world, it
9895 would be the default in libtool, because without it, you can't
9896 build DLLs on Windows.
9897 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9898 * docs/gst/gstreamer-sections.txt:
9899 * docs/gst/tmpl/gstcpu.sgml:
9900 * docs/gst/tmpl/gstdata.sgml:
9901 * docs/gst/tmpl/gstthread.sgml:
9903 2005-05-19 David Schleef <ds@schleef.org>
9905 * gst/gstminiobject.c: (gst_value_set_mini_object),
9906 (gst_value_take_mini_object), (gst_value_get_mini_object):
9907 * gst/gstminiobject.h: Add GValue set/get functions.
9909 2005-05-19 Wim Taymans <wim@fluendo.com>
9911 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9912 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9913 (gst_subbuffer_init), (gst_buffer_is_span_fast):
9915 * gst/gstbus.c: (gst_bus_post):
9916 * gst/gstelement.c: (gst_element_get_random_pad):
9917 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9918 Make subbufer unref the parent in finalize.
9919 some more debugging info.
9922 2005-05-19 Wim Taymans <wim@fluendo.com>
9924 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9925 (gst_basesink_init), (gst_basesink_finalize),
9926 (gst_basesink_activate), (gst_basesink_change_state):
9927 Don't free preroll queue too early.
9929 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9933 Hi, I'm outdated. Please shoot me.
9935 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9937 * gst/gstpipeline.c: (gst_pipeline_send_event):
9938 Do not access variables after they have been deleted.
9940 2005-05-19 Wim Taymans <wim@fluendo.com>
9942 * tools/gst-inspect.c: (print_plugin_features):
9943 A plugin feature does unfortunatly not use the
9946 2005-05-18 Wim Taymans <wim@fluendo.com>
9948 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9949 Port _span() functions to new subbuffers.
9951 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9953 * gst/gstbin.c: (gst_bin_add_func):
9954 Fix clock settery in bins when adding kids after the clock has
9957 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9959 * gst/elements/gstidentity.c: (gst_identity_class_init):
9960 Workaround until signals support GstMiniObject.
9962 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9965 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9967 2005-05-18 Wim Taymans <wim@fluendo.com>
9969 * gst/base/Makefile.am:
9970 * gst/base/gstadapter.c: (gst_adapter_base_init),
9971 (gst_adapter_class_init), (gst_adapter_init),
9972 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9973 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9974 (gst_adapter_flush), (gst_adapter_available),
9975 (gst_adapter_available_fast):
9976 * gst/base/gstadapter.h:
9977 Ported and added adapter to the base classes.
9979 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9983 Make sure the class is reffed/unreffed once before threads can be
9984 used. Fixes #304551.
9986 2005-05-17 Wim Taymans <wim@fluendo.com>
9988 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9989 (gst_basesink_chain_unlocked), (gst_basesink_activate):
9990 * gst/gstminiobject.c: (gst_mini_object_get_type),
9991 (gst_mini_object_free):
9992 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9993 (gst_pad_push), (gst_pad_push_event):
9994 * gst/gstqueue.c: (gst_queue_change_state):
9995 Don't queue buffers in basesink when we are flushing.
9996 Unref buffer when flushing in basesink.
9997 Flush queue when going to READY
9998 Unref buffer when _push() returns an error.
9999 Don't free MiniObject instance when refcount is incremented
10000 in _finalize() so that we can recover objects.
10002 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10004 * docs/manual/advanced-schedulers.xml:
10005 * docs/manual/appendix-checklist.xml:
10006 * docs/pwg/advanced-clock.xml:
10007 * docs/pwg/advanced-interfaces.xml:
10008 * docs/pwg/advanced-request.xml:
10009 * docs/pwg/advanced-types.xml:
10010 * docs/pwg/intro-preface.xml:
10011 * examples/plugins/example.c: (gst_example_get_type),
10012 (gst_example_class_init), (gst_example_chain),
10013 (gst_example_set_property), (gst_example_get_property),
10014 (gst_example_change_state), (plugin_init):
10015 * examples/plugins/example.h:
10018 2005-05-17 Wim Taymans <wim@fluendo.com>
10020 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10021 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10022 * gst/gstqueue.c: (gst_queue_change_state):
10023 Clear queue when going to READY.
10024 Remove IN_SETCAPS flag too.
10026 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10028 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10029 Remove implicit cast from gboolean to GstElementStateReturn;
10030 make sure we still return failure in paused => ready case if
10031 the parent class fails to change state and our own stop
10034 2005-05-17 Wim Taymans <wim@fluendo.com>
10036 * tools/gst-launch.c: (event_loop):
10037 Message was unreffed too soon.
10039 2005-05-16 Andy Wingo <wingo@pobox.com>
10041 * gst/gstbin.c (sink_iterator_filter): Err... um...
10043 * check/gst/gstbin.c (test_ghost_pads): New test for the
10044 ghosting-if-elements-not-in-same-bin behavior.
10046 2005-05-16 David Schleef <ds@schleef.org>
10048 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10049 accessing refcount directly.
10051 2005-05-15 David Schleef <ds@schleef.org>
10053 * check/Makefile.am: remove GstData checks
10054 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10055 * gst/Makefile.am: add miniobject, remove data
10056 * gst/gst.h: add miniobject, remove data
10057 * gst/gstdata.c: remove
10058 * gst/gstdata.h: remove
10059 * gst/gstdata_private.h: remove
10060 * gst/gsttypes.h: remove GstEvent and GstMessage
10061 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10062 * gst/gstmarshal.list: change BOXED -> OBJECT
10064 Implement GstMiniObject.
10065 * gst/gstminiobject.c:
10066 * gst/gstminiobject.h:
10068 Modify to be subclasses of GstMiniObject.
10069 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10070 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10071 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10072 (gst_subbuffer_get_type), (gst_subbuffer_init),
10073 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10076 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10077 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10078 (_gst_event_copy), (gst_event_new):
10080 * gst/gstmessage.c: (_gst_message_initialize),
10081 (gst_message_get_type), (gst_message_class_init),
10082 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10083 (gst_message_new), (gst_message_new_error),
10084 (gst_message_new_warning), (gst_message_new_tag),
10085 (gst_message_new_state_changed), (gst_message_new_application):
10086 * gst/gstmessage.h:
10087 * gst/gstprobe.c: (gst_probe_perform),
10088 (gst_probe_dispatcher_dispatch):
10090 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10091 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10092 (_gst_query_copy), (gst_query_new):
10094 Update elements for GstData -> GstMiniObject changes
10096 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10097 (gst_queue_chain), (gst_queue_loop):
10098 * gst/elements/gstbufferstore.c:
10099 (gst_buffer_store_add_buffer_func),
10100 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10101 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10102 (gst_fakesink_render):
10103 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10104 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10105 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10106 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10107 (gst_filesrc_create_read):
10108 * gst/elements/gstidentity.c: (gst_identity_class_init):
10109 * gst/elements/gsttypefindelement.c:
10110 (gst_type_find_element_src_event), (free_entry_buffers),
10111 (gst_type_find_element_handle_event):
10112 * libs/gst/dataprotocol/dataprotocol.c:
10113 (gst_dp_header_from_buffer):
10114 * libs/gst/dataprotocol/dataprotocol.h:
10115 * libs/gst/dataprotocol/dp-private.h:
10117 2005-05-15 David Schleef <ds@schleef.org>
10119 * gst/elements/gstelements.c: Don't include headers that were
10122 2005-05-15 David Schleef <ds@schleef.org>
10124 * gst/elements/Makefile.am: Remove some elements that don't
10125 need to be in the core (or even exist at all).
10126 * gst/elements/gstaggregator.c:
10127 * gst/elements/gstaggregator.h:
10128 * gst/elements/gstmd5sink.c:
10129 * gst/elements/gstmd5sink.h:
10130 * gst/elements/gstmultifilesrc.c:
10131 * gst/elements/gstmultifilesrc.h:
10132 * gst/elements/gstpipefilter.c:
10133 * gst/elements/gstpipefilter.h:
10134 * gst/elements/gstshaper.c:
10135 * gst/elements/gstshaper.h:
10136 * gst/elements/gststatistics.c:
10137 * gst/elements/gststatistics.h:
10138 * po/POTFILES.in: Remove above files.
10140 2005-05-14 Andy Wingo <wingo@pobox.com>
10142 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10143 so as to get the refs right.
10144 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10145 unreffing objects that don't pass the filter.
10147 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10148 gst_element_set_bus.
10149 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10150 normal cases, this will destroy the bus.
10152 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10155 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10158 2005-05-13 Andy Wingo <wingo@pobox.com>
10160 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10161 gst_pad_link, call pad_link_maybe_ghosting,
10162 (pad_link_maybe_ghosting): Links pads, making sure that the
10163 elements being linked are in the same bin.
10164 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10165 Helpers for pad_link_maybe_ghosting.
10167 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10170 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10172 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10174 * docs/design/part-element-source.txt:
10177 2005-05-12 Wim Taymans <wim@fluendo.com>
10179 * gst/base/gstbasesink.c: (gst_basesink_init),
10180 (gst_basesink_activate):
10181 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10182 (gst_basesrc_is_seekable):
10183 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10184 (bin_element_is_sink), (gst_bin_change_state):
10185 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10186 * gst/gstelement.h:
10187 Identify sinks by their flag to avoid overly complicated
10189 Do state changes even for elements not reachable from the
10191 BaseSink is a sink now :)
10192 Some more debugging info in the basesrc.
10195 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10197 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10198 Implement _query on a bin, similar to _send_event.
10200 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10202 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10203 Discont event offset format should be GST_FORMAT_BYTES,
10204 not GST_FORMAT_TIME.
10206 2005-05-12 Wim Taymans <wim@fluendo.com>
10208 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10209 Same fix as Ronald's but without the signal.
10211 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10213 * gst/gstutils.c: (gst_element_query_position):
10214 No, an element is not a pad.
10216 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10218 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10219 (gst_bin_get_state):
10220 If a child is removed from a bin while we remove the child from
10221 the bin and while we're retrieving its state, signal this to the
10222 get_state function so we abort the wait (instead of waiting for
10223 a timeout) and can immediately re-iterate over all other elements.
10225 2005-05-12 Wim Taymans <wim@fluendo.com>
10227 * gst/base/Makefile.am:
10228 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10229 (gst_basesrc_start):
10230 * gst/base/gstbasesrc.h:
10231 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10232 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10233 (gst_pushsrc_init), (gst_pushsrc_create):
10234 * gst/base/gstpushsrc.h:
10235 Added is_seekable to BaseSrc
10236 Added simple PushSrc.
10238 2005-05-11 Wim Taymans <wim@fluendo.com>
10240 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10241 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10242 (gst_element_link_pads), (gst_element_query_position),
10243 (gst_element_query_convert), (intersect_caps_func),
10244 (gst_pad_query_position), (gst_pad_query_convert):
10245 Fix refcounting in utils function.
10246 No point in trying to activate a pad when it's added, it could
10247 be added from the state change function and then we deadlock, the
10248 element has to decide what to do.
10250 2005-05-10 Andy Wingo <wingo@pobox.com>
10252 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10253 *all* the arguments.
10255 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10256 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10257 lock (according to the docs -- if this is wrong change the docs).
10259 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10260 flush messages in the NULL state.
10262 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10263 message immediately and return.
10264 (gst_bus_set_flushing): New function. If a bus is flushing, it
10265 flushes out any queued messages and immediately unrefs new
10266 messages. This is so when an element goes to NULL, all of the
10267 unhandled messages coming from it can be freed, and their
10268 references to the element dropped. In other words: message source
10269 ref considered harmful :P
10271 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10272 we're finished with it.
10274 * gst/gstmessage.c (gst_message_new_state_changed):
10276 2005-05-10 Wim Taymans <wim@fluendo.com>
10278 * gst/gstvalue.c: (gst_value_compare_flags),
10279 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10280 (_gst_value_initialize):
10281 Added flags serialize/deserialize/compare code.
10283 2005-05-09 Andy Wingo <wingo@pobox.com>
10285 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10286 Intersect the peer's caps with our caps.
10288 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10290 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10291 * gst/elements/gsttypefindelement.c: (find_peek):
10292 Handle negative offsets better. Fixes decodebin.
10294 2005-05-09 Wim Taymans <wim@fluendo.com>
10296 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10297 (gst_base_transform_event):
10298 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10299 Implement accept_caps.
10300 Fix silly lock/unlock mismatch in base class.
10302 2005-05-09 Wim Taymans <wim@fluendo.com>
10304 * docs/design/draft-push-pull.txt:
10305 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10306 * gst/elements/gstfilesink.c: (gst_filesink_init),
10307 (gst_filesink_query):
10308 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10309 (gst_type_find_handle_src_query), (find_element_get_length):
10310 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10311 * gst/gstelement.h:
10312 * gst/gstmessage.c:
10313 * gst/gstmessage.h:
10314 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10315 (gst_real_pad_get_caps_unlocked),
10316 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10317 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10318 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10319 (gst_real_pad_dispose), (gst_real_pad_finalize),
10320 (gst_pad_load_and_link), (gst_pad_save_thyself),
10321 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10322 (gst_pad_check_pull_range), (gst_pad_pull_range),
10323 (gst_pad_template_get_type), (gst_pad_template_class_init),
10324 (gst_pad_template_init), (gst_pad_template_dispose),
10325 (name_is_valid), (gst_static_pad_template_get),
10326 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10327 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10328 (gst_pad_get_element_private), (gst_pad_start_task),
10329 (gst_pad_pause_task), (gst_pad_stop_task),
10330 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10331 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10332 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10333 (gst_ghost_pad_new):
10335 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10336 (gst_query_new_position), (gst_query_set_position),
10337 (gst_query_parse_position), (gst_query_new_convert),
10338 (gst_query_set_convert), (gst_query_parse_convert):
10340 * gst/gstqueryutils.c:
10341 * gst/gstqueryutils.h:
10342 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10343 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10344 (gst_queue_handle_src_query):
10345 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10346 (gst_element_query_position), (gst_element_query_convert),
10347 (intersect_caps_func), (gst_pad_query_position),
10348 (gst_pad_query_convert):
10350 * tools/gst-inspect.c: (print_pad_info):
10351 * tools/gst-xmlinspect.c: (print_element_info):
10352 Remove old query functions. Ported old code.
10353 Added position/convert helper functions to gstutils.
10354 Reordered gstpad.c code, grouping relevant things.
10355 Remove gst_message_new(), always need to speficy a specific
10359 2005-05-09 Andy Wingo <wingo@pobox.com>
10361 * gst/gstiterator.h: Add some includes.
10363 * gst/gstqueryutils.h: Include more headers.
10366 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10367 some uses of gst_pad_query.
10369 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10370 NULL out parameters.
10371 (gst_query_new_position): New proc, allocates a new position
10374 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10375 gstqueryutils.c to the build.
10377 * gst/gststructure.c (gst_structure_set_valist): Implement with
10378 the generic G_VALUE_COLLECT.
10380 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10382 * gst/Makefile.am: (gst_headers):
10383 Added gstqueryutils.h to the list of headers to install, that was
10384 a 'nachty' move wingo :)
10386 2005-05-06 Andy Wingo <wingo@pobox.com>
10389 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10390 GstData, init a memchunk.
10391 (standard_definitions): Add a few query types, deprecate a few.
10392 (gst_query_get_type): New proc.
10393 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10395 (gst_query_new_application, gst_query_get_structure): New public
10398 * docs/design/draft-query.txt: Removed LINKS from the query types,
10399 because all the rest can be dispatched to other pads -- seemed
10400 ugly to have a query that couldn't be dispatched. internal_links
10401 is fine as a pad method.
10403 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10404 in gstpad.c, but maintain binary compatibility for the moment.
10405 Will fix before 0.9 is out.
10407 * gst/gstqueryutils.c:
10408 * gst/gstqueryutils.h: New files, implement 3 methods for each
10409 query type: parse_query, parse_response, and set. Probably need an
10412 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10414 * gst/elements/gstfilesink.c (gst_filesink_query2):
10415 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10416 query_types, and formats methods.
10418 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10419 (gst_pad_set_query2_function): New functions.
10420 (gst_real_pad_init): Set query2_default as the default query2
10421 function. Basically just dispatches to internally linked pads.
10425 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10426 without using the atomic operations. Only one thread can possibly
10427 be accessing the data at this point. Changed so as to avoid
10428 gst_atomic operations.
10430 2005-05-06 Wim Taymans <wim@fluendo.com>
10432 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10433 Also set caps if we use the fallback buffer alloc.
10435 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10437 * docs/gst/Makefile.am:
10438 * docs/gst/gstreamer-docs.sgml:
10439 * docs/gst/gstreamer-sections.txt:
10440 * docs/gst/tmpl/gstatomic.sgml:
10441 * docs/gst/tmpl/gstmemchunk.sgml:
10442 * testsuite/elements/struct_i386.h:
10443 * win32/GStreamer.vcproj:
10445 Purge GstAtomic stuff from docs and win32 makefiles as well
10447 2005-05-06 Wim Taymans <wim@fluendo.com>
10449 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10450 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10451 * gst/gstpad.c: (gst_pad_peer_get_caps):
10452 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10453 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10454 (gst_queue_src_activate), (gst_queue_change_state):
10456 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10457 (intersect_caps_func):
10458 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10459 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10460 Some fixes for the peer_get_caps() change.
10462 2005-05-06 Wim Taymans <wim@fluendo.com>
10464 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10465 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10466 (gst_basesink_activate):
10467 Actually do something with error codes returned from the push
10470 2005-05-06 Wim Taymans <wim@fluendo.com>
10472 * docs/design/part-element-sink.txt:
10473 * docs/design/part-element-source.txt:
10474 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10475 (gst_basesink_event), (gst_basesink_activate):
10476 * gst/base/gstbasesink.h:
10477 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10478 (gst_basesrc_activate):
10479 * gst/base/gstbasesrc.h:
10480 * gst/gstelement.c: (gst_element_pads_activate):
10481 Some more documentation.
10482 Fixed scheduling decision in _pads_activate().
10484 2005-05-05 Andy Wingo <wingo@pobox.com>
10486 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10489 2005-05-05 Wim Taymans <wim@fluendo.com>
10491 * gst/base/Makefile.am:
10492 * gst/base/gstbasesink.h:
10493 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10494 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10495 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10496 (gst_collectpads_class_init), (gst_collectpads_init),
10497 (gst_collectpads_finalize), (gst_collectpads_new),
10498 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10499 (find_pad), (gst_collectpads_remove_pad),
10500 (gst_collectpads_is_active), (gst_collectpads_collect),
10501 (gst_collectpads_collect_range), (gst_collectpads_start),
10502 (gst_collectpads_stop), (gst_collectpads_peek),
10503 (gst_collectpads_pop), (gst_collectpads_available),
10504 (gst_collectpads_read), (gst_collectpads_flush),
10505 (gst_collectpads_chain):
10506 * gst/base/gstcollectpads.h:
10507 * gst/elements/Makefile.am:
10508 * gst/elements/gstelements.c:
10509 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10510 (gst_fakesink_get_times), (gst_fakesink_event),
10511 (gst_fakesink_preroll), (gst_fakesink_render):
10512 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10513 (gst_filesink_init), (gst_filesink_set_location),
10514 (gst_filesink_open_file), (gst_filesink_close_file),
10515 (gst_filesink_pad_query), (gst_filesink_event),
10516 (gst_filesink_render), (gst_filesink_change_state):
10517 * gst/elements/gstfilesink.h:
10518 Added object to help in making collect pad based elements.
10520 Make event function in sink baseclass return gboolean.
10522 2005-05-05 Wim Taymans <wim@fluendo.com>
10524 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10525 (gst_bin_get_by_name):
10527 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10528 (gst_clock_finalize):
10529 * gst/gstdata.c: (gst_data_replace):
10531 * gst/gstelement.c: (gst_element_request_pad),
10532 (gst_element_pads_activate):
10533 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10534 (gst_object_unref):
10535 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10536 (gst_pad_set_checkgetrange_function),
10537 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10538 (gst_pad_check_pull_range), (gst_pad_pull_range),
10539 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10540 (gst_pad_pause_task), (gst_pad_stop_task):
10541 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10542 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10543 Fix name lookup in GstBin.
10544 Added _data_replace() function and _buffer_replace()
10545 Use finalize method to clean up clock.
10546 Fix refcounting on request pads.
10547 Fix pad schedule mode error.
10548 Some more object refcounting debug info,
10551 2005-05-04 Andy Wingo <wingo@pobox.com>
10553 * check/Makefile.am:
10554 * docs/gst/tmpl/gstatomic.sgml:
10555 * docs/gst/tmpl/gstplugin.sgml:
10556 * gst/base/gstbasesink.c: (gst_basesink_activate):
10557 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10558 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10559 (gst_basesrc_query), (gst_basesrc_set_property),
10560 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10561 (gst_basesrc_activate):
10562 * gst/base/gstbasesrc.h:
10563 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10564 (gst_base_transform_src_activate):
10565 * gst/elements/gstelements.c:
10566 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10567 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10568 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10569 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10570 (gst_type_find_element_checkgetrange),
10571 (gst_type_find_element_activate):
10572 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10573 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10574 (gst_caps_load_thyself):
10575 * gst/gstelement.c: (gst_element_pads_activate),
10576 (gst_element_save_thyself), (gst_element_restore_thyself):
10577 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10578 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10580 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10581 (gst_xml_parse_file), (gst_xml_parse_memory),
10582 (gst_xml_get_element), (gst_xml_make_element):
10583 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10584 (_file_index_id_save_xml), (gst_file_index_commit):
10585 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10586 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10588 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10589 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10590 * tools/gst-complete.c: (main):
10591 * tools/gst-compprep.c: (main):
10592 * tools/gst-inspect.c: (print_element_properties_info):
10593 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10594 * tools/gst-xmlinspect.c: (print_element_properties):
10597 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10599 * gst/gstplugin.c: (gst_plugin_check_module),
10600 (gst_plugin_check_file), (gst_plugin_load_file):
10601 apply patch from #172526 to make register work on MacOSX
10603 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10605 * docs/gst/tmpl/gstconfig.sgml:
10606 * gst/gstconfig.h.in:
10607 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10608 * testsuite/debug/printf_extension.c: (main):
10609 Do not use GST_PTR_FORMAT on pointers to types with
10610 sizeof < sizeof(gpointer). Fixes test on 64-bit
10611 * testsuite/elements/property.h:
10612 use correct printf format
10614 2005-05-02 Wim Taymans <wim@fluendo.com>
10616 * docs/design/draft-push-pull.txt:
10617 * docs/design/draft-query.txt:
10618 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10619 (gst_basesrc_start):
10620 Added draft for new query API.
10621 Added draft for better selecting scheduling methods.
10622 Make basesrc ignore length if the subclass does not support
10625 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10628 possible fixes for automake-1.5 - _LIBADD is reserved
10630 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10632 * docs/faq/Makefile.am:
10633 * docs/manual/Makefile.am:
10634 * docs/manuals.mak:
10635 * docs/pwg/Makefile.am:
10637 possible fixes for automake-1.5
10639 2005-04-28 Wim Taymans <wim@fluendo.com>
10641 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10642 (gst_basesink_pad_getcaps), (gst_basesink_init),
10643 (gst_basesink_do_sync):
10644 * gst/gstclock.c: (gst_clock_entry_new):
10645 * gst/gstevent.c: (gst_event_discont_get_value):
10646 * gst/gstpipeline.c: (pipeline_bus_handler),
10647 (gst_pipeline_change_state):
10648 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10649 Better debugging of clocking info.
10650 Allow NULL values when getting discont values.
10652 2005-04-27 Wim Taymans <wim@fluendo.com>
10654 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10655 * check/gst/gstpad.c: (gst_pad_suite):
10656 Increase timeout for checks.
10658 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10660 * check/Makefile.am:
10661 fix the broken rule for cleanup. Apparently this rule is
10662 only needed on FC2, so maybe this warrants further autotool
10665 2005-04-26 Wim Taymans <wim@fluendo.com>
10667 * gst/gsttrashstack.h:
10668 Ooohh. a nasty one! After having a failed pop() from the stack,
10669 it's possible that the stack is empty. In that case, don't
10670 follow the NULL pointer.
10672 2005-04-25 Wim Taymans <wim@fluendo.com>
10674 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10675 (gst_pad_set_checkgetrange_function),
10676 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10677 (gst_pad_check_pull_range), (gst_pad_pull_range),
10678 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10679 (gst_pad_pause_task), (gst_pad_stop_task):
10680 * gst/gstplugin.c: (gst_plugin_load):
10682 Remove gst_library_load as it does more harm than good with
10683 the new g_module flags.
10684 Revert bogus caps template check in pad linking, pad caps
10685 are important when linking not the template, which is more
10686 general than the current caps.
10688 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10690 * gst/autoplug/.cvsignore:
10691 * gst/autoplug/Makefile.am:
10692 * gst/autoplug/gstsearchfuncs.c:
10693 * gst/autoplug/gstsearchfuncs.h:
10694 * gst/autoplug/gstspider.c:
10695 * gst/autoplug/gstspider.h:
10696 * gst/autoplug/gstspideridentity.c:
10697 * gst/autoplug/gstspideridentity.h:
10698 * gst/autoplug/spidertest.c:
10701 2005-04-25 Wim Taymans <wim@fluendo.com>
10703 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10704 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10705 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10706 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10708 Added stubs for unimplemented functions.
10710 2005-04-24 David Schleef <ds@schleef.org>
10712 * gst/gstpad.h: Disable some unimplemented functions. Wim,
10715 2005-04-24 David Schleef <ds@schleef.org>
10717 Convert everything from GstAtomicInt to g_atomic_int_*, and
10722 * gst/gstatomic_impl.h:
10730 * gst/gstdata_private.h:
10734 * gst/gstmessage.c:
10737 * gst/gststructure.c:
10738 * gst/gststructure.h:
10739 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10742 2005-04-24 David Schleef <ds@schleef.org>
10744 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10745 make the regressions tests work. Remove some code that is no
10747 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10748 Disable warning for pads without templates.
10750 2005-04-24 David Schleef <ds@schleef.org>
10752 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
10753 functions that handle filtered links.
10754 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10756 * gst/gstutils.c: Fix/remove utility functions that handle
10759 * gst/gstvalue.c: Add serialization/deserialization of caps
10760 * gst/parse/grammar.y: Ignore filtered caps when linking. This
10761 requires fixing so that the filter caps notation creates
10762 a capsfilter element and sets the filter_caps property. I
10763 think everyone probably wants to keep the shorthand notation.
10764 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10765 * docs/gst/tmpl/gstpad.sgml:
10767 * gst/elements/gstelements.c: Register capsfilter element.
10768 * gst/Makefile.am: fix spacing
10769 * docs/random/ds/0.9-suggested-changes: random
10771 2005-04-23 David Schleef <ds@schleef.org>
10773 * gst/elements/Makefile.am:
10774 * gst/elements/gstcapsfilter.c: New element that acts like an
10775 identity, but filters caps. Will eventually replace filtered
10776 caps in pad linking.
10777 * gst/gstutils.c: (gst_element_create_all_pads): New function
10778 to create all the ALWAYS pads that are registered with an
10779 element class. This functionality should eventually be
10780 merged in with GstElement initialization.
10782 * testsuite/trigger/README: part of trigger test code that should
10783 have been checked in a long time ago.
10785 2005-04-23 David Schleef <ds@schleef.org>
10787 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
10788 needed with new versions of libtool (nobody will confirm this),
10789 and hard to carry around.
10790 * gst/autoplug/Makefile.am:
10791 * gst/base/Makefile.am:
10792 * gst/elements/Makefile.am:
10793 * gst/indexers/Makefile.am:
10794 * gst/schedulers/Makefile.am:
10795 * libs/gst/bytestream/Makefile.am:
10796 * libs/gst/control/Makefile.am:
10797 * libs/gst/dataprotocol/Makefile.am:
10798 * libs/gst/getbits/Makefile.am:
10800 2005-04-21 Wim Taymans <wim@fluendo.com>
10802 * docs/design/draft-push-pull.txt:
10803 * docs/design/part-MT-refcounting.txt:
10804 * docs/design/part-TODO.txt:
10805 * docs/design/part-caps.txt:
10806 * docs/design/part-events.txt:
10807 * docs/design/part-gstbus.txt:
10808 * docs/design/part-gstpipeline.txt:
10809 * docs/design/part-messages.txt:
10810 * docs/design/part-push-pull.txt:
10811 * docs/design/part-query.txt:
10814 2005-04-21 Wim Taymans <wim@fluendo.com>
10816 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10817 (gst_message_new), (gst_message_new_error),
10818 (gst_message_new_warning), (gst_message_new_tag),
10819 (gst_message_new_state_changed), (gst_message_new_application),
10820 (gst_message_get_structure):
10821 * gst/gstmessage.h:
10822 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10823 (gst_structure_copy_conditional):
10824 Use parent refcount in GstMessage to ensure GstStructure
10826 Cleaned up headers a bit.
10829 2005-04-20 Wim Taymans <wim@fluendo.com>
10831 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10832 (gst_basesink_pad_getcaps), (gst_basesink_init),
10833 (gst_basesink_chain_unlocked):
10834 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10835 (gst_type_find_helper):
10836 * gst/elements/gsttypefindelement.c:
10837 (gst_type_find_element_have_type), (gst_type_find_element_init),
10838 (stop_typefinding), (gst_type_find_element_handle_event),
10839 (find_suggest), (gst_type_find_element_chain),
10840 (gst_type_find_element_checkgetrange),
10841 (gst_type_find_element_getrange), (do_typefind),
10842 (gst_type_find_element_activate):
10843 * gst/gstbuffer.c: (_gst_buffer_sub_free),
10844 (gst_buffer_default_free), (gst_buffer_default_copy),
10845 (gst_buffer_set_caps):
10846 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10847 (gst_caps_replace):
10848 * gst/gstmessage.c: (gst_message_new),
10849 (gst_message_new_state_changed):
10850 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10851 (gst_pad_set_checkgetrange_function),
10852 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10853 (gst_pad_set_caps), (gst_pad_check_pull_range),
10854 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10856 * gst/gsttypefind.c: (gst_type_find_register):
10857 Make gst_caps_replace() work like other _replace() functions.
10858 Use _caps_replace() where possible.
10859 Make sure _message_new() initialises its field.
10860 Add gst_static_pad_template_get_caps()
10863 2005-04-18 Andy Wingo <wingo@pobox.com>
10865 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10866 on the peer, not the pad. I think that was a typo. Pass an extra
10867 arg to see if random access is possible. Activate the pads as
10868 PULL_RANGE if possible.
10870 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10872 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
10873 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10876 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10878 * docs/faq/using.xml:
10879 Add note on gstreamer-properties (#154996).
10881 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10883 * docs/random/bbb/optional-properties:
10884 Some analysis on optional properties.
10886 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10888 * docs/gst/tmpl/gstelementfactory.sgml:
10889 * gst/gstelement.h:
10890 * gst/gstelementfactory.c: (gst_element_factory_init),
10891 (gst_element_factory_cleanup), (gst_element_register),
10892 (__gst_element_factory_add_static_pad_template),
10893 (gst_element_factory_get_static_pad_templates),
10894 (gst_element_factory_can_src_caps),
10895 (gst_element_factory_can_sink_caps):
10896 * gst/registries/Makefile.am:
10897 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10898 (gst_xml_registry_class_init), (gst_xml_registry_init),
10899 (gst_xml_registry_new), (gst_xml_registry_set_property),
10900 (gst_xml_registry_get_property), (get_time), (make_dir),
10901 (gst_xml_registry_get_perms_func),
10902 (plugin_times_older_than_recurse), (plugin_times_older_than),
10903 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10904 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10905 (add_to_char_array), (read_string), (read_uint), (read_enum),
10906 (load_pad_template), (load_feature), (load_plugin), (load_paths),
10907 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10908 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10909 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10910 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10911 (gst_xml_registry_rebuild):
10912 * gst/registries/gstlibxmlregistry.h:
10913 * tools/gst-compprep.c: (main):
10914 * tools/gst-inspect.c: (print_pad_templates_info):
10915 * tools/gst-xmlinspect.c: (print_element_info):
10916 Use libxml2 for registry parsing, use staticpadtemplates in
10917 elementfactories. Makes gst_init() +/- 10x faster.
10919 2005-04-12 Wim Taymans <wim@fluendo.com>
10921 * gst/base/Makefile.am:
10922 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10923 (gst_basesink_pad_getcaps), (gst_basesink_init),
10924 (gst_basesink_event), (gst_basesink_change_state):
10925 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10926 (gst_basesrc_init), (gst_basesrc_query),
10927 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10928 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10929 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10930 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10931 (gst_basesrc_stop), (gst_basesrc_activate),
10932 (gst_basesrc_change_state):
10933 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10934 (helper_find_suggest), (gst_type_find_helper):
10935 * gst/base/gsttypefindhelper.h:
10936 * gst/elements/Makefile.am:
10937 * gst/elements/gstelements.c:
10938 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10939 (gst_fakesink_get_times), (gst_fakesink_event),
10940 (gst_fakesink_preroll), (gst_fakesink_render):
10941 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10942 (gst_fakesrc_init), (gst_fakesrc_event_handler),
10943 (gst_fakesrc_get_property), (gst_fakesrc_create),
10944 (gst_fakesrc_start), (gst_fakesrc_stop):
10945 * gst/elements/gstfakesrc.h:
10946 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10947 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10948 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10949 (gst_filesrc_create_read), (gst_filesrc_create),
10950 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10951 (gst_filesrc_start):
10952 * gst/elements/gsttypefindelement.c:
10953 (gst_type_find_element_have_type), (gst_type_find_element_init),
10954 (start_typefinding), (stop_typefinding), (push_buffer_store),
10955 (gst_type_find_element_handle_event),
10956 (gst_type_find_element_chain),
10957 (gst_type_find_element_checkgetrange),
10958 (gst_type_find_element_getrange), (do_typefind),
10959 (gst_type_find_element_activate),
10960 (gst_type_find_element_change_state):
10961 * gst/elements/gsttypefindelement.h:
10962 * gst/gstpipeline.c: (pipeline_bus_handler):
10963 Added typefind helper.
10964 Small preroll fix in the base sink.
10965 Disable typefind code in basesrc.
10966 Crude port of typefindelement.
10970 2005-04-11 Wim Taymans <wim@fluendo.com>
10972 * check/gst/gstbus.c: (gstbus_suite):
10973 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10974 * check/gstcheck.h:
10975 Fix up the timeout so that the test does not fail.
10977 2005-04-06 Wim Taymans <wim@fluendo.com>
10980 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10981 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10982 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10983 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10984 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10985 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10986 (gst_basesrc_stop), (gst_basesrc_activate),
10987 (gst_basesrc_change_state), (basesrc_find_peek),
10988 (basesrc_find_suggest), (gst_basesrc_type_find):
10989 * gst/base/gstbasesrc.h:
10990 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10991 (gst_filesrc_class_init), (gst_filesrc_init),
10992 (gst_filesrc_finalize), (gst_filesrc_set_location),
10993 (gst_filesrc_set_property), (gst_filesrc_get_property),
10994 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10995 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10996 (gst_filesrc_create_read), (gst_filesrc_create),
10997 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10998 * gst/elements/gstfilesrc.h:
10999 * gst/gstelement.c: (gst_element_get_state_func),
11000 (gst_element_lost_state), (gst_element_pads_activate):
11001 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11002 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11003 (gst_pad_pull_range):
11005 More work on the generic source base class, implement seeking,
11007 Make filesrc extend the base source class.
11008 Added gst_pad_set_checkgetrange_function to GstPad.
11010 2005-04-06 Andy Wingo <wingo@pobox.com>
11012 * pkgconfig/gstreamer-base.pc.in:
11013 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11015 * pkgconfig/Makefile.am:
11016 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11018 2005-04-04 Wim Taymans <wim@fluendo.com>
11020 * gst/base/Makefile.am:
11022 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11023 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11024 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11025 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11026 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11027 (gst_basesrc_base_init), (gst_basesrc_class_init),
11028 (gst_basesrc_init), (gst_basesrc_get_formats),
11029 (gst_basesrc_get_query_types), (gst_basesrc_query),
11030 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11031 (gst_basesrc_set_property), (gst_basesrc_get_property),
11032 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11033 (gst_basesrc_loop), (gst_basesrc_activate),
11034 (gst_basesrc_change_state):
11035 * gst/base/gstbasesrc.h:
11036 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11037 (gst_fakesrc_class_init), (gst_fakesrc_init),
11038 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11039 (gst_fakesrc_get_property), (gst_fakesrc_create):
11040 * gst/elements/gstfakesrc.h:
11041 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11042 (gst_filesrc_open_file), (gst_filesrc_loop),
11043 (gst_filesrc_activate), (filesrc_find_peek),
11044 (gst_filesrc_type_find):
11045 Made base source class, make fakesrc extend it.
11046 Add comments to basesink class.
11047 Some filesrc cleanup.
11049 2005-03-31 David Schleef <ds@schleef.org>
11051 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11052 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11053 expected to link against libgstreamer.
11054 * gst/base/Makefile.am: link against libgstreamer
11055 * gst/elements/Makefile.am: same
11057 2005-03-31 Andy Wingo <wingo@pobox.com>
11059 * tests/instantiate/Makefile.am:
11060 * tests/instantiate/caps.c: Add test to test speed of caps copy
11063 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11064 GMemChunk to be fair.
11066 * gst/gsttrashstack.h: Remove warning about using the fallback
11067 trash stack implementation, it's still faster than malloc.
11069 2005-03-30 Andy Wingo <wingo@pobox.com>
11071 * tests/complexity.c: Add a copyright.
11073 2005-03-31 Wim Taymans <wim@fluendo.com>
11075 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11076 (gst_base_transform_class_init), (gst_base_transform_init),
11077 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11078 (gst_base_transform_get_property),
11079 (gst_base_transform_sink_activate),
11080 (gst_base_transform_src_activate),
11081 (gst_base_transform_change_state):
11082 * gst/base/gstbasetransform.h:
11083 * gst/elements/gstidentity.c: (gst_identity_class_init),
11084 (gst_identity_event), (gst_identity_check_perfect),
11085 (gst_identity_transform), (gst_identity_start),
11086 (gst_identity_stop):
11087 Added start/stop methods to transform base class so subclasses
11088 don't need to deal with state changes even.
11090 2005-03-31 Wim Taymans <wim@fluendo.com>
11092 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11093 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11095 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11096 (gst_pad_pull_range):
11097 Added rate to the discont event to prepare for variable speed
11098 and reverse playback.
11100 2005-03-29 David Schleef <ds@schleef.org>
11103 * testsuite/trigger/Makefile.am:
11104 * testsuite/trigger/trigger.c: A little example program to show
11105 how trigger-based elements can work.
11107 2005-03-29 Wim Taymans <wim@fluendo.com>
11109 * gst/base/Makefile.am:
11111 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11112 (gst_basesink_base_init), (gst_basesink_class_init),
11113 (gst_basesink_pad_getcaps), (gst_basesink_init),
11114 (gst_basesink_activate), (gst_basesink_change_state):
11115 * gst/base/gstbasesink.h:
11116 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11117 (gst_base_transform_base_init), (gst_base_transform_finalize),
11118 (gst_base_transform_class_init), (gst_base_transform_init),
11119 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11120 (gst_base_transform_event), (gst_base_transform_getrange),
11121 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11122 (gst_base_transform_set_property),
11123 (gst_base_transform_get_property),
11124 (gst_base_transform_sink_activate),
11125 (gst_base_transform_src_activate),
11126 (gst_base_transform_change_state):
11127 * gst/base/gstbasetransform.h:
11128 * gst/elements/gstidentity.c: (gst_identity_finalize),
11129 (gst_identity_class_init), (gst_identity_init),
11130 (gst_identity_event), (gst_identity_check_perfect),
11131 (gst_identity_transform), (gst_identity_set_property),
11132 (gst_identity_get_property), (gst_identity_change_state):
11133 * gst/elements/gstidentity.h:
11134 * gst/gstelement.c: (gst_element_get_state_func),
11135 (gst_element_lost_state), (gst_element_pads_activate):
11136 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11137 (gst_pad_check_pull_range), (gst_pad_pull_range):
11139 Simplify pad activation.
11140 Added function to check if pull_range can be performed.
11141 Error out when pulling inactive or flushing pads.
11142 Removed const from refcounted types as it does not make sense.
11143 Simplify pad templates in basesink
11144 Added base class for simple 1-to-1 transforms.
11145 Make identity subclass the base transform.
11147 2005-03-29 Andy Wingo <wingo@pobox.com>
11149 * docs/libs/gstreamer-libs-overrides.txt:
11150 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11151 really don't understand what's going on, but like whatever. I want
11154 * docs/gst/Makefile.am:
11155 * docs/libs/Makefile.am: Dist the overrides files.
11157 * check/Makefile.am (clean-local): Remove .libs directories.
11159 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11160 elements to EXTRA_DIST, so po/ files are happy.
11162 * po/POTFILES.in: Er, remove it here.
11164 * po/POTFILES: Remove gstspider.c.
11166 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11168 * docs/libs/gstreamer-libs-docs.sgml:
11169 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11172 * tests/complexity.c (main): Set the length of the preroll queue
11173 on the sinks to prevent a lockup.
11175 * libs/gst/dataprotocol/Makefile.am:
11176 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11177 the same as the one in check/gst-libs/gdp.c.
11179 * po/, docs/gst/: Commit automatic changes to docs and po files.
11181 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11182 the versioned libgstbase.
11184 * check/Makefile.am: Depend on an unversioned gst-register, seems
11185 to make autoconf happier.
11187 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11189 2005-03-28 Wim Taymans <wim@fluendo.com>
11192 * docs/design/part-gstelement.txt:
11193 * docs/design/part-negotiation.txt:
11194 * docs/design/part-preroll.txt:
11195 * docs/design/part-scheduling.txt:
11196 * docs/design/part-states.txt:
11198 * gst/base/Makefile.am:
11200 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11201 (gst_basesink_base_init), (gst_basesink_class_init),
11202 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11203 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11204 (gst_basesink_set_pad_functions),
11205 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11206 (gst_basesink_set_property), (gst_basesink_get_property),
11207 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11208 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11209 (gst_basesink_preroll_queue_push),
11210 (gst_basesink_preroll_queue_empty),
11211 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11212 (gst_basesink_event), (gst_basesink_get_times),
11213 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11214 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11215 (gst_basesink_loop), (gst_basesink_activate),
11216 (gst_basesink_change_state):
11217 * gst/base/gstbasesink.h:
11218 * gst/elements/Makefile.am:
11219 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11220 (gst_fakesink_class_init), (gst_fakesink_init),
11221 (gst_fakesink_set_property), (gst_fakesink_get_property),
11222 (gst_fakesink_get_times), (gst_fakesink_event),
11223 (gst_fakesink_preroll), (gst_fakesink_render),
11224 (gst_fakesink_change_state):
11225 * gst/elements/gstfakesink.h:
11226 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11227 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11228 * gst/gstelement.c: (gst_element_add_pad),
11229 (gst_element_get_state_func), (gst_element_abort_state),
11230 (gst_element_commit_state), (gst_element_lost_state),
11231 (gst_element_set_state), (gst_element_pads_activate):
11232 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11233 * gst/gstpipeline.c: (gst_pipeline_send_event),
11234 (gst_pipeline_change_state):
11235 Added state change code.
11236 Added/updated docs.
11237 Added sink base class, make fakesink extend the base class.
11238 Small cleanups in GstPipeline.
11240 2005-03-26 David Schleef <ds@schleef.org>
11242 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11243 is broken and should be implemented in a different library.
11244 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11245 * gst/gst.h: remove gstcpu.h
11246 * gst/gstcpu.c: remove
11247 * gst/gstcpu.h: remove
11248 * gst/Makefile.am.future: Remove this file. It's ancient.
11250 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11252 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11253 (gst_bin_send_event):
11254 Add default event/set_manager handlers. The set_manager handler
11255 takes care that the manager is distributed over kids that were
11256 already in the bin before the manager was set. The event handler
11257 is a utility virtual function that sends the event over all sinks,
11258 so that gst_element_send_event (bin, event); has the expected
11260 * gst/gstpad.c: (gst_pad_event_default):
11261 Re-install default event handling for discontinuities, so that
11262 seeking works without requiring hacks in applications or extra
11264 * gst/gstpipeline.c: (gst_pipeline_class_init),
11265 (gst_pipeline_send_event):
11266 Half hack, half utility: set a pipeline to PAUSED for seek events,
11267 since that is the only way we can guarantee a/v sync. Means that
11268 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11269 and it "just works".
11271 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11273 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11274 Lock/unlock mismatch.
11276 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11278 * docs/faq/gst-uninstalled:
11279 add gst-plugins-base
11280 * docs/gst/Makefile.am:
11281 don't error out until docs are fixed
11282 * docs/gst/gstreamer.types:
11285 2005-03-22 Wim Taymans <wim@fluendo.com>
11287 * check/Makefile.am:
11288 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11289 * gst/gststructure.c: (gst_structure_set_valist),
11290 (gst_structure_copy_conditional):
11291 Activated more tests.
11292 Added message test.
11293 Added G_TYPE_POINTER to GstStructure.
11296 2005-03-22 Wim Taymans <wim@fluendo.com>
11298 * docs/design/part-TODO.txt:
11299 * docs/design/part-events.txt:
11300 * docs/design/part-gstbin.txt:
11301 * docs/design/part-gstbus.txt:
11302 * docs/design/part-gstpipeline.txt:
11303 * docs/design/part-messages.txt:
11305 * gst/gstmessage.c:
11308 2005-03-21 Wim Taymans <wim@fluendo.com>
11310 * gst/gstbus.c: (gst_bus_post):
11311 Fix copy-and-paste error.
11313 2005-03-21 Wim Taymans <wim@fluendo.com>
11315 * check/Makefile.am:
11317 * gst/elements/Makefile.am:
11318 * gst/elements/gstelements.c:
11319 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11320 (gst_fakesink_event), (gst_fakesink_chain):
11321 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11322 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11323 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11324 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11325 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11326 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11327 (gst_fakesrc_loop), (gst_fakesrc_activate),
11328 (gst_fakesrc_change_state):
11329 * gst/elements/gstfakesrc.h:
11330 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11331 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11332 (gst_filesrc_open_file), (gst_filesrc_loop),
11333 (gst_filesrc_activate), (gst_filesrc_change_state),
11334 (filesrc_find_peek), (filesrc_find_suggest),
11335 (gst_filesrc_type_find):
11336 * gst/elements/gstidentity.c: (gst_identity_finalize),
11337 (gst_identity_class_init), (gst_identity_init),
11338 (gst_identity_proxy_getcaps), (identity_queue_push),
11339 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11340 (gst_identity_getrange), (gst_identity_chain),
11341 (gst_identity_sink_loop), (gst_identity_src_loop),
11342 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11343 (gst_identity_set_property), (gst_identity_get_property),
11344 (gst_identity_change_state):
11345 * gst/elements/gstidentity.h:
11346 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11347 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11348 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11349 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11350 (gst_tee_sink_activate):
11351 * gst/elements/gsttee.h:
11352 * gst/gst.c: (gst_register_core_elements), (init_post):
11354 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11355 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11356 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11357 (gst_bin_change_state):
11359 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11360 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11361 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11362 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11363 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11364 (bus_watch_callback), (bus_watch_destroy),
11365 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11366 (poll_timeout), (gst_bus_poll):
11370 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11371 (gst_element_post_message), (gst_element_message_full),
11372 (gst_element_get_state_func), (gst_element_get_state),
11373 (gst_element_abort_state), (gst_element_commit_state),
11374 (gst_element_lost_state), (gst_element_set_state),
11375 (gst_element_pads_activate), (gst_element_change_state),
11376 (gst_element_dispose), (gst_element_set_manager_func),
11377 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11378 (gst_element_set_manager), (gst_element_get_manager),
11379 (gst_element_set_bus), (gst_element_get_bus),
11380 (gst_element_set_scheduler), (gst_element_get_scheduler):
11381 * gst/gstelement.h:
11382 * gst/gstevent.c: (gst_event_new_segment_seek),
11383 (gst_event_new_flush):
11385 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11386 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11387 (gst_message_new_eos), (gst_message_new_error),
11388 (gst_message_new_warning), (gst_message_new_tag),
11389 (gst_message_new_state_changed), (gst_message_new_application),
11390 (gst_message_get_structure), (gst_message_parse_tag),
11391 (gst_message_parse_state_changed), (gst_message_parse_error),
11392 (gst_message_parse_warning):
11393 * gst/gstmessage.h:
11394 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11395 (gst_real_pad_set_property), (gst_pad_set_active),
11396 (gst_pad_is_active), (gst_pad_set_blocked_async),
11397 (gst_pad_set_blocked), (gst_pad_is_blocked),
11398 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11399 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11400 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11401 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11402 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11403 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11404 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11405 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11406 (gst_pad_set_caps), (gst_pad_configure_sink),
11407 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11408 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11409 (gst_real_pad_dispose), (gst_real_pad_finalize),
11410 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11411 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11412 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11414 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11415 (pipeline_bus_handler), (gst_pipeline_change_state),
11416 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11417 * gst/gstpipeline.h:
11419 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11420 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11421 (gst_queue_link_src), (gst_queue_bufferalloc),
11422 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11423 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11424 (gst_queue_loop), (gst_queue_handle_src_event),
11425 (gst_queue_handle_src_query), (gst_queue_src_activate),
11426 (gst_queue_change_state):
11428 * gst/gstscheduler.c: (gst_scheduler_init),
11429 (gst_scheduler_dispose), (gst_scheduler_create_task),
11430 (gst_scheduler_factory_create):
11431 * gst/gstscheduler.h:
11432 * gst/gststructure.c: (gst_structure_get_type),
11433 (gst_structure_copy_conditional):
11434 * gst/gststructure.h:
11435 * gst/gsttaginterface.h:
11436 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11437 (gst_task_init), (gst_task_dispose), (gst_task_create),
11438 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11444 * gst/schedulers/Makefile.am:
11445 * gst/schedulers/cothreads_compat.h:
11446 * gst/schedulers/entryscheduler.c:
11447 * gst/schedulers/faircothreads.c:
11448 * gst/schedulers/faircothreads.h:
11449 * gst/schedulers/fairscheduler.c:
11450 * gst/schedulers/gstbasicscheduler.c:
11451 * gst/schedulers/gstoptimalscheduler.c:
11452 * gst/schedulers/gthread-cothreads.h:
11453 * gst/schedulers/threadscheduler.c:
11454 (gst_thread_scheduler_task_get_type),
11455 (gst_thread_scheduler_task_class_init),
11456 (gst_thread_scheduler_task_init),
11457 (gst_thread_scheduler_task_start),
11458 (gst_thread_scheduler_task_stop),
11459 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11460 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11461 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11462 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11464 * libs/gst/Makefile.am:
11465 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11466 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11467 (gst_file_pad_parent_set):
11468 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11469 (gst_dp_event_from_packet):
11470 * tests/complexity.c: (main):
11471 * tests/mass_elements.c: (main):
11472 * testsuite/states/locked.c: (message_received), (main):
11473 * testsuite/states/parent.c: (main):
11474 * tools/gst-inspect.c: (print_element_flag_info),
11475 (print_implementation_info), (print_pad_info):
11476 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11478 * tools/gst-md5sum.c: (event_loop), (main):
11479 * tools/gst-typefind.c: (main):
11480 * tools/gst-xmlinspect.c: (print_element_info):
11482 Added GstBus for mainloop integration.
11483 Added GstMessage for sending notifications on the bus.
11484 Added GstTask as an abstraction for pipeline entry points.
11486 Removed Schedulers.
11487 Simplified GstQueue for multithreaded core.
11488 Made _link threadsafe, removed old capsnego.
11489 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11490 Added pad blocking functions.
11491 Reworked scheduling functions in GstPad to prepare for
11492 scheduling updates soon.
11493 Moved events out of data stream.
11494 Simplified GstEvent types.
11495 Added return values to push/pull.
11496 Removed clocking from GstElement.
11497 Added prototypes for state change function for next merge.
11498 Removed iterate from bins and state change management.
11499 Fixed some elements, disabled others for now.
11500 Fixed -inspect and -launch.
11501 Added check for GstBus.
11503 2005-03-10 Wim Taymans <wim@fluendo.com>
11505 * docs/design/part-MT-refcounting.txt:
11506 * docs/design/part-clocks.txt:
11507 * docs/design/part-gstelement.txt:
11508 * docs/design/part-gstobject.txt:
11509 * docs/design/part-standards.txt:
11510 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11511 (gst_bin_remove_func), (gst_bin_remove):
11515 * testsuite/clock/clock1.c: (main):
11516 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11518 * testsuite/dlopen/loadgst.c: (do_test):
11519 * testsuite/refcounting/bin.c: (add_remove_test1),
11520 (add_remove_test2), (main):
11521 * testsuite/refcounting/element.c: (main):
11522 * testsuite/refcounting/element_pad.c: (main):
11523 * testsuite/refcounting/pad.c: (main):
11524 * tools/gst-launch.c: (sigint_handler_sighandler):
11525 * tools/gst-typefind.c: (main):
11527 Added doc about clock.
11528 removed gst_bin_iterate_recurse_up(), marked methods
11530 Fix more testsuites.
11532 2005-03-09 Wim Taymans <wim@fluendo.com>
11534 * gst/gstpad.c: (gst_pad_get_direction),
11535 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11536 (gst_pad_collect_valist):
11537 * testsuite/bins/interface.c: (main):
11538 * testsuite/caps/audioscale.c: (test_caps):
11539 * testsuite/caps/caps.c: (test1), (test2), (test3):
11540 * testsuite/caps/deserialize.c: (main):
11541 * testsuite/caps/enumcaps.c: (main):
11542 * testsuite/caps/filtercaps.c: (main):
11543 * testsuite/caps/intersect2.c: (main):
11544 * testsuite/caps/random.c: (main):
11545 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11546 * testsuite/caps/sets.c: (check_caps):
11547 * testsuite/caps/simplify.c: (check_caps), (main):
11548 * testsuite/caps/subtract.c: (check_caps):
11549 Fix _pad_get_direction wrt ghostpads.
11550 Fix caps testsuite.
11552 2005-03-09 Wim Taymans <wim@fluendo.com>
11554 * check/Makefile.am:
11555 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11556 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11557 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11558 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11559 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11560 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11561 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11562 (bin_element_is_sink), (gst_bin_iterate_sinks),
11563 (gst_bin_iterate_all_by_interface):
11565 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11566 (gst_element_change_state), (gst_element_dispose),
11567 (gst_element_finalize), (gst_element_set_loop_function):
11568 * gst/gstelement.h:
11569 * gst/gstiterator.c: (find_custom_fold_func):
11570 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11571 (gst_pad_collectv), (gst_pad_collect_valist),
11572 (gst_pad_template_new):
11573 * gst/gstpipeline.c: (gst_pipeline_class_init),
11574 (gst_pipeline_dispose), (gst_pipeline_set_property),
11575 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11576 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11577 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11579 * gst/schedulers/entryscheduler.c:
11580 * gst/schedulers/gstbasicscheduler.c:
11581 (gst_basic_scheduler_cothreaded_chain),
11582 (gst_basic_scheduler_chain_add_element):
11583 * testsuite/bins/interface.c: (main):
11585 Added GstSystemClock test.
11586 Implemented clock distribution code in GstBin.
11587 Implemented iterate sinks method for future use.
11588 Rearranged gstelement.h
11589 Fix GstIterator comparison bug.
11590 Moved some code to GstPipeline, mostly clocking related.
11592 2005-03-09 Wim Taymans <wim@fluendo.com>
11595 * gst/gst_private.h:
11596 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11597 (gst_bin_remove_func), (gst_bin_remove),
11598 (gst_bin_get_by_name_recurse_up):
11599 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11600 (gst_clock_id_compare_func), (gst_clock_id_wait),
11601 (gst_clock_id_wait_async), (gst_clock_init),
11602 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11603 * gst/gstelement.h:
11604 * gst/gstinfo.c: (_gst_debug_init):
11606 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11607 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11609 Bump version number, we're now 0.9.0
11610 Add future debugging category.
11611 Fix NULL _unref() in _get_by_name_recurse_up
11612 Rearrange gstpad.h.
11615 2005-03-08 Wim Taymans <wim@fluendo.com>
11617 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11618 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11619 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11620 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11621 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11622 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11623 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11624 * gst/elements/gstidentity.c: (gst_identity_class_init):
11625 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11626 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11627 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11628 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11629 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11631 * gst/gstelement.c: (gst_element_class_init),
11632 (gst_element_base_class_init), (gst_element_init),
11633 (gst_element_get_random_pad), (gst_element_wait_state_change),
11634 (gst_element_change_state), (gst_element_dispose),
11635 (gst_element_finalize), (gst_element_set_loop_function):
11636 * gst/gstelement.h:
11637 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11638 * gst/gstthread.c: (gst_thread_class_init),
11639 (gst_thread_release_children_locks), (gst_thread_change_state):
11640 * gst/schedulers/gstbasicscheduler.c:
11641 (gst_basic_scheduler_loopfunc_wrapper),
11642 (gst_basic_scheduler_chain_wrapper),
11643 (gst_basic_scheduler_src_wrapper),
11644 (gst_basic_scheduler_remove_element):
11645 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11646 Remove threadsafe properties. Fix elements because GObject
11647 complains when installing a property before declaring a
11648 set/get_property handler.
11649 Rearrange gstelement.h file, use STATE macros for state locks.
11650 Free mutexes in the finalize method instead of dispose.
11652 2005-03-08 Wim Taymans <wim@fluendo.com>
11654 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11655 * gst/gstthread.c: (gst_thread_release_children_locks):
11656 Added parentage check.
11657 Fix build og GstThread again.
11659 2005-03-08 Wim Taymans <wim@fluendo.com>
11661 * docs/design/part-MT-refcounting.txt:
11662 * docs/design/part-conventions.txt:
11663 * docs/design/part-gstobject.txt:
11664 * docs/design/part-relations.txt:
11665 * docs/design/part-standards.txt:
11666 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11667 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11668 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11669 (gst_bin_iterate_all_by_interface):
11672 * gst/gstelement.c: (gst_element_class_init),
11673 (gst_element_change_state), (gst_element_set_loop_function):
11674 * gst/gstelement.h:
11675 * gst/gstiterator.c:
11676 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11677 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11678 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11679 (gst_object_set_parent), (gst_object_unparent),
11680 (gst_object_check_uniqueness):
11682 Docs updates, clean up some headers.
11684 2005-03-07 Wim Taymans <wim@fluendo.com>
11686 * check/.cvsignore:
11687 * check/Makefile.am:
11688 * check/gst-libs/.cvsignore:
11689 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11690 * check/gst/.cvsignore:
11691 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11692 (START_TEST), (gstbus_suite), (main):
11693 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11694 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11695 (gst_data_suite), (main):
11696 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11697 (add_fold_func), (gstiterator_suite), (main):
11698 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11699 (thread_name_object), (thread_name_object_default),
11700 (gst_object_name_compare), (gst_object_suite), (main):
11701 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11702 (gst_pad_suite), (main):
11703 * check/gstcheck.c: (gst_check_log_message_func),
11704 (gst_check_log_critical_func), (gst_check_init):
11705 * check/gstcheck.h:
11706 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11707 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11710 2005-03-07 Wim Taymans <wim@fluendo.com>
11712 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11713 (gst_list_iterator_next), (gst_list_iterator_resync),
11714 (gst_list_iterator_free), (gst_iterator_new_list),
11715 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11716 (gst_iterator_free), (gst_iterator_push), (filter_next),
11717 (filter_resync), (filter_uninit), (filter_free),
11718 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11719 (gst_iterator_foreach), (find_custom_fold_func),
11720 (gst_iterator_find_custom):
11721 * gst/gstiterator.h:
11722 Added missing files.
11724 2005-03-07 Wim Taymans <wim@fluendo.com>
11728 * docs/design/part-MT-refcounting.txt:
11729 * docs/design/part-conventions.txt:
11730 * docs/design/part-gstobject.txt:
11731 * docs/design/part-relations.txt:
11732 * examples/mixer/mixer.c: (main):
11733 * examples/thread/thread.c: (eos), (main):
11735 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11736 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11737 (gst_spider_plug_from_srcpad):
11738 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11739 (gst_spider_identity_change_state),
11740 (gst_spider_identity_sink_loop_type_finding):
11741 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11742 * gst/elements/gstidentity.c: (gst_identity_init):
11743 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11744 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11745 * gst/elements/gsttypefindelement.c: (free_entry):
11748 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11749 (gst_bin_set_clock_func), (gst_bin_auto_clock),
11750 (gst_bin_set_index), (gst_bin_set_element_sched),
11751 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11752 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11753 (gst_bin_iterate_elements), (iterate_child_recurse),
11754 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11755 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11756 (compare_interface), (gst_bin_get_by_interface),
11757 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11759 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11760 (gst_buffer_default_free), (gst_buffer_default_copy),
11761 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11762 (gst_buffer_create_sub):
11764 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11765 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11766 (gst_caps_unref), (gst_static_caps_get),
11767 (gst_caps_remove_and_get_structure), (gst_caps_append),
11768 (gst_caps_append_structure), (gst_caps_remove_structure),
11769 (gst_caps_copy_nth), (gst_caps_set_simple),
11770 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11771 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11772 (gst_caps_structure_intersect_field), (gst_caps_intersect),
11773 (gst_caps_structure_subtract_field), (gst_caps_subtract),
11774 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11775 (gst_caps_structure_figure_out_union),
11776 (gst_caps_switch_structures), (gst_caps_do_simplify),
11777 (gst_caps_replace), (gst_caps_from_string),
11778 (gst_caps_copy_conditional):
11780 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11781 (_gst_clock_id_free), (gst_clock_id_unref),
11782 (gst_clock_id_compare_func), (gst_clock_id_wait),
11783 (gst_clock_id_wait_async), (gst_clock_class_init),
11784 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11785 (gst_clock_get_time), (gst_clock_set_time_adjust),
11786 (gst_clock_set_property), (gst_clock_get_property):
11789 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11790 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11792 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11793 (gst_element_requires_clock), (gst_element_provides_clock),
11794 (gst_element_set_clock), (gst_element_clock_wait),
11795 (gst_element_wait), (gst_element_set_time_delay),
11796 (gst_element_is_indexable), (gst_element_add_pad),
11797 (gst_element_add_ghost_pad), (gst_element_remove_pad),
11798 (pad_compare_name), (gst_element_get_static_pad),
11799 (gst_element_request_pad), (gst_element_get_request_pad),
11800 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11801 (gst_element_class_get_pad_template_list),
11802 (gst_element_class_get_pad_template), (gst_element_error_func),
11803 (gst_element_get_random_pad), (gst_element_get_event_masks),
11804 (gst_element_send_event), (gst_element_seek),
11805 (gst_element_get_query_types), (gst_element_query),
11806 (gst_element_get_formats), (gst_element_convert),
11807 (gst_element_is_locked_state), (gst_element_set_locked_state),
11808 (gst_element_sync_state_with_parent), (gst_element_change_state),
11809 (gst_element_finalize), (gst_element_yield),
11810 (gst_element_interrupt), (gst_element_set_scheduler),
11811 (gst_element_get_scheduler), (gst_element_set_loop_function):
11812 * gst/gstelement.h:
11814 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11815 (gst_format_get_by_nick), (gst_format_get_details),
11816 (gst_format_iterate_definitions):
11818 * gst/gstindex.c: (gst_index_gtype_resolver):
11821 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11822 (gst_mem_chunk_free):
11823 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11824 (gst_object_ref), (gst_object_unref), (gst_object_sink),
11825 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11826 (gst_object_dispatch_properties_changed),
11827 (gst_object_set_name_default), (gst_object_set_name),
11828 (gst_object_get_name), (gst_object_set_name_prefix),
11829 (gst_object_get_name_prefix), (gst_object_set_parent),
11830 (gst_object_get_parent), (gst_object_unparent),
11831 (gst_object_check_uniqueness), (gst_object_save_thyself),
11832 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11833 (gst_object_set_property), (gst_object_get_property),
11834 (gst_object_get_path_string):
11836 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11837 (gst_real_pad_init), (gst_real_pad_get_property),
11838 (gst_pad_custom_new), (gst_pad_get_direction),
11839 (gst_pad_set_active), (gst_pad_is_active),
11840 (gst_pad_set_event_function), (gst_pad_is_linked),
11841 (gst_pad_link_free), (gst_pad_link_intersect),
11842 (gst_pad_link_fixate), (gst_pad_set_caps),
11843 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11844 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11845 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11846 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11847 (gst_pad_get_caps), (gst_pad_peer_get_caps),
11848 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11849 (gst_pad_realize), (gst_pad_get_allowed_caps),
11850 (gst_real_pad_dispose), (gst_real_pad_finalize),
11851 (gst_pad_collectv), (gst_pad_collect_valist),
11852 (gst_pad_template_dispose), (gst_pad_template_new),
11853 (gst_pad_get_internal_links):
11855 * gst/gstpipeline.c: (gst_pipeline_dispose),
11856 (gst_pipeline_change_state):
11857 * gst/gstpipeline.h:
11859 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11860 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11861 * gst/gstpluginfeature.h:
11862 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11863 * gst/gstquery.c: (_gst_query_type_initialize),
11864 (gst_query_type_register), (gst_query_type_get_by_nick),
11865 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11867 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11868 * gst/gstscheduler.c: (gst_scheduler_add_element),
11869 (gst_scheduler_factory_create):
11870 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11871 (gst_structure_free), (gst_structure_set_name),
11872 (gst_structure_id_set_value), (gst_structure_set_value),
11873 (gst_structure_set_valist), (gst_structure_remove_field),
11874 (gst_structure_remove_fields),
11875 (gst_structure_remove_fields_valist),
11876 (gst_structure_remove_all_fields), (gst_structure_foreach),
11877 (gst_structure_map_in_place),
11878 (gst_caps_structure_fixate_field_nearest_int),
11879 (gst_caps_structure_fixate_field_nearest_double):
11880 * gst/gststructure.h:
11881 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11882 (gst_system_clock_init), (gst_system_clock_dispose),
11883 (gst_system_clock_async_thread),
11884 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11885 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11886 * gst/gstsystemclock.h:
11887 * gst/gsttag.c: (gst_tag_list_add_value_internal),
11888 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11889 * gst/gsttaginterface.c:
11890 * gst/gstthread.c: (gst_thread_dispose),
11891 (gst_thread_release_children_locks), (gst_thread_change_state),
11892 (gst_thread_main_loop):
11893 * gst/gsttrashstack.h:
11894 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11896 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11897 (gst_element_request_pad), (gst_element_get_pad_from_template),
11898 (gst_element_request_compatible_pad),
11899 (gst_element_get_compatible_pad_filtered),
11900 (gst_element_get_compatible_pad), (gst_element_state_get_name),
11901 (gst_element_link_pads_filtered), (gst_element_link_filtered),
11902 (gst_element_link_many), (gst_element_link),
11903 (gst_element_link_pads), (gst_element_unlink_pads),
11904 (gst_element_unlink_many), (gst_element_unlink),
11905 (gst_pad_can_link_filtered), (gst_pad_can_link),
11906 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11907 (gst_object_default_error), (gst_bin_add_many),
11908 (gst_bin_remove_many), (gst_element_populate_std_props),
11909 (gst_element_class_install_std_props), (gst_buffer_merge),
11910 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11911 (link_fold_func), (gst_pad_proxy_setcaps):
11913 * gst/gstvalue.c: (gst_value_deserialize_string):
11914 * gst/parse/grammar.y:
11915 * gst/schedulers/gstbasicscheduler.c:
11916 (gst_basic_scheduler_cothreaded_chain),
11917 (gst_basic_scheduler_chain_recursive_add),
11918 (gst_basic_scheduler_pad_link):
11919 * gst/schedulers/gstoptimalscheduler.c:
11920 (get_group_schedule_function),
11921 (gst_opt_scheduler_state_transition),
11922 (gst_opt_scheduler_add_element), (element_get_reachables_func):
11923 * libs/gst/bytestream/bytestream.c:
11924 * libs/gst/dataprotocol/dataprotocol.c:
11925 (gst_dp_header_from_buffer):
11928 * tests/threadstate/threadstate2.c: (eos):
11929 * tools/gst-compprep.c: (main):
11930 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11931 (print_pad_info), (print_children_info):
11932 * tools/gst-launch.c: (idle_func), (main):
11933 * tools/gst-md5sum.c: (idle_func), (main):
11934 * tools/gst-xmlinspect.c: (print_element_info):
11935 First THREADED backport attempt, focusing on adding locks and
11936 making sure the API is threadsafe. Needs more work. More docs
11939 2005-02-24 Andy Wingo <wingo@pobox.com>
11941 * tests/bench-complexity.scm:
11942 * tests/complexity.gnuplot: New files, good for running complexity
11945 * tests/Makefile.am:
11946 * tests/complexity.c: New test, sets up N elements, at each level
11947 teeing into M streams per element. Eeeenteresting.
11949 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11950 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11951 running bench-mass_elements.scm.
11953 * tests/bench-mass_elements.scm: New script, runs mass_elements
11954 for various numbers of identities, outputting the results to a
11955 file. Requires guile 1.6. Just for testing.
11957 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
11959 * gst/schedulers/fairscheduler.c:
11960 compile with debug disabled
11962 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11965 hunting season on 0.9 is now OPEN