1 2005-11-26 Edward Hervey <edward@fluendo.com>
3 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4 This shouldn't issue a g_warning since it returns NULL if it
5 couldn't find the plugin, and all functions using this behave
6 properly on a NULL return. Switching to a GST_WARNING.
8 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10 * gst/gstbin.c: (gst_bin_handle_message_func):
11 Don't leak clock messages.
13 2005-11-25 Wim Taymans <wim@fluendo.com>
15 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16 (gst_util_uint64_scale_int):
17 Optimisations, remove unneeded vars.
19 2005-11-25 Wim Taymans <wim@fluendo.com>
21 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
22 Added more checks for the high precision uint64 cases.
24 * gst/gstutils.c: (gst_util_uint64_scale_int64),
25 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
26 Implement high precission (guint64 * guint64) / guint64.
28 2005-11-24 Wim Taymans <wim@fluendo.com>
30 * gst/base/gstbasesrc.c: (gst_base_src_query):
31 Fix wrong percentage query.
33 * gst/gstutils.c: (gst_util_uint64_scale),
34 (gst_util_uint64_scale_int):
35 Add some more common cases that can be handled
36 efficiently to _scale.
38 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
40 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
41 (gst_mini_object_suite):
42 don't use check calls from threads; check probably isn't
43 threadsafe and using a lock to make it threadsafe would
44 defeat the purpose of this check
45 * gst/check/gstcheck.c:
46 * gst/check/gstcheck.h:
47 use GST_DEBUG some more
49 2005-11-24 Wim Taymans <wim@fluendo.com>
51 * gst/gstutils.c: (gst_util_uint64_scale),
52 (gst_util_uint64_scale_int):
53 Chain trivial case to _scale_int.
55 2005-11-24 Wim Taymans <wim@fluendo.com>
57 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
58 Added test for scaling.
63 * gst/gstutils.c: (gst_util_uint64_scale_int):
64 Implemented high precision scaling code.
66 2005-11-24 Stefan Kost <ensonic@users.sf.net>
69 do not crash on pad==NULL
71 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
76 * docs/gst/Makefile.am:
77 * docs/libs/Makefile.am:
78 Fix distcheck issues for the libraries docs build
81 2005-11-24 Michael Smith <msmith@fluendo.com>
83 * docs/manual/basics-helloworld.xml:
84 Fix bug #315027: memory leak in example code in docs.
86 2005-11-24 Michael Smith <msmith@fluendo.com>
88 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
89 Unlock the PREROLL_LOCK in a failure case.
91 2005-11-24 Wim Taymans <wim@fluendo.com>
93 * docs/gst/gstreamer-sections.txt:
94 * gst/base/gstadapter.h:
95 * gst/base/gstbasesink.h:
96 * gst/base/gstbasesrc.h:
97 * gst/base/gstbasetransform.h:
98 * gst/base/gstpushsrc.h:
99 * gst/elements/gstfakesink.h:
100 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
101 * gst/elements/gstfakesrc.h:
102 * gst/elements/gstfilesink.h:
103 * gst/elements/gstfilesrc.h:
106 * gst/gstbuffer.c: (_gst_buffer_copy):
109 * gst/gstchildproxy.c:
112 * gst/gstelementfactory.c:
113 * gst/gstelementfactory.h:
117 * gst/gstinterface.h:
118 * gst/gstminiobject.c:
119 * gst/gstminiobject.h:
122 * gst/gstpadtemplate.h:
124 * gst/gstpluginfeature.h:
129 * gst/gsttagsetter.c:
130 * gst/gsttagsetter.h:
136 * gst/net/gstnetclientclock.c:
137 * gst/net/gstnetclientclock.h:
138 * gst/net/gstnettimepacket.c:
139 * gst/net/gstnettimeprovider.c:
140 * gst/net/gstnettimeprovider.h:
143 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
145 * configure.ac: back to HEAD
147 === release 0.9.6 ===
149 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
152 releasing 0.9.6, "Always On Time"
154 2005-11-23 Wim Taymans <wim@fluendo.com>
156 * docs/gst/gstreamer-sections.txt:
158 * gst/gsttagsetter.c:
160 * gst/net/gstnetclientclock.c:
161 * gst/net/gstnettimepacket.h:
164 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
166 * docs/faq/using.xml:
167 * docs/libs/tmpl/gstcontrol.sgml:
168 * docs/manual/advanced-dparams.xml:
169 * docs/manual/appendix-checklist.xml:
170 * docs/manual/basics-elements.xml:
171 * docs/pwg/other-source.xml:
172 * docs/random/moving-plugins:
174 * tools/gst-launch.1.in:
175 remove mentions of sinesrc
177 2005-11-23 Michael Smith <msmith@fluendo.com>
179 * docs/gst/gstreamer-sections.txt:
180 Update for new API and API changes.
182 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
184 Documentation typo fix.
185 * gst/net/gstnettimepacket.c:
186 Documentation fixes for arguments.
188 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
190 * gst/gststructure.c: (gst_structure_get_fraction),
191 (gst_structure_parse_value),
192 (gst_structure_fixate_field_nearest_fraction):
193 * gst/gststructure.h:
194 * gst/gstutils.c: (gst_util_uint64_scale_int):
196 * scripts/update-funcnames:
198 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
199 Make gst_structure_fixate_field_nearest_fraction take a numerator
200 and denominator argument instead of a GValue
201 add gst_structure_get_fraction helper function.
203 2005-11-23 Wim Taymans <wim@fluendo.com>
205 * docs/design/part-TODO.txt:
208 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
209 * gst/net/gstnetclientclock.h:
210 Use parent fields for timeout and window_size.
212 2005-11-23 Andy Wingo <wingo@pobox.com>
214 * check/net/gstnetclientclock.c (test_functioning): Adjust to
215 rate_num/rate_denom change.
217 * gst/net/gstnetclientclock.c
218 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
219 OBJECT_LOCK. Don't call add_observation with the lock.
221 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
223 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
225 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
226 deal with rate as a fraction whose numerator and denominator are
228 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
229 master; the other fields are protected by the SLAVE_LOCK.
230 (do_linear_regression): Note that this must be called with the
232 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
233 OBJECT_LOCK. Call set_calibration instead of touching the
235 (gst_clock_set_property, gst_clock_get_property): Protect
236 master/slave parameters with the SLAVE_LOCK.
238 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
239 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
240 note that all of the instance variables that add_observation and
241 the set_master functions use are protected by that lock and not
243 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
245 * gst/gstclock.c (gst_clock_add_observation): No longer requires
246 the caller to take the object lock.
248 2005-11-23 Wim Taymans <wim@fluendo.com>
250 * gst/gsterror.c: (_gst_core_errors_init):
252 Add error for clock stuff.
254 * gst/gstpipeline.c: (gst_pipeline_change_state),
255 (gst_pipeline_set_clock):
256 Post clock error when clock cannot be used in a pipeline.
258 2005-11-23 Stefan Kost <ensonic@users.sf.net>
260 * docs/gst/gstreamer-sections.txt:
261 make two symbols from gstinfo private for the docs
262 * gst/base/gstcollectpads.h:
264 fix doc typos, update docs
266 2005-11-22 Wim Taymans <wim@fluendo.com>
268 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
269 (gst_base_sink_wait), (gst_base_sink_do_sync),
270 (gst_base_sink_handle_event):
271 * gst/base/gstbasesink.h:
272 No need to store the clock, the parent element class already
275 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
276 Updates for clock_set returning a gboolean
278 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
279 (gst_clock_id_wait_async), (gst_clock_class_init),
280 (gst_clock_init), (gst_clock_finalize),
281 (gst_clock_get_internal_time), (gst_clock_get_time),
282 (gst_clock_slave_callback), (gst_clock_set_master),
283 (gst_clock_get_master), (do_linear_regression),
284 (gst_clock_add_observation), (gst_clock_set_property),
285 (gst_clock_get_property):
287 Implement master/slave. When setting a clock as a slave, a
288 periodic timeout is scheduled to sample master and slave times.
289 Then the slave clock is recalibrated to match offset and rate
291 Update logging a bit.
292 Add flag so that a clock can state that is cannot be slaved to
295 * gst/gstelement.c: (gst_element_set_clock):
297 The set clock returns a gboolean for when an element cannot
298 deal with the selected clock in the pipeline.
300 * gst/gstpipeline.c: (gst_pipeline_change_state),
301 (gst_pipeline_set_clock):
303 Handle the case where the selected clock cannot be set on
306 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
307 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
308 (gst_net_client_clock_set_property),
309 (gst_net_client_clock_get_property),
310 (gst_net_client_clock_observe_times):
311 * gst/net/gstnetclientclock.h:
312 Use regression code in GstClock parent, remove duplicated
315 2005-11-22 Michael Smith <msmith@fluendo.com>
317 * gst/gstutils.c: (gst_util_clock_time_scale):
319 * docs/gst/gstreamer-sections.txt:
320 Rename method to have extra underscore.
322 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
324 * gst/elements/Makefile.am:
325 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
326 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
327 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
328 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
329 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
330 * gst/elements/gstfakesrc.h:
331 * gst/gstqueue.c: (queue_leaky_get_type):
332 correctly fix GEnumValues so that nick is the short lowercase
334 * tools/gst-inspect.c: (print_element_properties_info):
335 also show the nick, since it's useful to use from parse_launch
339 2005-11-22 Michael Smith <msmith@fluendo.com>
341 * gst/gstutils.c: (gst_util_clocktime_scale):
343 * docs/gst/gstreamer-sections.txt:
344 Add util method for scaling a clocktime by a fraction. Useful
345 implementation is left as an exercise for the reader.
347 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
349 * gst/gstvalue.c: (gst_value_collect_fraction_range):
350 If needed, allocate storage in the destination value during
353 2005-11-22 Edward Hervey <edward@fluendo.com>
355 * docs/gst/gstreamer-sections.txt:
360 * gst/gstutils.c: (gst_util_set_object_arg):
361 * tools/gst-compprep.c: (main):
362 * tools/gst-inspect.c: (print_element_properties_info):
363 Removed GstURI, closes bug #321061
365 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
367 * check/gst/gststructure.c: (GST_START_TEST):
368 * gst/gststructure.c: (gst_structure_parse_value):
369 Oops, broke automatic string type parsing.
370 Add a test to catch it in future.
372 2005-11-22 Andy Wingo <wingo@pobox.com>
374 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
375 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
376 Actually rename the function implementations. Grr.
378 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
380 * check/gst/capslist.h:
382 * check/gst/gststructure.c: (GST_START_TEST),
383 (gst_structure_suite):
384 Test automatic value type detection in gst_structure_from_string.
385 * gst/gststructure.c: (gst_structure_parse_value):
386 Add fraction as a type we try and guess automatically in
387 caps/structure strings.
389 2005-11-22 Andy Wingo <wingo@pobox.com>
391 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
393 * gst/gsttagsetter.h:
394 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
395 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
396 (gst_tag_setter_add_tag_valist)
397 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
398 _add_values, _add_valist, and _add_valist_values. Since this is an
399 interface the function suffixes should be more explicit so
400 language binding don't end up with element.add_valist ->
401 gst_tag_setter_add_valist, for example. Fixes #322069.
403 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
405 * check/gst/gstcaps.c: (GST_START_TEST):
406 Extend caps string tests to check that a caps to string
407 conversion is reversible and produces the same caps.
409 * gst/gststructure.c: (gst_structure_value_get_generic_type):
410 Output "fraction" as the generic type fraction range, so caps
411 serialisation and deserialisation works.
412 * check/gst/capslist.h:
413 * gst/gstvalue.c: (gst_value_deserialize_fraction):
414 Support 'MIN' and 'MAX' for deserialising fractions.
416 2005-11-22 Andy Wingo <wingo@pobox.com>
418 * gst/gstevent.h (gst_event_new_new_segment)
419 (gst_event_parse_new_segment, gst_event_new_buffer_size)
420 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
421 Renamed from *_newsegment, *_buffersize, *_notarget.
423 * scripts/update-funcnames: New script, performs the changes
426 2005-11-22 Wim Taymans <wim@fluendo.com>
428 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
429 Make sure the GstFlowReturn is returned.
431 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
432 (gst_bus_add_signal_watch):
434 add gst_bus_add_signal_watch_full.
436 * gst/gstplugin.c: (gst_plugin_load_file):
439 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
441 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
442 Block the fakesrc srcpad when we send an event, to avoid
443 contention on the stream_lock causing random test failures.
445 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
447 * check/gst/gstvalue.c: (GST_START_TEST):
448 * gst/gstvalue.c: (gst_value_fraction_subtract):
451 2005-11-22 Stefan Kost <ensonic@users.sf.net>
454 include "gstchildproxy.h"
455 * gst/gstchildproxy.h:
456 * libs/gst/controller/gstcontroller.h:
457 use G_GNUC_NULL_TERMINATED
459 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
461 * check/gst/capslist.h:
462 * check/gst/gstcaps.c: (GST_START_TEST):
463 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
464 * gst/gststructure.c: (gst_structure_parse_range),
465 (gst_structure_fixate_field_nearest_fraction):
466 * gst/gststructure.h:
467 * gst/gstvalue.c: (gst_value_init_fraction_range),
468 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
469 (gst_value_collect_fraction_range),
470 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
471 (gst_value_set_fraction_range_full),
472 (gst_value_get_fraction_range_min),
473 (gst_value_get_fraction_range_max),
474 (gst_value_serialize_fraction_range),
475 (gst_value_transform_fraction_range_string),
476 (gst_value_compare_fraction_range),
477 (gst_value_deserialize_fraction_range),
478 (gst_value_intersect_fraction_fraction_range),
479 (gst_value_intersect_fraction_range_fraction_range),
480 (gst_value_subtract_fraction_fraction_range),
481 (gst_value_subtract_fraction_range_fraction),
482 (gst_value_subtract_fraction_range_fraction_range),
483 (gst_value_collect_fraction), (gst_value_fraction_multiply),
484 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
485 (gst_value_transform_string_fraction), (_gst_value_initialize):
487 Implement fraction ranges and extend GstFraction to support
488 arithmetic subtraction, as well as deserialization from integer
489 strings such as "100"
490 Add a testsuite as for int and double range set operations
492 2005-11-21 Andy Wingo <wingo@pobox.com>
496 * gst/gststructure.h: Add glib-compat.h.
498 2005-11-21 Wim Taymans <wim@fluendo.com>
500 * gst/gstbin.c: (gst_bin_change_state_func):
503 2005-11-21 Wim Taymans <wim@fluendo.com>
506 And add a nice define too.
508 2005-11-21 Wim Taymans <wim@fluendo.com>
510 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
511 (gst_segment_new), (gst_segment_free), (gst_segment_init),
512 (gst_segment_set_duration), (gst_segment_set_last_stop),
513 (gst_segment_set_seek), (gst_segment_set_newsegment),
514 (gst_segment_to_stream_time), (gst_segment_to_running_time),
517 Make binding friendly.
519 2005-11-21 Andy Wingo <wingo@pobox.com>
521 * gst/gsttagsetter.h:
523 * gst/gststructure.h:
525 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
528 * gst/gsterror.c (_gst_core_errors_init):
529 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
532 * gst/Makefile.am (gst_headers): Add glib-compat.h.
533 (noinst_HEADERS): noinst the -private.
535 2005-11-21 Michael Smith <msmith@fluendo.com>
539 Remove unimplemented declarations for which we can see no sensible
542 2005-11-21 Andy Wingo <wingo@pobox.com>
544 * gst/gst.h: Include glib-compat.h.
546 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
548 * gst/glib-compat.c: Include the public and the private header.
550 * gst/glib-compat-private.h: Copied here from glib-compat.h.
554 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
556 * check/gst/gstevent.c (create_custom_events): Check that
557 FLUSH_STOP is serialized.
559 * check/elements/identity.c (event_func):
560 * check/elements/fakesrc.c (event_func): No stream lock, the core
563 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
564 stream lock taking, yay.
566 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
567 ensure that core takes the stream lock.
569 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
572 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
573 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
574 it already. For the flush start we do take it though so we get the
575 right preroll state change messages.
577 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
578 the stream lock here, the core does it for us.
580 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
582 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
583 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
584 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
585 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
586 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
587 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
589 * gst/gstpad.c: Update for stream lock name change.
591 * gst/base/gstbasesink.c: Update for preroll lock name change.
593 2005-11-21 Wim Taymans <wim@fluendo.com>
595 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
596 (gst_clock_get_master):
598 * gst/gstsystemclock.c: (gst_system_clock_init):
599 Convert Clock flags to object flags.
600 Added methods to manage master/slave clocks.
602 2005-11-21 Wim Taymans <wim@fluendo.com>
604 * check/gst/gstsegment.c: (GST_START_TEST):
605 * docs/design/part-TODO.txt:
606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
607 (gst_base_sink_event), (gst_base_sink_do_sync),
608 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
609 (gst_base_sink_query), (gst_base_sink_change_state):
610 * gst/base/gstbasesink.h:
611 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
612 (gst_base_src_default_newsegment),
613 (gst_base_src_configure_segment), (gst_base_src_do_seek),
614 (gst_base_src_get_range), (gst_base_src_loop),
615 (gst_base_src_change_state):
616 * gst/base/gstbasesrc.h:
617 * gst/base/gstbasetransform.c:
618 (gst_base_transform_prepare_output_buf),
619 (gst_base_transform_event), (gst_base_transform_change_state):
620 * gst/base/gstbasetransform.h:
621 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
622 (gst_collect_pads_event):
623 * gst/base/gstcollectpads.h:
624 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
625 (gst_fake_src_create):
626 * gst/elements/gstfakesrc.h:
627 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
628 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
629 (gst_segment_set_last_stop), (gst_segment_set_seek),
630 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
631 (gst_segment_to_running_time), (gst_segment_clip):
633 More segment updates, replace code in plugins with segment
636 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
638 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
639 Don't ignore sscanf results
641 2005-11-21 Andy Wingo <wingo@pobox.com>
643 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
646 * *.c: Ran scripts/update-macros. Oh yes.
648 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
649 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
652 * scripts/update-macros: New script. Run it on your files to
653 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
656 2005-11-21 Stefan Kost <ensonic@users.sf.net>
658 * docs/gst/Makefile.am:
659 * docs/gst/gstreamer-docs.sgml:
660 * docs/gst/gstreamer-sections.txt:
661 * docs/gst/gstreamer.types:
663 more docs fixes, add new api to the docs
665 2005-11-21 Andy Wingo <wingo@pobox.com>
667 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
668 state_broadcast call.
670 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
672 2005-11-21 Julien MOUTTE <julien@moutte.net>
674 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
675 function calls for arrays.
677 2005-11-21 Stefan Kost <ensonic@users.sf.net>
679 * docs/random/ensonic/media-device-daemon.txt:
680 wild idea, can this be done?
681 * docs/gst/gstreamer-sections.txt:
686 * gst/gstpluginfeature.c:
690 doc fixes and additions
692 2005-11-21 Andy Wingo <wingo@pobox.com>
694 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
695 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
696 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
697 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
698 private to the basesrc implementation.
700 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
701 behalf of event function if necessary. It should no longer be
702 necessary to take the stream lock in pad's event functions. Fixes
705 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
706 * docs/gst/gstreamer-sections.txt:
707 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
708 (gst_structure_fixate_field_nearest_double),
709 (gst_structure_fixate_field_boolean):
710 * gst/gststructure.h:
711 * win32/common/libgstreamer.def:
712 * win32/gstreamer.def:
714 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
717 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
719 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
720 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
721 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
722 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
723 (gst_fdsrc_uri_handler_init):
724 * gst/elements/gstfdsrc.h:
725 Port fd:// URI handler from 0.8 to fdsrc
727 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
729 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
730 (gst_value_serialize_fourcc):
732 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
733 consistent with our other format defines (#320324).
735 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
737 * gst/gstvalue.c: (gst_value_is_fixed):
738 Revert previous commit. Value lists are by definition
739 not fixed, as they are a list of possible values.
741 2005-11-21 Andy Wingo <wingo@pobox.com>
743 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
744 during the stable series if we need it. Fixes #319178.
746 * gst/gstevent.c (gst_event_new_filler): Removed.
748 * check/gst/gstevent.c: Update comment about filler events.
750 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
752 * gst/gstvalue.c: (gst_value_is_fixed):
753 Should handle both value arrays and value lists.
755 2005-11-21 Andy Wingo <wingo@pobox.com>
757 patch by: Alessandro Dessina <alessandro nnva org>
759 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
760 functions to access arrays. Fixes #321962.
762 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
764 * docs/gst/gstreamer.types:
765 gst_collectpads_get_type => gst_collect_pads_get_type.
767 * gst/base/gstbasetransform.c:
768 Remove unused SIGNAL_HANDOFF enum.
770 2005-11-21 Andy Wingo <wingo@pobox.com>
772 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
773 the event type (upstream, downstream, serialized). Renamed
774 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
775 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
776 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
778 * gst/gstevent.c: Update for new CUSTOM event names.
780 * check/gst/gstevent.c: Update check for new CUSTOM event names.
783 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
786 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
788 * docs/gst/gstreamer-sections.txt:
789 * win32/common/libgstbase.def:
790 * win32/libgstbase.def:
791 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
792 (gst_collect_pads_class_init), (gst_collect_pads_init),
793 (gst_collect_pads_finalize), (gst_collect_pads_new),
794 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
795 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
796 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
797 (gst_collect_pads_start), (gst_collect_pads_stop),
798 (gst_collect_pads_peek), (gst_collect_pads_pop),
799 (gst_collect_pads_available), (gst_collect_pads_read),
800 (gst_collect_pads_flush), (gst_collect_pads_event),
801 (gst_collect_pads_chain):
802 * gst/base/gstcollectpads.h:
803 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
804 unimplemented functions as unimplemented. Add padding to
805 GstCollectData. (#320766, #320423)
807 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
810 Improve docs for DURATION message (usage of duration parameter)
813 2005-11-20 Wim Taymans <wim@fluendo.com>
816 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
820 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
821 (gst_segment_set_seek), (gst_segment_set_newsegment),
822 (gst_segment_to_stream_time), (gst_segment_to_running_time),
825 Added segment helper structure and methods. Not fully implemented
829 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
831 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
832 Add a deserialisation test for fractions
833 * examples/metadata/read-metadata.c: (message_loop),
834 (make_pipeline), (main):
835 Fix up metadata reading sample.
836 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
838 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
839 Don't try and fixate empty caps
841 Wrap in G_BEGIN_DECLS/G_END_DECLS
842 * gst/gstvalue.c: (gst_value_collect_fraction),
843 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
844 (gst_value_transform_string_fraction),
845 (gst_value_compare_fraction):
846 Add some extra guards to ensure that we don't end up
847 with an invalid denominator of 0 in a gstfraction and
848 that fractions always get reduced.
850 2005-11-20 Wim Taymans <wim@fluendo.com>
852 * docs/gst/gstreamer-sections.txt:
863 2005-11-20 Wim Taymans <wim@fluendo.com>
865 * docs/design/part-TODO.txt:
867 Make a proper enum of the flag.
869 2005-11-19 Wim Taymans <wim@fluendo.com>
871 * docs/design/part-TODO.txt:
872 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
873 (gst_format_to_quark), (gst_format_register):
875 * gst/gstquery.c: (_gst_query_initialize),
876 (gst_query_type_get_name), (gst_query_type_to_quark),
877 (gst_query_type_register):
879 Add type to quark and type to string conversions.
881 2005-11-19 Andy Wingo <wingo@pobox.com>
883 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
886 2005-11-19 Wim Taymans <wim@fluendo.com>
888 * docs/design/part-TODO.txt:
889 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
890 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
891 (gst_bin_handle_message_func):
893 Make message handling overridable.
895 2005-11-19 Andy Wingo <wingo@pobox.com>
897 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
900 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
902 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
903 is a GstClockTime. Fixes #321710.
905 * gst/gstclock.h (GstClock): Remove offset property. Add
906 internal_calibration and external_calibration. Fix padding. Pad
907 also by GstClockTime so we don't run into problems.
909 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
910 (gst_clock_get_rate_offset): Remove.
911 (gst_clock_set_time_adjust): Remove. Fixes #321712.
914 * gst/gstutils.c (g_static_rec_cond_wait)
915 (g_static_rec_cond_timed_wait): Removed, no longer needed.
917 * gst/gstbin.c: Remove terrible continue_state prototype.
919 * gst/gstelement.h (gst_element_continue_state): Make public.
922 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
923 by continue_state. Fixes #319389.
925 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
926 Really fixes #168438. However I don't see anywhere where the
927 filter function is called... stupid GStreamer...
929 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
930 don't have a dispose function, so it won't get called when the
931 object is unreffed, but oh well!
933 * gst/gstindex.c (gst_index_set_filter_full): New API function,
934 allows a destroy function to be set so user_data can be freed.
936 (gst_index_set_filter): Call gst_index_set_filter_full.
938 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
940 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
941 string should produce an error, given the lack of a way to
942 represent NULL strings. Fixes #165650.
945 * gst/gstvalue.c (gst_value_array_append_value)
946 (gst_value_array_prepend_value, gst_value_array_get_size)
947 (gst_value_array_get_value): New API, copied from
948 gst_value_list_*, only operates on arrays.
949 (gst_value_list_append_value, gst_value_list_prepend_value)
950 (gst_value_list_concat, gst_value_list_get_size)
951 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
953 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
954 init_list, because it works on both.
955 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
956 (gst_value_copy_list_or_array): Renamed from copy_list.
957 (gst_value_free_list_or_array): Renamed from free_list.
958 (gst_value_collect_list_or_array): Renamed from collect_list.
959 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
960 (gst_value_list_or_array_peek_pointer): Renamed from
962 (_gst_value_array_value_table, _gst_value_list_value_table):
963 Update value table functions.
964 (gst_value_compare_list_or_array): Renamed from compare_list.
966 * gsttaglist.h: Whoops, foreach function returns void. Also fix
970 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
971 GstTagList*. Fixes #143472.
973 * gst/gststructure.h: Clarify what the foreach/map functions can
974 or can't do to their arguments.
976 2005-11-18 Wim Taymans <wim@fluendo.com>
978 * gst/gstclock.c: (gst_clock_set_calibration),
979 (gst_clock_get_calibration):
981 Calibration can be set with internal time equal to current
984 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
990 2005-11-18 Andy Wingo <wingo@pobox.com>
993 * pkgconfig/gstreamer-net.pc.in:
994 * pkgconfig/gstreamer-net-uninstalled.pc.in:
995 * pkgconfig/Makefile.am: Add net pkgconfig files.
997 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1000 * gst/gstghostpad.c:
1006 2005-11-18 Andy Wingo <wingo@pobox.com>
1008 * gst/net/gstnetclientclock.c: Turn off debugging.
1010 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1011 times connverge somewhat. Can't make a real test.
1013 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1014 integer arithmetic. Return the minimum of the domain, which can be
1015 set as "internal" for gst_clock_set_calibration.
1016 (gst_net_client_clock_observe_times): Call _set_calibration.
1017 (gst_net_client_clock_new): Call _set_calibration instead of
1020 * check/net/gstnetclientclock.c (test_functioning): Use the right
1024 * gst/gstclock.c (gst_clock_get_calibration)
1025 (gst_clock_set_calibration): New functions, obsolete the ones I
1026 added yesterday. Doh. Precision issues mean we have to extrapolate
1027 from a point in the more recent past than 1970.
1028 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1030 (gst_clock_adjust_unlocked): Use the right calibration data.
1032 2005-11-18 Edward Hervey <edward@fluendo.com>
1034 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1035 Also reset the ->current_* values in READY->PAUSED
1037 2005-11-18 Andy Wingo <wingo@pobox.com>
1039 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1040 Whoops, check the right fd. Also add some debugging.
1041 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1042 (do_linear_regression): Add a crapload of debugging. Subtract off
1043 the minimum values from the input series to discard unneeded bits.
1044 Use only int arithmetic. There is still double arithmetic when
1045 calculating the intercept that needs fixing. Return boolean to
1046 indicate success; FALSE would mean the domain or range is too
1047 great. Still needs fixes.
1049 2005-11-18 Wim Taymans <wim@fluendo.com>
1051 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1052 For the current position in stream time, we need to subtract
1055 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1056 Release lock before calling the callback function of async
1059 2005-11-18 Andy Wingo <wingo@pobox.com>
1061 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1062 Port goes all the way to MAXUINT16.
1064 * gst/net/gstnettimeprovider.c: Make the port range the same as
1065 for the kernel: 0 assigns, otherwise ports are less than
1068 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1071 * check/net/gstnetclientclock.c (test_functioning): Add the start
1074 2005-11-18 Wim Taymans <wim@fluendo.com>
1076 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1077 (gst_bin_remove_func), (bin_bus_handler):
1079 Removing a clock provider from a bin, triggers a clock lost message
1080 so that a new clock will be selected.
1081 Adding a clock to a bin triggers a clock provider message.
1082 Make sure we reselect a clock when we received a clock lost message.
1083 Keep a reference to the element that provided the clock.
1085 2005-11-18 Andy Wingo <wingo@pobox.com>
1087 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1088 the clock initially so it produces values around the base time.
1089 (gst_net_client_clock_class_init): Typo fix.
1090 (gst_net_client_clock_thread): Add note on when the socket gets
1093 2005-11-17 Wim Taymans <wim@fluendo.com>
1095 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1096 Free remote and local time arrays.
1098 2005-11-17 Wim Taymans <wim@fluendo.com>
1100 * gst/net/gstnetclientclock.c: (do_linear_regression),
1101 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1102 Fix compilation, uninitialized vars and a forgotten continue.
1104 2005-11-17 Andy Wingo <wingo@pobox.com>
1106 * check/Makefile.am (check_PROGRAMS):
1107 * check/net/gstnetclientclock.c: Add a most minimal test for the
1108 net client clock. More to come later.
1111 * gst/net/Makefile.am: Add netclientclock.
1113 * gst/net/gstnetclientclock.h:
1114 * gst/net/gstnetclientclock.c: New files, implement an untested
1115 GstClock that takes its time from a network time provider.
1116 Implements the algorithm in network-clock.scm.
1118 * tests/network-clock.scm (*window-size*): Rename from
1120 * tests/network-clock.scm (network-time):
1121 * tests/network-clock-utils.scm (q-push): Update callers.
1123 2005-11-17 Wim Taymans <wim@fluendo.com>
1125 * gst/gstbin.c: (gst_bin_provide_clock_func),
1126 (gst_bin_sort_iterator_new):
1127 And unref the child too..
1129 2005-11-17 Wim Taymans <wim@fluendo.com>
1131 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1132 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1133 Refactor the sort iterator so it can be used while holding the
1135 Make clock selection select a clock closest to the source.
1137 2005-11-17 Michael Smith <msmith@fluendo.com>
1139 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1140 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1142 Anonymous structs are a gcc (and some other compilers) extension, so
1143 don't use them. Since this is only for ABI-compatibility, and our
1144 API/ABI freeze is over in a few days, this whole thing will only
1145 last a few days, so don't bother trying to think up a meaningful
1146 name for the struct.
1148 2005-11-17 Andy Wingo <wingo@pobox.com>
1150 * gst/gstclock.h (GstClock): Add rate and offset properties,
1151 preserving ABI stability. Add rate/offset accessors. Will file bug
1152 for the freeze break.
1154 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1155 and offset, trying to keep precision and avoiding
1157 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1158 functions. Make gst_clock_set_time_adjust obsolete.
1159 (gst_clock_set_time_adjust): Note that this function is obsolete.
1162 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1163 greppable by using GST_PADDING-1+1.
1165 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1167 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1169 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1170 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1172 * gst/gstpadtemplate.h:
1173 * gst/gstpluginfeature.h:
1174 Don't use c++ style comments in headers (#321638).
1176 2005-11-16 Andy Wingo <wingo@pobox.com>
1178 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1181 * check/net/gstnettimeprovider.c: Check to see that the time
1182 provider actually provides times. Works, yo!
1184 2005-11-16 Wim Taymans <wim@fluendo.com>
1186 * check/Makefile.am:
1189 * check/elements/fakesrc.c: (GST_START_TEST):
1190 Set element to NULL before disposing it.
1192 2005-11-16 Andy Wingo <wingo@pobox.com>
1194 * gst/net/Makefile.am:
1196 * gst/net/gstnettimeprovider.c:
1197 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1198 provider, include it from gstnet.h, and add it to the build.
1200 * gst/net/gstnettimepacket.h:
1201 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1202 sending and receiving.
1204 2005-11-16 Wim Taymans <wim@fluendo.com>
1206 * check/Makefile.am:
1207 Enable valgrind check.
1209 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1210 (gst_fake_src_alloc_buffer):
1213 2005-11-16 Wim Taymans <wim@fluendo.com>
1215 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1216 Call parent finalize too.
1218 2005-11-16 Wim Taymans <wim@fluendo.com>
1220 * check/Makefile.am:
1221 Enable valgrind check that should work fine now.
1223 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1224 * gst/gstqueue.c: (gst_queue_init):
1225 Fix memleaks in pad allocation.
1227 2005-11-16 Andy Wingo <wingo@pobox.com>
1229 * gst/net/Makefile.am:
1230 * gst/net/gstnet.h: New part of core to hold network elements and
1231 objects. Put in core because it exposes API that applications want
1232 to use. The library is named libgstnet-tempname right now because
1233 of the existing libgstnet in gst-plugins-base. Solution is
1234 probably to rename the one in plugins-base; will file a bug for
1237 * gst/net/gstnettimeprovider.c:
1238 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1239 get_time call over the network.
1242 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1244 * check/Makefile.am:
1245 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1246 get additions shortly.
1248 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1250 * gst/gstpad.c: (gst_pad_new_from_static_template):
1252 add gst_pad_new_from_static_template functions
1253 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1254 (gst_check_setup_sink_pad):
1255 * gst/elements/gsttee.c: (gst_tee_init):
1258 2005-11-16 Wim Taymans <wim@fluendo.com>
1260 * gst/gstpad.c: (gst_pad_pause_task):
1261 Removed warning, it's not really an error either.
1263 2005-11-16 Wim Taymans <wim@fluendo.com>
1265 * gst/base/gstbasetransform.c:
1266 (gst_base_transform_prepare_output_buf),
1267 (gst_base_transform_event):
1268 Check if the caps are NULL, this can happen if the element
1269 is shutting down and the pad caps are set to NULL.
1271 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1273 * gst/elements/gsttee.c: (gst_tee_init):
1274 fix pad template leak in tee
1276 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1278 * gst/glib-compat.c: (g_value_dup_gst_object):
1279 * gst/glib-compat.h:
1280 * gst/gstpad.c: (gst_pad_set_property):
1281 use gst_object_ref when setting the pad template; this will
1282 trigger the pad template leaks on GLib 2.6 and the slaves
1284 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1286 * gst/glib-compat.c: (gst_flags_get_first_value):
1287 * gst/glib-compat.h:
1288 * gst/gstregistryxml.c:
1289 remove functions copied from GLib 2.6
1291 2005-11-16 Michael Smith <msmith@fluendo.com>
1294 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1295 do, but only breaks with newer valgrind versions. We're not a
1296 valgrind tool, we have no link-time dependencies on libcoregrind.
1298 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1300 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1305 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1307 * gst/base/gstbasesrc.c: (gst_base_src_init):
1308 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1309 * gst/gstqueue.c: (gst_queue_init):
1310 * gst/gstregistryxml.c: (load_feature):
1311 Revert all these unrefs, they don't even pass make check !
1313 2005-11-15 Johan Dahlin <johan@gnome.org>
1315 * gst/base/gstbasesrc.c: (gst_base_src_init):
1316 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1317 * gst/gstqueue.c: (gst_queue_init):
1318 Free pad templates, fixes a couple of leaks.
1320 2005-11-15 Daniel Fischer <dan at f3c dot com>
1322 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1324 * gst/gstpad.c: (gst_pad_get_property):
1325 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1326 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1329 2005-11-15 Wim Taymans <wim@fluendo.com>
1334 2005-11-15 Andy Wingo <wingo@pobox.com>
1336 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1338 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1339 using GST_CLOCK_TIME_NONE to disable base time management.
1340 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1341 time if it was NONE before.
1342 (gst_pipeline_change_state): Only munge the base time if
1343 stream_time != GST_CLOCK_TIME_NONE.
1345 * check/gst/gstpipeline.c (test_base_time): Punt around the
1346 problem of the probe not being called, because that's not the
1347 issue I'm looking at. Add a check that setting stream_time to NONE
1348 disables base time management.
1350 2005-11-15 Wim Taymans <wim@fluendo.com>
1352 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1353 segment_stop == -1 at startup.
1355 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1356 (gst_base_transform_change_state):
1357 Init segment values at start.
1359 2005-11-15 Wim Taymans <wim@fluendo.com>
1361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1362 0 segment values are 0 in any format.
1364 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1365 * gst/base/gstbasetransform.h:
1366 Parse newsegment correctly in basetransform
1368 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1369 Sync to clock using updated segment values.
1371 2005-11-15 Andy Wingo <wingo@pobox.com>
1373 * check/gst/gstpipeline.c (test_base_time): Add check that the
1374 base time and stream time are reset correctly.
1376 2005-11-15 Wim Taymans <wim@fluendo.com>
1378 * docs/design/part-TODO.txt:
1379 Some more TODO items.
1381 2005-11-15 Andy Wingo <wingo@pobox.com>
1383 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1384 error if the user selected "no clock" as the clocking method.
1386 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1387 timestamps with live capture.
1389 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1390 is 0 but we are a live source, timestamp the buffers using the
1393 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1395 * docs/gst/gstreamer-sections.txt:
1397 * gst/gstghostpad.c:
1402 2005-11-14 Wim Taymans <wim@fluendo.com>
1405 add suppressions from Wim's Debian machine
1407 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1410 add suppressions from Andy's AMD64 Ubuntu machine
1412 2005-11-14 Andy Wingo <wingo@pobox.com>
1414 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1415 STATE_LOCK not necessary. Fixes #311489.
1417 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1420 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1421 this function is not implemented.
1423 2005-11-14 Julien MOUTTE <julien@moutte.net>
1425 * gst/base/gstbasetransform.c:
1426 (gst_base_transform_prepare_output_buf):
1427 Ref the source pad caps while we need them.
1430 2005-11-11 Wim Taymans <wim@fluendo.com>
1432 * docs/gst/gstreamer-sections.txt:
1433 Added some docs for GstCollectData.
1435 * gst/base/gstadapter.c:
1436 Some small code example fix.
1438 * gst/base/gstcollectpads.c:
1439 * gst/base/gstcollectpads.h:
1442 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1444 * configure.ac: back to HEAD
1446 === release 0.9.5 ===
1448 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1451 releasing 0.9.5, "Bike Lunch Day"
1453 2005-11-11 Wim Taymans <wim@fluendo.com>
1455 * gst/gstbuffer.c: (_gst_buffer_copy):
1458 * gst/gstcaps.c: (gst_caps_is_equal):
1460 Make _is_equal fast in the trivial cases.
1462 * gst/gstminiobject.c:
1463 * gst/gstminiobject.h:
1464 More docs. Spifify .h file.
1469 2005-11-11 Wim Taymans <wim@fluendo.com>
1471 * gst/base/gstbasetransform.c:
1472 (gst_base_transform_prepare_output_buf),
1473 (gst_base_transform_handle_buffer):
1475 If we're processing a buffer and need to allocate an output
1476 buffer, we cannot accept a format change. If we did get a
1477 format change, we have to alloc a buffer ourselves of the
1480 2005-11-11 Wim Taymans <wim@fluendo.com>
1482 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1483 While checking the flag for reentrancy in the gstcaps function
1484 is nice to detect recursive invocations, it also makes it
1485 impossible to call getcaps from multiple threads, which must be
1486 possible. So, checking for recursive calls has to go.
1488 2005-11-11 Michael Smith <msmith@fluendo.com>
1490 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1491 Don't sync on buffers that fall partially outside our current
1492 segment. Prevents an assertion failure/abort playing some files.
1494 2005-11-10 Andy Wingo <wingo@pobox.com>
1496 * check/gst/gstbin.c (test_message_state_changed_children): Style
1499 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1500 gst_bus_poll with the signal watch. Ensures that poll and a signal
1501 watch see the same messages.
1503 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1504 a poll and a watch at the same time get the same messages.
1506 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1508 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1509 * gst/gstcaps.c: (gst_caps_intersect):
1510 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1511 and it's not needed.
1513 2005-11-10 Wim Taymans <wim@fluendo.com>
1515 * docs/design/part-TODO.txt:
1518 2005-11-10 Wim Taymans <wim@fluendo.com>
1520 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1521 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1522 (gst_base_src_do_sync), (gst_base_src_get_range):
1523 Implement clock sync in base class.
1525 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1527 patch by: Tim-Philipp Müller <tim at centricular dot net>
1529 * gst/gststructure.c: (gst_structure_parse_field),
1530 (gst_structure_from_string):
1531 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1532 so that gst_parse_launch() can deal with spaces in filtered link
1533 caps (fixes #164479)
1534 * check/gst/capslist.h:
1535 * check/gst/gststructure.c: (GST_START_TEST):
1536 add unit tests for this change
1538 2005-11-10 Wim Taymans <wim@fluendo.com>
1540 * docs/gst/gstreamer-sections.txt:
1543 Fix docs, move some STATE macros to private.
1545 2005-11-10 Wim Taymans <wim@fluendo.com>
1547 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1548 Added check for bug #317341
1552 Some more spiffifying.
1554 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1555 Call peer linkfunction if we are a source pad. Totally fixes
1559 Update docs, source pads should call the peer linkfunction
1560 so they can atomically perform the pad link.
1562 2005-11-09 Wim Taymans <wim@fluendo.com>
1566 Uber-spiffy-spiffify some more.
1568 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1570 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1571 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1572 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1573 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1574 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1575 * gst/gstpad.c: (gst_pad_init):
1576 Use GST_DEBUG_FUNCPTR() more extensively.
1578 2005-11-09 Wim Taymans <wim@fluendo.com>
1580 * gst/gstobject.c: (gst_object_class_init):
1582 Documentation fixes.
1584 2005-11-09 Edward Hervey <edward@fluendo.com>
1586 * gst/gsttypefindfactory.c:
1589 2005-11-09 Edward Hervey <edward@fluendo.com>
1591 * gst/base/gsttypefindhelper.c:
1592 * gst/gsttypefind.c:
1593 * gst/gsttypefind.h:
1596 2005-11-09 Wim Taymans <wim@fluendo.com>
1598 * gst/gstiterator.c:
1605 2005-11-09 Wim Taymans <wim@fluendo.com>
1611 2005-11-09 Wim Taymans <wim@fluendo.com>
1613 * docs/gst/gstreamer-sections.txt:
1614 Moved the message async delivery private lock and cond
1615 to the private section.
1621 2005-11-09 Edward Hervey <edward@fluendo.com>
1623 * docs/gst/gstreamer-sections.txt:
1626 Document GstURIHandler
1628 2005-11-09 Wim Taymans <wim@fluendo.com>
1630 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1631 (gst_iterator_find_custom):
1632 * gst/gstiterator.h:
1635 2005-11-09 Wim Taymans <wim@fluendo.com>
1638 Document another field.
1640 * gst/gststructure.c:
1641 * gst/gststructure.h:
1644 2005-11-09 Wim Taymans <wim@fluendo.com>
1649 2005-11-09 Wim Taymans <wim@fluendo.com>
1651 * docs/gst/gstreamer-sections.txt:
1652 Added some new macros.
1659 2005-11-09 Wim Taymans <wim@fluendo.com>
1661 * docs/design/part-TODO.txt:
1662 Some more items for the TODO
1668 2005-11-09 Andy Wingo <wingo@pobox.com>
1670 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1671 to work on something else now tho...
1673 * gst/base/gstadapter.c: More adapter docs.
1675 * gst/elements/gstfilesink.c (gst_file_sink_start)
1676 (gst_file_sink_stop): New functions, replace the state change
1678 (gst_file_sink_class_init): Hook up the start and stop functions.
1679 (gst_file_sink_base_init): Don't set the state change handler any
1680 more. It was a bit ugly too, being set from here...
1681 (gst_file_sink_get_property, gst_file_sink_set_property):
1683 (gst_file_sink_set_location): More robust check that doesn't call
1686 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1688 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1689 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1691 2005-11-08 Wim Taymans <wim@fluendo.com>
1693 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1694 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1695 (gst_base_sink_chain), (gst_base_sink_change_state):
1696 * gst/base/gstbasesink.h:
1697 * gst/base/gstbasesrc.h:
1700 Avoid excessive typechecking in macros.
1702 * gst/gstminiobject.c: (gst_mini_object_get_type),
1703 (gst_mini_object_init), (gst_mini_object_new),
1704 (gst_mini_object_free):
1705 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1706 (gst_object_finalize):
1707 Remove cruft code, optimize alloc_trace.
1709 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1711 * docs/faq/gst-uninstalled:
1712 fix up PS1 for systems that try to reset it
1714 2005-11-07 Wim Taymans <wim@fluendo.com>
1716 * gst/base/gstbasesrc.c: (gst_base_src_init),
1717 (gst_base_src_get_range):
1718 Set the segment_end to -1 initially. Fixed typefind.
1720 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1722 * gst/base/gstadapter.c:
1723 Debug category should be 'adapter', not 'GstAdapter'.
1725 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1726 (gst_collectpads_class_init), (gst_collectpads_init),
1727 (gst_collectpads_peek), (gst_collectpads_pop),
1728 (gst_collectpads_event), (gst_collectpads_chain):
1729 Add debug category and some debugging output. Use boilerplate
1730 macros. Remove some extraneous words from docs.
1732 2005-11-05 Andy Wingo <wingo@pobox.com>
1734 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1737 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1739 * docs/gst/gstreamer-sections.txt:
1742 * gst/gstminiobject.h:
1747 2005-11-04 Wim Taymans <wim@fluendo.com>
1749 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1750 Small update to stop at the configured segment_end
1753 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1755 * gst/gstregistry.c:
1756 * gst/gstregistry.h:
1759 2005-11-04 Edward Hervey <edward@fluendo.com>
1761 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1762 Check if we are doing a segment seek and have arrived at the
1763 end of that segment.
1765 2005-11-04 Wim Taymans <wim@fluendo.com>
1767 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1768 Don't leak a mutex unlock in case of an error.
1773 2005-11-04 Wim Taymans <wim@fluendo.com>
1775 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1777 Get the context to wake up only once.
1779 2005-11-03 Wim Taymans <wim@fluendo.com>
1781 * check/states/sinks.c: (GST_START_TEST):
1782 Uncomment fixed check.
1784 * docs/design/part-TODO.txt:
1787 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1788 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1789 (gst_base_sink_get_position):
1790 If we are going to PLAYING, post the right pending state
1791 when we post the intermediate paused message.
1793 * gst/gstelement.c: (gst_element_continue_state),
1794 (gst_element_set_state_func), (gst_element_change_state):
1795 Don't post state changes that were between the same state
1798 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1800 * docs/gst/gstreamer-sections.txt:
1803 * gst/gstminiobject.h:
1806 more docs and doc style fixes
1808 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1810 * docs/gst/gstreamer-sections.txt:
1812 * gst/gstminiobject.c:
1815 2005-11-03 Andy Wingo <wingo@pobox.com>
1817 * check/states/sinks.c (test_livesrc_sink): Add checks that the
1818 state-changed messages actually have the right order and the right
1821 2005-11-03 Wim Taymans <wim@fluendo.com>
1823 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1824 Added some more checks. Specifically the case where NO_PREROLL
1825 elements are in the pipeline.
1827 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1828 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1829 (gst_base_sink_get_position):
1830 Post READY->PAUSED state change messages too.
1831 Fix bug where VOID was posted as pending state...
1833 * gst/gstbin.c: (gst_bin_recalc_state):
1834 use _element_continue_state() to continue the state change.
1836 * gst/gstelement.c: (gst_element_continue_state),
1837 (gst_element_commit_state), (gst_element_set_state_func),
1838 (gst_element_change_state), (gst_element_change_state_func):
1839 Lots of state change cleanups, assign the STATE_RETURN in
1840 a new continue_state() function that also propagates the
1841 last return value from a state change to the app.
1842 Update some debug statements with proper category.
1844 2005-11-03 Wim Taymans <wim@fluendo.com>
1846 * docs/design/part-events.txt:
1847 * docs/design/part-gstpipeline.txt:
1848 * docs/design/part-messages.txt:
1849 * docs/design/part-overview.txt:
1850 * docs/design/part-seeking.txt:
1851 * docs/design/part-states.txt:
1852 * docs/design/part-trickmodes.txt:
1853 * docs/manual/advanced-position.xml:
1857 People think !! is ugly, this looks better.
1859 * gst/gstpad.c: (gst_pad_set_blocked_async):
1860 Remove !! since it's fixed elsewhere now.
1862 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1864 * gst/gstminiobject.h:
1866 Add !! to _FLAG_IS_SET macros to make the result boolean.
1868 2005-11-03 Edward Hervey <edward@fluendo.com>
1870 * gst/gstpad.c: (gst_pad_set_blocked_async):
1871 comparing a flag and a gboolean rarely returns coherent results...
1872 Added two characters (!!) to make that work correctly.
1874 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1876 * gst/gstbus.c: (gst_bus_class_init):
1879 * gst/gstqueue.c: (gst_queue_loop):
1880 Don't assume a miniobject that isn't a buffer is an
1881 event (it could be that there is a refcounting
1882 problem somewhere and the pointer is stale and
1883 refers to an already destroyed miniobject).
1885 2005-11-03 Julien MOUTTE <julien@moutte.net>
1887 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1889 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1891 * docs/manual/advanced-position.xml:
1892 Update seek example and explanations to current 0.9 API.
1894 * gst/elements/gsttypefindelement.c:
1895 (gst_type_find_element_activate):
1896 Remove FIXME comment now that the found caps
1899 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
1901 * gst/gstregistryxml.c: (load_feature):
1902 Add another GST_STR_NULL instance
1904 2005-11-02 Edward Hervey <edward@fluendo.com>
1906 * gst/gstpad.c: (handle_pad_block):
1907 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1909 2005-11-02 Wim Taymans <wim@fluendo.com>
1914 * gst/gstelement.c: (gst_element_commit_state):
1915 Remove unused value.
1917 * gst/gstiterator.c:
1918 Mention that the returned element is reffed in the docs.
1920 2005-11-02 Wim Taymans <wim@fluendo.com>
1922 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1923 (gst_pad_push), (gst_pad_push_event):
1924 Unlock blocked pads when they are flushed.
1926 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1929 * docs/gst/gstreamer-sections.txt:
1932 * gst/gstregistry.c: (gst_registry_scan_path_level):
1933 fix for a nasty little missed situation where an installed plug-in
1934 which was in the cache did not get overridden by an uninstalled one
1935 which was earlier in the plugin path because the newly created plugin
1936 for the uninstalled one (not in the registry) didn't get its
1937 ->registered set to TRUE
1939 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1941 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1942 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1943 (gst_collectpads_is_active), (gst_collectpads_collect),
1944 (gst_collectpads_collect_range), (gst_collectpads_start),
1945 (gst_collectpads_stop), (gst_collectpads_peek),
1946 (gst_collectpads_pop), (gst_collectpads_available),
1947 (gst_collectpads_read), (gst_collectpads_flush):
1948 Guard public API with assertions.
1951 Fix docs for gst_pad_set_link_function().
1953 2005-11-02 Johan Dahlin <johan@gnome.org>
1955 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
1956 Unref found_caps after we used it.
1958 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1960 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1961 Don't try to ref NULL.
1963 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1965 * win32/common/config.h.in:
1966 provide a GST_FUNCTION that just gives a string for now
1968 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1970 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1971 (gst_object_flags_get_type), (register_gst_bin_flags),
1972 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1973 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1974 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1975 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1976 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1977 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1978 (gst_clock_flags_get_type), (register_gst_state),
1979 (gst_state_get_type), (register_gst_state_change_return),
1980 (gst_state_change_return_get_type), (register_gst_state_change),
1981 (gst_state_change_get_type), (register_gst_element_flags),
1982 (gst_element_flags_get_type), (register_gst_core_error),
1983 (gst_core_error_get_type), (register_gst_library_error),
1984 (gst_library_error_get_type), (register_gst_resource_error),
1985 (gst_resource_error_get_type), (register_gst_stream_error),
1986 (gst_stream_error_get_type), (register_gst_event_type),
1987 (gst_event_type_get_type), (register_gst_seek_type),
1988 (gst_seek_type_get_type), (register_gst_seek_flags),
1989 (gst_seek_flags_get_type), (register_gst_format),
1990 (gst_format_get_type), (register_gst_index_certainty),
1991 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1992 (gst_index_entry_type_get_type),
1993 (register_gst_index_lookup_method),
1994 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1995 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1996 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1997 (gst_index_flags_get_type), (register_gst_debug_level),
1998 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1999 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2000 (gst_iterator_result_get_type), (register_gst_iterator_item),
2001 (gst_iterator_item_get_type), (register_gst_message_type),
2002 (gst_message_type_get_type), (register_gst_mini_object_flags),
2003 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2004 (gst_pad_link_return_get_type), (register_gst_flow_return),
2005 (gst_flow_return_get_type), (register_gst_activate_mode),
2006 (gst_activate_mode_get_type), (register_gst_pad_direction),
2007 (gst_pad_direction_get_type), (register_gst_pad_flags),
2008 (gst_pad_flags_get_type), (register_gst_pad_presence),
2009 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2010 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2011 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2012 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2013 (gst_plugin_flags_get_type), (register_gst_rank),
2014 (gst_rank_get_type), (register_gst_query_type),
2015 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2016 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2017 (gst_tag_flag_get_type), (register_gst_task_state),
2018 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2019 (gst_alloc_trace_flags_get_type),
2020 (register_gst_type_find_probability),
2021 (gst_type_find_probability_get_type), (register_gst_uri_type),
2022 (gst_uri_type_get_type), (register_gst_parse_error),
2023 (gst_parse_error_get_type):
2024 * win32/common/gstversion.h:
2027 2005-11-01 Luca Ognibene <luogni@tin.it>
2030 fix docs. popt is dead, long live GOption.
2032 2005-10-31 Wim Taymans <wim@fluendo.com>
2037 2005-10-31 Andy Wingo <wingo@pobox.com>
2041 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2043 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2044 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2045 the possibility of deadlocks here if code calling notify() or
2046 set() has a lock that can be taken in another notify handler (ABBA
2047 with class lock and e.g. python GIL state lock).
2049 2005-10-28 Julien MOUTTE <julien@moutte.net>
2051 * gst/gstbus.c: Doc updates.
2053 2005-10-28 Wim Taymans <wim@fluendo.com>
2055 * docs/design/part-TODO.txt:
2056 * gst/gstiterator.c:
2057 * gst/gstsystemclock.c:
2058 * gst/gstsystemclock.h:
2061 2005-10-28 Edward Hervey <edward@fluendo.com>
2063 * docs/gst/gstreamer-docs.sgml:
2064 * docs/gst/gstreamer-sections.txt:
2065 the GstURIType documentation page is private, it only defines GstURIType
2066 which should be defined in the GstURIHandler page
2068 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2070 * gst/gstbin.c: (gst_bin_class_init):
2073 Documentation updates.
2075 2005-10-28 Wim Taymans <wim@fluendo.com>
2077 * docs/gst/gstreamer-sections.txt:
2080 Documented the clocks.
2082 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2084 * docs/gst/gstreamer-sections.txt:
2085 move some macros to private sections
2086 * gst/gstminiobject.c:
2087 * gst/gstminiobject.h:
2088 add descriptions provided by ds and some more
2090 mark macro as to be removed
2092 2005-10-28 Wim Taymans <wim@fluendo.com>
2094 * docs/design/part-TODO.txt:
2095 Add an item to TODO.
2097 * gst/gstiterator.c: (gst_iterator_fold),
2098 (gst_iterator_find_custom):
2099 * gst/gstiterator.h:
2102 2005-10-28 Wim Taymans <wim@fluendo.com>
2104 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2105 (gst_base_transform_init):
2108 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2109 An EOS event marks the queue as completely filled.
2111 2005-10-27 Wim Taymans <wim@fluendo.com>
2113 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2114 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2115 Some more debugging.
2117 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2118 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2119 (gst_base_transform_event), (gst_base_transform_getrange),
2120 (gst_base_transform_chain):
2121 * gst/base/gstbasetransform.h:
2123 Protect transform and concurrent buffer alloc with a new lock.
2124 Try not to break ABI/API.
2126 2005-10-27 Wim Taymans <wim@fluendo.com>
2128 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2129 (gst_base_src_init), (gst_base_src_query),
2130 (gst_base_src_default_newsegment),
2131 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2132 (gst_base_src_send_event), (gst_base_src_event_handler),
2133 (gst_base_src_pad_get_range), (gst_base_src_loop),
2134 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2135 (gst_base_src_start), (gst_base_src_deactivate),
2136 (gst_base_src_activate_push), (gst_base_src_change_state):
2137 Move some stuff around and cleanup things.
2139 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2141 * gst/base/gstbasesrc.c: (gst_base_src_query):
2142 Add missing break statements.
2144 2005-10-27 Wim Taymans <wim@fluendo.com>
2146 * check/gst/gstbin.c: (GST_START_TEST):
2147 An extra refcount is taken in basesrc.
2149 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2150 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2151 (gst_base_src_loop):
2152 Small cleanups, check for flushing after being unlocked from the
2153 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2154 Don't send out EOS when going to READY.
2156 2005-10-27 Wim Taymans <wim@fluendo.com>
2158 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2159 (gst_base_sink_get_position):
2162 * gst/gstbin.c: (message_check), (bin_replace_message),
2163 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2164 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2165 (bin_query_duration_init), (bin_query_duration_fold),
2166 (bin_query_duration_done), (bin_query_generic_fold),
2168 * tools/gst-launch.c: (main):
2171 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2173 * examples/controller/audio-example.c: (main):
2174 * examples/queue/queue.c: (event_loop):
2175 * gst/base/gstbasetransform.h:
2176 * gst/gstelement.c: (gst_element_send_event):
2178 * gst/gstpad.c: (gst_pad_send_event):
2181 changing log priority in error situations
2183 2005-10-25 Wim Taymans <wim@fluendo.com>
2185 * gst/gstbin.c: (message_check), (bin_replace_message),
2186 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2187 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2188 (bin_query_duration_init), (bin_query_duration_fold),
2189 (bin_query_duration_done), (bin_query_generic_fold),
2191 Some doc and debug updates.
2192 Cache previously requested query DURATION for speed. invalidate
2193 cached duration if element posts a DURATION message.
2195 2005-10-25 Wim Taymans <wim@fluendo.com>
2197 * docs/design/part-TODO.txt:
2200 * gst/gstbin.c: (message_check), (bin_replace_message),
2201 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2202 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2203 (bin_query_duration_init), (bin_query_duration_fold),
2204 (bin_query_duration_done), (bin_query_generic_fold),
2206 Handle SEGMENT_START/DONE messages correctly.
2207 More evolved query algorithm that handles duration queries
2210 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2211 (gst_element_get_state_func), (gst_element_abort_state),
2212 (gst_element_commit_state), (gst_element_lost_state):
2213 Some more debugging.
2218 2005-10-25 Wim Taymans <wim@fluendo.com>
2220 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2221 Don't use invalid stream_time.
2223 * gst/gstevent.c: (gst_event_new_newsegment):
2224 stream_time in newsegment cannot be undefined.
2226 2005-10-24 Wim Taymans <wim@fluendo.com>
2231 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2233 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2235 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2237 * docs/libs/tmpl/gstdparam.sgml:
2238 * docs/libs/tmpl/gstdplinint.sgml:
2239 * docs/libs/tmpl/gstdpman.sgml:
2240 * docs/libs/tmpl/gstdpsmooth.sgml:
2241 * docs/libs/tmpl/gstunitconvert.sgml:
2244 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2249 === release 0.9.4 ===
2251 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2254 releasing 0.9.4, "Tyrannosaurus Rex"
2256 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2258 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2259 (gst_file_sink_get_current_offset):
2260 Use fseeko() and ftello() if available. When falling back on
2261 lseek() to get the current offset, fflush() first to make sure
2262 everything is up-to-date and we get the right offset.
2264 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2267 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2268 * gst/gsterror.c: (_gst_stream_errors_init):
2270 * gst/gstqueue.c: (gst_queue_loop):
2272 remove prematurely added error category and clean up the instances
2274 2005-10-21 Wim Taymans <wim@fluendo.com>
2276 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2277 (gst_base_sink_get_position), (gst_base_sink_query),
2278 (gst_base_sink_change_state):
2279 Simply set the right flag when going to playing, that's all
2280 we need to do instead of calling a function inside the object
2281 lock (that could take the lock as well and deadlock)
2283 2005-10-21 Wim Taymans <wim@fluendo.com>
2285 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2286 (gst_base_src_loop):
2287 Don't warn, the peer element knows what to do best when
2288 the seek failed, it might try something else.
2290 2005-10-21 Wim Taymans <wim@fluendo.com>
2292 * gst/base/gstbasesrc.c: (gst_base_src_init),
2293 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2296 2005-10-21 Wim Taymans <wim@fluendo.com>
2298 * docs/design/part-segments.txt:
2301 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2302 Correctly set caps, even on the subbufer.
2304 2005-10-21 Wim Taymans <wim@fluendo.com>
2306 * docs/gst/gstreamer-docs.sgml:
2307 * docs/gst/gstreamer-sections.txt:
2314 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2318 And 2% more doc coverage.
2320 2005-10-21 Andy Wingo <wingo@pobox.com>
2322 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2325 2005-10-20 Wim Taymans <wim@fluendo.com>
2327 * gst/gsterror.c: (gst_error_get_message):
2330 * gst/gststructure.c:
2335 2005-10-20 Wim Taymans <wim@fluendo.com>
2340 Another 1% more coverage.
2342 2005-10-20 Wim Taymans <wim@fluendo.com>
2344 * docs/gst/gstreamer-sections.txt:
2345 * gst/gstelement.c: (gst_element_get_state_func),
2346 (gst_element_abort_state), (gst_element_commit_state),
2347 (gst_element_lost_state):
2349 * gst/gstquery.c: (gst_query_set_position),
2350 (gst_query_parse_position), (gst_query_set_duration),
2351 (gst_query_parse_duration), (gst_query_new_convert):
2353 Yay! 1% more docs coverage.
2355 2005-10-20 Wim Taymans <wim@fluendo.com>
2358 * gst/gstquery.c: (gst_query_set_position),
2359 (gst_query_parse_position), (gst_query_set_duration),
2360 (gst_query_parse_duration), (gst_query_new_convert):
2362 * gst/gstutils.c: (gst_element_query_convert):
2364 Docs and consistency fixes.
2366 2005-10-20 Wim Taymans <wim@fluendo.com>
2372 2005-10-20 Wim Taymans <wim@fluendo.com>
2374 * gst/gstbin.c: (message_check), (bin_replace_message),
2375 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2376 (update_degree), (gst_bin_sort_iterator_next),
2377 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2378 Reworked the message handling a bit, cache the messages instead of
2379 only the senders. alows us to do more in the future.
2381 2005-10-20 Wim Taymans <wim@fluendo.com>
2383 * docs/design/part-TODO.txt:
2386 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2387 (gst_base_sink_query):
2388 Don't use clock time to report position when in EOS.
2390 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2392 * tools/gst-inspect.c: (print_interfaces),
2393 (print_element_properties_info), (print_element_info):
2394 Fix interface output with gst-inspect -a; don't print
2395 newlines after double/float properties.
2397 2005-10-20 Wim Taymans <wim@fluendo.com>
2399 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2400 (gst_base_sink_query):
2401 Speed up current position calculation.
2403 * gst/base/gstbasesrc.c: (gst_base_src_query),
2404 (gst_base_src_default_newsegment):
2405 Correctly set stream position in newsegment.
2407 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2408 (update_degree), (gst_bin_sort_iterator_next),
2409 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2410 * gst/gstmessage.c: (gst_message_new_custom):
2411 Clean up debugging info
2413 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2414 (gst_queue_loop), (gst_queue_handle_src_query):
2417 2005-10-19 Wim Taymans <wim@fluendo.com>
2419 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2420 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2421 Fix query handling again.
2423 2005-10-19 Wim Taymans <wim@fluendo.com>
2425 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2426 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2427 * gst/base/gstbasesrc.c: (gst_base_src_query):
2428 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2429 * gst/elements/gsttypefindelement.c:
2430 (gst_type_find_handle_src_query), (find_element_get_length),
2431 (gst_type_find_element_activate):
2434 * gst/gstquery.c: (gst_query_new_position),
2435 (gst_query_set_position), (gst_query_parse_position),
2436 (gst_query_new_duration), (gst_query_set_duration),
2437 (gst_query_parse_duration), (gst_query_set_segment),
2438 (gst_query_parse_segment):
2440 Bundling query position/duration is not a good idea since duration
2441 does not change much and we don't want to recalculate it for every
2442 position query, so they are separated again..
2443 Base value in segment query is not needed.
2445 * gst/gstqueue.c: (gst_queue_handle_src_query):
2446 * gst/gstutils.c: (gst_element_query_position),
2447 (gst_element_query_duration), (gst_pad_query_position),
2448 (gst_pad_query_duration):
2450 Updates for query API change.
2451 Added some docs here and there.
2453 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2455 * check/gst/gstbin.c: (GST_START_TEST):
2456 * check/gst/gstghostpad.c: (GST_START_TEST):
2457 * check/pipelines/cleanup.c: (GST_START_TEST):
2458 wait on thread to die so we can check refcount correctly
2460 2005-10-18 Wim Taymans <wim@fluendo.com>
2462 * check/pipelines/stress.c: (GST_START_TEST):
2463 Make check a little more time consuming.
2465 2005-10-18 Wim Taymans <wim@fluendo.com>
2467 * check/Makefile.am:
2468 * check/pipelines/stress.c: (GST_START_TEST),
2469 (simple_launch_lines_suite), (main):
2470 Small state change torture test.
2472 * docs/design/part-states.txt:
2473 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2474 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2475 (gst_base_sink_change_state):
2476 Never take state lock from streaming thread, clean up ugly
2477 hacks. Unfortunatly core does not yet support nice ways to
2480 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2482 Start state recalc if a STATE_DIRTY message is posted, but only
2483 on the toplevel bin.
2485 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2486 (gst_element_get_state_func), (gst_element_abort_state),
2487 (gst_element_commit_state), (gst_element_lost_state),
2488 (gst_element_set_state_func), (gst_element_change_state):
2490 State variables are now protected with the LOCK, the state
2491 lock is only used to serialize _set_state().
2493 2005-10-18 Wim Taymans <wim@fluendo.com>
2495 * check/gst/gstbin.c: (GST_START_TEST):
2496 * check/gst/gstmessage.c: (GST_START_TEST):
2497 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2498 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2500 * gst/gstelement.c: (gst_element_abort_state),
2501 (gst_element_commit_state), (gst_element_lost_state):
2502 * gst/gstmessage.c: (gst_message_new_state_changed),
2503 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2504 (gst_message_new_segment_done), (gst_message_new_duration),
2505 (gst_message_parse_state_changed),
2506 (gst_message_parse_segment_start),
2507 (gst_message_parse_segment_done), (gst_message_parse_duration):
2509 * tools/gst-launch.c: (event_loop):
2510 Seriously, this is better than a previous commit as we only need
2511 to notify the fact that an element changed state in a streaming
2512 thread, marking the state of the parents dirty, hence the
2513 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2516 2005-10-18 Wim Taymans <wim@fluendo.com>
2518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2519 (gst_bin_recalc_func):
2520 * gst/gstelement.c: (gst_element_set_clock),
2521 (gst_element_abort_state), (gst_element_lost_state):
2522 Cleanups, prepare for state change fixes.
2524 2005-10-18 Wim Taymans <wim@fluendo.com>
2527 * gst/gstelement.c: (gst_element_class_init),
2528 (gst_element_set_state), (gst_element_set_state_func):
2530 Pending ABI changes.
2531 GThreadPool in GstBinClass to monitor async state changes.
2532 state_cookie in GstElement to detect concurrent gst/set state.
2533 set_state is now virtual too in case a very complicated element
2534 has to be constructed.
2536 2005-10-18 Wim Taymans <wim@fluendo.com>
2538 * check/gst/gstbin.c: (GST_START_TEST):
2539 * check/gst/gstmessage.c: (GST_START_TEST):
2540 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2541 * gst/gstbin.c: (bin_bus_handler):
2542 * gst/gstelement.c: (gst_element_commit_state),
2543 (gst_element_lost_state):
2544 * gst/gstmessage.c: (gst_message_new_state_changed),
2545 (gst_message_new_segment_start), (gst_message_new_segment_done),
2546 (gst_message_new_duration), (gst_message_parse_state_changed),
2547 (gst_message_parse_segment_start),
2548 (gst_message_parse_segment_done), (gst_message_parse_duration):
2550 * tools/gst-launch.c: (event_loop):
2551 Make messages future proof.
2552 state-change gets a flag if it was a message comming from the
2554 segment-start/stop can also be specified in other formats.
2555 A message to notify an app that a pipeline changed playback
2557 Also fix a GstMessage leak in -launch
2559 2005-10-18 Andy Wingo <wingo@pobox.com>
2561 * gst/gstelement.c (gst_element_dispose): More helpful message.
2563 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2565 reviewed by: <delete if not using a buddy>
2567 * common/gtk-doc.mak:
2569 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2571 * gst/gstregistry.c: (gst_registry_scan_path_level):
2572 unref a plug-in we get that was already initialized
2574 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2576 * docs/gst/gstreamer-sections.txt:
2577 * docs/libs/gstreamer-libs-sections.txt:
2582 2005-10-17 Andy Wingo <wingo@pobox.com>
2584 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2587 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2589 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2591 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2592 (gst_element_get_state_func): Better debug message.
2593 (gst_element_commit_state): s/INFO/DEBUG/.
2594 (gst_element_lost_state, gst_element_change_state):
2596 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2597 (gst_message_new_custom): s/INFO/LOG/.
2599 2005-10-17 Michael Smith <msmith@fluendo.com>
2601 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2602 Check if end time is valid using end time, not start time.
2604 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2606 * check/gst-libs/controller.c: (GST_START_TEST),
2607 (gst_controller_suite):
2608 * libs/gst/controller/gstcontroller.c:
2609 (gst_controlled_property_set_interpolation_mode):
2610 * libs/gst/controller/gstcontroller.h:
2611 * libs/gst/controller/gstinterpolation.c:
2612 * testsuite/controller/.cvsignore:
2613 * testsuite/controller/Makefile.am:
2614 * testsuite/controller/interpolator.c:
2615 merge controller testsuites
2617 remove mem-chunk from docs
2619 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2621 * gst/gstmemchunk.c:
2622 * gst/gstmemchunk.h:
2623 * gst/gsttrashstack.c:
2624 * gst/gsttrashstack.h:
2625 out. get out. you're fired. to the Attic !
2627 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2629 * gst/gstcaps.c: (gst_caps_intersect):
2630 fix signedness issues in a (hopefully) correct way
2631 * gst/gstelement.c: (gst_element_pads_activate):
2633 * gst/gstobject.c: (gst_object_set_parent):
2636 2005-10-17 Julien MOUTTE <julien@moutte.net>
2638 * gst/gstvalue.h: Fix prototypes.
2640 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2642 * docs/gst/gstreamer-sections.txt:
2643 * gst/gst.c: (gst_version_string):
2645 * gst/gstversion.h.in:
2646 * win32/common/libgstreamer.def:
2647 add gst_version_string ()
2649 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2653 * gst/gst.c: (init_post):
2654 * win32/common/config.h.in:
2656 * gst/gstcaps.c: (gst_caps_intersect):
2657 use gint64, the range could be bigger than a guint
2659 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2662 document potential problem in 2038
2664 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2666 * gst/gstcaps.c: (gst_caps_intersect):
2667 Fix guint j diving under 0
2669 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2672 * win32/common/config.h:
2673 * win32/common/config.h.in:
2674 check for process.h, declares getpid() on Windows
2676 include process.h if we have it
2677 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2678 * gst/gstmemchunk.h:
2679 fix signedness issues
2680 * win32/common/libgstreamer.def:
2683 2005-10-16 Julien MOUTTE <julien@moutte.net>
2685 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2686 fix. Because of unsigned ints, caps intersection was going nuts and
2687 trying to access structures with G_MAXUINT index. That fixes
2688 videotestsrc ! ffmpegcolorspace ! fakesink
2689 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2692 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2695 use the gettext macro
2696 * gst/elements/gstelements.c:
2698 * gst/indexers/gstindexers.c:
2699 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2700 * win32/common/config.h:
2702 * win32/common/config.h.in:
2703 add the template to generate config.h
2704 * win32/common/gstenumtypes.c:
2705 * win32/common/gstversion.h:
2708 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2710 * gst/gst.c: (gst_version):
2711 * gst/gstversion.h.in:
2714 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2717 Oops, add missing closing bracket.
2719 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2722 use common m4's for argument checking
2724 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2726 * docs/gst/gstreamer-sections.txt:
2728 Add GST_EVENT_TYPE_NAME() macro.
2730 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2733 * gst/gstpluginfeature.c:
2735 privatize more symbols
2737 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2740 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2741 everything that uses GStreamer API should have the includes
2743 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2745 * docs/gst/gstreamer-sections.txt:
2746 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2748 give each value a _get_type, removes the DATA exports
2750 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2754 remove _gst_registry_auto_load, not used anymore
2755 * gst/gstbin.c: (gst_bin_get_type):
2757 * gst/gstelement.c: (gst_element_get_type):
2759 * gst/gstobject.c: (gst_object_get_type):
2761 * gst/gstpad.c: (gst_pad_get_type):
2763 make _get_type functions similar, fixes data export from library
2765 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2768 correctly make conditionals
2769 * gst/elements/Makefile.am:
2770 * gst/elements/gstelements.c:
2771 fix typo causing fdsrc not to build
2773 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2775 * testsuite/Makefile.am:
2776 * testsuite/bytestream/.cvsignore:
2777 * testsuite/bytestream/Makefile.am:
2778 * testsuite/bytestream/filepadsink.c:
2779 * testsuite/bytestream/gstbstest.c:
2780 * testsuite/bytestream/test1.c:
2781 * testsuite/bytestream/testfile1:
2782 * testsuite/caps/normalisation.c:
2783 * testsuite/caps/random.c: (main):
2784 * testsuite/cleanup/.cvsignore:
2785 * testsuite/cleanup/Makefile.am:
2786 * testsuite/cleanup/cleanup1.c:
2787 * testsuite/cleanup/cleanup2.c:
2788 * testsuite/cleanup/cleanup3.c:
2789 * testsuite/cleanup/cleanup4.c:
2790 * testsuite/cleanup/cleanup5.c:
2791 * testsuite/controller/interpolator.c:
2792 * testsuite/debug/printf_extension.c: (main):
2793 * testsuite/elements/tee.c:
2794 * testsuite/negotiation/.cvsignore:
2795 * testsuite/negotiation/Makefile.am:
2796 * testsuite/negotiation/pad_link.c:
2797 * testsuite/pad/Makefile.am:
2798 * testsuite/pad/chainnopull.c:
2799 * testsuite/pad/getnopush.c:
2800 * testsuite/pad/link.c:
2801 * testsuite/refcounting/sched.c: (create_pipeline):
2802 * testsuite/registry/Makefile.am:
2803 * testsuite/registry/gst-print-formats.c:
2804 * testsuite/schedulers/.cvsignore:
2805 * testsuite/schedulers/142183-2.c:
2806 * testsuite/schedulers/142183.c:
2807 * testsuite/schedulers/143777-2.c:
2808 * testsuite/schedulers/143777.c:
2809 * testsuite/schedulers/147713.c:
2810 * testsuite/schedulers/147819.c:
2811 * testsuite/schedulers/147894-2.c:
2812 * testsuite/schedulers/147894.c:
2813 * testsuite/schedulers/Makefile.am:
2814 * testsuite/schedulers/group_link.c:
2815 * testsuite/schedulers/queue_link.c:
2816 * testsuite/schedulers/relink.c:
2817 * testsuite/schedulers/unlink.c:
2818 * testsuite/schedulers/unref.c:
2819 * testsuite/schedulers/useless_iteration.c:
2820 * testsuite/states/bin.c:
2821 clean out/remove some stuff from the testsuite directories
2823 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2826 check for some headers
2827 * gst/elements/Makefile.am:
2828 * gst/elements/gstelements.c:
2829 don't compile fdsrc without sys/socket.h
2830 * gst/indexers/Makefile.am:
2831 * gst/indexers/gstindexers.c: (plugin_init):
2832 don't compile fileindex without mmap
2834 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2841 * check/Makefile.am:
2842 * docs/gst/Makefile.am:
2843 * examples/helloworld/Makefile.am:
2845 * gst/base/Makefile.am:
2846 * gst/check/Makefile.am:
2847 * gst/elements/Makefile.am:
2848 * gst/indexers/Makefile.am:
2849 * gst/parse/Makefile.am:
2850 * libs/gst/controller/Makefile.am:
2851 * libs/gst/dataprotocol/Makefile.am:
2852 * examples/helloworld/helloworld.c: (event_loop):
2853 compile fixes, though it's not being compiled currently
2855 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2857 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2858 Add some simple tests for the new taglist date API.
2860 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2862 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2863 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2864 Beautify 'last-message' output: print 'none' for buffer timestamps
2865 and durations if none is set; improve alignment with next messages.
2867 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2869 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2870 * gst/gstpluginfeature.h:
2871 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2872 * gst/gstregistry.h:
2873 * docs/gst/gstreamer-sections.txt:
2874 Add new API to check plugin feature version requirements.
2876 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2877 Some basic tests for the above.
2879 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2881 * gst/gststructure.c: (gst_structure_to_string):
2882 guard against NULL printf - happens when for example
2883 a message structure with GstClock gets serialized
2885 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2887 * gst/base/gstcollectpads.c: (gst_collectpads_event):
2888 Fix presumable copy'n'pasto.
2890 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2892 * gst/elements/gstfakesrc.h:
2893 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2894 * gst/elements/gsttypefindelement.c:
2896 * gst/elements/gstfilesink.c: (gst_file_sink_render):
2897 I wonder if this could actually write +2GB files before
2899 2005-10-13 Andy Wingo <wingo@pobox.com>
2901 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2902 Fix Timmeke Waymans bug.
2903 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2904 string of the proper length to gst_caps_from_string. There's a
2905 potential for, before this fix, that this could cause someone
2906 connecting over the network to cause a segfault if the payload is
2909 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2911 * docs/design/draft-push-pull.txt:
2912 * docs/design/part-overview.txt:
2913 * docs/random/TODO-pre-0.9:
2914 * docs/random/old/ChangeLog.gstreamer:
2915 * gst/base/gstpushsrc.c:
2919 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2921 * gst/glib-compat.c: (gst_flags_get_first_value):
2922 * gst/glib-compat.h:
2923 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2924 (gst_value_compare_double), (gst_value_serialize_flags):
2925 GLib 2.6 g_flags_get_first_value has a bug that triggers an
2928 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2930 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2931 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2933 * tools/gst-launch.c: (event_loop):
2934 print out clock nicely
2936 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2938 * docs/gst/gstreamer-sections.txt:
2940 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2941 (gst_tag_list_get_date_index):
2942 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2943 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2945 2005-10-13 Julien MOUTTE <julien@moutte.net>
2947 * gst/base/gstcollectpads.c: (gst_collectpads_event),
2948 (gst_collectpads_chain):
2949 * gst/base/gstcollectpads.h: Handle newsegment and store informations
2952 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2954 * docs/gst/gstreamer-sections.txt:
2957 * tools/gst-inspect.c: (main):
2958 * tools/gst-launch.c: (main):
2959 * tools/gst-run.c: (main):
2960 * tools/gst-xmlinspect.c: (main):
2961 fix GOption context leaks
2964 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2968 * win32/common/config.h:
2970 * win32/vs6/grammar.dsp:
2971 * win32/vs6/libgstelements.dsp:
2972 * win32/vs6/libgstreamer.dsp:
2975 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2977 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2978 * gst/base/gstbasesrc.c: (gst_base_src_query):
2979 fix more guint64<->gdouble conversions
2981 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2984 add win32-update target
2985 * win32/common/gstconfig.h:
2986 * win32/common/gstenumtypes.c:
2987 * win32/common/gstenumtypes.h:
2988 * win32/common/gstversion.h:
2989 add files that visual studio can't generate
2991 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2994 add a win32-update target
2997 2005-10-12 Wim Taymans <wim@fluendo.com>
2999 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3000 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3001 * gst/gstelement.c: (gst_element_commit_state),
3002 (gst_element_set_state):
3003 Protect flags with proper lock.
3004 unref provided cached clock in dispose.
3006 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3009 * gst/gstminiobject.h:
3011 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3012 removed unused flags from miniobject
3015 2005-10-12 Wim Taymans <wim@fluendo.com>
3017 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3018 (gst_file_sink_event), (gst_file_sink_render):
3019 Flush before seeking.
3021 2005-10-12 Andy Wingo <wingo@pobox.com>
3023 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3024 always been the case.
3026 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3028 * check/gst/gstbin.c: (GST_START_TEST):
3029 * docs/gst/gstreamer-sections.txt:
3030 * gst/base/gstbasesink.c: (gst_base_sink_init):
3031 * gst/base/gstbasesrc.c: (gst_base_src_init),
3032 (gst_base_src_get_range), (gst_base_src_check_get_range),
3033 (gst_base_src_start), (gst_base_src_stop):
3034 * gst/base/gstbasesrc.h:
3035 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3036 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3037 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3041 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3043 * gst/gstelement.c: (gst_element_is_locked_state),
3044 (gst_element_set_locked_state), (gst_element_commit_state),
3045 (gst_element_set_state):
3047 * gst/gstindex.c: (gst_index_init):
3049 * gst/gstminiobject.h:
3050 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3051 (gst_object_set_parent):
3053 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3054 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3056 * gst/gstpadtemplate.h:
3057 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3058 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3059 * gst/gstpipeline.h:
3060 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3061 (gst_file_index_commit):
3062 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3063 * testsuite/pad/link.c: (gst_test_src_init),
3064 (gst_test_filter_init), (gst_test_sink_init):
3065 * testsuite/states/locked.c: (main):
3066 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3067 moved bitshift from macro to enum definition
3069 2005-10-12 Wim Taymans <wim@fluendo.com>
3071 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3072 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3073 (gst_file_sink_render):
3074 Some more debugging info.
3076 2005-10-12 Wim Taymans <wim@fluendo.com>
3078 * docs/design/part-states.txt:
3079 * tools/gst-launch.c: (main):
3081 Revert non-intentional change.
3083 2005-10-12 Wim Taymans <wim@fluendo.com>
3085 * check/gst/gstbin.c: (GST_START_TEST):
3086 * check/gst/gstelement.c: (GST_START_TEST):
3087 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3088 * check/gst/gstghostpad.c: (GST_START_TEST):
3089 * check/gst/gstpipeline.c: (GST_START_TEST):
3090 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3091 * check/states/sinks.c: (GST_START_TEST):
3092 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3093 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3094 (gst_bin_remove_func), (gst_bin_get_state_func),
3095 (gst_bin_recalc_state), (gst_bin_change_state_func),
3097 * gst/gstelement.c: (gst_element_get_state_func),
3098 (gst_element_get_state), (gst_element_abort_state),
3099 (gst_element_commit_state), (gst_element_set_state),
3100 (gst_element_change_state), (gst_element_change_state_func):
3102 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3103 (gst_pipeline_provide_clock_func):
3104 * gst/gstutils.c: (gst_element_link_pads_filtered):
3105 * tools/gst-launch.c: (main):
3106 * tools/gst-typefind.c: (main):
3107 Use GstClockTime in _get_state() instead of GTimeVal.
3108 Remove old code in gstutils.c
3110 2005-10-12 Andy Wingo <wingo@pobox.com>
3112 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3115 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3116 there is no task. Shouldn't affect any code, as nothing in our
3117 plugins checks this return value.
3118 (gst_pad_stop_task): Also take the stream lock if the pad has no
3121 2005-10-12 Wim Taymans <wim@fluendo.com>
3123 * gst/gstpad.c: (pre_activate), (post_activate),
3124 (gst_pad_activate_pull), (gst_pad_activate_push):
3125 Cleanup activation code. Reset old state if
3128 2005-10-12 Wim Taymans <wim@fluendo.com>
3130 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3131 (gst_base_sink_change_state):
3132 No need to prerol after receiving EOS.
3134 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3135 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3136 * gst/elements/gstidentity.c: (gst_identity_event):
3137 Print events more verbosely.
3139 2005-10-12 Wim Taymans <wim@fluendo.com>
3141 * check/Makefile.am:
3142 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3143 * check/states/sinks2.c:
3144 Moved sinks2 testcode in sinks check.
3146 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3147 (gst_bin_remove_func), (gst_bin_recalc_state),
3148 (gst_bin_change_state_func), (bin_bus_handler):
3149 Fix potential race condition when _get_state() iterated over an
3150 ASYNC element right before it posted a state completion.
3153 Do proper cast here.
3155 * gst/gstevent.c: (gst_event_new_newsegment),
3156 (gst_event_parse_newsegment):
3157 A playback rate of 0.0 is not allowed.
3159 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3161 * win32/common/config.h:
3162 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3163 (_trewinddir), (_ttelldir), (_tseekdir):
3164 * win32/common/dirent.h:
3165 * win32/common/gtchar.h:
3166 * win32/common/libgstbase.def:
3167 * win32/common/libgstreamer.def:
3168 * win32/vs6/grammar.dsp:
3169 * win32/vs6/gst_inspect.dsp:
3170 * win32/vs6/gst_launch.dsp:
3171 * win32/vs6/gstreamer.dsw:
3172 * win32/vs6/libgstbase.dsp:
3173 * win32/vs6/libgstelements.dsp:
3174 * win32/vs6/libgstreamer.dsp:
3175 Visual Studio 6 project files, and a new common directory.
3178 2005-10-11 Wim Taymans <wim@fluendo.com>
3180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3181 (gst_base_sink_do_sync), (gst_base_sink_query),
3182 (gst_base_sink_change_state):
3183 * gst/base/gstbasesink.h:
3184 Correctly parse newsegment info.
3186 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3188 * gst/gst.c: (init_post):
3189 split plugin paths correctly
3191 2005-10-11 Wim Taymans <wim@fluendo.com>
3193 * check/gst/gstevent.c: (GST_START_TEST):
3194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3195 (gst_base_sink_change_state):
3196 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3197 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3198 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3199 * gst/gstevent.c: (gst_event_new_newsegment),
3200 (gst_event_parse_newsegment):
3202 Added extra flag to newsegment for future API freeze.
3203 Updated check and base elements.
3205 2005-10-11 Julien MOUTTE <julien@moutte.net>
3207 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3208 (gst_collectpads_add_pad), (gst_collectpads_pop),
3209 (gst_collectpads_event), (gst_collectpads_chain):
3210 * gst/base/gstcollectpads.h: Handle EOS correctly.
3212 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3214 * tools/gst-launch.c: (main):
3215 more null protecting
3217 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3219 * gst/gst-i18n-lib.h:
3220 check for ENABLE_NLS, not GETTEXT_PACKAGE
3221 * gst/gstregistry.c: (gst_registry_add_plugin),
3222 (gst_registry_scan_path_level),
3223 (_gst_registry_remove_cache_plugins):
3224 protect possibly NULL strings
3225 * gst/parse/types.h:
3226 config.h already included before
3227 * tools/gst-inspect.c: (main):
3228 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3229 check for ENABLE_NLS, not GETTEXT_PACKAGE
3230 * tools/gst-launch.c: (main):
3231 check for ENABLE_NLS, not GETTEXT_PACKAGE
3233 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3236 if we don't have glib, fail before testing 2.8
3237 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3238 fix a leak, should fix plugins-base testsuite
3240 2005-10-11 Andy Wingo <wingo@pobox.com>
3242 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3243 take the mode we're going to as an arg. Go head and set the mode
3244 and flushing flags now, so that if the activate function starts a
3245 thread all the flags will be in the right state.
3246 (post_activate): Renamed also. Just handle making sure streaming
3247 finishes for the deactivation case, and setting the deactivated
3249 (gst_pad_set_active): Complain loudly if deactivation fails.
3250 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3251 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3252 remove the terrible hack.
3254 2005-10-11 Wim Taymans <wim@fluendo.com>
3256 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3257 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3258 (gst_bin_recalc_state), (gst_bin_change_state_func),
3259 (gst_bin_dispose), (bin_bus_handler):
3261 Prepare to make current EOS message queue more generic.
3264 * gst/gstevent.c: (gst_event_new_newsegment),
3265 (gst_event_parse_newsegment):
3267 Rename base to stream_time.
3272 2005-10-11 Wim Taymans <wim@fluendo.com>
3274 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3275 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3276 (gst_bin_change_state_func), (bin_bus_handler):
3278 Work on proper clock selection.
3280 2005-10-11 Edward Hervey <edward@fluendo.com>
3282 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3283 * libs/gst/controller/gstcontroller.h:
3284 Added GList* version of _remove_properties() in order to be able to wrap
3287 2005-10-11 Wim Taymans <wim@fluendo.com>
3289 * docs/design/part-states.txt:
3292 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3293 (gst_bin_change_state_func), (bin_bus_handler):
3294 Doc updates. Don't distribute the same clock over and over again.
3300 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3301 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3302 (gst_pad_send_event):
3304 Make probe emission threadsafe again.
3305 Register quarks and move _get_name() from utils.
3308 * gst/gstpipeline.c: (gst_pipeline_class_init),
3309 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3310 Only redistribute the clock of it changed.
3312 * gst/gstsystemclock.h:
3317 Moved the _flow_get_name() to GstPad.
3319 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3321 * check/gst-libs/gdp.c: (GST_START_TEST):
3322 * check/gst/gstcaps.c: (GST_START_TEST):
3323 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3324 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3325 (gst_dp_packet_from_caps):
3326 fix more valgrind warnings before turning up the heat
3328 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3330 * gst/parse/grammar.y:
3331 some cleanup before the hacking
3333 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3335 * gst/base/gstbasesrc.c: (gst_base_src_query):
3337 * gst/gstutils.c: (gst_guint64_to_gdouble),
3338 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3340 externalize, basesrc uses it
3341 obviously the implementation needs testing
3343 2005-10-10 Wim Taymans <wim@fluendo.com>
3345 * tests/sched/Makefile.am:
3346 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3347 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3349 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3351 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3352 apparently converting from guint64 to double is not implemented
3355 2005-10-10 Wim Taymans <wim@fluendo.com>
3357 * check/Makefile.am:
3358 * check/generic/states.c: (GST_START_TEST):
3359 * check/gst/gstbin.c: (GST_START_TEST):
3360 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3361 * check/states/sinks.c: (GST_START_TEST):
3362 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3364 Check fixes, use API as stated in design docs, remove hacks.
3366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3367 (gst_base_sink_change_state):
3368 Catch stopping our task while we're shutting down.
3370 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3371 (gst_bin_remove_func), (gst_bin_get_state_func),
3372 (gst_bin_recalc_state), (gst_bin_change_state_func),
3375 * gst/gstelement.c: (gst_element_init),
3376 (gst_element_get_state_func), (gst_element_abort_state),
3377 (gst_element_commit_state), (gst_element_lost_state),
3378 (gst_element_set_state), (gst_element_change_state),
3379 (gst_element_change_state_func):
3381 New state change algorithm (see #318116)
3383 * gst/gstpipeline.c: (gst_pipeline_class_init),
3384 (gst_pipeline_init), (gst_pipeline_set_property),
3385 (gst_pipeline_get_property), (do_pipeline_seek),
3386 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3387 * gst/gstpipeline.h:
3388 Remove crude state change hacks.
3393 * tools/gst-launch.c: (main):
3394 Fixes for state change. Needs some more work to fully use the
3397 2005-10-10 Andy Wingo <wingo@pobox.com>
3399 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3401 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3402 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3405 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3407 * gst/gstiterator.c: (gst_iterator_new):
3408 Fix my previous commit: GTypes passed to gst_iterator_new()
3409 can be fundamental types.
3411 2005-10-10 Wim Taymans <wim@fluendo.com>
3413 * gst/gstelement.c: (gst_element_iterate_pad_list),
3414 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3415 (gst_element_iterate_sink_pads):
3416 Use src/sink pads lists for the respective iterators instead
3419 2005-10-10 Andy Wingo <wingo@pobox.com>
3421 Merged in popt removal + GOption addition patch from Ronald, bug
3424 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3425 GstElement macros around, remove popt-related symbols, add goption
3428 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3430 * docs/gst/Makefile.am:
3431 * docs/libs/Makefile.am: No POPT_CFLAGS.
3433 * examples/manual/Makefile.am:
3434 * docs/manual/basics-init.xml: Doc updates with an example.
3436 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3437 (gst_init), (parse_one_option), (parse_goption_arg):
3438 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3439 bit of hand merging and debugging to get the GOption stuff working
3442 * tests/Makefile.am:
3443 * tools/Makefile.am:
3444 * tools/gst-inspect.c: (main):
3445 * tools/gst-launch.c: (main):
3446 * tools/gst-run.c: (main):
3447 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3449 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3451 * gst/gstiterator.c: (gst_iterator_new):
3452 Add assertions to make sure passed GType is likely to really
3453 be a GType (as the compiler won't catch it if the size and
3454 GType arguments get mixed up, see #318447).
3456 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3458 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3460 * gst/gstbin.c: (gst_bin_iterate_sorted):
3461 Pass GType and size arguments to gst_iterator_new() in the right
3462 order (maybe we should make _new() take the GType as first argument
3463 just like _new_list()?) (#318447).
3466 2005-10-10 Wim Taymans <wim@fluendo.com>
3468 * gst/gstelement.c: (gst_element_finalize):
3469 And free the GStaticRecMutex too
3471 2005-10-10 Andy Wingo <wingo@pobox.com>
3473 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3474 Allocate and free the mutex properly.
3476 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3478 (GstElement): The state_lock is now recursive. Rebuild your
3479 plugins, suckers. Old macros adapted.
3481 * docs/gst/gstreamer-sections.txt: Doc updates.
3484 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3485 (g_static_rec_cond_wait): Ported from state changes patch, while
3486 we wait on bug #317802 to be solved in a well-distributed GLib.
3488 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3489 gst_element_change_state, variable name changes.
3490 (gst_element_change_state): Split out of gst_element_set_state in
3491 preparation for the state change merge. Doesn't pay attention to
3492 the 'transition' argument.
3493 (gst_element_set_state): Updates, hopefully purely cosmetic.
3494 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3496 (gst_element_get_state_func): Renamed from get_state, cosmetic
3499 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3501 * gst/elements/gstelements.c:
3502 * win32/GStreamer.vcproj:
3504 * win32/dirent.c: (_tseekdir):
3505 * win32/gst-inspect.vcproj:
3506 * win32/gst-launch.vcproj:
3507 * win32/gstconfig.h:
3508 * win32/gstelements.vcproj:
3509 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3510 * win32/gstreamer.def:
3512 updates for the win32 build (patch from Sebastien Moutte)
3514 2005-10-10 Andy Wingo <wingo@pobox.com>
3516 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3517 gst_bin_get_state, cleaned up (but no logic changes).
3518 (bin_element_is_sink): Comment updates.
3519 (sink_iterator_filter): Remove needless cast.
3520 (gst_bin_iterate_sinks): Doc update.
3521 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3522 cleaned up (but no logic changes).
3524 * check/states/sinks.c (test_src_sink): Cleanups from the state
3526 (test_livesrc_sink): Sync on the state.
3528 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3529 the state change patch.
3531 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3534 * check/gst/gstbin.c: Merge in some style fixes and additional
3535 checks from Wim's state change patch.
3537 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3539 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3540 (gst_type_find_helper):
3541 Check whether we have the requested data already in our list of
3542 cached buffers before pulling a new buffer; also make the buffer
3543 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3545 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3550 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3551 don't use long long, it's not portable. Replacing with
3552 gint64 seems to work; let's hope no skeletons fall out of the closet.
3554 2005-10-10 Andy Wingo <wingo@pobox.com>
3556 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3558 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3560 * docs/gst/gstreamer-sections.txt:
3565 * gst/gstmessage.c: (gst_message_parse_state_changed):
3568 more docs, fix compilation
3570 2005-10-09 Philippe Khalaf <burger@speedy.org>
3572 Fixed a few forgotten variables on previous commit
3574 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3576 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3577 Fix evil typefind crasher: getrange() might return a short
3578 buffer at the end of a file, but gst_type_find_peek() must
3579 either return the full data as requested or NULL, but
3580 never a short buffer.
3582 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3584 * gst/gstmessage.c: (gst_message_new_state_changed),
3585 (gst_message_parse_state_changed):
3587 don't use "new", it's a C++ keyword
3589 2005-10-08 Wim Taymans <wim@fluendo.com>
3591 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3592 * gst/gstelement.c: (gst_element_post_message):
3593 * gst/gstpipeline.c: (gst_pipeline_change_state):
3594 Small docs and debug updates.
3596 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3598 * docs/gst/gstreamer-sections.txt:
3599 * gst/gstelementfactory.c:
3604 2005-10-08 Wim Taymans <wim@fluendo.com>
3606 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3607 (gst_bin_dispose), (bin_bus_handler):
3608 Fix typos, add comments.
3609 Clear EOS list when going to PAUSED from any direction and do it
3610 in a threadsafe way.
3611 Get base time in a threadsafe way too.
3612 Fix confusing debug in the change_state function.
3613 Various other small cleanups.
3615 * gst/gstelement.c: (gst_element_post_message):
3616 Fix very verbose bus posting code.
3618 * gst/gstpipeline.c: (gst_pipeline_class_init),
3619 (gst_pipeline_set_property), (gst_pipeline_get_property),
3620 (gst_pipeline_change_state):
3621 Small ARG_ -> PROP_ cleanup
3623 2005-10-08 Wim Taymans <wim@fluendo.com>
3625 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3626 Do a less CPU demanding EOS check because we can.
3628 2005-10-08 Wim Taymans <wim@fluendo.com>
3630 * libs/gst/dataprotocol/dataprotocol.c:
3631 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3632 (gst_dp_packet_from_event):
3633 * libs/gst/dataprotocol/dataprotocol.h:
3634 * libs/gst/dataprotocol/dp-private.h:
3635 It's about time we bump the version number.
3636 Since event types don't fit in the guint8 anymore describing
3637 the payload type, make payload type 16 bits wide.
3639 2005-10-08 Wim Taymans <wim@fluendo.com>
3641 * docs/design/part-TODO.txt:
3642 * docs/design/part-clocks.txt:
3643 * docs/design/part-events.txt:
3644 * docs/design/part-gstbin.txt:
3645 * docs/design/part-gstelement.txt:
3646 * docs/design/part-gstpipeline.txt:
3647 * docs/design/part-live-source.txt:
3648 * docs/design/part-messages.txt:
3649 * docs/design/part-overview.txt:
3650 * docs/design/part-states.txt:
3653 2005-10-08 Wim Taymans <wim@fluendo.com>
3657 Fix event quark registration.
3658 Add some space between events so we can insert them in the
3661 2005-10-08 Wim Taymans <wim@fluendo.com>
3663 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3664 (gst_base_sink_handle_buffer):
3671 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3672 (gst_queue_set_property), (gst_queue_get_property):
3674 Remove old unused properties.
3676 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3677 * docs/gst/gstreamer-sections.txt:
3680 * gst/gstminiobject.c:
3681 * gst/gstminiobject.h:
3685 lots of new docs and doc fixes
3687 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3689 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3691 * gst/gstregistry.c: (gst_registry_lookup_locked),
3692 (gst_registry_scan_path_level):
3693 * gst/gstregistryxml.c: (load_plugin):
3694 Only ever load one plugin for a given plugin basename.
3695 This ensures correct overriding of GST_PLUGIN_PATH over
3696 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3697 system installed plugins.
3699 2005-10-08 Wim Taymans <wim@fluendo.com>
3701 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3702 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3703 Prepare for doing QOS.
3705 2005-10-08 Wim Taymans <wim@fluendo.com>
3707 * check/gst/gstbin.c: (GST_START_TEST):
3708 * check/pipelines/cleanup.c: (GST_START_TEST):
3709 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3710 Allow new clock message too.
3712 2005-10-08 Wim Taymans <wim@fluendo.com>
3714 * gst/gstmessage.c: (gst_message_new_error),
3715 (gst_message_new_warning), (gst_message_new_tag),
3716 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3717 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3718 (gst_message_new_segment_start), (gst_message_new_segment_done),
3719 (gst_message_parse_state_changed),
3720 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3721 (gst_message_parse_new_clock):
3723 Also carry the clock in question.
3725 2005-10-08 Wim Taymans <wim@fluendo.com>
3727 * gst/gstmessage.c: (gst_message_new_custom),
3728 (gst_message_new_eos), (gst_message_new_error),
3729 (gst_message_new_warning), (gst_message_new_tag),
3730 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3731 (gst_message_new_new_clock), (gst_message_new_segment_start),
3732 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3733 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3736 Added clock related messages.
3738 * gst/gstpipeline.c: (gst_pipeline_change_state):
3739 Post message when the clock changed.
3741 * tools/gst-launch.c: (event_loop):
3744 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3746 * tools/gst-inspect.c: (print_element_properties_info):
3747 Can't pass NULL strings to g_print() on windows.
3749 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3752 * docs/gst/Makefile.am:
3753 * docs/gst/gstreamer-docs.sgml:
3754 * docs/gst/running.xml:
3755 * docs/version.entities.in:
3756 add a chapter on running GStreamer.
3757 document GST_DEBUG and GST_PLUGIN* env vars
3759 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3764 remove PLUGINS_BUILDDIR stuff
3765 * gst/gst.c: (init_post):
3766 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3768 remove, it was condescending and not needed
3770 2005-10-08 Wim Taymans <wim@fluendo.com>
3772 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3773 (gst_base_sink_handle_object), (gst_base_sink_event),
3774 (gst_base_sink_wait), (gst_base_sink_handle_event),
3775 (gst_base_sink_change_state):
3776 * gst/base/gstbasesink.h:
3777 Repost EOS message while going to PLAYING if still EOS.
3778 Make sure that when receiving a FLUSH_START we don't attempt
3779 to sync on the clock anymore.
3781 2005-10-08 Wim Taymans <wim@fluendo.com>
3783 * tools/gst-launch.c: (event_loop):
3784 Better message printout.
3786 2005-10-08 Wim Taymans <wim@fluendo.com>
3788 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3789 (gst_bin_child_proxy_get_children_count):
3790 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3791 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3792 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3793 (gst_child_proxy_set_valist):
3794 * gst/parse/grammar.y:
3795 Make ChildProxy threadsafe and fix mem leaks.
3797 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3799 * gst/gst.c: (init_post):
3800 debug the GST_PLUGIN_ env vars
3802 2005-10-08 Wim Taymans <wim@fluendo.com>
3804 * check/gst/gstbin.c: (GST_START_TEST):
3805 * check/gst/gstmessage.c: (GST_START_TEST):
3806 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3807 * gst/gstelement.c: (gst_element_commit_state),
3808 (gst_element_lost_state):
3809 * gst/gstmessage.c: (gst_message_new_state_changed),
3810 (gst_message_parse_state_changed):
3812 * tools/gst-launch.c: (event_loop):
3813 Added extra field to STATE_CHANGE message with the pending
3814 state, which will be different from the new state soon.
3816 2005-10-08 Wim Taymans <wim@fluendo.com>
3818 * gst/gstbus.c: (gst_bus_pop):
3820 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3821 Small cleanups and doc updates.
3823 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3825 * gst/gst.c: (init_pre):
3826 * gst/gstbin.c: (gst_bin_add_func):
3827 log distributing clocks and base time
3828 * gst/gstregistry.c: (gst_registry_add_plugin),
3829 (gst_registry_scan_path_level), (gst_registry_scan_path):
3830 clean up the debugging output a little
3831 * gst/gstutils.c: (gst_element_state_get_name):
3832 warn about a memleak (I've actually seen this be used, though
3833 it was probably a bug)
3835 2005-10-07 Wim Taymans <wim@fluendo.com>
3837 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3838 (gst_base_src_init), (gst_base_src_default_newsegment),
3839 (gst_base_src_newsegment), (gst_base_src_do_seek),
3840 (gst_base_src_loop), (gst_base_src_start):
3841 * gst/base/gstbasesrc.h:
3842 Make the newsegment event customizable by subclasses.
3844 2005-10-07 Wim Taymans <wim@fluendo.com>
3846 * gst/gstevent.c: (gst_event_new_buffersize),
3847 (gst_event_parse_buffersize):
3849 New event for future idea.
3851 2005-10-07 Andy Wingo <wingo@pobox.com>
3853 * gst/gstelement.c (gst_element_post_message): Doc update.
3855 * docs/gst/gstreamer-sections.txt: Update.
3857 * gst/gstmessage.c (gst_message_new_application): Made into a
3858 function like honest API calls.
3859 (gst_message_new_element): New message type.
3861 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3863 * check/elements/fakesrc.c (test_no_preroll): New check, checks
3864 that setting a live fakesrc to PAUSED returns NO_PREROLL both
3867 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3868 NO_PREROLL from gst_element_change_state to fall through.
3870 2005-10-07 Wim Taymans <wim@fluendo.com>
3872 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3873 (gst_ghost_pad_do_activate_push):
3874 Activating a ghostpad with no internal pad in push mode
3877 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
3880 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3881 Fixes compilation on Windows.
3883 2005-10-07 Michael Smith <msmith@fluendo.com>
3885 * tools/gst-inspect.c:
3886 Print out feature and plugin count at the end when printing out
3889 2005-10-04 Michael Smith <msmith@fluendo.com>
3891 * gst/gsterror.c: (_gst_stream_errors_init):
3892 Add another error string used in a few existing plugins.
3895 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3896 * tools/gst-inspect.c: (print_element_info):
3897 When a feature disappears from a plugin (and the feature exists in
3898 the cached registry file), things went horribly wrong. This isn't a
3899 complete fix, we should actually be removing the 'missing' features
3900 from the features list when we load the actual plugin. That's not
3903 2005-10-04 Johan Dahlin <johan@gnome.org>
3905 * check/gst/gstiterator.c: (GST_START_TEST):
3906 * gst/gstbin.c: (gst_bin_iterate_elements),
3907 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3908 * gst/gstelement.c: (gst_element_iterate_pads):
3909 * gst/gstformat.c: (gst_format_iterate_definitions):
3910 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3911 (gst_iterator_new_list), (gst_iterator_filter):
3912 * gst/gstiterator.h:
3913 * gst/gstquery.c: (gst_query_type_iterate_definitions):
3914 Add a GType to GstIterator, update callsites and tests.
3916 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3918 * gst/gstpad.c: (gst_pad_event_default_dispatch):
3919 give events a chance to be handled by event probes when the pad
3922 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3924 * gst/gstevent.c: (gst_event_type_get_name),
3925 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3927 add string representations for event types
3929 2005-10-06 Wim Taymans <wim@fluendo.com>
3931 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3932 Don't use NULL pointers.
3934 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3936 * gst/gst_private.h:
3940 * gst/gstpluginfeature.c:
3941 widen the debug category in output to fit the biggest one we have
3942 add a bus category and use it
3943 play with the colors
3944 fix up some categories
3946 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3948 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3949 add push activation of sink ghost pads.
3950 Andye, please verify
3952 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3954 * gst/gstutils.c: (gst_element_link_pads):
3955 fix a bug in the case where neither element has a pad
3956 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3957 add a test for that case
3959 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3961 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3962 emit have-data before checking for peers. This allows
3963 for probe handlers to connect elements. This helps autopluggers.
3964 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3966 add six checks, linked/unlinked with no/true/false probe
3968 2005-10-04 Wim Taymans <wim@fluendo.com>
3970 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3971 (gst_fake_sink_event), (gst_fake_sink_preroll),
3972 (gst_fake_sink_render), (gst_fake_sink_change_state):
3973 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3974 (gst_fake_src_get_property), (gst_fake_src_create),
3975 (gst_fake_src_stop):
3976 * gst/elements/gstidentity.c: (gst_identity_stop):
3977 Protect last_message with lock.
3979 2005-10-04 Edward Hervey <edward@fluendo.com>
3982 Added precision in the comments for GST_FORMAT_DEFAULT
3984 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
3986 * tools/gst-launch.c: (main):
3987 Don't try to run erroneous pipelines.
3989 2005-10-04 Julien MOUTTE <julien@moutte.net>
3991 * gst/gstbus.c: We don't need this header.
3993 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3998 === release 0.9.3 ===
4000 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4004 Releasing 0.9.3, "Unregistered"
4006 2005-10-03 Andy Wingo <wingo@pobox.com>
4008 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4009 whereby calling a pad's activatepush() function can start a thread
4010 that starts to push or pull before the pad gets the FLUSHING flag
4011 unset. Hack around it by holding the stream lock until the flag is
4012 set. Need to replace this with a proper solution. Together with
4013 the ghost pad fixes, this fixes mp3 playing/tagreading.
4015 * docs/design/part-gstghostpad.txt: Add a note about activation of
4016 proxy pads outside of ghost pads.
4018 * gst/gstghostpad.c: Implement the ghost pad activation design.
4020 2005-10-02 Andy Wingo <wingo@pobox.com>
4022 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4023 It is volatile, after all.
4025 * docs/design/part-gstghostpad.txt: Flesh out activation with
4028 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4031 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4034 Fix (unused) AM_CONDITIONAL tests.
4036 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4038 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4040 * gst/gstutils.c: (gst_pad_query_convert):
4041 Add assertion that makes sure src_val is >=0, just like
4042 gst_query_new_convert() has. (#315895)
4044 2005-09-30 Edward Hervey <edward@fluendo.com>
4046 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4047 Let's not iterate pads we're not interested in, it avoids getting
4048 sky-high refcounts on sinkpad.
4050 2005-09-30 Wim Taymans <wim@fluendo.com>
4052 * gst/gstelement.c: (gst_element_set_state),
4053 (gst_element_change_state):
4054 Small tweak, element in ASYNC remains ASYNC.
4056 2005-09-30 Wim Taymans <wim@fluendo.com>
4058 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4059 Only error is an error.
4061 * gst/gstbin.c: (gst_bin_change_state):
4064 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4065 Also call pad_block in pad alloc.
4067 * gst/gstutils.c: (gst_flow_get_name):
4070 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4072 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4073 (gst_base_src_get_range):
4074 Fix documentation typos. Add some more debug info.
4076 2005-09-29 David Schleef <ds@schleef.org>
4078 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4079 more end-user friendly.
4080 * tools/gst-inspect.c: (main): Check if command-line argument is
4081 a file and attempt to load that file as a plugin.
4083 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4085 * check/gst/gstbin.c:
4086 * check/states/sinks.c:
4087 fix tests for the new warning
4088 * check/gst/gstpipeline.c:
4089 add a test for pipeline and bus interaction
4091 elements should be NULL if they get disposed; add a warning if not
4093 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4096 for 2.6 refcounting, make debug log more correct by printing
4097 the actual refcounts at the time of swap (Wim)
4099 2005-09-29 Andy Wingo <wingo@pobox.com>
4101 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4102 removes signal watches previously added via
4103 gst_bus_add_signal_watch.
4104 (gst_bus_add_signal_watch): Don't return the source id, just store
4105 it on the bus if there wasn't an id already.
4107 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4108 add_signal_watch and remove_signal_watch.
4110 2005-09-29 Edward Hervey <edward@fluendo.com>
4112 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4113 Better if we actually iterate the list :)
4115 2005-09-29 Wim Taymans <wim@fluendo.com>
4117 * check/gst/gstbin.c: (GST_START_TEST):
4118 Change for new bus API.
4120 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4121 (send_messages), (GST_START_TEST), (gstbus_suite):
4122 Change for new bus signal API.
4124 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4125 (gst_bus_source_prepare), (gst_bus_source_check),
4126 (gst_bus_create_watch), (gst_bus_add_watch_full),
4127 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4128 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4130 Remove support for multiple GSources operating on different
4131 message types as it is too complex and unneeded when using
4133 Added support for receiving signals from the bus.
4135 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4137 * docs/libs/tmpl/gstdataprotocol.sgml:
4138 * docs/manual/advanced-dataaccess.xml:
4139 * gst/elements/gstcapsfilter.c:
4141 rename filter-caps to caps property
4143 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4145 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4146 More robust fraction string parsing.
4148 * docs/pwg/appendix-porting.xml:
4149 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4151 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4153 * gst/gstcaps.c: (gst_caps_do_simplify):
4154 Thou shalt not free a structure and then continue using it
4155 in the next loop iteration.
4157 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4159 Add test case for caps simplification.
4161 2005-09-29 Wim Taymans <wim@fluendo.com>
4163 * check/gst/gstbin.c: (GST_START_TEST):
4166 2005-09-29 Wim Taymans <wim@fluendo.com>
4168 * check/gst/gstbin.c: (GST_START_TEST):
4171 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4172 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4173 (find_element), (gst_bin_sort_iterator_next),
4174 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4175 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4176 (gst_bin_change_state), (gst_bin_dispose):
4177 A bin does not have a bus, it gets the bus from the parent.
4179 * gst/gstelement.c: (gst_element_requires_clock),
4180 (gst_element_provides_clock), (gst_element_is_indexable),
4181 (gst_element_is_locked_state), (gst_element_change_state),
4182 (gst_element_set_bus_func):
4185 * gst/gstpipeline.c: (gst_pipeline_class_init),
4186 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4187 The pipeline provides a bus.
4189 2005-09-28 Johan Dahlin <johan@gnome.org>
4191 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4192 gst_structure_get_enum instead of gst_structure_get_int
4194 * gst/gststructure.c (gst_structure_get_enum): Impl.
4196 * gst/gststructure.h (gst_structure_get_enum): Add
4198 * docs/gst/gstreamer-sections.txt: Ditto
4200 * gst/gstmessage.c (gst_message_new_state_changed): Use
4201 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4202 which does introspection.
4203 Reviewed by Christian Schaller
4205 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4207 * gst/gstinfo.c: (gst_debug_log_default):
4208 don't do dummy g_strdup()s
4209 * libs/gst/controller/gstcontroller.c:
4210 (on_object_controlled_property_changed),
4211 (gst_controlled_property_new), (gst_controller_new_valist),
4212 (gst_controller_new_list),
4213 (gst_controller_remove_properties_valist), (gst_controller_set),
4214 (gst_controller_get), (gst_controller_sync_values),
4215 (gst_controller_get_value_array), (_gst_controller_class_init),
4216 (gst_controller_get_type):
4217 * libs/gst/controller/gstcontroller.h:
4218 * libs/gst/controller/gstinterpolation.c:
4219 (gst_controlled_property_find_timed_value_node):
4220 convert // to /**/ comments
4222 2005-09-28 Wim Taymans <wim@fluendo.com>
4224 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4225 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4226 (gst_bus_sync_signal_handler):
4228 Added async-message and sync-message signals to the bus.
4229 Added helper BusFunc to emit signals for all posted messages.
4231 * gst/gstmessage.c: (gst_message_type_get_name),
4232 (gst_message_type_to_quark), (gst_message_get_type):
4234 Register quarks for message names.
4236 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4238 * docs/libs/gstreamer-libs-sections.txt:
4239 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4240 (gst_controller_new_list):
4241 * libs/gst/controller/gstcontroller.h:
4242 added another constructor for language bindings
4244 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4246 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4250 * gst/gstinfo.c: (_gst_debug_init):
4251 slightly more readable color for refcount debugging
4253 2005-09-28 Wim Taymans <wim@fluendo.com>
4255 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4256 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4257 (find_element), (gst_bin_sort_iterator_next),
4258 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4259 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4260 (gst_bin_change_state), (gst_bin_dispose):
4261 Small doc fixes. get_clock -> provide_clock.
4263 * gst/gstelement.c: (gst_element_class_init),
4264 (gst_element_provides_clock), (gst_element_provide_clock),
4265 (gst_element_get_clock), (gst_element_commit_state),
4266 (gst_element_lost_state):
4268 Make get/set_clock() symetric. Add provide_clock vmethod since
4269 that is actually what this function does.
4271 * gst/gstpipeline.c: (gst_pipeline_class_init),
4272 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4273 (gst_pipeline_get_clock):
4274 get_clock -> provide_clock.
4276 2005-09-28 Andy Wingo <wingo@pobox.com>
4278 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4279 lieu of real docs...
4281 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4283 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4285 * gst/elements/gstcapsfilter.c:
4286 * gst/elements/gstfakesink.c:
4287 * gst/elements/gstfakesrc.c:
4288 * gst/elements/gstfdsink.c:
4289 * gst/elements/gstfdsrc.c:
4290 * gst/elements/gstfilesink.c:
4291 * gst/elements/gstfilesrc.c:
4292 * gst/elements/gstidentity.c:
4293 * gst/elements/gsttee.c:
4294 * gst/elements/gsttypefindelement.c:
4295 Make element details static.
4297 2005-09-28 Wim Taymans <wim@fluendo.com>
4299 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4300 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4301 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4302 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4303 (gst_bin_change_state), (gst_bin_dispose):
4304 Some documentation updates.
4305 Clean up dispose handlers.
4307 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4308 * gst/gstpad.c: (gst_pad_dispose):
4309 Clean up dispose handler.
4311 * gst/gstpipeline.c: (gst_pipeline_change_state):
4312 Removed spurious UNLOCK.
4314 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4316 * docs/gst/gstreamer-sections.txt:
4317 * gst/base/gstbasesrc.h:
4322 * gst/gstpipeline.c:
4323 * gst/gstpipeline.h:
4326 added two new functions to the docs
4327 documents all undocumented GstXXXFlags
4328 completed some incomplete docs
4330 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4332 * gst/gstbin.c: (gst_bin_dispose):
4333 * gst/gstelement.c: (gst_element_dispose):
4334 remove now useless and leaky resurrection code in dispose
4335 * gst/base/gstbasesrc.c: (gst_base_src_init):
4336 * gst/gstelementfactory.c: (gst_element_factory_create):
4337 * gst/gstobject.c: (gst_object_set_parent):
4340 2005-09-27 Wim Taymans <wim@fluendo.com>
4342 * docs/design/part-TODO.txt:
4345 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4346 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4347 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4348 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4349 (gst_bin_change_state):
4351 Remove element variable, we keep element info in the iterator now.
4353 2005-09-27 Andy Wingo <wingo@pobox.com>
4355 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4358 2005-09-27 Wim Taymans <wim@fluendo.com>
4360 * check/gst/gstbin.c: (GST_START_TEST):
4361 Enable check that works now.
4363 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4364 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4365 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4366 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4367 (gst_bin_change_state):
4369 Redid the state change algorithm using a topological sort algo.
4370 Handles all cases correctly.
4371 Exposed iterator for state change order.
4374 Temp storage for state changes. Need to get rid of this soon.
4376 2005-09-27 Wim Taymans <wim@fluendo.com>
4378 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4379 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4380 (link_fold_func), (gst_pad_proxy_setcaps):
4381 Leak fixes, the fold functions need to unref the passed object and
4382 _get_parent_*() returns ref to parent.
4384 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4386 * check/gst/gstbuffer.c: (test_make_writable):
4387 Plug leak in test case and fix 'make check-valgrind'
4389 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4391 * gst/gstbuffer.c: (gst_subbuffer_init):
4392 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4393 works correctly in all circumstances (we could have just copied
4394 the parent buffer's readonly flag, but conceptually it seems
4395 cleaner to mark all subbuffers as read-only). (based on patch
4396 by Alessandro Decina, #314710).
4398 * check/gst/gstbuffer.c: (create_read_only_buffer),
4399 (test_make_writable), (test_subbuffer_make_writable),
4401 Add some tests for gst_buffer_make_writable().
4403 2005-09-27 Wim Taymans <wim@fluendo.com>
4405 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4406 use gst_object_has_ancestor().
4408 * gst/gstobject.c: (gst_object_has_ancestor):
4410 gst_object_has_ancestor() copied from gstbin.c as it is a
4413 * tests/instantiate/create.c: (create_all_elements):
4414 * tests/lat.c: (handoff_src), (handoff_sink):
4415 * tests/sched/runxml.c: (main):
4416 * tests/seeking/seeking1.c: (main):
4417 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4419 Fix compilation of some tests.
4421 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4424 Remove comment. GST_TYPE_G_ERROR is here to stay,
4425 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4428 2005-09-26 Wim Taymans <wim@fluendo.com>
4430 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4431 Added check that shows error in state change order.
4433 2005-09-26 Wim Taymans <wim@fluendo.com>
4435 * gst/gstbin.c: (gst_bin_change_state):
4436 Make state change function use 3 queues again, we were
4437 adding elements in the wrong order.
4439 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4442 * gst/gstpad.c: (gst_pad_dispose):
4443 Added some debug info first.
4445 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4447 * docs/design/draft-push-pull.txt:
4448 * docs/design/part-events.txt:
4449 * docs/design/part-overview.txt:
4450 * docs/design/part-scheduling.txt:
4451 Replace all _pull_region() with _pull_range()
4453 2005-09-26 Andy Wingo <wingo@pobox.com>
4455 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4457 * check/gst-libs/controller.c: Update for controller api change.
4460 * tests/Makefile.am:
4461 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4462 over by GLib bug 118439.
4464 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4465 routines to a function.
4467 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4469 * libs/gst/controller/gsthelper.c:
4470 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4471 (gst_object_sync_values): Renamed from sink_values. Ugh.
4473 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4475 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4476 Renamed from controller_key, as it is exported.
4478 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4480 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4485 * gst/gstpadtemplate.h:
4488 * gst/gstqueryutils.c:
4489 * gst/gstqueryutils.h:
4490 remove queryutils headers after moving the two used functions
4491 to gstquery. also fixes build problem for gstsiddec
4493 2005-09-26 Michael Smith <msmith@fluendo.com>
4495 * tools/gst-launch.1.in:
4496 Correct documentation in manpage of debug syntax
4498 2005-09-26 Wim Taymans <wim@fluendo.com>
4500 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4501 (gst_base_src_is_seekable), (gst_base_src_change_state):
4502 Some more debugging info.
4504 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4506 * docs/gst/gstreamer-sections.txt:
4507 * gst/base/gstbasetransform.h:
4511 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4513 * docs/gst/.cvsignore:
4514 * docs/gst/tmpl/.cvsignore:
4515 * docs/gst/tmpl/gstpipeline.sgml:
4516 * docs/gst/tmpl/gstplugin.sgml:
4517 * gst/gstpipeline.c:
4520 inlined the last two docs files
4521 removed the tmpl directory from cvs (no more conflicts here!)
4523 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4525 * docs/gst/gstreamer-sections.txt:
4526 * docs/gst/tmpl/.cvsignore:
4527 * docs/gst/tmpl/gstpad.sgml:
4528 * docs/gst/tmpl/gstpadtemplate.sgml:
4530 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4531 (gst_pad_finalize), (gst_pad_set_pad_template):
4533 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4534 (gst_pad_template_class_init), (gst_pad_template_init),
4535 (gst_pad_template_dispose), (name_is_valid),
4536 (gst_static_pad_template_get), (gst_pad_template_new),
4537 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4538 (gst_pad_template_pad_created):
4539 * gst/gstpadtemplate.h:
4540 inlined two more docs
4541 factored gstpadtemplate out of gstpad
4543 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4545 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4546 (test_children_state_change_order_semi_sink):
4547 Fix test case: we can't rely on a fixed state change order when
4548 going from READY => PAUSED because the sink might commit its
4549 new state first when the first buffer created by the source
4550 reaches the sink before the source has finished its change state.
4551 (Test case still fails at times, see #316856, comment 5 onwards)
4553 2005-09-24 Wim Taymans <wim@fluendo.com>
4555 * docs/design/part-events.txt:
4556 * docs/design/part-gstbus.txt:
4557 * docs/design/part-gstpipeline.txt:
4558 * docs/design/part-messages.txt:
4559 * docs/design/part-overview.txt:
4560 * docs/design/part-segments.txt:
4567 * gst/gstiterator.c:
4568 Various documentation updates.
4570 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4573 Well, that's embarassing. Luckily we weren't using
4574 GST_CLOCK_DIFF anywhere.
4576 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4578 * common/gtk-doc.mak:
4579 don't fail on building XML, FC4 slave shows a bunch of doc
4580 missing bits that I don't get
4582 * gst/gstpipeline.c:
4583 * gst/gststructure.c:
4586 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4588 * docs/design/part-gstbin.txt:
4589 * docs/design/part-gstbus.txt:
4591 Add blurb about how the bus goes into flushing mode and
4592 drops all messages when its bin goes from READY into NULL
4595 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4597 * docs/gst/gstreamer-sections.txt:
4598 * gst/gststructure.c: (gst_structure_get_clock_time):
4599 * gst/gststructure.h:
4600 add a method to get a GstClockTime out of a structure
4602 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4604 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4605 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4606 Added test to check state change order in bins (can still be made
4607 to fail here under heavy disk load; bails out with 'Push on pad
4608 fakesink:sink0, but it was not activated in push mode').
4610 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4611 Fix state change order when there is only a semi sink (#316856)
4613 * gst/gstbus.c: (gst_bus_class_init):
4614 Use _class_peek_parent(), not _class_ref(); fix docs to say
4615 'default main context' instead of 'mainloop' where that is
4618 * gst/gstelement.c: (gst_element_commit_state),
4619 (gst_element_set_state):
4620 Fix typos in debug messages
4622 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4625 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4626 * gst/gstpluginfeature.c:
4629 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4630 change an assert into an error until it gets fixed properly
4632 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4634 * docs/gst/gstreamer-sections.txt:
4635 * docs/gst/tmpl/.cvsignore:
4636 * docs/gst/tmpl/gstelement.sgml:
4637 * docs/gst/tmpl/gstinfo.sgml:
4638 * docs/gst/tmpl/gstobject.sgml:
4643 * gst/gstobject.c: (gst_object_class_init):
4645 inlined 3 more biiiig doc files and added some missing docs on the fly
4647 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4649 * check/gst/.cvsignore:
4650 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4651 * gst/gstregistryxml.c: (load_plugin),
4652 (gst_registry_xml_save_plugin):
4653 put back source in registry. add checks for find_plugin.
4654 * testsuite/states/bin.c: (assert_state), (empty_bin),
4655 (test_adding_one_element), (main):
4656 * testsuite/states/locked.c: (main):
4657 some compile/run fixes
4659 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4661 * check/gst/gstvalue.c: (GST_START_TEST):
4662 fix leaks in the test itself
4664 2005-09-22 Wim Taymans <wim@fluendo.com>
4666 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4667 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4668 (gst_base_sink_query):
4669 Prepare for more accurate position reporting and query
4672 * gst/gstelement.c: (gst_element_send_event),
4673 (gst_element_set_state):
4676 2005-09-22 Wim Taymans <wim@fluendo.com>
4678 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4679 (gst_query_parse_segment):
4682 Add segment query for future use.
4684 2005-09-22 Wim Taymans <wim@fluendo.com>
4686 * gst/gstbin.c: (gst_bin_add_func):
4687 Some more debug info.
4689 * gst/gstelement.c: (gst_element_send_event):
4693 Don't know how flags got broken.
4698 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4700 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4701 Add simplistic test suite for GST_TYPE_DATE serialisation and
4704 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4706 * docs/gst/gstreamer-sections.txt:
4707 * gst/gststructure.c: (gst_structure_set_valist),
4708 (gst_structure_get_date):
4709 * gst/gststructure.h:
4710 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4711 (gst_date_copy), (gst_value_compare_date),
4712 (gst_value_serialize_date), (gst_value_deserialize_date),
4713 (gst_value_transform_date_string),
4714 (gst_value_transform_string_date), (_gst_value_initialize):
4716 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4717 bunch of utility functions along with a hack that checks that
4718 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4719 is required. Part of the grand scheme in #170777.
4721 2005-09-22 Andy Wingo <wingo@pobox.com>
4723 * gst/gstconfig.h.in: Psych out gtk-doc.
4725 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4727 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4729 * tools/gst-inspect.c (print_element_list): Plug some
4730 inconsequential leaks.
4732 * gst/gstregistry.c (gst_registry_get_default): Doc.
4734 * check/gst/gstplugin.c:
4735 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4736 * gst/gstelementfactory.c (gst_element_factory_create):
4737 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4740 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4741 (gst_plugin_feature_load): Doc, don't eat refs.
4743 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4744 (gst_plugin_list_free): Doc.
4745 (gst_plugin_load_file): Doc updates.
4747 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4748 accessors returning refcounted objects, return a ref.
4750 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4751 accessor for caps. IDEMPOTENCE. Oh yes.
4753 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4755 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4757 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4758 (_gst_debug_register_funcptr):
4759 Add mutex to serialise access to the hash table with
4760 the function pointer => function name string mapping;
4761 make that hash table static scope (#316809).
4763 * gst/registries/.cvsignore:
4764 Remove left-over file.
4766 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4768 * docs/pwg/appendix-porting.xml:
4769 And something about newsegment events and caps-on-buffers to
4770 the porting guide (feel free to improve).
4772 2005-09-21 Andy Wingo <wingo@pobox.com>
4774 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4775 data and event probes on the same pad.
4776 (test_buffer_probe_once): Test that removing probes from within
4777 the probe functions works.
4779 2005-09-21 Andy Wingo <wingo@pobox.com>
4781 * check/gst/gstutils.c: New file.
4782 (test_buffer_probe_n_times): A simple buffer probe test. More to
4785 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4786 have-data::buffer, not have-data.
4787 (gst_pad_add_event_probe): Likewise for have-data::event.
4788 (gst_pad_add_data_probe): More docs. The part about 'resolving the
4789 peer' isn't quite right yet though.
4790 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
4791 (gst_pad_remove_data_probe): Change to take the guint handler_id
4792 as their arg, not the function+data, which is more glib-like.
4794 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4795 the signal emission to indicate if the data is a buffer or an
4797 (gst_pad_get_type): Initialize buffer and event quarks.
4798 (gst_pad_class_init): have-data is now a detailed signal, yes it
4801 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4803 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4804 * gst/gstutils.c: (gst_util_set_value_from_string),
4805 (gst_util_set_object_arg):
4806 Don't put functional code in g_return_if_fail() or
4807 g_return_val_if_fail() statements, otherwise things will
4808 break when G_DISABLE_CHECKS is defined during compilation.
4810 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4812 * docs/gst/tmpl/.cvsignore:
4813 * docs/gst/tmpl/gstvalue.sgml:
4816 inlied another one and added some obvious docs
4818 2005-09-21 Wim Taymans <wim@fluendo.com>
4820 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4821 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4822 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4823 (gst_fdsrc_get_property), (gst_fdsrc_create):
4824 * gst/elements/gstfdsrc.h:
4825 Properly implement fdsrc. Removed signal and timeout,
4826 better implemented somewhere else.
4828 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4830 * docs/gst/tmpl/.cvsignore:
4831 * docs/gst/tmpl/gstimplementsinterface.sgml:
4832 * gst/gstinterface.c:
4835 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4837 * docs/gst/gstreamer-sections.txt:
4838 * docs/gst/tmpl/.cvsignore:
4839 * docs/gst/tmpl/gstenumtypes.sgml:
4840 remove obsolete doc file
4842 2005-09-21 David Schleef <ds@schleef.org>
4844 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4845 little beer, fix a little leak.
4847 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4849 * docs/gst/gstreamer-docs.sgml:
4850 * docs/gst/gstreamer-sections.txt:
4851 * docs/gst/tmpl/.cvsignore:
4856 * gst/gstindex.c: (gst_index_class_init):
4858 * gst/gstindexfactory.c: (gst_index_factory_get_type),
4859 (gst_index_factory_class_init), (gst_index_factory_init),
4860 (gst_index_factory_finalize), (gst_index_factory_new),
4861 (gst_index_factory_destroy), (gst_index_factory_find),
4862 (gst_index_factory_create), (gst_index_factory_make):
4863 * gst/gstindexfactory.h:
4864 * gst/gstpluginfeature.c:
4865 * gst/gstpluginfeature.h:
4866 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4867 more docs inlined, splitted gstindex.{c,h}
4869 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4871 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4874 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4876 * gst/elements/gstfilesink.c: (gst_file_sink_init):
4877 Set sync to FALSE by default.
4879 2005-09-20 Wim Taymans <wim@fluendo.com>
4881 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4882 (gst_base_sink_init):
4883 Make sync property settable from subclass.
4885 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4886 (gst_fake_sink_change_state):
4887 Set sync to FALSE by default.
4889 2005-09-20 Wim Taymans <wim@fluendo.com>
4891 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4892 * tools/gst-launch.c: (main):
4893 The timeout handler should have lower priority than the source
4894 so we don't timeout before popping a message with 0 timeout.
4895 Dump error messages after failed state change.
4897 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4899 * tools/gst-inspect.c: (print_element_properties_info):
4902 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4904 * check/gst/gstevent.c:
4905 * gst/elements/gstfakesink.c:
4906 * gst/elements/gstfakesink.h:
4907 remove the sync property from fakesink.
4908 has the side effect of setting sync TRUE
4909 for fakesink, which is a change. Anyone who knows how
4910 to fix this nicely in a GObject-y way, feel free.
4912 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4914 * docs/gst/gstreamer-docs.sgml:
4915 remove probe refsection
4917 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4919 * check/Makefile.am:
4920 disable valgrinding the controller test again
4921 * docs/gst/gstreamer-sections.txt:
4922 update for api-changes
4924 2005-09-20 Wim Taymans <wim@fluendo.com>
4926 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4927 (gst_base_sink_set_property), (gst_base_sink_get_property),
4928 (gst_base_sink_do_sync):
4929 * gst/base/gstbasesink.h:
4930 Added sync property to basesink to disable clock sync.
4932 2005-09-20 Andy Wingo <wingo@pobox.com>
4934 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4935 eating the caller's refcount.
4937 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
4938 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4941 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4942 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4943 of GLib 2.8 public, so we can know which refcount to check in
4946 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4947 (gst_object_init): Only set the gst refcount if we're going ahead
4948 with the refcount hack.
4950 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4952 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4953 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4954 more leaks plumbed, added more debug-logging
4958 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4961 remove include of gstmemchunk.h
4963 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4965 * gst/gstclock.c: (_gst_clock_id_free):
4966 Commit from the Political Party For More Atomic CVS Commits,
4967 so that people don't waste too much of their day fishing
4968 out obvious leaks out of massive commits.
4969 Oh, and fix a pretty damn obvious leak in the memchunk
4972 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4974 * check/Makefile.am:
4975 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4976 plug mem-leak, re-add to valgrindable tests
4978 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4981 unbreak the build for those who have chronic arthritis
4982 and typing "make check" is just too taxing on the hands
4984 2005-09-20 Andy Wingo <wingo@pobox.com>
4986 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4987 really want it out, you should fix plugins at the same time.
4989 2005-09-19 Stefan Kost <ensonic@users.sf.net>
4992 * docs/gst/gstreamer-sections.txt:
4994 added missing symbols to api docs
4995 disable ref-count hack if we have glib >= 2.8
4997 2005-09-19 David Schleef <ds@schleef.org>
4999 * docs/gst/Makefile.am: Ignore a few more internal headers
5000 * docs/gst/gstreamer-docs.sgml: Remove old sections
5001 * docs/gst/gstreamer-sections.txt: Remove old sections
5002 * docs/gst/tmpl/gstobject.sgml: update
5003 * docs/gst/tmpl/gstplugin.sgml: update
5004 * docs/gst/tmpl/gstpluginfeature.sgml: update
5005 * docs/random/ds/0.9-suggested-changes: update.
5006 * gst/Makefile.am: remove memchunk and trashstack, since they're
5008 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5009 * gst/gst.h: don't include some headers
5010 * gst/gstchildproxy.c: add gstmarshal.h
5011 * gst/gstclock.c: Don't use memchunks
5012 * gst/gstminiobject.c: Add some docs
5013 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5014 * gst/gstobject.h: same
5015 * gst/gstplugin.c: include gstmacros.h
5016 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5017 * gst/gstquery.c: don't use memchunks
5018 * gst/gstregistry.c: rename gst_registry_deinit()
5019 * gst/gstregistry.h: same
5021 2005-09-19 David Schleef <ds@schleef.org>
5023 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5024 * docs/libs/gstreamer-libs-sections.txt:
5025 * docs/libs/tmpl/gstgetbits.sgml:
5026 * docs/libs/tmpl/gstputbits.sgml:
5028 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5030 * win32/gstenumtypes.c:
5031 * win32/gstenumtypes.h:
5034 2005-09-19 Wim Taymans <wim@fluendo.com>
5036 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5037 Automatically PAUSE and RESUME a pipeline when a flushing seek
5040 2005-09-19 Andy Wingo <wingo@pobox.com>
5042 * gst/gstregistry.h: Spacing fixen.
5044 2005-09-19 Wim Taymans <wim@fluendo.com>
5046 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5047 Handle state change failure more correctly.
5049 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5051 * check/Makefile.am:
5052 * check/pipelines/cleanup.c: (run_pipeline):
5053 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5055 enable cleanup again after fixing the leak
5057 some more info on docs
5059 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5061 * check/Makefile.am:
5062 re-enable tests now that leaks are plugged
5064 * check/gst/gstbin.c:
5065 * check/gst/gstpipeline.c:
5066 add some more tests while fixing leaks
5068 make sure binaries are uptodate when valgrinding/gdbing
5070 * gst/gstelementfactory.c:
5071 remove a ref too many, and add a FIXME for when we get
5072 round to disposing of classes
5074 fix the refcounting when loading a plugin from a file and
5075 the code pretends that the pointer is the same even though
5076 of course it can change
5077 * gst/gstpluginfeature.c:
5078 unref plugins marked cached (a bit confusing as a name)
5079 as the docs state should be done
5080 various doc additions to explain refcounting
5081 * gst/gstregistry.c:
5082 * gst/gstregistryxml.c:
5085 2005-09-19 Wim Taymans <wim@fluendo.com>
5087 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5088 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5089 (send_messages), (GST_START_TEST), (gstbus_suite):
5090 * check/gst/gstpipeline.c: (GST_START_TEST):
5091 * check/pipelines/cleanup.c: (run_pipeline):
5092 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5094 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5095 (gst_bus_source_check), (gst_bus_source_dispatch),
5096 (gst_bus_create_watch), (gst_bus_add_watch_full),
5097 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5099 * tools/gst-launch.c: (event_loop):
5100 * tools/gst-md5sum.c: (event_loop):
5101 GstBusHandler -> GstBusFunc, return value has the same meaning as
5102 any other GSource (FALSE == remove source).
5103 _add_watch() and _add_watch_full() now take a MessageType mask to
5104 only handle specific types of messages.
5105 _poll() returns the GstMessage instead of the message type to avoid
5107 _have_pending() takes a MessageType mask now too.
5108 Added testsuite for multiple bus watches.
5109 Fix testsuites and applications for new bus API.
5111 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5113 * check/Makefile.am:
5114 mark a bunch of the tests as to fix until we fix them
5116 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5119 use GST_PLUGIN settings for valgrind tests as well, so we're
5120 valgrinding the correct thing
5121 * gst/gst.c: (init_post):
5124 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5126 * gst/gst.c: (init_post), (gst_deinit):
5127 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5128 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5129 * gst/gstindex.c: (gst_index_factory_class_init),
5130 (gst_index_factory_finalize):
5131 * gst/gstobject.c: (gst_object_dispose):
5132 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5133 (gst_plugin_load_file), (gst_plugin_desc_free):
5134 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5135 (gst_plugin_feature_finalize):
5136 * gst/gstregistry.c: (gst_registry_class_init),
5137 (gst_registry_init), (gst_registry_finalize),
5138 (gst_registry_get_default), (gst_registry_deinit):
5139 * gst/gstregistry.h:
5140 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5141 various cleanups and memleak plugging. make valgrind is happy now.
5143 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5146 add a check-valgrind target
5148 2005-09-18 David Schleef <ds@schleef.org>
5150 * tools/gst-inspect.c: Revert the GOption code.
5152 2005-09-17 David Schleef <ds@schleef.org>
5154 * check/Makefile.am: Fix environment variables.
5155 * check/gst/gstplugin.c: Fix for API changes.
5156 * tools/gst-inspect.c: Fix for API changes.
5157 * tools/gst-xmlinspect.c: Fix for API changes.
5158 * gst/gstelementfactory.c:
5161 * gst/gstpluginfeature.c:
5162 * gst/gstpluginfeature.h:
5163 * gst/gstregistry.c:
5164 * gst/gstregistry.h:
5165 * gst/gstregistryxml.c:
5166 * gst/gsttypefind.c:
5167 * gst/gsttypefindfactory.c:
5168 * gst/indexers/gstfileindex.c:
5169 * gst/indexers/gstmemindex.c:
5170 * gst/schedulers/Makefile.am:
5171 Change registry to keep track of both plugins and features,
5172 removing the feature tracking from plugins themselves.
5174 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5176 * check/Makefile.am:
5177 * tools/gst-register.1.in:
5180 2005-09-15 David Schleef <ds@schleef.org>
5182 * check/gst/gstplugin.c:
5183 * gst/gstelementfactory.c:
5185 * gst/gstpluginfeature.c:
5186 * gst/gstregistry.c:
5187 Getting tired of debugging. Disabled all the unreffing of
5188 plugins and features, which fixes the segfaults, but of
5189 course leaks like crazy. At least playbin works.
5191 2005-09-15 David Schleef <ds@schleef.org>
5193 * check/gst/gstplugin.c: (register_check_elements),
5194 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5196 * gst/elements/gsttypefindelement.c: Fix refcounting.
5197 * gst/gsttypefind.c:
5198 * gst/gsttypefindfactory.c:
5199 * gst/gsttypefindfactory.h:
5201 2005-09-15 David Schleef <ds@schleef.org>
5203 * gst/gstindex.c: get refcounting correct.
5204 * gst/gstregistry.c: Handle the case where a feature/plugin is
5207 2005-09-15 David Schleef <ds@schleef.org>
5209 * check/Makefile.am:
5210 * check/gst/gstplugin.c: Add test
5211 * gst/gstplugin.c: Fix problems noticed by testsuite
5213 * gst/gstregistry.c:
5214 * gst/gstregistry.h:
5216 2005-09-15 David Schleef <ds@schleef.org>
5218 * gst/gstplugin.c: Implement semi-decent recounting and locking
5219 in plugins and plugin features.
5221 * gst/gstpluginfeature.c:
5222 * gst/gstpluginfeature.h:
5223 * gst/gstregistry.c:
5225 2005-09-15 Michael Smith <msmith@fluendo.com>
5227 * gst/gstregistry.c: (gst_registry_get_feature_list):
5228 Implement this. Makes oggdemux work; decodebin still broken.
5230 2005-09-14 David Schleef <ds@schleef.org>
5232 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5234 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5235 * gst/check/Makefile.am:
5236 * libs/gst/controller/Makefile.am:
5237 * libs/gst/dataprotocol/Makefile.am:
5239 2005-09-14 David Schleef <ds@schleef.org>
5241 * configure.ac: Remove getbits library. Nothing uses it, and
5242 it should be in something like liboil if someone did want
5244 * libs/gst/Makefile.am:
5245 * libs/gst/getbits/Makefile.am:
5246 * libs/gst/getbits/gbtest.c:
5247 * libs/gst/getbits/getbits.c:
5248 * libs/gst/getbits/getbits.h:
5249 * libs/gst/getbits/gstgetbits_generic.c:
5250 * libs/gst/getbits/gstgetbits_i386.s:
5251 * libs/gst/getbits/gstgetbits_inl.h:
5253 2005-09-14 David Schleef <ds@schleef.org>
5255 * gst/Makefile.am: Dist glib-compat.h
5257 2005-09-14 David Schleef <ds@schleef.org>
5259 * configure.ac: Remove gst/registries, since it's no longer used.
5260 * gst/registries/Makefile.am:
5261 * gst/registries/gstlibxmlregistry.c:
5262 * gst/registries/gstlibxmlregistry.h:
5263 * gst/registries/gstxmlregistry.c:
5264 * gst/registries/gstxmlregistry.h:
5265 * gst/registries/registrytest.c:
5267 2005-09-14 David Schleef <ds@schleef.org>
5269 * gst/glib-compat.h:
5270 * gst/gstregistryxml.c:
5271 Convergence is near. Seriously.
5273 2005-09-14 David Schleef <ds@schleef.org>
5275 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5276 * gst/glib-compat.h:
5277 Attempt #4 to appease the buildbots.
5279 2005-09-14 David Schleef <ds@schleef.org>
5281 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5284 2005-09-14 David Schleef <ds@schleef.org>
5286 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5289 2005-09-14 David Schleef <ds@schleef.org>
5291 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5294 2005-09-14 David Schleef <ds@schleef.org>
5296 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5297 * gst/glib-compat.h: Add some functions that are in newer versions
5298 of glib than we care to require.
5299 * gst/gstregistryxml.c: Use them.
5301 2005-09-14 David Schleef <ds@schleef.org>
5303 * po/POTFILES.in: remove gst-register.c
5305 2005-09-14 David Schleef <ds@schleef.org>
5307 * docs/gst/gstreamer-docs.sgml:
5308 * docs/gst/gstreamer-sections.txt:
5309 * docs/gst/gstreamer.types:
5310 * docs/gst/tmpl/gstelement.sgml:
5311 * docs/gst/tmpl/gstplugin.sgml:
5312 * docs/gst/tmpl/gstpluginfeature.sgml:
5313 Documentation updates for registry changes.
5315 2005-09-14 David Schleef <ds@schleef.org>
5317 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5318 because we don't require glib-2.8.
5320 2005-09-14 David Schleef <ds@schleef.org>
5322 * gst/gstregistryxml.c: Added. Essentially moved out of the
5323 registries directory.
5325 2005-09-14 David Schleef <ds@schleef.org>
5327 * check/Makefile.am:
5328 * check/generic/states.c:
5332 * gst/gst_private.h:
5333 * gst/gstelementfactory.c:
5338 * gst/gstpluginfeature.c:
5339 * gst/gstpluginfeature.h:
5340 * gst/gstregistry.c:
5341 * gst/gstregistry.h:
5342 * gst/gstregistrypool.c: remove
5343 * gst/gstregistrypool.h: remove
5344 * gst/gsttypefind.c:
5345 * gst/gsttypefindfactory.c:
5347 * tools/Makefile.am:
5348 * tools/gst-compprep.c:
5349 * tools/gst-inspect.c:
5350 * tools/gst-register.c: remove
5351 * tools/gst-xmlinspect.c:
5352 Registry rewrite. Changes registry from being a file created
5353 by a tool into a simple cache file created automatically by
5354 libgstreamer. Removed gst-register (because it's no longer
5355 needed). Remove registry pools, because we only have one
5356 registry implementation (XML). Fix up other subsystems as
5359 2005-09-13 Michael Smith <msmith@fluendo.com>
5361 * gst/gstconfig.h.in:
5362 Don't Use windows linking attributes for MinGW. Fixes #316157
5364 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5366 * gst/gstutils.c: (set_state_async_thread_func),
5367 (gst_element_set_state_async):
5368 Apparently people think it's better if this function doesn't
5369 try to set the state to whatever state was asked for on the first
5370 call to this function for any object. Seriously.
5372 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5374 * check/gst/gstpipeline.c: (GST_START_TEST):
5375 * docs/gst/gstreamer-sections.txt:
5376 * gst/gstutils.c: (set_state_async_thread_func),
5377 (gst_element_set_state_async):
5379 add a "gst_element_set_state_async" method that
5380 sets the state and starts a thread to make sure the state
5381 change completes as best as it can
5383 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5385 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5386 codify design+behaviour in testsuite after discussion
5388 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5390 * docs/gst/tmpl/gstelement.sgml:
5391 * docs/manual/appendix-quotes.xml:
5393 * gst/gstelement.c: (gst_element_set_state):
5396 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5398 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5399 (gst_base_transform_prepare_output_buf),
5400 (gst_base_transform_handle_buffer):
5401 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5402 (gst_capsfilter_prepare_buf):
5403 Remove the requirement for sub-classes to call the parent
5404 implementation of prepare_output_buffer with a wrapper function.
5407 * gst/gsttagsetter.h:
5410 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5412 * docs/gst/gstreamer-sections.txt:
5415 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5417 * docs/gst/gstreamer-sections.txt:
5418 * docs/gst/tmpl/gstelement.sgml:
5419 * docs/gst/tmpl/gstplugin.sgml:
5420 * gst/gstminiobject.c:
5422 docs now stop throwing warnings
5424 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5426 * docs/gst/gstreamer-sections.txt:
5427 * docs/gst/gstreamer.types:
5428 * docs/gst/tmpl/gstpad.sgml:
5429 * docs/gst/tmpl/gsttypes.sgml:
5430 * gst/base/gstadapter.h:
5431 * gst/base/gstbasesink.h:
5432 * gst/base/gstbasesrc.h:
5442 * gst/gststructure.c:
5443 * gst/registries/gstlibxmlregistry.h:
5444 various documentation fixes
5446 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5448 * docs/gst/gstreamer-sections.txt:
5449 * docs/gst/tmpl/gstvalue.sgml:
5450 rearrange gstvalue section
5451 * gst/gstutils.c: (gst_element_state_get_name):
5453 * gst/gstvalue.c: (_gst_value_initialize):
5457 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5459 * check/gst-libs/controller.c:
5461 * gst/base/gstbasetransform.c:
5462 (gst_base_transform_default_prepare_buf),
5463 (gst_base_transform_handle_buffer):
5464 * gst/base/gstbasetransform.h:
5465 Some more basetransform changes and fixes to enable sub-classes
5466 that modify buffer metadata only.
5467 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5468 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5469 (gst_capsfilter_prepare_buf):
5470 If the output pad has fixed allowed caps and input buffers
5471 don't have any, set the fixed caps on outgoing buffers.
5473 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5474 * check/elements/identity.c: (GST_START_TEST):
5475 Make the error a little clearer when the test fails because
5476 identity made a copy of the buffer.
5477 * docs/gst/gstreamer-sections.txt:
5478 New symbols in gstbasetransform.h
5479 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5480 (gst_base_transform_init), (gst_base_transform_transform_size),
5481 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5482 (gst_base_transform_default_prepare_buf),
5483 (gst_base_transform_get_unit_size),
5484 (gst_base_transform_buffer_alloc),
5485 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5486 (gst_base_transform_change_state),
5487 (gst_base_transform_set_passthrough),
5488 (gst_base_transform_set_in_place),
5489 (gst_base_transform_is_in_place):
5490 * gst/base/gstbasetransform.h:
5491 Change BaseTransform to separate in_place operate from same_caps
5492 output. in_place implies that the element can perform the transform
5493 on incoming buffers in-place, even if the caps on the output are
5495 Sub-class elements can now implement special buffer allocation
5496 methods for outgoing buffers if they wish to.
5497 Big documentation addition.
5498 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5499 * gst/elements/gstelements.c:
5500 Changes for basetransform modifications.
5501 * gst/elements/Makefile.am:
5502 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5503 Compile fix. Extra debug output.
5505 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5507 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5509 add tests for valid pad naming
5510 * gst/check/gstcheck.c: (gst_check_log_message_func),
5511 (gst_check_log_critical_func):
5513 remove printing of code, it is fragile when the code contains
5514 % and the line number is enough info
5515 * gst/check/gstcheck.h:
5516 * gst/gstpad.c: (gst_pad_template_new):
5519 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5522 say what CHECK flags we use
5523 * docs/libs/gstreamer-libs.types:
5524 * libs/gst/controller/Makefile.am:
5525 * libs/gst/controller/gst-controller.c:
5526 * libs/gst/controller/gst-controller.h:
5527 * libs/gst/controller/gst-helper.c:
5528 * libs/gst/controller/gst-interpolation.c:
5529 * libs/gst/controller/gstcontroller.c:
5530 * libs/gst/controller/gsthelper.c:
5531 * libs/gst/controller/gstinterpolation.c:
5532 * tools/gst-inspect.c: (print_plugin_info):
5533 we don't use dashes in header names
5535 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5537 * check/Makefile.am:
5538 * check/gst/.cvsignore:
5539 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5540 (gst_pipeline_suite), (main):
5541 adding a test for pipelines and state changes
5542 * gst/gstutils.c: (get_state_func):
5544 * gstreamer.spec.in:
5547 2005-09-08 Michael Smith <msmith@fluendo.com>
5549 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5550 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5551 (gst_file_src_is_seekable), (gst_file_src_get_size),
5552 (gst_file_src_start):
5553 * gst/elements/gstfilesrc.h:
5554 Various fixes for unseekable, unmmapable, and non-normal files, so
5555 that fallback to read() rather than mmap() works.
5556 * gst/gstevent.c: (gst_event_new_newsegment):
5557 Allow newsegment events with segment_start == segment_end, as will
5558 correctly happen if you use filesrc on a zero-size file, for
5561 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5563 * gst/gstplugin.c: (gst_plugin_load_file):
5564 Call g_module_close when we don't load the module
5566 * gst/registries/gstlibxmlregistry.c:
5567 (gst_xml_registry_get_property):
5568 Port leak fix from 0.8
5570 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5572 * docs/gst/gstreamer-docs.sgml:
5573 * docs/gst/tmpl/.cvsignore:
5574 * docs/gst/tmpl/gsttrace.sgml:
5575 * docs/gst/tmpl/gsttrashstack.sgml:
5584 * gst/gsttaginterface.c:
5585 * gst/gsttaginterface.h:
5588 * gst/gsttagsetter.c:
5589 * gst/gsttagsetter.h:
5592 * gst/gsttrashstack.c:
5593 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5594 inlined docs for gsttrace, gsttrashstack
5596 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5599 * gst/elements/gstbufferstore.h:
5600 * gst/elements/gsttypefindelement.c:
5601 * gst/elements/gsttypefindelement.h:
5603 * gst/gsttypefind.c:
5604 * gst/gsttypefind.h:
5605 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5606 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5607 (gst_type_find_factory_dispose),
5608 (gst_type_find_factory_unload_thyself),
5609 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5610 (gst_type_find_factory_get_caps),
5611 (gst_type_find_factory_get_extensions),
5612 (gst_type_find_factory_call_function):
5613 * gst/gsttypefindfactory.h:
5614 * gst/registries/gstlibxmlregistry.c:
5615 * gst/registries/gstxmlregistry.c:
5616 splitted gsttypefind into gsttypefind, gsttypefindfactory
5618 2005-09-07 Andy Wingo <wingo@pobox.com>
5620 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5621 condition whereby the pad's task function is entered before the
5622 pad_mode variable was set.
5624 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5626 * gst/gstpad.c: (gst_pad_alloc_buffer):
5627 Catch misbehaving pad_alloc functions that don't
5628 set up caps and do it for them.
5630 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5632 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5634 * docs/gst/tmpl/.cvsignore:
5635 * docs/gst/tmpl/gstmemchunk.sgml:
5636 * docs/gst/tmpl/gstparse.sgml:
5637 * docs/gst/tmpl/gsttaglist.sgml:
5638 * docs/gst/tmpl/gsttagsetter.sgml:
5639 * docs/gst/tmpl/gsttypefind.sgml:
5640 * docs/gst/tmpl/gsttypefindfactory.sgml:
5641 * gst/gstmemchunk.c:
5644 * gst/gsttaginterface.c:
5645 * gst/gsttypefind.c:
5646 * gst/gsttypefind.h:
5649 === release 0.9.2 ===
5651 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5656 releasing 0.9.2, "South"
5658 2005-09-05 Andy Wingo <wingo@pobox.com>
5660 * gst/registries/gstxmlregistry.h:
5661 * gst/registries/gstxmlregistry.c: Um... resurrect...
5663 * gst/registries/gstxmlregistry.h:
5664 * gst/registries/gstxmlregistry.c: and update to newer API.
5665 Incidentally they should be a bit faster now that they don't have
5668 2005-09-05 Andy Wingo <wingo@pobox.com>
5670 * gst/registries/gstxmlregistry.h:
5671 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5672 replaced by the libxml registry a while back
5674 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5676 * docs/gst/tmpl/gstplugin.sgml:
5677 * gst/elements/gstelements.c:
5679 * gst/gstplugin.c: (gst_plugin_register_func),
5680 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5681 (gst_plugin_get_source):
5683 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5684 (gst_xml_registry_save_plugin):
5685 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5686 (gst_xml_registry_save_plugin):
5687 * tools/gst-inspect.c: (print_plugin_info):
5688 add a "source" plugin description field, to represent the source
5689 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5690 will set it to PACKAGE, which is automake's idea of the name of
5693 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5699 * docs/faq/Makefile.am:
5700 * docs/gst/tmpl/gstelement.sgml:
5701 * docs/gst/tmpl/gsttypes.sgml:
5702 * docs/htmlinstall.mak:
5703 * docs/manual/Makefile.am:
5704 * docs/pwg/Makefile.am:
5705 reorganize doc build a little
5706 split out docbook and gtk-doc stuff
5707 have two separate --enable's and enable them through autogen
5708 but disable by default in configure (to be similar to other
5710 * gstreamer.spec.in:
5711 clean up docs install
5731 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5733 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5736 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5737 (gst_fake_sink_change_state):
5738 Make state change function thread-safe.
5740 * gst/gstpad.c: (gst_pad_alloc_buffer):
5741 Set offset on generic buffer allocated by fallback.
5743 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5745 * docs/gst/gstreamer-sections.txt:
5746 * docs/gst/tmpl/gstelement.sgml:
5748 * libs/gst/controller/gst-controller.c:
5749 (gst_controlled_property_set_interpolation_mode),
5750 (gst_controlled_property_new),
5751 (gst_controller_find_controlled_property):
5752 run the wingo-magic script against the docs
5754 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5756 * docs/gst/gstreamer-docs.sgml:
5757 * docs/gst/gstreamer-sections.txt:
5758 * docs/gst/tmpl/.cvsignore:
5759 * docs/gst/tmpl/gstelementdetails.sgml:
5760 * docs/gst/tmpl/gstelementfactory.sgml:
5763 * gst/gstelementfactory.c:
5764 * gst/gstelementfactory.h:
5765 merged elementdetails docs into elementfactory docs
5768 2005-09-02 Andy Wingo <wingo@pobox.com>
5770 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5771 consider this enum an enum and not a flags.
5773 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5775 * docs/gst/gstreamer-docs.sgml:
5776 * docs/gst/tmpl/.cvsignore:
5777 * docs/gst/tmpl/gstghostpad.sgml:
5778 * docs/gst/tmpl/gstiterator.sgml:
5779 * docs/gst/tmpl/gstmacros.sgml:
5780 * docs/gst/tmpl/gstrealpad.sgml:
5781 * docs/gst/tmpl/gstregistry.sgml:
5782 * docs/gst/tmpl/gstregistrypool.sgml:
5783 * docs/gst/tmpl/gststructure.sgml:
5784 * docs/gst/tmpl/gstsystemclock.sgml:
5785 * docs/gst/tmpl/gsttrace.sgml:
5786 * gst/gstghostpad.c:
5788 * gst/gstmemchunk.c:
5789 * gst/gstmemchunk.h:
5791 * gst/gstregistry.c:
5792 * gst/gstregistrypool.c:
5793 * gst/gststructure.c:
5794 * gst/gstsystemclock.c:
5797 2005-09-02 Andy Wingo <wingo@pobox.com>
5799 * gst/gstelement.h (GstState): Renamed from GstElementState,
5800 changed to be a normal enum instead of flags.
5801 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5802 munged to be GST_STATE_CHANGE_*.
5803 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5804 work with the new state representation.
5805 (GstStateChange): New enumeration of possible state transitions.
5806 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5807 (GstElementClass::change_state): Pass the GstStateChange along as
5808 an argument. Helps language bindings, so they don't have to use
5809 tricky lock-needing macros like GST_STATE_CHANGE ().
5811 * scripts/update-states (file): New script. Run it on a file to
5812 update it for state naming and API changes. Updates files in
5815 * All files updated for the new API.
5817 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
5819 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5820 * gst/gstutils.c: (gst_util_set_value_from_string),
5821 (gst_util_set_object_arg):
5822 fix a bunch of unchecked return values
5823 * tools/gst-complete.c: (main):
5824 * gstreamer.spec.in:
5827 2005-09-01 Wim Taymans <wim@fluendo.com>
5829 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5830 (gst_base_sink_event), (gst_base_sink_do_sync),
5831 (gst_base_sink_handle_event):
5832 * gst/base/gstbasesink.h:
5833 Handle newsegments more correctly.
5838 * gst/gstevent.c: (gst_event_new_newsegment):
5839 A newsegment cannot have a start_time of -1
5841 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
5843 * win32/gstenumtypes.c:
5844 * win32/gstenumtypes.h:
5847 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5849 * libs/gst/controller/gst-controller.c:
5850 (gst_controlled_property_set_interpolation_mode),
5851 (gst_controlled_property_new):
5854 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
5856 * docs/faq/gst-uninstalled:
5861 * gst/gstutils.c: (gst_element_link_filtered):
5863 add gst_element_link_filtered
5865 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5867 * docs/gst/gstreamer-docs.sgml:
5868 * docs/gst/gstreamer-sections.txt:
5869 * docs/gst/tmpl/.cvsignore:
5870 * docs/gst/tmpl/gsterror.sgml:
5871 * docs/gst/tmpl/gstfilter.sgml:
5872 * docs/gst/tmpl/gsturihandler.sgml:
5873 * docs/gst/tmpl/gsturitype.sgml:
5874 * docs/gst/tmpl/gstutils.sgml:
5875 * docs/gst/tmpl/gstxml.sgml:
5883 inlined more docs, fixed double id-ref
5885 2005-08-31 Wim Taymans <wim@fluendo.com>
5887 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5888 (gst_base_transform_handle_buffer):
5889 Passthrough elements don't need the caps as they don't care.
5891 2005-08-31 Wim Taymans <wim@fluendo.com>
5893 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5894 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5895 Don't leak refcounts on buffers.
5897 2005-08-31 Wim Taymans <wim@fluendo.com>
5899 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5900 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5901 (gst_base_transform_chain), (gst_base_transform_change_state):
5902 * gst/base/gstbasetransform.h:
5903 Handle the case where we are not negotiated more gracefully.
5905 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
5907 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5908 (gst_file_src_map_region):
5909 Set READONLY flag on mmap'ed buffers, otherwise
5910 gst_buffer_make_writable() won't work properly (#314708).
5912 2005-08-31 Wim Taymans <wim@fluendo.com>
5914 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5915 passthrough elements can even do inplace on non writable
5916 buffers (as they don't touch them).
5918 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5920 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5921 (gst_test_mono_source_set_property),
5922 (gst_test_mono_source_class_init), (GST_START_TEST),
5923 (gst_controller_suite):
5924 more tests (hehe I have the most)
5926 describe popping messages whenusing mulltiple sources
5927 * libs/gst/controller/gst-controller.c:
5928 (gst_controlled_property_set_interpolation_mode),
5929 (gst_controlled_property_new):
5930 * libs/gst/controller/gst-controller.h:
5931 * libs/gst/controller/gst-interpolation.c:
5932 implement boolean properties
5934 2005-08-31 Wim Taymans <wim@fluendo.com>
5936 * gst/gstminiobject.c: (gst_mini_object_ref):
5937 Cannot assert that the refcount has to be positive
5938 since a disposed object can be resurrected.
5940 2005-08-31 Wim Taymans <wim@fluendo.com>
5942 * gst/gstpad.c: (gst_pad_init):
5943 Revert change, need to first fix badly behaving
5946 2005-08-30 Wim Taymans <wim@fluendo.com>
5948 * check/elements/fakesrc.c: (setup_fakesrc):
5949 * check/elements/identity.c: (setup_identity):
5950 Activate pads before using them.
5952 2005-08-30 Wim Taymans <wim@fluendo.com>
5954 * gst/base/gstadapter.c: (gst_adapter_flush):
5955 Flushing out 0 bytes is ok for this function.
5957 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5958 no newsegment gives a warning and sets the start/stop to
5961 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5962 (gst_base_transform_set_passthrough):
5965 * gst/gstminiobject.c: (gst_mini_object_ref):
5966 Check refcount here too.
5968 * gst/gstpad.c: (gst_pad_init):
5969 Pads are initially flushing and refusing data.
5971 * gst/gstutils.c: (gst_element_link_pads_filtered):
5972 When adding a capsfilter element make sure it has the
5973 same state as the parent bin.
5975 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5977 * docs/gst/tmpl/.cvsignore:
5978 * docs/gst/tmpl/gstformat.sgml:
5979 * docs/gst/tmpl/gstversion.sgml:
5983 * gst/gstversion.h.in:
5984 more docs and two more inlined
5986 2005-08-30 Wim Taymans <wim@fluendo.com>
5988 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5989 Don't sync to clock.
5991 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5993 * docs/gst/gstreamer-sections.txt:
5994 ultral33t func10ns deserve to appear in the docs actually
5995 * docs/gst/tmpl/.cvsignore:
5996 * docs/gst/tmpl/gstcompat.sgml:
5997 * docs/gst/tmpl/gstconfig.sgml:
5998 * gst/check/gstcheck.c:
6000 * gst/gstconfig.h.in:
6003 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6005 * docs/gst/tmpl/.cvsignore:
6006 * docs/gst/tmpl/gstquery.sgml:
6007 * docs/gst/tmpl/gstutils.sgml:
6010 inlined and extended docs
6012 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6014 * check/gst-libs/controller.c: (GST_START_TEST),
6015 (gst_controller_suite):
6017 * docs/gst/tmpl/gstutils.sgml:
6018 * docs/libs/gstreamer-libs-sections.txt:
6019 * docs/libs/tmpl/gstdataprotocol.sgml:
6021 * examples/controller/audio-example.c: (main):
6022 controller example works now
6025 * tools/gst-inspect.c: (print_element_properties_info):
6026 show param spec flags
6028 2005-08-29 Andy Wingo <wingo@pobox.com>
6030 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6032 2005-08-28 Andy Wingo <wingo@pobox.com>
6034 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6035 as having two arguments instead of just one. Allows superclasses
6036 to access information on subclasses -- see the terrible for() loop
6037 in gtype.c:g_type_create_instance for the reason why. All callers
6040 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6042 * docs/design/part-messages.txt:
6044 * docs/gst/tmpl/.cvsignore:
6045 * docs/gst/tmpl/gstcaps.sgml:
6046 * docs/gst/tmpl/gstclock.sgml:
6053 added descriptions for bus and message
6054 inline caps and clock docs
6056 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6062 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6064 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6067 2005-08-26 Andy Wingo <wingo@pobox.com>
6069 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6070 element_set_state's return val.
6071 (test_2_elements): Add test that's been disabled for months.
6073 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6074 can-activate-pull properties.
6076 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6077 can-activate-pull properties. Implement is_seekable so fakesrc can
6078 operate in pull mode.
6080 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6082 (gst_base_sink_activate, gst_base_sink_activate_pull)
6083 (gst_base_sink_activate_push): Make activation mode choosing work.
6085 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6086 is right. Make pull mode work. Post an eos before pausing in pull
6088 (gst_base_sink_change_state): Pay attention to the core's
6089 change_state() return val.
6091 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6092 has-getrange properties. Cleanups.
6094 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6095 has_getrange and replace with can_activate_pull and
6098 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6099 locking comments. Remove has_loop, has_chain and replace with
6100 can_activate_pull and can_activate_push.
6102 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6105 * examples/Makefile.am:
6106 * examples/metadata/Makefile.am:
6107 * examples/metadata/read-metadata.c: (message_loop),
6108 (have_pad_handler), (make_pipeline), (print_tag), (main):
6109 Add metadata reading example that loops over a list of filenames,
6110 dumping any tags found.
6112 * gst/gstbus.c: (gst_bus_dispose):
6113 * gst/gstelement.c: (gst_element_dispose):
6114 Release a few potentially-held references in dispose.
6116 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6118 * docs/gst/tmpl/gstminiobject.sgml:
6119 do *not* add tmpl/*.sgml files to CVS!
6121 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6123 * libs/gst/bytestream/.cvsignore:
6124 * libs/gst/bytestream/Makefile.am:
6125 * libs/gst/bytestream/adapter.c:
6126 * libs/gst/bytestream/adapter.h:
6127 * libs/gst/bytestream/bytestream.c:
6128 * libs/gst/bytestream/bytestream.h:
6129 * libs/gst/bytestream/filepad.c:
6130 * libs/gst/bytestream/filepad.h:
6131 removing obsolete files
6133 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6135 * docs/gst/gstreamer-docs.sgml:
6136 * docs/libs/gstreamer-libs-docs.sgml:
6137 disabed additional index entries again, as this makes docs-gen just
6138 slow and they aren't useful yet
6139 * docs/libs/gstreamer-libs-sections.txt:
6140 little -section.txt cleanup for libs
6142 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6144 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6145 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6146 fix up some debugging
6147 (gst_base_transform_get_unit_size),
6148 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6149 (gst_base_transform_handle_buffer):
6150 * gst/base/gstbasetransform.h:
6151 handle and store timed NEWSEGMENT events so that subclasses that
6152 calculate time by counting samples have a segment_start time they
6153 need to add to their timestamps - see audioresample
6155 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6158 removed ';' from the end of macro defs
6159 * docs/gst/gstreamer-docs.sgml:
6160 * docs/gst/gstreamer-sections.txt:
6161 * docs/gst/tmpl/.cvsignore:
6163 * gst/gstelement.c: (gst_element_class_init),
6164 (gst_element_set_state), (activate_pads),
6165 (gst_element_save_thyself):
6166 * gst/gstevent.c: (gst_event_new_newsegment):
6168 * gst/gstiterator.c:
6169 * gst/gstiterator.h:
6172 * gst/gstutils.c: (gst_pad_query_convert):
6174 fixed parameter name mismatches between source, header and docs
6175 added some more docs, resolved the last batch of unused elements in
6176 docs (now someone needs to doc them)
6178 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6180 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6181 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6182 don't walk through the plugins backwards. Where is all this
6183 reversed logic coming from ?
6185 2005-08-25 Wim Taymans <wim@fluendo.com>
6187 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6188 (gst_base_transform_transform_size),
6189 (gst_base_transform_configure_caps),
6190 (gst_base_transform_get_unit_size),
6191 (gst_base_transform_buffer_alloc),
6192 (gst_base_transform_change_state):
6193 * gst/base/gstbasetransform.h:
6194 Cache caps unit_size.
6195 Make sure we cannot negotiate up and downstream at the
6198 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6200 * gst/gst.c: (init_pre), (init_post):
6201 register the installed plugin path after the env var
6202 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6203 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6204 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6205 directories, so the tests can prefer uninstalled over installed
6207 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6209 * gst/base/gstbasetransform.h:
6214 2005-08-25 Wim Taymans <wim@fluendo.com>
6216 * gst/gstbin.c: (bin_bus_handler):
6217 Be a bit more conservative about the posted message.
6219 * gst/gstbus.c: (gst_bus_post):
6220 Some cleanups, warn wrong return values.
6222 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6224 * check/gst/gstbin.c: (GST_START_TEST):
6225 * gst/gstbin.c: (bin_bus_handler):
6226 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6227 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6228 (gst_message_new_warning), (gst_message_new_tag),
6229 (gst_message_new_state_changed), (gst_message_new_segment_start),
6230 (gst_message_new_segment_done), (gst_message_new_custom):
6232 * tools/gst-launch.c: (event_loop):
6233 * tools/gst-md5sum.c: (event_loop):
6234 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6236 2005-08-25 Wim Taymans <wim@fluendo.com>
6238 * check/generic/states.c: (GST_START_TEST):
6239 Cleanup can be done at the end.
6241 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6242 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6243 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6244 Oh boy.. Thanks for finding this, Thomas.
6246 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6248 * docs/gst/gstreamer.types:
6251 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6253 * docs/gst/gstreamer-docs.sgml:
6254 * docs/gst/gstreamer-sections.txt:
6255 * docs/gst/tmpl/.cvsignore:
6257 * gst/gstiterator.c:
6259 * gst/registries/gstxmlregistry.h:
6260 added missing classes and symbols (123 more to go)
6261 removed removed symbols from section file
6262 fixed many doc-comments
6264 2005-08-24 Wim Taymans <wim@fluendo.com>
6266 * check/generic/states.c: (GST_START_TEST):
6267 Make sure all tasks are stopped.
6269 * check/gst/gstbin.c: (GST_START_TEST):
6270 Unref after usage for proper valgrinding.
6272 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6273 Really wait for the task to stop before destroying the
6276 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6277 (gst_queue_src_activate_push):
6278 Small cleanups. Don't stop the task when we did not start
6281 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6282 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6283 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6286 Protect the stream lock with the object lock.
6287 Disallow setting the stream lock when running.
6288 Add cleanup_all to wait for the threadpool to finish.
6289 Remove code to autoallocate a mutex if none was provided.
6290 Add _join() to wait for a task to stop.
6291 Protect the thread pool with a global lock.
6293 2005-08-24 Wim Taymans <wim@fluendo.com>
6295 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6296 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6297 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6298 * gst/base/gstbasesink.h:
6299 Handle newsegment events correctly.
6300 Drop buffers out of the segment range.
6302 2005-08-22 Andy Wingo <wingo@pobox.com>
6304 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6305 macro, implements an interface and gstimplementsinterface for a
6308 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6310 * check/Makefile.am:
6311 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6312 add a test that does a bunch of state changes on elements
6313 needs some fixing for valgrind
6314 * check/states/sinks.c: (gst_object_suite):
6317 add prototype for gst_caps_is_equal_fixed
6319 * gst/gstregistrypool.c:
6322 2005-08-24 Andy Wingo <wingo@pobox.com>
6324 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6325 convert a negative value. Doesn't make much sense. Mostly this is
6326 here to force callers to ensure -1 maps to -1.
6328 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6330 * docs/pwg/advanced-types.xml:
6331 Well done to Michael for catching my deliberate introduction
6332 of this spelling mistake.
6333 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6335 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6336 unlink pads before removing the element from the bin.
6338 2005-08-24 Andy Wingo <wingo@pobox.com>
6340 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6341 the same thing as GST_DEBUG=*:4.
6342 (parse_debug_level, parse_debug_category): New helper parsers.
6344 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6346 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6347 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6348 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6349 (gst_base_transform_buffer_alloc),
6350 (gst_base_transform_handle_buffer):
6351 use gboolean return values and pointers to size so we can use the
6352 full GST_BUFFER_SIZE range (guint) for buffer sizes
6353 use GstPadDirection for transform_caps
6354 * gst/base/gstbasetransform.h:
6355 rename get_size to get_unit_size since that's what it is
6356 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6357 use GstPadDirection for transform_caps
6358 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6360 cleanup and debugging
6362 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6364 * gst/gstelement.c: (gst_element_class_init),
6365 (gst_element_set_state), (activate_pads),
6366 (gst_element_save_thyself):
6367 * tools/gst-compprep.c: (main):
6368 * tools/gst-inspect.c: (print_element_properties_info):
6369 * tools/gst-xmlinspect.c: (print_element_properties):
6370 Fixed long standing mem-leak
6372 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6374 * check/gst/gstbin.c: (GST_START_TEST):
6375 * gst/gstbin.c: (bin_bus_handler):
6376 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6377 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6378 (gst_message_new_warning), (gst_message_new_tag),
6379 (gst_message_new_state_changed), (gst_message_new_segment_start),
6380 (gst_message_new_segment_done), (gst_message_new_custom):
6382 * tools/gst-launch.c: (event_loop):
6383 * tools/gst-md5sum.c: (event_loop):
6384 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6385 that applications can sensibly post custom messages with references
6386 to their own objects.
6388 2005-08-24 Andy Wingo <wingo@pobox.com>
6390 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6393 2005-08-24 Wim Taymans <wim@fluendo.com>
6395 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6396 (gst_base_transform_transform_caps),
6397 (gst_base_transform_transform_size),
6398 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6399 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6400 (gst_base_transform_handle_buffer):
6401 * gst/base/gstbasetransform.h:
6402 Many fixes and new features added by Thomas. Can now also do
6403 transforms with variable sizes and a custom fixate_caps function.
6405 2005-08-24 Wim Taymans <wim@fluendo.com>
6407 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6411 Cast to ClockTime before formatting to time.
6416 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6418 * check/gst-libs/controller.c: (GST_START_TEST),
6419 (gst_controller_suite):
6420 * docs/gst/tmpl/gstcaps.sgml:
6421 * docs/gst/tmpl/gstghostpad.sgml:
6422 * docs/gst/tmpl/gstquery.sgml:
6423 * docs/gst/tmpl/gstutils.sgml:
6424 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6425 (gst_object_sink_values), (gst_object_get_value_arrays),
6426 (gst_object_get_value_array):
6427 gracefully handle helper method calls to objects that are not beeing
6428 controlled, added test case for that
6430 2005-08-23 Wim Taymans <wim@fluendo.com>
6432 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6433 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6434 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6435 (gst_event_parse_qos), (gst_event_new_seek),
6436 (gst_event_parse_seek):
6438 Some more debugging output and doc cleanups.
6440 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6441 Fix possible deadlock.
6443 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6445 * docs/gst/gstreamer-docs.sgml:
6446 * docs/gst/gstreamer-sections.txt:
6447 * docs/gst/gstreamer.types:
6448 * docs/gst/tmpl/.cvsignore:
6453 added 100 symbols from gstreamer-unused.txt to the right sections
6454 fixed more broken comments
6455 added GstBus to docs
6457 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6459 * docs/gst/gstreamer-sections.txt:
6460 * docs/gst/tmpl/.cvsignore:
6461 * docs/gst/tmpl/gstbin.sgml:
6462 * docs/gst/tmpl/gstbuffer.sgml:
6463 * gst/base/gstbasesrc.c:
6464 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6467 * tools/gst-launch.1.in:
6468 inlined more doc comments, added missing comments and fixed comments
6471 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6473 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6477 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6479 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6480 * gst/gststructure.h:
6481 add a fixate function for booleans; add a FIXME that these func
6482 names should probably be gst_structure_fixate_*
6484 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6486 * docs/gst/gstreamer-docs.sgml:
6487 * docs/gst/gstreamer-sections.txt:
6489 * gst/gstbin.c: (gst_bin_get_type),
6490 (gst_bin_child_proxy_get_child_by_index),
6491 (gst_bin_child_proxy_get_children_count),
6492 (gst_bin_child_proxy_init):
6493 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6494 (gst_child_proxy_get_child_by_index),
6495 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6496 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6497 (gst_child_proxy_get), (gst_child_proxy_set_property),
6498 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6499 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6500 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6501 * gst/gstchildproxy.h:
6502 * gst/parse/grammar.y:
6503 * tools/gst-inspect.c: (print_interfaces),
6504 (print_element_properties_info), (print_element_info):
6505 ported gstchildproxy over from 0.8
6506 ported gst-inspect fixes and enhancements over from 0.8
6508 2005-08-22 Wim Taymans <wim@fluendo.com>
6510 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6511 (gst_base_transform_handle_buffer):
6512 Also call the transform function if we have ANY caps.
6514 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6517 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6519 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6520 Don't pretend to handle seek events if the source is not seekable
6522 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6524 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6525 Remove extra parameter to debug output
6527 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6528 (gst_base_src_do_seek), (gst_base_src_activate_push):
6529 Fix seek event handling.
6531 * gst/gstpipeline.c: (gst_pipeline_change_state):
6532 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6533 (gst_queue_src_activate_push):
6534 Don't start the src pad task on FLUSH_STOP if the pad
6538 2005-08-22 Wim Taymans <wim@fluendo.com>
6540 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6541 Added check for gst_static_caps_get() refcounting.
6543 2005-08-22 Wim Taymans <wim@fluendo.com>
6545 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6546 Make _static_caps_get() refcounting sane.
6548 * gst/gstelement.c: (gst_element_set_state):
6549 Add g_return_val_if_fail() to protect against segfaults.
6551 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6553 * docs/gst/tmpl/gstevent.sgml:
6556 inlined remaining docs, added missing doc comments
6558 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6560 * check/gst/gstbin.c: (GST_START_TEST):
6561 since we don't know when preroll is done, use refcount range
6563 * gst/check/gstcheck.h:
6564 add macro for checking refcount range
6566 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6568 * check/Makefile.am:
6569 clean up environment for when registry gets built versus
6570 when actual tests are run; valgrind seems to not report
6571 leaks if GST_PLUGIN_PATH is set to some specific values
6572 * check/gst/gstbin.c: (GST_START_TEST):
6573 add more refcounting checks; maybe this exposes a
6576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6577 * gst/check/gstcheck.h:
6578 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6579 (gst_bin_change_state):
6580 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6581 add/fix debugging/whitespace
6583 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6585 * check/gst/gstevent.c: (event_probe), (test_event),
6587 Er, don't call gst_bin_watch_for_state_change you idiot.
6589 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6591 * check/Makefile.am:
6592 Use CHECK_CFLAGS and CHECK_LIBS
6593 * check/gst/gstevent.c: (event_probe), (test_event),
6596 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6597 (gst_base_src_start), (gst_base_src_stop),
6598 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6599 (gst_base_src_change_state):
6600 Sprinkle gst_base_src_stop liberally around error paths to fix
6601 problems reusing a source after failed state changes.
6602 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6603 (helper_find_suggest), (gst_type_find_helper):
6604 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6606 * docs/gst/tmpl/gstevent.sgml:
6607 Migrate part of the docs from the SGML file. Wait for ensonic to
6608 tell me how I did it wrong ;)
6609 * tools/gst-typefind.c: (main):
6610 Extra robustness to state changes between files.
6612 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6614 * check/Makefile.am:
6615 don't valgrind the controller test - it's leaking - Stefan, HELP
6616 * gst/check/gstcheck.c: (gst_check_message_error),
6617 (gst_check_chain_func), (gst_check_setup_element),
6618 (gst_check_teardown_element), (gst_check_setup_src_pad),
6619 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6620 (gst_check_teardown_sink_pad):
6621 * gst/check/gstcheck.h:
6622 add a bunch of methods to set up elements, and src and sink pads
6623 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6624 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6629 whitespace/doc fixes
6631 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6634 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6635 be handled by the application and not always printed as well
6637 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6639 * check/Makefile.am:
6641 * gst/check/gstcheck.c: (gst_check_message_error):
6642 * gst/check/gstcheck.h:
6643 add a fail_unless_equals_int
6644 add fail_unless for error messages
6646 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6648 * check/Makefile.am:
6650 * common/Makefile.am:
6653 factor out some of the common stuff so we can use it
6655 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6657 * check/Makefile.am:
6658 * check/gst/gstiterator.c: (GST_START_TEST):
6659 * check/gst/gstsystemclock.c: (GST_START_TEST),
6660 (gst_systemclock_suite):
6661 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6665 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6667 * check/elements/.cvsignore:
6668 * check/elements/gstfakesrc.c:
6669 rename to name of element
6670 * check/elements/identity.c: (chain_func), (event_func),
6671 (setup_identity), (cleanup_identity), (GST_START_TEST),
6672 (identity_suite), (main):
6673 add a test for identity
6674 * check/Makefile.am:
6675 * pkgconfig/Makefile.am:
6676 * pkgconfig/gstreamer-check.pc.in:
6677 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6681 move the check stuff to a library that gets installed
6682 * check/gst-libs/controller.c: (GST_START_TEST):
6683 * check/gst-libs/gdp.c:
6684 * check/gst/gst.c: (GST_START_TEST):
6685 * check/gst/gstbin.c:
6686 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6687 * check/gst/gstbus.c:
6688 * check/gst/gstcaps.c: (GST_START_TEST):
6689 * check/gst/gstelement.c:
6690 * check/gst/gstghostpad.c:
6691 * check/gst/gstiterator.c:
6692 * check/gst/gstmessage.c:
6693 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6694 * check/gst/gstobject.c:
6695 * check/gst/gstpad.c: (GST_START_TEST):
6696 * check/gst/gststructure.c: (GST_START_TEST):
6697 * check/gst/gstsystemclock.c: (GST_START_TEST),
6698 (gst_systemclock_suite):
6699 * check/gst/gsttag.c: (gst_tag_suite):
6700 * check/gst/gstvalue.c:
6701 * check/pipelines/cleanup.c:
6702 * check/pipelines/simple_launch_lines.c:
6703 * check/states/sinks.c:
6704 change include statement
6706 * docs/gst/gstreamer-sections.txt:
6707 * docs/gst/tmpl/gstpad.sgml:
6708 document more pad stuff
6709 * gst/gstminiobject.c: (gst_mini_object_ref),
6710 (gst_mini_object_unref):
6713 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6715 * docs/gst/tmpl/gst.sgml:
6717 eliminate another tmpl file, fix spelling in the long-description
6719 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6721 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6722 (test_event), (timediff), (gstevents_suite):
6723 Should fix build on 64-bit arch's
6725 2005-08-18 Andy Wingo <wingo@pobox.com>
6727 Make sure that when a pipeline goes to PLAYING, that data has
6728 actually hit the sink.
6730 * check/states/sinks.c (test_sink): A sink that doesn't get any
6731 data shouldn't return SUCCESS for going to either PLAYING or
6732 PAUSED. Test also the return values on the way back down.
6734 * gst/gstelement.c (gst_element_set_state): When changing the
6735 state of an element currently changing state asynchronously, go to
6736 lost-state after commiting the pending state. Makes future calls
6737 to get_state continue to return ASYNC.
6739 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6740 ASYNC when going to PLAYING if we still don't have preroll, as can
6741 happen with live sources.
6743 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6745 * docs/pwg/advanced-types.xml:
6746 Hack long paragraph into 2 chunks as a workaround for buggy
6747 jadetex version in sid and breezy that loops infinitely and
6750 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6752 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6753 (test_event), (timediff), (gstevents_suite):
6754 Provide more error margin in clock measurements to allow for
6755 g_get_current_time inaccuracies.
6757 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6759 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6760 (test_event), (timediff), (gstevents_suite):
6761 Fix error message output so I might be able to tell why the
6762 test works here but fails on the build farm.
6764 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6766 * check/Makefile.am:
6767 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6768 (test_event), (timediff), (gstevents_suite), (main):
6771 * docs/design/part-seeking.txt:
6774 * docs/gst/tmpl/gstevent.sgml:
6775 * docs/gst/tmpl/gstfakesrc.sgml:
6778 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6779 Treat a buffer-without-newsegment the same as a receiving
6780 a newsegment not in time format, and disable syncing to the clock
6783 * gst/gstbus.c: (gst_bus_set_sync_handler):
6784 Assert if anyone tries to replace the existing sync_handler for bus,
6785 as only the owner should be setting it.
6788 Have a fixed set of custom event enums with events identified by
6789 their structure name (as in 0.8), rather than a free-for-all
6790 allowing collisions between enum values from different plugins.
6792 * gst/gstpad.c: (gst_pad_class_init):
6795 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6796 Handle out-of-band downstream events from the sending thread.
6798 2005-08-17 Andy Wingo <wingo@pobox.com>
6800 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6801 play-timeout==0 to mean no timeout at all. In that case, don't
6802 bother with a get_state or a warning, just return directly, even
6805 * gst/base/gstbasetransform.c: Debug changes.
6808 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6809 ensure bins post state change messages. A bit of a hack but I can't
6810 think of a way to avoid it.
6812 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6814 2005-08-16 Andy Wingo <wingo@pobox.com>
6816 * gst/base/gstadapter.h:
6817 * gst/base/gstadapter.c (gst_adapter_take): New function, like
6818 peek() but you own the data. Not terribly efficient atm.
6820 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6822 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6823 (gst_element_found_tags):
6825 Add two utility functions for tag handling.
6827 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6829 * docs/manual/advanced-dataaccess.xml:
6830 * docs/manual/basics-helloworld.xml:
6831 Fix docs to use _bin_add() before _link(), which fixes the examples
6832 with recent core versions (reported by Madhan Raj M
6833 <raj_madan@rediffmail.com>, #313199).
6835 2005-08-16 Wim Taymans <wim@fluendo.com>
6837 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6838 Added subtract checks.
6840 * docs/design/part-events.txt:
6841 Some more docs about newsegment
6843 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6846 * gst/gstcaps.c: (gst_caps_to_string):
6847 Add comments, cleanups.
6849 * gst/gstelement.c: (gst_element_save_thyself):
6852 * gst/gstvalue.c: (gst_value_collect_int_range),
6853 (gst_string_unwrap), (gst_value_union_int_int_range),
6854 (gst_value_union_int_range_int_range),
6855 (gst_value_intersect_int_int_range),
6856 (gst_value_intersect_int_range_int_range),
6857 (gst_value_intersect_double_double_range),
6858 (gst_value_intersect_double_range_double_range),
6859 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6860 (gst_value_subtract_int_range_int),
6861 (gst_value_subtract_double_range_double),
6862 (gst_value_subtract_double_range_double_range),
6863 (gst_value_subtract_from_list), (gst_value_subtract_list),
6864 (gst_value_can_compare), (gst_value_compare_fraction):
6865 Cleanups, add comments, remove unneeded asserts.
6867 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6869 * tools/gst-launch.c: (event_loop):
6870 don't convert NULL structures to strings
6872 2005-08-15 Stefan Kost <ensonic@users.sf.net>
6874 * docs/gst/gstreamer-sections.txt:
6875 made some defines private
6876 * docs/gst/tmpl/gstconfig.sgml:
6877 * docs/gst/tmpl/gstqueue.sgml:
6878 * docs/gst/tmpl/gsttaglist.sgml:
6879 * docs/gst/tmpl/gsttypes.sgml:
6880 * docs/gst/tmpl/gstutils.sgml:
6881 * docs/pwg/appendix-porting.xml:
6882 * gst/base/gstbasesink.h:
6883 * gst/base/gstbasesrc.c:
6884 * gst/base/gstbasesrc.h:
6885 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6886 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6887 * gst/gstelement.c: (gst_element_class_init):
6888 * gst/gstpad.c: (gst_pad_class_init):
6889 * gst/gstqueue.c: (gst_queue_class_init):
6890 * gst/gstxml.c: (gst_xml_class_init):
6891 documented all undocumented signal inline
6892 * libs/gst/controller/gst-controller.h:
6895 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6897 * docs/pwg/appendix-porting.xml:
6898 Document _set_link_function -> _set_setcaps_function.
6900 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6902 * check/Makefile.am:
6903 add a .check target for running the check
6904 * check/gst-libs/controller.c: (GST_START_TEST):
6906 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6907 complete checks for gstbuffer; would be nice if I could get the
6908 gcov stuff to work so I can see if I actually completed gstbuffer.c
6910 add ASSERT_BUFFER_REFCOUNT
6912 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
6914 * docs/gst/gstreamer-sections.txt:
6915 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6917 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6918 spew out a warning if a tag that is already registered
6919 is re-registered, unless it is re-registered with a
6920 different type (#308438).
6922 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
6924 * docs/pwg/appendix-porting.xml:
6925 * docs/pwg/building-state.xml:
6926 Add some paragraphs about state changes in 0.9 to the PWG
6927 and the porting guide, in particular about the new meaning
6928 of GST_STATE_PAUSED and how to write state change functions
6929 with concurrent access by multiple threads in mind.
6931 2005-08-11 Stefan Kost <ensonic@users.sf.net>
6933 * docs/gst/gstreamer-docs.sgml:
6934 * docs/libs/gstreamer-libs-docs.sgml:
6935 added deprecation and since indexes
6936 * libs/gst/controller/gst-controller.c:
6937 * libs/gst/controller/gst-helper.c:
6941 2005-08-11 Wim Taymans <wim@fluendo.com>
6943 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6944 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6945 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6946 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6947 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6948 (gst_ghost_pad_set_target):
6949 Actually implement (re)setting the target on a ghostpad
6950 as described in the docs.
6952 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6954 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6955 Check whether GST_DEBUG_NO_COLOR environment variable is
6956 set and disable coloured debug output if that is the case.
6958 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6960 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6961 (gst_type_find_helper):
6962 The memory returned by gst_type_find_peek() needs to
6963 stay valid until the end of a typefind function, and
6964 typefind functions may keep results from different
6965 offsets around, so we can't just unref the buffer from
6966 the previous _peek(), but have to save all buffers
6967 returned by _peek() until typefinding is done and only
6970 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
6972 * docs/gst/gstreamer-sections.txt:
6974 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6976 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6978 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6979 Fix a pretty good memleak.
6981 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6983 * gst/gstiterator.h:
6984 Fix wrong include and 'make distcheck'.
6986 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6988 * gst/gstbin.c: (bin_bus_handler):
6989 Use gst_element_post_message() instead.
6991 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6993 * gst/base/gstadapter.h:
6994 * gst/base/gstbasesink.h:
6995 * gst/base/gstbasesrc.h:
6996 * gst/base/gstbasetransform.h:
6997 * gst/base/gstcollectpads.h:
6998 * gst/base/gstpushsrc.h:
6999 * gst/gstiterator.h:
7000 Add padding to our base elements' class and instance structs and
7001 to GstIterator (you will need to rebuild all plugins and apps!)
7003 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7005 * gst/gstbin.c: (bin_bus_handler):
7006 Make default message forwarding from child->bus to bin->bus
7007 threadsafe and make it not emit warnings if the parent has no bus.
7009 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7011 * gst/gstelement.c: (activate_pads):
7012 On paused->ready, set pad->caps to NULL, as is the documented
7013 behaviour in this state change. Fixes playback of series of
7014 media files when visualization is enabled in Totem.
7016 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7018 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7019 Allow NULL as filter-caps (which means "any").
7021 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7023 * docs/libs/gstreamer-libs-sections.txt:
7024 * libs/gst/controller/gst-controller.c:
7025 * libs/gst/controller/gst-controller.h:
7026 * libs/gst/controller/gst-helper.c:
7027 adding more entries to the docs and fix small doc-bugs
7029 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7031 * docs/gst/gstreamer-docs.sgml:
7032 * docs/gst/gstreamer-sections.txt:
7033 * docs/gst/gstreamer.types:
7034 * docs/gst/tmpl/gstbasesink.sgml:
7035 * docs/gst/tmpl/gstbasesrc.sgml:
7036 * docs/gst/tmpl/gstbasetransform.sgml:
7037 * docs/gst/tmpl/gstfakesrc.sgml:
7038 * gst/base/gstcollectpads.c:
7039 * gst/base/gstcollectpads.h:
7040 * libs/gst/controller/gst-controller.c:
7041 * libs/gst/controller/gst-controller.h:
7042 * libs/gst/controller/gst-helper.c:
7043 * libs/gst/controller/gst-interpolation.c:
7044 * libs/gst/controller/lib.c:
7045 added long/short desc for controller docs
7046 added collectpads base class docs
7047 added correct includes to base-class docs
7049 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7051 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7052 (gst_test_mono_source_set_property),
7053 (gst_test_mono_source_class_init), (GST_START_TEST),
7054 (gst_controller_suite):
7055 * docs/gst/gstreamer-docs.sgml:
7056 * docs/gst/gstreamer-sections.txt:
7057 * docs/gst/gstreamer.types:
7058 * docs/libs/gstreamer-libs-docs.sgml:
7059 * docs/libs/gstreamer-libs-sections.txt:
7060 * gst/base/gstadapter.c:
7061 * libs/gst/controller/gst-controller.c:
7062 (gst_controlled_property_new), (gst_controlled_property_free),
7063 (gst_controller_new_valist),
7064 (gst_controller_remove_properties_valist),
7065 (gst_controller_sink_values), (_gst_controller_finalize):
7066 * libs/gst/controller/gst-controller.h:
7067 * libs/gst/controller/gst-helper.c:
7068 (gst_object_control_properties), (gst_object_uncontrol_properties),
7069 (gst_object_get_controller), (gst_object_set_controller),
7070 (gst_object_sink_values), (gst_object_get_value_arrays),
7071 (gst_object_get_value_array):
7072 more tests (and fixes) for the controller
7073 more docs for the controller
7074 integrated companies docs for the adapter
7076 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7078 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7079 (GST_START_TEST), (fakesrc_suite):
7080 add tests for sizetype
7082 2005-08-04 Andy Wingo <wingo@pobox.com>
7084 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7085 fixes buffer_alloc proxying among other things.
7087 * gst/base/gstbasetransform.c:
7088 * gst/base/gstbasetransform.h:
7089 Revert patch to gstbasetransform from 7-28 removing
7092 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7093 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7094 Semantics changed, should return not the size of the output buffer
7095 but the byte size of a buffer with a given caps.
7097 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7099 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7100 out) are not the pad caps until setcaps finishes.
7101 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7102 not-in-place case as well. Deal with changing from in-place to
7103 not-in-place within calling pad_alloc_buffer. Still a bit
7104 concerned about the overhead here...
7106 2005-08-03 Andy Wingo <wingo@pobox.com>
7108 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7109 fixating is an error.
7111 2005-08-04 Edward Hervey <edward@fluendo.com>
7113 * gst/base/gstadapter.h:
7114 Added gst_adapter_get_type() to the header
7116 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7118 * check/Makefile.am:
7119 * check/gst-libs/controller.c:
7120 * libs/gst/controller/gst-controller.c:
7121 (gst_controller_new_valist):
7122 added check test suite for the controller
7123 * gst/base/gstpushsrc.c:
7126 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7128 * docs/gst/Makefile.am:
7129 * docs/gst/gstreamer-docs.sgml:
7130 * docs/gst/gstreamer-sections.txt:
7131 * docs/gst/gstreamer.types:
7132 * docs/gst/tmpl/gstfakesrc.sgml:
7134 * gst/base/gstbasesink.c:
7135 * gst/base/gstbasesink.h:
7136 * gst/base/gstbasesrc.c:
7137 * gst/base/gstbasesrc.h:
7138 * gst/base/gstbasetransform.c:
7139 * gst/base/gstpushsrc.c:
7140 * gst/base/gstpushsrc.h:
7141 add short/long description docs to base classes
7142 add pushsrc to the docs
7143 remove consolidated doc fragments
7145 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7148 * docs/libs/Makefile.am:
7149 * docs/libs/gstreamer-libs-docs.sgml:
7150 * docs/libs/gstreamer-libs-sections.txt:
7151 * docs/libs/gstreamer-libs.types:
7152 * examples/Makefile.am:
7153 * examples/controller/.cvsignore:
7154 * examples/controller/Makefile.am:
7155 * examples/controller/audio-example.c: (main):
7156 * libs/gst/Makefile.am:
7157 * libs/gst/controller/.cvsignore:
7158 * libs/gst/controller/Makefile.am:
7159 * libs/gst/controller/gst-controller.c:
7160 (on_object_controlled_property_changed), (gst_timed_value_compare),
7161 (gst_timed_value_find),
7162 (gst_controlled_property_set_interpolation_mode),
7163 (gst_controlled_property_new), (gst_controlled_property_free),
7164 (gst_controller_find_controlled_property),
7165 (gst_controller_new_valist), (gst_controller_new),
7166 (gst_controller_remove_properties_valist),
7167 (gst_controller_remove_properties), (gst_controller_set),
7168 (gst_controller_set_from_list), (gst_controller_unset),
7169 (gst_controller_get), (gst_controller_get_all),
7170 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7171 (gst_controller_get_value_array),
7172 (gst_controller_set_interpolation_mode),
7173 (_gst_controller_finalize), (_gst_controller_init),
7174 (_gst_controller_class_init), (gst_controller_get_type):
7175 * libs/gst/controller/gst-controller.h:
7176 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7177 (g_object_uncontrol_properties), (g_object_get_controller),
7178 (g_object_set_controller), (g_object_sink_values),
7179 (g_object_get_value_arrays), (g_object_get_value_array):
7180 * libs/gst/controller/gst-interpolation.c:
7181 (gst_controlled_property_find_timed_value_node),
7182 (interpolate_none_get), (interpolate_trigger_get),
7183 (interpolate_trigger_get_value_array):
7184 * libs/gst/controller/lib.c: (gst_controller_init):
7185 * pkgconfig/Makefile.am:
7186 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7187 * pkgconfig/gstreamer-control.pc.in:
7188 * testsuite/Makefile.am:
7189 * testsuite/controller/.cvsignore:
7190 * testsuite/controller/Makefile.am:
7191 * testsuite/controller/interpolator.c: (main):
7192 added controller code
7193 removed dparam pc files
7195 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7196 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7197 (gst_collectpads_stop):
7198 Broadcast the condition when shutting down, to make sure we wake all
7199 threads up. Shut down pads on finalize, for safety.
7201 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7202 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7203 (gst_base_transform_handle_buffer),
7204 (gst_base_transform_change_state):
7205 Handle PAUSED->READY->PAUSED transition after negotiation
7207 * gst/gstmessage.c: (gst_message_init):
7208 Extra piece of debug for new messages.
7210 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7213 * docs/gst/tmpl/gstbasesrc.sgml:
7214 * docs/gst/tmpl/gstelement.sgml:
7215 * docs/gst/tmpl/gstevent.sgml:
7216 * docs/gst/tmpl/gstfakesrc.sgml:
7217 * docs/gst/tmpl/gstformat.sgml:
7218 * docs/gst/tmpl/gstghostpad.sgml:
7219 * docs/gst/tmpl/gstpad.sgml:
7220 * docs/gst/tmpl/gstquery.sgml:
7221 * docs/gst/tmpl/gststructure.sgml:
7222 * docs/gst/tmpl/gsttaglist.sgml:
7223 * docs/gst/tmpl/gstvalue.sgml:
7224 * docs/libs/gstreamer-libs-docs.sgml:
7225 * docs/libs/gstreamer-libs-sections.txt:
7226 * docs/libs/gstreamer-libs.types:
7227 * libs/gst/Makefile.am:
7228 * libs/gst/control/.cvsignore:
7229 * libs/gst/control/Makefile.am:
7230 * libs/gst/control/control.c:
7231 * libs/gst/control/control.h:
7232 * libs/gst/control/dparam.c:
7233 * libs/gst/control/dparam.h:
7234 * libs/gst/control/dparam_smooth.c:
7235 * libs/gst/control/dparam_smooth.h:
7236 * libs/gst/control/dparamcommon.h:
7237 * libs/gst/control/dparammanager.c:
7238 * libs/gst/control/dparammanager.h:
7239 * libs/gst/control/dplinearinterp.c:
7240 * libs/gst/control/dplinearinterp.h:
7241 * libs/gst/control/unitconvert.c:
7242 * libs/gst/control/unitconvert.h:
7243 * testsuite/Makefile.am:
7244 * testsuite/dynparams/.cvsignore:
7245 * testsuite/dynparams/Makefile.am:
7246 * testsuite/dynparams/dparamstest.c:
7247 * tools/Makefile.am:
7248 * tools/gst-inspect.c: (print_element_info), (main):
7249 * tools/gst-xmlinspect.c: (print_element_info), (main):
7250 deactivate and remove dparams (libgstcontrol)
7252 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7254 * gst/elements/gsttypefindelement.c:
7255 (gst_type_find_element_have_type), (gst_type_find_element_init),
7256 (stop_typefinding), (gst_type_find_element_handle_event),
7257 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7258 * gst/elements/gsttypefindelement.h:
7259 Set caps on all outgoing buffers, not just the first one.
7261 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7263 * gst/elements/gsttypefindelement.c:
7264 (gst_type_find_element_have_type),
7265 (gst_type_find_element_check_set_buffer_caps),
7266 (gst_type_find_element_init), (stop_typefinding),
7267 (gst_type_find_element_handle_event),
7268 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7269 * gst/elements/gsttypefindelement.h:
7270 Set caps on first outgoing buffer when we've found the type.
7272 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7274 * docs/gst/gstreamer-docs.sgml:
7275 * docs/gst/gstreamer-sections.txt:
7276 * docs/gst/tmpl/gstscheduler.sgml:
7277 * docs/gst/tmpl/gstschedulerfactory.sgml:
7278 Remove some old cruft from docs.
7280 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7283 Fix inline docs for GstPadLinkReturn.
7285 * gst/gststructure.c: (gst_structure_has_name):
7286 * gst/gststructure.h:
7287 * docs/gst/gstreamer-sections.txt:
7288 New API: gst_structure_has_name().
7290 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7293 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7294 and _LARGEFILE_SOURCE in config.h as required. Do not
7295 export those flags in our .pc files any longer (#142209).
7297 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7299 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7300 (gst_file_sink_do_seek), (gst_file_sink_event),
7301 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7302 Redo seek/tell calls with large file support in mind; add some
7303 debugging messages; add log message that tells us when large
7304 file support is unavailable or not enabled for some reason.
7306 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7307 Add log message that tells us when large file support
7308 is unavailable or not enabled for some reason.
7310 2005-07-29 Wim Taymans <wim@fluendo.com>
7312 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7313 Added test for removing an element with ghostpad from a bin.
7314 Fixed test as current implementation does the right thing.
7316 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7317 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7318 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7319 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7320 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7321 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7322 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7323 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7324 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7325 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7326 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7327 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7328 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7329 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7330 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7331 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7332 * gst/gstghostpad.h:
7333 Clean up ghostpads, remove properties for internal stuff.
7336 Prepare for switching targets, not all use cases work yet.
7338 2005-07-29 Wim Taymans <wim@fluendo.com>
7340 * docs/design/part-gstghostpad.txt:
7343 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7344 (gst_bin_remove_func):
7345 Unlinking pads while holding the bin LOCK is not a good
7348 * gst/gstpad.c: (gst_pad_class_init),
7349 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7350 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7351 No prob setting template after creating the pad.
7353 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7355 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7356 (gst_bus_peek), (gst_bus_source_dispatch),
7357 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7358 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7359 gst_bus_poll may be called from other threads. Handle
7360 this nicely by not making poll_data disappear off the
7361 stack once gst_bus_poll returns.
7362 gst_bus_peek now increments the refcount on the returned
7365 2005-07-29 Wim Taymans <wim@fluendo.com>
7367 * docs/design/part-gstghostpad.txt:
7368 Overview of current GhostPad datastructures and use
7369 cases for changing the target.
7371 2005-07-28 Wim Taymans <wim@fluendo.com>
7373 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7374 Added checks for hierarchy consistency whan adding linked
7377 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7378 Added check to test element scheduling without bin/pipeline.
7380 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7381 First add elements to bin, then link.
7383 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7384 (gst_bin_remove_func):
7385 Unlink pads from elements added/removed from bin to maintain
7386 hierarchy consistency.
7388 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7390 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7391 (gst_base_transform_handle_buffer):
7392 * gst/base/gstbasetransform.h:
7393 Remove broken delay_configure (fixes renegotiation of software
7394 scaling pipelines); remove some leftover printf()s.
7396 2005-07-28 Wim Taymans <wim@fluendo.com>
7398 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7399 Added some more tests for wrong hierarchy
7401 * docs/design/part-overview.txt:
7404 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7407 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7408 (gst_element_dispose):
7411 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7412 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7413 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7414 (gst_pad_set_caps), (gst_pad_send_event):
7415 Check for correct hierarchy when linking pads. Moving to
7416 strict requirement for ghostpads when linking elements in
7420 Clean ups. Added WRONG_HIERARCHY return value.
7422 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7424 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7425 Better debug if no transform is possible.
7427 2005-07-27 Wim Taymans <wim@fluendo.com>
7429 * docs/random/wtay/network-transp:
7432 2005-07-27 Wim Taymans <wim@fluendo.com>
7434 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7435 (gst_dp_event_from_packet):
7436 Fix serialization of seek events.
7438 2005-07-27 Wim Taymans <wim@fluendo.com>
7440 * check/gst-libs/gdp.c: (GST_START_TEST):
7441 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7442 Fix compilation and fix event serialization.
7444 2005-07-27 Wim Taymans <wim@fluendo.com>
7447 * docs/design/part-TODO.txt:
7448 * docs/design/part-events.txt:
7451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7452 (gst_base_sink_event), (gst_base_sink_do_sync),
7453 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7454 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7455 (gst_base_src_do_seek), (gst_base_src_event_handler),
7456 (gst_base_src_loop):
7457 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7458 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7459 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7460 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7461 (gst_base_transform_set_passthrough),
7462 (gst_base_transform_is_passthrough):
7463 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7464 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7470 * gst/gstelement.c: (gst_element_seek):
7472 Update gst_element_seek.
7474 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7475 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7476 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7477 (gst_event_new_eos), (gst_event_new_newsegment),
7478 (gst_event_parse_newsegment), (gst_event_new_tag),
7479 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7480 (gst_event_parse_qos), (gst_event_new_seek),
7481 (gst_event_parse_seek), (gst_event_new_navigation):
7483 Make GstEvent use GstStructure. Add parsing code, make sure the
7484 API is sufficiently generic.
7485 Mark possible directions of events and serialization.
7487 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7488 (_gst_message_copy), (gst_message_new_segment_start),
7489 (gst_message_new_segment_done), (gst_message_new_custom),
7490 (gst_message_parse_segment_start),
7491 (gst_message_parse_segment_done):
7494 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7495 (gst_pad_set_caps), (gst_pad_send_event):
7496 Update for new events.
7497 Catch events sent in wrong directions.
7499 * gst/gstqueue.c: (gst_queue_link_src),
7500 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7501 (gst_queue_handle_src_query):
7506 Remove event code from this file.
7508 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7509 (gst_dp_event_from_packet):
7512 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7514 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7515 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7516 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7517 Make debugging actually useful.
7519 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7521 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7522 (gst_pad_fixate_caps):
7523 Implement default fixation once again, so that gst_pad_fixate()
7524 actually does anything at all. This probably needs to be some
7525 sort of a last resort, and use profile-based fixation first, but
7526 since that doesn't exist yet, this is the best we have. Fixes
7527 visualization in Totem.
7529 2005-07-22 Wim Taymans <wim@fluendo.com>
7531 * docs/design/part-events.txt:
7534 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7535 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7536 (gst_base_sink_activate_pull):
7539 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7540 (gst_fake_src_create):
7541 Fix handoff marshall.
7543 * gst/elements/gstidentity.c: (gst_identity_class_init),
7544 (gst_identity_transform_ip):
7545 We're a real inplace element.
7547 * gst/gstbus.c: (gst_bus_post):
7548 Added some comments.
7550 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7551 * tests/muxing/case1.c: (main):
7552 * tests/sched/dynamic-pipeline.c: (main):
7553 * tests/sched/interrupt1.c: (main):
7554 * tests/sched/interrupt2.c: (main):
7555 * tests/sched/interrupt3.c: (main):
7556 * tests/sched/runxml.c: (main):
7557 * tests/sched/sched-stress.c: (main):
7558 * tests/seeking/seeking1.c: (event_received), (main):
7559 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7561 * tests/threadstate/threadstate3.c: (main):
7562 * tests/threadstate/threadstate4.c: (main):
7563 * tests/threadstate/threadstate5.c: (main):
7566 2005-07-21 Wim Taymans <wim@fluendo.com>
7568 * docs/design/part-seeking.txt:
7569 Some small additions.
7571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7572 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7573 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7574 * gst/base/gstbasesink.h:
7575 discont values are gint64, handle the math correctly.
7577 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7578 Make the basesrc report error if the source pad is not linked.
7580 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7581 (gst_queue_loop), (gst_queue_handle_src_query),
7582 (gst_queue_src_activate_push):
7583 Make queue collect data even if the srcpad is not linked.
7584 Start pushing out data as soon as it is linked.
7586 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7588 Added gst_flow_get_name() to ease error reporting.
7590 2005-07-20 Wim Taymans <wim@fluendo.com>
7592 * gst/gstmessage.c: (gst_message_new_segment_start),
7593 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7594 (gst_message_parse_segment_done):
7596 Added a bunch of messages for advanced seeking.
7598 * gst/parse/grammar.y:
7599 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7600 (gst_dpman_state_changed):
7601 Fix some new-pad -> pad-added signals
7603 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7605 * docs/manual/appendix-porting.xml:
7606 * docs/pwg/appendix-porting.xml:
7607 Document new-pad/state-change signal renames and the FixedList
7610 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7612 * docs/manual/advanced-autoplugging.xml:
7613 * docs/manual/basics-helloworld.xml:
7614 * docs/manual/basics-pads.xml:
7615 * docs/random/ds/0.9-suggested-changes:
7616 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7621 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7622 (gst_structure_parse_array), (gst_structure_parse_value):
7623 * gst/gstvalue.c: (gst_type_is_fixed),
7624 (gst_value_list_prepend_value), (gst_value_list_append_value),
7625 (gst_value_list_get_size), (gst_value_list_get_value),
7626 (gst_value_transform_array_string), (gst_value_serialize_array),
7627 (gst_value_deserialize_array), (gst_value_intersect_array),
7628 (gst_value_is_fixed), (_gst_value_initialize):
7630 GstElement::new-pad -> pad-added, GstElement::state-change ->
7631 state-changed, GstValueFixedList -> GstValueArray, add format and
7632 flags as their own arguments in gst_element_seek() (should improve
7633 "bindeability"), remove function generators since they don't work
7634 under a whole bunch of compilers (they were deprecated already
7637 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7639 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7640 (_gst_debug_register_funcptr):
7642 Fix illegal cast on some platforms (#309253).
7644 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7646 * gst/gstmessage.c: (gst_message_new_custom):
7648 Add _new_custom, make _new_application a macro to _new_custom.
7650 2005-07-20 Wim Taymans <wim@fluendo.com>
7652 * gst/base/gstbasesrc.c: (gst_base_src_init),
7653 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7654 * gst/base/gstbasesrc.h:
7655 Add a gboolean to decide when to push out a discont.
7657 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7658 (gst_queue_loop), (gst_queue_handle_src_query),
7659 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7660 (gst_queue_set_property), (gst_queue_get_property):
7663 * tests/threadstate/threadstate1.c: (main):
7664 Make a thread test compile and run... very silly..
7667 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7669 * docs/manual/appendix-porting.xml:
7670 Mention removal of libgstgconf-0.9.la and existence of gconf
7673 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7675 * docs/pwg/advanced-clock.xml:
7676 * docs/pwg/appendix-porting.xml:
7677 * docs/pwg/intro-preface.xml:
7678 * docs/pwg/other-base.xml:
7679 * docs/pwg/other-manager.xml:
7680 * docs/pwg/other-nton.xml:
7681 * docs/pwg/other-ntoone.xml:
7682 * docs/pwg/other-oneton.xml:
7684 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7685 demuxer), remove n-to-n (was never written), fix some code examples
7686 and links and update the porting section to include all this.
7688 2005-07-19 Wim Taymans <wim@fluendo.com>
7690 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7691 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7692 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7693 (gst_queue_src_activate_push), (gst_queue_change_state),
7694 (gst_queue_get_property):
7696 Propagate GstFlowReturn more intelligently upstream and output
7697 an ERROR/EOS when streaming stopped due to fatal error.
7699 2005-07-19 Wim Taymans <wim@fluendo.com>
7701 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7702 Don't block forever for the state change to complete, the
7703 pipeline already did with a sensible timeout.
7705 2005-07-19 Wim Taymans <wim@fluendo.com>
7707 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7708 Make sure we never call the create function is we
7711 2005-07-19 Andy Wingo <wingo@pobox.com>
7713 * gst/parse/parse.l: Attempt to solve bug #172815.
7715 2005-07-19 Wim Taymans <wim@fluendo.com>
7717 * docs/design/part-clocks.txt:
7718 * docs/design/part-events.txt:
7719 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7721 Only update the seeking values when we are not
7724 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7726 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7727 Oops, ignore the result of gst_pad_push_event here.
7729 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7731 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7732 (gst_base_src_activate_push):
7733 Send discont event from the loop function, as pads
7734 aren't activated yet in the activate_push handler.
7736 * gst/gstbin.c: (bin_bus_handler):
7737 Don't leak element name.
7739 2005-07-18 Andy Wingo <wingo@pobox.com>
7741 * configure.ac: Use AS_LIBTOOL_TAGS.
7743 2005-07-18 Wim Taymans <wim@fluendo.com>
7745 * docs/gst/gstreamer.types:
7746 Remove deleted types.
7748 2005-07-18 Wim Taymans <wim@fluendo.com>
7750 * check/elements/gstfakesrc.c: (GST_START_TEST):
7753 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7754 (init_popt_callback):
7756 * gst/gst_private.h:
7757 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7758 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7761 * gst/gstconfig.h.in:
7762 * gst/gstelement.c: (gst_element_class_init),
7763 (gst_element_set_base_time), (gst_element_get_base_time),
7764 (iterator_fold_with_resync), (gst_element_change_state),
7765 (gst_element_dispose), (gst_element_get_bus):
7767 * gst/gstelementfactory.h:
7768 * gst/gsterror.c: (_gst_core_errors_init):
7771 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7773 * gst/gstinfo.c: (_gst_debug_init):
7774 * gst/gstmessage.c: (_gst_message_copy):
7776 * gst/gstminiobject.h:
7779 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7780 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7783 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7784 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7785 (gst_pipeline_get_last_stream_time):
7786 * gst/gstpipeline.h:
7787 * gst/gstpluginfeature.h:
7789 * gst/gstscheduler.c:
7790 * gst/gstscheduler.h:
7791 * gst/gststructure.h:
7792 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7793 (gst_task_finalize), (gst_task_func), (gst_task_create),
7794 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7795 (gst_task_stop), (gst_task_pause):
7797 * gst/gsttypefind.h:
7799 * gst/registries/gstlibxmlregistry.c: (load_feature),
7800 (gst_xml_registry_load), (gst_xml_registry_save_feature):
7801 * gst/registries/gstxmlregistry.c:
7802 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7803 * gst/schedulers/threadscheduler.c:
7804 * libs/gst/control/dparammanager.h:
7805 * tools/gst-inspect.c: (print_element_list),
7806 (print_plugin_features), (print_element_features):
7807 * tools/gst-xmlinspect.c: (print_element_list),
7808 (print_plugin_info), (main):
7809 Removed plugable schedulers.
7810 Removed Scheduler/Manager from elements.
7811 Removed gsttypes.h, rearranged includes.
7812 Removed dependency pad<->element, element<>pipeline, and
7813 various others, fix includes.
7814 implement gst_pad_get_parent() with gst_object_get_parent()
7815 Make GstTask sefcontained.
7816 Fix _get_state() on GstBin, it did not return ASYNC with a 0
7818 Fix endless loop in iterator_fold_with_resync.
7821 2005-07-18 Wim Taymans <wim@fluendo.com>
7827 2005-07-18 Wim Taymans <wim@fluendo.com>
7832 2005-07-18 Wim Taymans <wim@fluendo.com>
7838 2005-07-18 Wim Taymans <wim@fluendo.com>
7840 * docs/design/part-dynamic.txt:
7841 * docs/design/part-events.txt:
7842 * docs/design/part-seeking.txt:
7843 Some more docs in the works.
7845 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7846 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7847 (gst_base_transform_setcaps), (gst_base_transform_get_size),
7848 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7849 (gst_base_transform_handle_buffer),
7850 (gst_base_transform_sink_activate_push),
7851 (gst_base_transform_src_activate_pull),
7852 (gst_base_transform_set_passthrough),
7853 (gst_base_transform_is_passthrough):
7856 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7859 * gst/gstevent.c: (gst_event_finalize):
7862 * gst/gstutils.c: (gst_element_unlink),
7863 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7864 (gst_pad_proxy_setcaps):
7866 Add _get_parent_element() to get a pads parent as an element.
7868 2005-07-18 Wim Taymans <wim@fluendo.com>
7870 * check/gst/gstbin.c: (GST_START_TEST):
7873 2005-07-18 Wim Taymans <wim@fluendo.com>
7875 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7876 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7877 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7878 (gst_base_sink_event), (gst_base_sink_do_sync),
7879 (gst_base_sink_chain), (gst_base_sink_loop),
7880 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7881 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7883 Fix logic for returning ASYNC when not prerolled.
7885 2005-07-18 Wim Taymans <wim@fluendo.com>
7887 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7888 Fix nasty refcount bug.
7890 2005-07-16 Philippe Khalaf <burger@speedy.org>
7892 * gst/elements/gstfdsrc.c:
7893 * gst/elements/gstfdsrc.h:
7894 * gst/elements/gstelements.c:
7895 * gst/elements/Makefile.am:
7896 Ported fdsrc to 0.9.
7898 2005-07-16 Wim Taymans <wim@fluendo.com>
7900 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7901 (gst_base_sink_do_sync):
7904 2005-07-16 Wim Taymans <wim@fluendo.com>
7906 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7907 (gst_base_sink_event), (gst_base_sink_get_times),
7908 (gst_base_sink_do_sync), (gst_base_sink_change_state):
7909 * gst/base/gstbasesink.h:
7910 Store and use discont values when syncing buffers as described
7913 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7914 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7915 (gst_base_src_activate_push):
7916 Push discont event when starting.
7918 * gst/elements/gstidentity.c: (gst_identity_transform):
7921 * gst/gstbin.c: (gst_bin_change_state):
7922 Small cleanups in base_time distribution.
7924 * gst/gstelement.c: (gst_element_set_base_time),
7925 (gst_element_get_base_time), (gst_element_change_state):
7927 Added methods for the base_time of the element.
7930 * gst/gstpipeline.c: (gst_pipeline_send_event),
7931 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7932 (gst_pipeline_get_last_stream_time):
7933 * gst/gstpipeline.h:
7935 Handle seeking as described in design doc, remove stream_time
7937 Cleanups clock and stream_time selection code. Added accessors
7938 for the stream_time.
7941 2005-07-16 Andy Wingo <wingo@pobox.com>
7943 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7946 2005-07-16 Wim Taymans <wim@fluendo.com>
7948 * check/gst/gstbin.c: (GST_START_TEST):
7949 Make elements silent as the deep_notify refs the
7950 parent, which might make the test fail.
7952 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7953 Don't hold the lock for too long.
7955 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
7957 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7958 Don't unref the caps we passed to gst_caps_make_writable() after
7959 passing them. gst_caps_make_writable() will do that for us.
7961 2005-07-15 Andy Wingo <wingo@pobox.com>
7963 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7966 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7967 own marshalling function for the handoff signal. Properly type the
7968 buffer as a buffer. Fixes some warnings. Should do a more general
7970 (gst_identity_class_init): Plug into the right marshaller.
7972 2005-07-15 Wim Taymans <wim@fluendo.com>
7974 * docs/design/part-TODO.txt:
7975 * docs/design/part-clocks.txt:
7976 * docs/design/part-element-sink.txt:
7977 * docs/design/part-events.txt:
7978 * docs/design/part-gstpipeline.txt:
7979 Updated docs, mostly DISCONT related.
7981 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
7983 * docs/pwg/building-pads.xml:
7984 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7986 2005-07-15 Andy Wingo <wingo@pobox.com>
7988 * tools/gst-typefind.c: Update, add copyright block.
7990 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7991 Normalize and truncate caps before fixation.
7994 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7995 discards all but the first structure from its argument.
7997 2005-07-15 Wim Taymans <wim@fluendo.com>
7999 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8000 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8001 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8002 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8003 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8004 (gst_base_transform_chain), (gst_base_transform_change_state),
8005 (gst_base_transform_set_passthrough),
8006 (gst_base_transform_is_passthrough):
8007 * gst/base/gstbasetransform.h:
8008 Make passthrough work using the bufferpools.
8009 Changed API a bit, subclasses have to write into a buffer
8010 provided by the base class.
8011 More debug info in nego functions.
8013 * gst/elements/gstidentity.c: (gst_identity_init),
8014 (gst_identity_transform):
8015 Port to new base class.
8017 2005-07-15 Wim Taymans <wim@fluendo.com>
8019 * gst/gstmessage.c: (gst_message_new_state_changed):
8020 * tools/gst-launch.c: (event_loop), (main):
8021 Totally dump messages in -launch with the -m option.
8022 Fix message name for State messages,
8024 2005-07-14 Wim Taymans <wim@fluendo.com>
8026 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8027 Post error messages on errors.
8029 2005-07-14 Wim Taymans <wim@fluendo.com>
8031 * gst/gstcaps.c: (gst_caps_do_simplify):
8035 Define error for stream stopped.
8037 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8038 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8039 Do proper return values.
8041 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8042 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8043 (gst_pad_get_range):
8044 Better return values.
8047 Reorganise return values, add macro to check for fatal errors.
8049 * gst/gstqueue.c: (gst_queue_chain):
8050 Return proper GstFlowReturn values,
8052 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8054 * docs/gst/gstreamer-sections.txt:
8055 * docs/gst/gstreamer.types:
8056 * docs/gst/tmpl/gst.sgml:
8057 * docs/gst/tmpl/gstbasesink.sgml:
8058 * docs/gst/tmpl/gstbasesrc.sgml:
8059 * docs/gst/tmpl/gstbasetransform.sgml:
8060 * docs/gst/tmpl/gstbin.sgml:
8061 * docs/gst/tmpl/gstbuffer.sgml:
8062 * docs/gst/tmpl/gstcaps.sgml:
8063 * docs/gst/tmpl/gstclock.sgml:
8064 * docs/gst/tmpl/gstcompat.sgml:
8065 * docs/gst/tmpl/gstconfig.sgml:
8066 * docs/gst/tmpl/gstelement.sgml:
8067 * docs/gst/tmpl/gstelementdetails.sgml:
8068 * docs/gst/tmpl/gstelementfactory.sgml:
8069 * docs/gst/tmpl/gstenumtypes.sgml:
8070 * docs/gst/tmpl/gsterror.sgml:
8071 * docs/gst/tmpl/gstevent.sgml:
8072 * docs/gst/tmpl/gstfakesink.sgml:
8073 * docs/gst/tmpl/gstfakesrc.sgml:
8074 * docs/gst/tmpl/gstfilesink.sgml:
8075 * docs/gst/tmpl/gstfilesrc.sgml:
8076 * docs/gst/tmpl/gstfilter.sgml:
8077 * docs/gst/tmpl/gstformat.sgml:
8078 * docs/gst/tmpl/gstghostpad.sgml:
8079 * docs/gst/tmpl/gstimplementsinterface.sgml:
8080 * docs/gst/tmpl/gstindex.sgml:
8081 * docs/gst/tmpl/gstindexfactory.sgml:
8082 * docs/gst/tmpl/gstinfo.sgml:
8083 * docs/gst/tmpl/gstiterator.sgml:
8084 * docs/gst/tmpl/gstmacros.sgml:
8085 * docs/gst/tmpl/gstmemchunk.sgml:
8086 * docs/gst/tmpl/gstminiobject.sgml:
8087 * docs/gst/tmpl/gstobject.sgml:
8088 * docs/gst/tmpl/gstpad.sgml:
8089 * docs/gst/tmpl/gstpadtemplate.sgml:
8090 * docs/gst/tmpl/gstparse.sgml:
8091 * docs/gst/tmpl/gstpipeline.sgml:
8092 * docs/gst/tmpl/gstplugin.sgml:
8093 * docs/gst/tmpl/gstpluginfeature.sgml:
8094 * docs/gst/tmpl/gstquery.sgml:
8095 * docs/gst/tmpl/gstqueue.sgml:
8096 * docs/gst/tmpl/gstregistry.sgml:
8097 * docs/gst/tmpl/gstregistrypool.sgml:
8098 * docs/gst/tmpl/gstscheduler.sgml:
8099 * docs/gst/tmpl/gstschedulerfactory.sgml:
8100 * docs/gst/tmpl/gststructure.sgml:
8101 * docs/gst/tmpl/gstsystemclock.sgml:
8102 * docs/gst/tmpl/gsttaglist.sgml:
8103 * docs/gst/tmpl/gsttagsetter.sgml:
8104 * docs/gst/tmpl/gsttrace.sgml:
8105 * docs/gst/tmpl/gsttrashstack.sgml:
8106 * docs/gst/tmpl/gsttypefind.sgml:
8107 * docs/gst/tmpl/gsttypefindfactory.sgml:
8108 * docs/gst/tmpl/gsttypes.sgml:
8109 * docs/gst/tmpl/gsturihandler.sgml:
8110 * docs/gst/tmpl/gsturitype.sgml:
8111 * docs/gst/tmpl/gstutils.sgml:
8112 * docs/gst/tmpl/gstvalue.sgml:
8113 * docs/gst/tmpl/gstversion.sgml:
8114 * docs/gst/tmpl/gstxml.sgml:
8115 * docs/libs/tmpl/gstcontrol.sgml:
8116 * docs/libs/tmpl/gstdataprotocol.sgml:
8117 * docs/libs/tmpl/gstdparam.sgml:
8118 * docs/libs/tmpl/gstdplinint.sgml:
8119 * docs/libs/tmpl/gstdpman.sgml:
8120 * docs/libs/tmpl/gstdpsmooth.sgml:
8121 * docs/libs/tmpl/gstgetbits.sgml:
8122 * docs/libs/tmpl/gstunitconvert.sgml:
8123 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8124 (gst_push_src_base_init), (gst_push_src_class_init),
8125 (gst_push_src_init), (gst_push_src_create):
8126 * gst/base/gstpushsrc.h:
8127 * gst/elements/gstelements.c:
8128 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8129 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8130 (gst_fake_sink_init), (gst_fake_sink_set_property),
8131 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8132 (gst_fake_sink_event), (gst_fake_sink_preroll),
8133 (gst_fake_sink_render), (gst_fake_sink_change_state):
8134 * gst/elements/gstfakesink.h:
8135 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8136 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8137 (gst_fake_src_base_init), (gst_fake_src_class_init),
8138 (gst_fake_src_init), (gst_fake_src_event_handler),
8139 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8140 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8141 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8142 (gst_fake_src_create_buffer), (gst_fake_src_create),
8143 (gst_fake_src_start), (gst_fake_src_stop):
8144 * gst/elements/gstfakesrc.h:
8145 * gst/elements/gstfilesink.c: (_do_init),
8146 (gst_file_sink_base_init), (gst_file_sink_class_init),
8147 (gst_file_sink_init), (gst_file_sink_dispose),
8148 (gst_file_sink_set_location), (gst_file_sink_set_property),
8149 (gst_file_sink_get_property), (gst_file_sink_open_file),
8150 (gst_file_sink_close_file), (gst_file_sink_query),
8151 (gst_file_sink_event), (gst_file_sink_render),
8152 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8153 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8154 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8155 * gst/elements/gstfilesink.h:
8156 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8157 (gst_file_src_class_init), (gst_file_src_init),
8158 (gst_file_src_finalize), (gst_file_src_set_location),
8159 (gst_file_src_set_property), (gst_file_src_get_property),
8160 (gst_file_src_map_region), (gst_file_src_map_small_region),
8161 (gst_file_src_create_mmap), (gst_file_src_create_read),
8162 (gst_file_src_create), (gst_file_src_is_seekable),
8163 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8164 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8165 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8166 (gst_file_src_uri_handler_init):
8167 * gst/elements/gstfilesrc.h:
8168 more autistic cleanliness in functions/names/defines
8170 2005-07-13 Andy Wingo <wingo@pobox.com>
8172 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8173 source couldn't negotiate.
8175 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8179 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8180 function. I am channeling Hades. Put your boots on suckers!!!
8182 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8184 * testsuite/caps/Makefile.am:
8185 * testsuite/caps/value_compare.c:
8186 * testsuite/caps/value_intersect.c:
8187 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8188 move two testsuite apps over to the check dir
8190 2005-07-12 Wim Taymans <wim@fluendo.com>
8192 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8193 Added more debug info in the negotiate process.
8196 Prepare for segment playback.
8198 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8204 * tools/gst-launch.c: (main):
8205 NULL pipeline on errors.
8207 2005-07-12 Andy Wingo <wingo@pobox.com>
8209 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8210 not it comes from a malloc region. Make sure our copy gets freed.
8212 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8214 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8215 * check/gst/gstmessage.c: (GST_START_TEST):
8216 * check/gst/gststructure.c: (GST_START_TEST),
8217 (gst_structure_suite), (main):
8219 * gst/gstelement.c: (gst_element_message_full):
8220 clean up GError and debug string now that they get copied
8221 * gst/gstmessage.c: (gst_message_new_error),
8222 (gst_message_new_warning), (gst_message_parse_error),
8223 (gst_message_parse_warning):
8224 use GST_TYPE_G_ERROR for structure_new, and take copies of
8225 arguments, so that we don't mess up refcounting
8227 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8229 * check/Makefile.am:
8230 add per-test valgrind targets
8231 * check/gst-libs/gdp.c: (GST_START_TEST),
8232 (gst_data_protocol_suite), (main):
8235 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8237 * check/Makefile.am:
8238 instate more valgrindable tests
8239 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8240 (GST_START_TEST), (fakesrc_suite):
8241 * check/gst/gstpad.c: (GST_START_TEST):
8242 * check/gst/gststructure.c: (GST_START_TEST):
8244 * docs/gst/tmpl/gstminiobject.sgml:
8245 * gst/gstpad.c: (gst_pad_finalize):
8246 fix the static mutex leak
8248 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8250 * check/Makefile.am:
8251 add two more tests for valgrinding
8252 * check/gst/gstvalue.c: (GST_START_TEST):
8253 test refcount of deserialized buffer, found a leak
8254 * docs/gst/gstreamer-docs.sgml:
8255 * docs/gst/gstreamer-sections.txt:
8256 * docs/gst/gstreamer.types:
8257 * docs/gst/tmpl/gstminiobject.sgml:
8258 add miniobject to docs
8259 * gst/gstminiobject.c:
8261 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8262 (gst_string_unwrap):
8263 fix a hard-to-find invalid write for one of the tests
8264 fix a leak for deserialized buffers
8266 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8268 * docs/pwg/advanced-events.xml:
8269 * docs/pwg/advanced-request.xml:
8270 * docs/pwg/advanced-scheduling.xml:
8271 * docs/pwg/appendix-porting.xml:
8272 * docs/pwg/building-boiler.xml:
8273 * docs/pwg/intro-preface.xml:
8274 * docs/pwg/other-ntoone.xml:
8275 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8276 of example code and explanation for pad activation, loop() and
8277 getrange() functions and a bit more. Remove old comments pointing
8279 * examples/pwg/Makefile.am:
8280 Add loop/getrange examples.
8282 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8285 check for valgrind binary + some fixes
8287 valgrind suppressions for the tests
8288 * check/Makefile.am:
8289 add a valgrind: target that valgrinds the unit tests
8290 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8291 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8292 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8293 * check/gst/gstghostpad.c:
8295 * check/gst/gstdata.c:
8297 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8298 (thread_unref), (gst_mini_object_suite), (main):
8300 * gst/gst.c: (gst_deinit):
8302 add a method to clean up.
8303 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8304 (gst_system_clock_obtain):
8305 allow for disposing the system clock.
8306 * tools/gst-launch.c: (main):
8309 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8311 * docs/gst/tmpl/gstbasesrc.sgml:
8312 * docs/gst/tmpl/gstfakesrc.sgml:
8313 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8314 (gst_base_src_init), (gst_base_src_set_property),
8315 (gst_base_src_get_property), (gst_base_src_get_range),
8316 (gst_base_src_start):
8317 * gst/base/gstbasesrc.h:
8318 add num-buffers property
8319 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8320 (gst_fakesrc_init), (gst_fakesrc_set_property),
8321 (gst_fakesrc_get_property), (gst_fakesrc_create),
8322 (gst_fakesrc_start):
8323 remove num-buffers property
8325 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8327 * docs/gst/gstreamer-sections.txt:
8328 * docs/gst/tmpl/gstbasesink.sgml:
8329 * docs/gst/tmpl/gstbasesrc.sgml:
8330 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8331 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8332 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8333 (gst_base_sink_set_property), (gst_base_sink_get_property),
8334 (gst_base_sink_handle_object), (gst_base_sink_event),
8335 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8336 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8337 (gst_base_sink_loop), (gst_base_sink_deactivate),
8338 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8339 (gst_base_sink_change_state):
8340 * gst/base/gstbasesink.h:
8341 * gst/base/gstbasesrc.h:
8342 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8343 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8344 (gst_filesink_init):
8345 more macro splitting
8347 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8349 * gst/gstelement.c: (gst_element_get_bus):
8351 * tools/gst-launch.c: (check_intr), (event_loop):
8354 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8356 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8359 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8361 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8362 (gst_base_src_finalize):
8363 add finalize method and clean up properly
8364 * gst/gstpipeline.c: (gst_pipeline_dispose):
8367 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8369 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8371 add more things to check
8372 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8376 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8378 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8379 (GST_START_TEST), (fakesrc_suite):
8380 * check/gst-libs/gdp.c: (GST_START_TEST):
8381 * check/gst/gst.c: (GST_START_TEST):
8382 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8383 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8384 * check/gst/gstbus.c: (GST_START_TEST):
8385 * check/gst/gstcaps.c: (GST_START_TEST):
8386 * check/gst/gstdata.c: (GST_START_TEST):
8387 * check/gst/gstelement.c: (GST_START_TEST):
8388 * check/gst/gstghostpad.c: (GST_START_TEST):
8389 * check/gst/gstiterator.c: (GST_START_TEST):
8390 * check/gst/gstmessage.c: (GST_START_TEST):
8391 * check/gst/gstobject.c: (GST_START_TEST):
8392 * check/gst/gstpad.c: (GST_START_TEST):
8393 * check/gst/gststructure.c: (GST_START_TEST):
8394 * check/gst/gstsystemclock.c: (GST_START_TEST),
8395 (gst_systemclock_suite):
8396 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8397 * check/gst/gstvalue.c: (GST_START_TEST):
8398 * check/pipelines/cleanup.c: (GST_START_TEST):
8399 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8400 * check/states/sinks.c: (GST_START_TEST):
8401 * check/gstcheck.c: (gst_check_init):
8403 add debugging category
8404 use GST_START_TEST now, so we add a debug line
8406 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8408 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8409 add test for state change message on a bin
8410 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8412 * gst/gstbin.c: (gst_bin_init):
8413 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8414 * gst/gstelement.c: (gst_element_post_message),
8415 (gst_element_set_state):
8416 * gst/gstelementfactory.c: (gst_element_factory_create):
8417 * gst/gstmessage.c: (gst_message_new):
8418 * gst/gstscheduler.c:
8419 various debugging additions and cleanups
8421 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8423 * check/Makefile.am:
8424 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8426 adding tests for elements
8427 * gst/gstelement.c: (gst_element_dispose):
8429 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8431 * gst/registries/gstlibxmlregistry.c: (load_feature):
8432 plug more leaks. A simple gst_init() now is leakfree, yay.
8434 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8436 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8437 (gst_xml_registry_load):
8438 plug another memleak
8440 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8443 use GST_SET_ERROR_CFLAGS
8445 change to ERROR_CFLAGS
8447 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8450 make GST_ERROR_CFLAGS overridable and re-enable Werror
8452 add a note about error CFLAGS
8453 * docs/gst/tmpl/gstfakesrc.sgml:
8454 * gst/elements/gstfakesrc.c:
8455 comment out some unused code
8456 * gst/gst.c: (split_and_iterate):
8457 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8461 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8463 * common/Makefile.am:
8464 * common/gtk-doc.mak:
8465 * docs/gst/Makefile.am:
8466 factor out gtk-doc.mak
8468 2005-07-07 Wim Taymans <wim@fluendo.com>
8470 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8471 (gst_thread_scheduler_dispose):
8472 Unlock the STREAM_LOCK completely.
8474 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8476 * check/Makefile.am:
8477 * check/elements/.cvsignore:
8478 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8479 (START_TEST), (fakesrc_suite), (main):
8480 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8481 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8482 (gst_fakesrc_create), (gst_fakesrc_start):
8483 * gst/elements/gstfakesrc.h:
8484 adding a first element test
8486 2005-07-07 Andy Wingo <wingo@pobox.com>
8488 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8491 2005-07-07 Wim Taymans <wim@fluendo.com>
8497 2005-07-07 Wim Taymans <wim@fluendo.com>
8499 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8500 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8501 Allow subclasses to implement their own negotiation.
8503 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8505 * docs/design/part-gstbin.txt:
8506 * docs/design/part-gstpipeline.txt:
8507 Update design notes to reflect the movement of
8508 responsibility for bus handling from GstPipeline to
8511 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8514 Remove unnecessary queue2/3/4 examples.
8516 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8518 * examples/Makefile.am:
8519 * examples/helloworld/helloworld.c: (event_loop), (main):
8520 * examples/queue/queue.c: (event_loop), (main):
8521 * examples/queue2/queue2.c: (main):
8522 Update a couple of the examples to work again.
8524 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8525 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8526 Spelling corrections and extra debug.
8528 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8529 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8530 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8532 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8533 (gst_pipeline_change_state):
8534 * gst/gstpipeline.h:
8535 Move the bus handler for children to the GstBin, and create a
8536 separate bus for receiving messages from children to the one the
8537 bus sends 'upwards' on.
8539 2005-07-06 Wim Taymans <wim@fluendo.com>
8542 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8543 (gst_base_sink_handle_object), (gst_base_sink_loop),
8544 (gst_base_sink_change_state):
8545 * gst/base/gstbasesink.h:
8546 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8547 (gst_base_src_init), (gst_base_src_setcaps),
8548 (gst_base_src_getcaps), (gst_base_src_loop),
8549 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8550 (gst_base_src_start), (gst_base_src_change_state):
8551 * gst/base/gstbasesrc.h:
8552 Make basesrc negotiate.
8553 Handle the case where preroll fails in basesink.
8556 2005-07-06 Wim Taymans <wim@fluendo.com>
8558 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8559 Implement the fixate function.
8560 Clean up acceptcaps.
8562 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8564 * docs/pwg/building-filterfactory.xml:
8566 Remove never-written filter-factory chapter; I'll add the various
8567 base classes to part 4 ("other element types") later on.
8569 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8571 * docs/pwg/advanced-negotiation.xml:
8572 * docs/pwg/building-boiler.xml:
8573 * docs/pwg/building-pads.xml:
8575 * examples/pwg/Makefile.am:
8576 Add a chapter on caps negotiation, simplify the original code
8577 samples a bit w.r.t. caps negotiation, add link to the advanced
8578 section. Add a bunch of examples showing different use cases of
8579 different types of caps negotiation. Upstream renegotiation isn't
8580 fully documented yet since nobody knows how that works.
8582 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8584 * check/gst/gstpad.c:
8586 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8587 if pad has no parent, return NULL as list of internal links
8589 2005-07-05 Andy Wingo <wingo@pobox.com>
8591 * gst/elements/gstfilesrc.c:
8592 * gst/elements/gstfakesrc.c:
8593 * gst/base/gstpushsrc.c:
8594 * gst/base/gstbasesrc.h:
8595 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8597 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8600 better report generation target (lcov needs a patch)
8602 2005-07-05 Andy Wingo <wingo@pobox.com>
8604 * gst/elements, testsuite: Null if we got it...
8606 2005-07-05 Wim Taymans <wim@fluendo.com>
8609 * libs/gst/dataprotocol/Makefile.am:
8610 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8611 * libs/gst/dataprotocol/dataprotocol.h:
8612 * pkgconfig/Makefile.am:
8613 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8614 * pkgconfig/gstreamer-dataprotocol.pc.in:
8615 Ported dataprotol to 0.9.
8616 Added pkgconfig files.
8618 2005-07-05 Andy Wingo <wingo@pobox.com>
8620 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8621 Default to returning TRUE for the case when tranform_caps returns
8622 a fixed caps, like for identity or volume.
8624 * check/gst/gstbus.c (pound_bus_with_messages):
8625 * check/gst/gstmessage.c (START_TEST):
8626 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8629 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8630 logic weaks here: always run transform_caps, trying passthrough
8631 operation only if the original caps intersects with the transform.
8633 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8634 source and sink caps.
8636 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8637 Intersect the peer caps with the pad template before going into
8639 (gst_base_transform_transform_caps): More debugging.
8641 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8644 2005-07-04 Edward Hervey <edward@fluendo.com>
8648 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8651 2005-07-04 Andy Wingo <wingo@pobox.com>
8653 * check/gst/gstpad.c: Only set explicit caps on pads.
8655 2005-07-01 Andy Wingo <wingo@pobox.com>
8657 * tests/network-clock.scm: Commentary update.
8659 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8660 Didn't really make sense, not implementable with basetransform,
8662 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8663 attempt at implementing the sync property, needs an unlock method.
8665 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8666 New func, by default returns the same caps (the identity
8668 (gst_base_transform_getcaps): Uses transform_caps to return
8670 (gst_base_transform_setcaps): Complicated logic to get caps on
8671 both pads, even if they are different, and to call set_caps once
8672 for every time both pads get their caps set.
8673 (gst_base_transform_handle_buffer): Give the ref to the transform
8674 function. Allows in-place modification of the buffer.
8676 * gst/base/gstbasetransform.h (transform_caps): New class method.
8677 Given caps on one side, what can I do on the other.
8678 (set_caps): Take two caps, one for each side of the element.
8681 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8682 caps in place. This is safe because we can check the mutability of
8683 the caps, and a good idea because fixate functions are just called
8684 as a matter of last resort. (Not actually implemented.)
8685 (gst_pad_set_caps): If the caps we're setting is actually the same
8686 as the existing pad caps, just update the pointer without calling
8687 setcaps. Assert that caps is either NULL or fixed, as per the
8690 * gst/gstghostpad.c: Update for fixate changes.
8692 2005-07-02 Andy Wingo <wingo@pobox.com>
8695 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8696 two refcounts makes it immutable, which is enough. Doc more.
8698 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8700 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8701 Put the mini_object into GValue as a mini_object,
8702 not a gpointer, since that's how we declared
8705 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8707 * examples/pwg/Makefile.am:
8710 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8712 * docs/pwg/building-testapp.xml:
8714 * examples/pwg/Makefile.am:
8717 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8720 * examples/Makefile.am:
8721 * examples/pwg/Makefile.am:
8722 * examples/pwg/extract.pl:
8723 Enable building the PWG examples.
8724 * docs/pwg/advanced-interfaces.xml:
8725 Add URI interface stub.
8726 * docs/pwg/advanced-types.xml:
8727 * docs/pwg/other-autoplugger.xml:
8728 * docs/pwg/appendix-porting.xml:
8730 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8731 * docs/pwg/building-boiler.xml:
8732 * docs/pwg/building-chainfn.xml:
8733 * docs/pwg/building-pads.xml:
8734 * docs/pwg/building-props.xml:
8735 * docs/pwg/building-state.xml:
8736 * docs/pwg/building-testapp.xml:
8737 Update the building-*.xml parts for 0.9 changes. All examples
8738 code blocks compile in examples/pwg/*.
8740 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8742 * docs/manual/advanced-autoplugging.xml:
8743 * docs/manual/appendix-checklist.xml:
8744 * docs/manual/appendix-integration.xml:
8745 * docs/manual/highlevel-components.xml:
8746 Fix playbin/decodebin examples, update docs a bit, mention bus
8747 instead of signals in various places, mention kmplayer and
8748 kaffeine since they have a working GStreamer backend in the KDE
8751 2005-06-30 Wim Taymans <wim@fluendo.com>
8754 * docs/design/draft-ghostpads.txt:
8755 * docs/design/draft-push-pull.txt:
8756 * docs/design/draft-query.txt:
8757 * docs/design/part-TODO.txt:
8758 * docs/design/part-query.txt:
8759 Added CHANGES-0.9 doc, updated status of other docs.
8764 2005-06-30 Wim Taymans <wim@fluendo.com>
8766 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8767 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8768 (gst_base_sink_change_state):
8769 * gst/base/gstbasesink.h:
8770 Some tweaks, only EOS and a buffer complete a preroll.
8772 2005-06-30 Andy Wingo <wingo@pobox.com>
8774 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8775 activate_push down to the internal pad as well.
8777 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
8779 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8781 * gst/gsttaginterface.c:
8782 Some documentation fixes (#307394 and #307397).
8784 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
8786 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8788 * gst/gstvalue.c: (gst_value_intersect_list):
8789 Fix memleak (#309125).
8791 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8793 * docs/manual/advanced-dataaccess.xml:
8794 Fix fakesrc example to compile; doesn't work, bug somewhere...?
8795 * docs/manual/basics-pads.xml:
8796 Add reference for filtered caps to above chapter.
8798 2005-06-30 Wim Taymans <wim@fluendo.com>
8800 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8801 (gst_bin_change_state):
8803 Lame attempt at making the state change function a bit
8806 2005-06-30 Wim Taymans <wim@fluendo.com>
8808 * docs/design/part-clocks.txt:
8809 * docs/design/part-element-sink.txt:
8810 * docs/design/part-events.txt:
8811 * docs/design/part-preroll.txt:
8812 * docs/design/part-states.txt:
8813 Some more tweeks and additions to the docs.
8815 2005-06-30 Wim Taymans <wim@fluendo.com>
8817 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8818 (default_have_data), (gst_pad_class_init), (gst_pad_init),
8819 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8820 (gst_pad_check_pull_range), (gst_pad_get_range),
8821 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8823 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8824 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8825 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8826 (gst_pad_remove_buffer_probe):
8827 Removed atomic operations, use existing LOCK.
8828 Move exception handling out of main code path.
8830 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8832 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8833 (silly_return_true_function), (gst_pad_class_init),
8834 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8835 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8836 (gst_pad_send_event):
8837 Fix accumulator, add default value by using _emitv() instead
8838 of _emit() for signal emission.
8840 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8842 * docs/manual/advanced-dataaccess.xml:
8843 * examples/manual/Makefile.am:
8845 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8848 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
8850 * gst/elements/gstfilesink.c: (gst_filesink_render):
8851 Simplify code so that we don't have to handle short
8852 writes and return GST_FLOW_ERROR if an error occured.
8854 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8856 * docs/gst/gstreamer-docs.sgml:
8859 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8861 * docs/gst/gstreamer-sections.txt:
8862 * docs/gst/tmpl/gstpad.sgml:
8863 * docs/gst/tmpl/gstprobe.sgml:
8865 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8866 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8867 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8868 (gst_pad_push_event), (gst_pad_send_event):
8870 * gst/gstutils.c: (gst_pad_add_data_probe),
8871 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8872 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8873 (gst_pad_remove_buffer_probe):
8875 Remove old probes, add new g-signal-based probes and some utility
8878 2005-06-29 Edward Hervey <edward@fluendo.com>
8880 * gst/gstelementfactory.c:
8883 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8884 the definition to the header file.
8886 2005-06-29 Andy Wingo <wingo@pobox.com>
8888 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8889 plugins from the source directory.
8891 2005-06-29 Wim Taymans <wim@fluendo.com>
8893 * docs/gst/tmpl/gstbuffer.sgml:
8894 * docs/gst/tmpl/gstclock.sgml:
8895 Some fixings for blantently wrong text.
8897 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8899 * check/Makefile.am:
8900 * gst/gst.c: (add_path_func), (init_pre):
8901 * gst/gstregistry.c: (gst_registry_add_path):
8902 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8903 only scan the GST_PLUGIN_PATH locations, and not add
8906 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8908 * docs/gst/gstreamer-sections.txt:
8909 * docs/gst/tmpl/gstbasesrc.sgml:
8916 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8918 * docs/manual/advanced-autoplugging.xml:
8919 Fix autoplugging example.
8921 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8923 * docs/manual/advanced-autoplugging.xml:
8924 * docs/manual/mime-world.fig:
8925 Try to get autoplugging working, fix type detection. Fix text
8926 in hello-world image.
8928 2005-06-29 Wim Taymans <wim@fluendo.com>
8930 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8931 (gst_base_sink_change_state):
8935 map SIGNAL and BROADCAST to the right function.
8938 Remove redundant braces.
8940 * gst/gstpad.c: (gst_pad_set_caps):
8941 Don't call setcaps function when reseting caps to NULL.
8943 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8944 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8945 (gst_system_clock_id_unschedule):
8946 Use BROADCAST as this is what we do.
8948 2005-06-29 Wim Taymans <wim@fluendo.com>
8950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8951 We are actually prerolling before commiting the state
8954 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8956 * docs/manual/advanced-clocks.xml:
8957 * docs/manual/advanced-interfaces.xml:
8958 * docs/manual/advanced-metadata.xml:
8959 * docs/manual/advanced-position.xml:
8960 * docs/manual/advanced-schedulers.xml:
8961 * docs/manual/advanced-threads.xml:
8962 * docs/manual/appendix-porting.xml:
8963 * docs/manual/basics-bins.xml:
8964 * docs/manual/basics-bus.xml:
8965 * docs/manual/basics-elements.xml:
8966 * docs/manual/basics-helloworld.xml:
8967 * docs/manual/basics-pads.xml:
8968 * docs/manual/highlevel-components.xml:
8969 * docs/manual/manual.xml:
8970 * docs/manual/thread.fig:
8971 Update (until threads/scheduling) Application Development Manual;
8972 remove GstThread, add GstBus, add simple porting checklist, add
8973 documentation for tag writing, clocks, make all examples until this
8974 part compile and run.
8975 * examples/manual/Makefile.am:
8976 Update from changes to Application Development Manual; add bus
8977 example, remove thread example.
8979 2005-06-28 Wim Taymans <wim@fluendo.com>
8981 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8982 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8983 (gst_bus_source_dispatch):
8984 Add debugging messages.
8985 Make internal methods static.
8986 Handle the case where the bus is flushed in the handler.
8988 * gst/gstelement.c: (gst_element_get_bus):
8989 Fix refcount in _get_bus();
8991 * gst/gstpipeline.c: (gst_pipeline_change_state),
8992 (gst_pipeline_get_clock_func):
8993 Clock refcounting fixes.
8994 Handle the case where preroll timed out more gracefully.
8996 * gst/gstsystemclock.c: (gst_system_clock_dispose):
8997 Clean up the internal thread in dispose. This is needed
8998 for subclasses that actually get disposed.
9000 * gst/schedulers/threadscheduler.c:
9001 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9002 (gst_thread_scheduler_dispose):
9003 Free thread pool in dispose.
9005 2005-06-28 Andy Wingo <wingo@pobox.com>
9007 * tests/network-clock-utils.scm (debug, print-event): New utils.
9009 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9010 (*packet-loss*): Unified loss probability.
9011 (network-time): Report out-of-band events.
9013 * tests/plot-data: Add support for out-of-band events. Hack it
9014 into this script instead of passing it down the pipe; should fix
9017 2005-06-28 Wim Taymans <wim@fluendo.com>
9019 * docs/gst/gstreamer.types:
9020 * docs/gst/tmpl/gstbasesrc.sgml:
9021 * docs/gst/tmpl/gstpad.sgml:
9024 2005-06-28 Wim Taymans <wim@fluendo.com>
9026 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9027 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9028 (gst_proxy_pad_do_fixatecaps):
9029 Correctly proxy the check_pull_range function.
9031 2005-06-28 Andy Wingo <wingo@pobox.com>
9033 * tests/network-clock.scm: Removed need for slib.
9035 2005-06-28 Wim Taymans <wim@fluendo.com>
9037 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9038 (gst_basesink_preroll_queue_flush):
9039 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9040 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9041 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9042 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9043 (gst_proxy_pad_set_property):
9046 * gst/gstqueue.c: (gst_queue_init):
9047 The deprecated pad loop function is removed now.
9049 2005-06-28 Andy Wingo <wingo@pobox.com>
9051 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9052 New parameters, simulate network packet loss.
9054 * tests/network-clock-utils.scm: Initialize the RNG.
9056 2005-06-28 Wim Taymans <wim@fluendo.com>
9058 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9059 (gst_basesink_event), (gst_basesink_deactivate):
9060 Flushing the preroll queue always needs to unlock the waiters.
9062 2005-06-28 Edward Hervey <edward@fluendo.com>
9064 * gst/gstpipeline.c: (gst_pipeline_send_event):
9065 Wheen a seek was successful on a pipeline, set the stream_time to the
9066 seek offset in order to have a synchronized stream_time.
9068 2005-06-28 Wim Taymans <wim@fluendo.com>
9070 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9071 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9072 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9073 (gst_proxy_pad_do_fixatecaps):
9074 Call wrapper function instead of just calling the function
9075 pointers. This takes care of any locking and whatmore.
9077 2005-06-28 Wim Taymans <wim@fluendo.com>
9079 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9080 (gst_pad_pull_range):
9082 CONNECTED -> LINKED.
9084 2005-06-28 Andy Wingo <wingo@pobox.com>
9086 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9087 source-munging commit!!!
9089 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9090 (gst_object_sink): Take gpointer arguments, not GstObject --
9091 avoids casts. Like GLib.
9093 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9096 2005-06-27 Andy Wingo <wingo@pobox.com>
9098 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9101 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9102 returns a sorted copy of the trace list.
9103 (gst_alloc_trace_print_live): New API, only prints traces with
9104 live objects. Sort the list.
9105 (gst_alloc_trace_print_all): Sort the list.
9106 (gst_alloc_trace_print): Align columns.
9108 * gst/elements/gstttypefindelement.c:
9109 * gst/elements/gsttee.c:
9110 * gst/base/gstbasesrc.c:
9111 * gst/base/gstbasesink.c:
9112 * gst/base/gstbasetransform.c:
9113 * gst/gstqueue.c: Adapt for pad activation changes.
9115 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9117 (gst_pipeline_dispose): Drop ref on sched.
9119 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9120 (gst_pad_activate_default): Push mode by default.
9121 (pre_activate_switch, post_activate_switch): New stubs, things to
9122 do before and after switching activation modes on pads.
9123 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9124 the pad's activate function to choose which mode to activate.
9125 Shortcut on deactivation and call the right function directly.
9126 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9128 (gst_pad_activate_push): New API, same for push mode.
9129 (gst_pad_set_activate_function)
9130 (gst_pad_set_activatepull_function)
9131 (gst_pad_set_activatepush_function): Setters for new API.
9133 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9134 Trace all miniobjects.
9135 (gst_mini_object_make_writable): Unref the arg if we copy, like
9136 gst_caps_make_writable.
9138 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9140 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9141 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9142 Adapt for new pad API.
9144 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9147 * gst/gstelement.c (gst_element_iterate_src_pads)
9148 (gst_element_iterate_sink_pads): New API functions.
9150 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9151 should fold into gstiterator.c in some form.
9152 (gst_element_pads_activate): Simplified via use of fold and
9153 delegation of decisions to gstpad->activate.
9155 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9158 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9159 class once in init, like gstmessage. Didn't run into this issue
9160 but it seems correct. Don't initialize a trace, gstminiobject does
9163 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9164 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9166 (assert_live_count): New util function, uses alloc traces to check
9169 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9170 To be modified when unlink drops the internal pad.
9172 2005-06-27 Wim Taymans <wim@fluendo.com>
9174 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9175 (gst_bin_change_state):
9176 Cleanup the get_state() function a little, make sure it
9177 iterates the same set of elements.
9178 Added stub iterate_state_order().
9180 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9182 * docs/gst/gstreamer-docs.sgml:
9183 * docs/gst/gstreamer-sections.txt:
9184 * docs/gst/gstreamer.types:
9185 * docs/gst/tmpl/gstbasesink.sgml:
9186 * docs/gst/tmpl/gstbasesrc.sgml:
9187 * docs/gst/tmpl/gstbasetransform.sgml:
9188 * docs/gst/tmpl/gstelement.sgml:
9189 * docs/gst/tmpl/gstiterator.sgml:
9190 * gst/base/gstbasesrc.c:
9191 * gst/base/gstbasesrc.h:
9192 * gst/base/gstbasetransform.h:
9194 * gst/gstiterator.h:
9195 adding basetransform and iterator docs
9197 2005-06-27 Andy Wingo <wingo@pobox.com>
9199 * docs/design/part-activation.txt: Notes on how activation should
9200 work -- not quite implemented yet.
9202 2005-06-25 Wim Taymans <wim@fluendo.com>
9204 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9205 At least get the chain function correct, needs more
9208 2005-06-25 Wim Taymans <wim@fluendo.com>
9210 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9211 (gst_basesink_handle_object), (gst_basesink_event),
9212 (gst_basesink_do_sync), (gst_basesink_handle_event),
9213 (gst_basesink_change_state):
9215 Right, two problems here: ghostpads don't take locks and
9216 glib _rec_mutex_lock_full() with depth==0 still locks.
9217 Catch illegal locking and g_warn them.
9219 2005-06-25 Wim Taymans <wim@fluendo.com>
9221 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9222 Have to check for completion now...
9224 2005-06-25 Wim Taymans <wim@fluendo.com>
9226 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9227 (gst_basesink_handle_object), (gst_basesink_event),
9228 (gst_basesink_do_sync), (gst_basesink_handle_event),
9229 (gst_basesink_change_state):
9231 Unlock STREAM_LOCK whatever the recursion was.
9233 2005-06-25 Wim Taymans <wim@fluendo.com>
9235 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9236 (gst_basesink_preroll_queue_empty),
9237 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9238 (gst_basesink_event), (gst_basesink_do_sync),
9239 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9240 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9241 (gst_basesink_change_state):
9242 Reworked the base sink, handle event and buffer serialisation
9243 correctly and removed possible deadlock.
9244 Handle EOS correctly.
9246 2005-06-25 Wim Taymans <wim@fluendo.com>
9248 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9249 (gst_pipeline_change_state):
9250 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9251 Allow elements to post EOS in the state change function.
9252 Fix up -launch, make it exit the poll loop when the
9253 pipeline actually changed state.
9254 Fix up warning parsing in -launch.
9256 2005-06-25 Wim Taymans <wim@fluendo.com>
9258 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9259 (gst_tee_sink_activate):
9260 Core takes STREAM_LOCK for us now.
9262 2005-06-25 Wim Taymans <wim@fluendo.com>
9264 * gst/gstelement.c: (gst_element_get_state_func),
9265 (gst_element_set_state):
9267 * gst/gstmessage.c: (gst_message_parse_error),
9268 (gst_message_parse_warning):
9269 Keep track of current target state while performing a state
9270 change so that subclasses can do something interesting.
9271 Fix parsing of warning/error messages when GError is NULL.
9273 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9275 * docs/gst/Makefile.am:
9276 * docs/gst/gstreamer-docs.sgml:
9277 * docs/gst/gstreamer-sections.txt:
9278 * docs/gst/gstreamer.types:
9279 * docs/gst/tmpl/gstbasesink.sgml:
9280 * docs/gst/tmpl/gstbasesrc.sgml:
9281 * docs/gst/tmpl/gstbin.sgml:
9282 * docs/gst/tmpl/gstcompat.sgml:
9283 * docs/gst/tmpl/gstfakesink.sgml:
9284 * docs/gst/tmpl/gstfakesrc.sgml:
9285 * docs/gst/tmpl/gstfilesink.sgml:
9286 * docs/gst/tmpl/gstfilesrc.sgml:
9287 * docs/gst/tmpl/gstindex.sgml:
9288 * docs/manual/appendix-quotes.xml:
9289 * gst/base/gstbasesrc.h:
9290 * gst/elements/gstfakesrc.h:
9292 start pulling in base classes and elements in our docs
9294 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9296 * docs/gst/Makefile.am:
9297 * docs/libs/Makefile.am:
9298 fixed make distcheck with gtk-doc 1.3
9300 2005-06-23 Wim Taymans <wim@fluendo.com>
9302 * gst/gstelement.c: (gst_element_get_state_func),
9303 (gst_element_set_state), (gst_element_change_state):
9304 When the state did not change, also report NO_PREROLL
9307 2005-06-23 Wim Taymans <wim@fluendo.com>
9309 * gst/gstpad.c: (gst_pad_event_default):
9310 * gst/gstqueue.c: (gst_queue_loop):
9311 No unsafe task pausing please.
9313 2005-06-23 Wim Taymans <wim@fluendo.com>
9315 * gst/schedulers/threadscheduler.c:
9316 (gst_thread_scheduler_task_start),
9317 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9318 Ref the task before pushing it on the threadpool. This
9319 makes sure that we have a ref when the threadfunction is
9322 2005-06-23 Andy Wingo <wingo@pobox.com>
9324 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9325 offset is greater than the file's size.
9327 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9328 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9329 * gst/gstobject.c (gst_object_class_init): Make the class lock
9330 recursive. Wim won't let me drop deep_notify. Decodebin works
9333 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9334 internal pad, and hacks accordingly. Doesn't do it on the target
9335 pad because we change its caps. Probably catches all cases of
9337 (gst_ghost_pad_set_property): Connect to notify::caps as
9340 * tests/network-clock.scm (plot-simulation): Pipe data to the
9341 elite python skript.
9343 * tests/network-clock-utils.scm (define-parameter): New macro,
9344 defines a parameter that can be set via the command line.
9345 (set-parameter!, parse-parameter-arguments): Command line args
9348 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9351 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9353 * gst/elements/gsttypefindelement.c:
9354 (gst_type_find_element_handle_event):
9355 Don't restart typefinding on a discont.
9356 * gst/gstelement.c: (gst_element_set_state):
9358 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9359 Allow changing mode of an active pad.
9361 * gst/registries/gstlibxmlregistry.c: (load_feature):
9362 Don't cast a static pad template to a normal pad template.
9364 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9366 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9367 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9368 remove gst_strtoll completely, since it didn't actually do
9369 anything more than what g_ascii_strtoull already does.
9370 check for range errors when deserializing
9371 do a cast for the unsigned cases; but further fixing needs
9372 a decision on what the interpretation of "(int)" and
9373 deserialization should be for values that fall outside the
9374 type's boundaries (ie, refuse, or interpret as casting)
9376 2005-06-23 Wim Taymans <wim@fluendo.com>
9378 * check/Makefile.am:
9379 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9380 * docs/design/part-live-source.txt:
9381 * docs/design/part-states.txt:
9382 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9383 (gst_basesrc_set_live), (gst_basesrc_is_live),
9384 (gst_basesrc_get_range), (gst_basesrc_activate),
9385 (gst_basesrc_change_state):
9386 * gst/base/gstbasesrc.h:
9387 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9388 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9389 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9390 * gst/gstelement.c: (gst_element_get_state_func),
9391 (gst_element_set_state):
9394 * tools/gst-launch.c: (event_loop), (main):
9395 Added support for live sources and other elements that
9397 Updated design docs, added live-source design doc.
9398 Implemented live source functionality in basesrc
9399 Fix error condition in _bin_get_state()
9400 Implement live source handling in -launch.
9401 Added check for live sources.
9402 Fixed case in GstBin where elements were changed state
9406 2005-06-23 Andy Wingo <wingo@pobox.com>
9408 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9411 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9412 gst_caps_replace takes care of this for us.
9414 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9415 gst_pad_set_caps on the target, not just its setcaps() function.
9417 * tests/network-clock.scm:
9418 * tests/network-clock-utils.scm: A network clock simulator.
9419 Something of an algorithmic testbed before doing something in C.
9421 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9423 * check/Makefile.am:
9424 * check/gst/capslist.h:
9425 copy over from 0.8, and add two with bitmasks specified with
9427 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9428 add test to parse everything from capslist.h
9429 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9431 add test for structure deserialization
9432 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9433 add tests for deserialization of strings to int types
9434 * gst/gststructure.c: (gst_structure_nth_field_name):
9435 * gst/gststructure.h:
9436 add a way to get the name of a field referenced by index
9437 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9438 instead of checking if the resulting long long lies between
9439 min and max, we check if the long long would fit into
9440 a number of bytes for the final type.
9441 This fixes cases where a string represents 2^32 - 1, which
9442 when cast to int would be the (valid) -1, but is bigger than
9445 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9447 * gst/parse/grammar.y:
9448 add a log line for type deserialization
9450 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9452 * check/gst/gstvalue.c: (START_TEST):
9453 * gst/gstvalue.c: (gst_value_deserialize):
9454 return long long, not int, so gint64 deserialization actually
9455 works. Is there any flag that makes the compiler check this ?
9458 2005-06-22 Wim Taymans <wim@fluendo.com>
9461 Added convenience macros for setting buffers in GValue.
9463 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9465 * check/gst/.cvsignore:
9466 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9467 add a test deserializing int64, and comment part out because
9470 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9472 * check/Makefile.am:
9473 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9474 * testsuite/Makefile.am:
9475 * testsuite/caps/Makefile.am:
9476 * testsuite/caps/value_serialize.c:
9477 * testsuite/test_gst_init.c:
9478 move a value_serialize test over
9480 2005-06-20 Wim Taymans <wim@fluendo.com>
9485 * gst/gstvalue.c: (gst_value_compare_buffer),
9486 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9487 (gst_value_compare_flags), (gst_value_serialize_flags),
9488 (gst_value_deserialize_flags), (_gst_value_initialize):
9489 Fix serialisation of buffers, they are not boxed types anymore
9491 2005-06-20 Wim Taymans <wim@fluendo.com>
9493 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9494 Testcase to show error in buffer-on-caps serialisation.
9496 2005-06-20 Andy Wingo <wingo@pobox.com>
9498 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9499 will be adding to later.
9501 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9502 if its socks fill with rocks.
9503 (gst_system_clock_obtain): Set the name on object construction.
9504 Avoid double-checked locking.
9506 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9508 * gst/gsturi.c: (gst_element_make_from_uri):
9509 Fix potential endless loop.
9511 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9513 * check/Makefile.am:
9515 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9517 move over from testsuite dir and clean up
9520 * testsuite/Makefile.am:
9521 * testsuite/tags/.cvsignore:
9522 * testsuite/tags/Makefile.am:
9523 * testsuite/tags/merge.c:
9524 remove testsuite/tags
9526 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9528 * docs/gst/gstreamer-sections.txt:
9529 * docs/gst/tmpl/gstenumtypes.sgml:
9530 * win32/gstenumtypes.c:
9531 clean up documentation build a little
9533 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9536 add macros for checking refcounts on objects and caps
9537 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9538 add some more unit tests
9539 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9540 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9541 fix leaked refcounts (I hope :)) so unittest works
9545 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9547 * configure.ac: back to HEAD
9549 === release 0.9.1 ===
9551 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9557 2005-06-17 Andy Wingo <wingo@pobox.com>
9559 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9560 assert; it's always possible that the pad gets deactivated in
9561 between the checks in gstpad.c and the implementation. Rely on
9562 finish_preroll() to return a FLUSHING or similar instead of on the
9565 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9566 clock and post an EOS message if we come out of finish_preroll in
9569 2005-06-16 David Schleef <ds@schleef.org>
9571 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9572 (gst_capsfilter_set_property): Allow NULL as possible value
9573 for filter_caps property, indicating GST_CAPS_ANY.
9575 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9577 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9579 * gst/schedulers/Makefile.am:
9581 * gstreamer.spec.in:
9584 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9586 * gstreamer.spec.in:
9589 2005-06-08 Andy Wingo <wingo@pobox.com>
9591 * gst/gstutils.c: RPAD fixes all around.
9592 (gst_element_link_pads): Refcounting fixes.
9594 * tools/gst-inspect.c:
9595 * tools/gst-xmlinspect.c:
9597 * gst/base/gsttypefindhelper.c:
9598 * gst/base/gstbasesink.c:
9599 * gst/gstqueue.c: RPAD fixes.
9601 * gst/gstghostpad.h:
9602 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9603 pads. The tricky thing is they provide both source and sink
9604 interfaces, since they proxy the internal pad for the external
9605 pad, and vice versa. Implement with lower-level ProxyPad objects,
9606 with the interior proxy pad as a child of the exterior ghost pad.
9607 Should write a doc on this.
9609 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9610 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9613 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9614 pads are real pads. No ghost pads in this file. Not documenting
9615 the myriad s/RPAD/PAD/ and REALIZE fixes.
9616 (gst_pad_class_init): Add properties for "direction" and
9617 "template". Both are construct-only, so they can't change during
9618 the life of the pad. Fixes properly deriving from GstPad.
9619 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9620 derived objects, just set properties when creating the objects via
9622 (gst_pad_get_parent): Implement as a function, return NULL if the
9623 parent is not an element.
9624 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9625 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9627 * gst/gstobject.c (gst_object_class_init): Make name a construct
9628 property. Don't set it in the object init.
9630 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9631 with UNKNOWN direction.
9632 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9633 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9634 (gst_element_remove_pad): Remove ghost-pad special cases.
9635 (gst_element_pads_activate): Remove rpad cruft.
9637 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9638 catch the pad's-parent-not-an-element case.
9640 * gst/gst.h: Include gstghostpad.h.
9642 * gst/gst.c (init_post): No more real, ghost pads.
9644 * gst/Makefile.am: Add gstghostpad.[ch].
9646 * check/Makefile.am:
9647 * check/gst/gstbin.c:
9648 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9649 into a bin creates ghost pads, and that the refcounts are right.
9650 Partly moved from gstbin.c.
9652 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9654 * check/gst-libs/.cvsignore:
9655 * check/gst/.cvsignore:
9656 * check/pipelines/.cvsignore:
9658 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9659 (START_TEST), (cleanup_suite), (main):
9660 add some tests related to cleanup after running pipelines
9662 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9664 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9665 add a testsuite for GstBuffer
9667 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9669 * gst/gstminiobject.h:
9670 add defines for accessing the refcount
9672 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9674 * Makefile.am: added support for html unit test coverage reports
9676 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9678 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9679 Free existing caps if the capsfilter changes. Add a FIXME about
9680 setting those caps on the pads.
9682 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9683 Before adding a ghost pad to a parent bin, check that there isn't
9684 already one for the element on the bin. Prevents infinite recursion
9685 when using decodebin in parse pipelines. Andy says he'll rewrite the
9686 way this works anyway, so ignore the hack.
9688 2005-06-02 Andy Wingo <wingo@pobox.com>
9690 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9691 file size, pass it on to the type find helper.
9693 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9694 segment_start and segment_end properly according to the seek
9695 method. Segment_end is still a bit flaky because offset can be
9696 negative for CUR and END cases, but it takes -1 as an "unset"
9699 2005-06-02 Wim Taymans <wim@fluendo.com>
9701 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9702 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9703 (gst_basesink_activate):
9704 * gst/base/gstbasesink.h:
9705 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9706 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9707 (gst_pad_query), (gst_pad_start_task):
9709 * gst/gstqueue.c: (gst_queue_bufferalloc),
9710 (gst_queue_handle_sink_event), (gst_queue_chain):
9711 Bufferalloc: return GstFlowReturn to more accuratly report
9712 why allocation failed.
9714 2005-06-02 Wim Taymans <wim@fluendo.com>
9716 * gst/gstpipeline.c: (gst_pipeline_send_event):
9717 Take snapshot of state without blocking.
9719 2005-06-02 Wim Taymans <wim@fluendo.com>
9721 * docs/design/part-TODO.txt:
9722 * docs/design/part-caps.txt:
9723 * docs/design/part-clocks.txt:
9724 * docs/design/part-negotiation.txt:
9725 * docs/design/part-preroll.txt:
9728 2005-05-30 Wim Taymans <wim@fluendo.com>
9730 * gst/elements/gstidentity.c: (gst_identity_event),
9731 (gst_identity_transform), (gst_identity_get_property):
9732 Protect last_message property as it is accessed from
9735 2005-05-30 Wim Taymans <wim@fluendo.com>
9737 * gst/gstelement.c: (gst_element_init),
9738 (gst_element_pads_activate), (gst_element_change_state):
9739 Slicker pad activation code.
9741 2005-05-30 Wim Taymans <wim@fluendo.com>
9745 * gst/gstelementfactory.h:
9747 Move elementfactory methods to separate .h file.
9749 2005-05-30 Wim Taymans <wim@fluendo.com>
9751 * docs/design/part-overview.txt:
9752 * gst/gstsystemclock.h:
9753 Small typo fixes, doc updates.
9755 2005-05-30 Wim Taymans <wim@fluendo.com>
9757 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9758 (init_popt_callback):
9759 Remove cpu-opt flag.
9761 2005-05-30 Wim Taymans <wim@fluendo.com>
9763 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9764 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9766 Avoid typechecking in places where not needed.
9767 Added accessor for malloc_data.
9769 2005-05-30 Wim Taymans <wim@fluendo.com>
9771 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9772 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9773 (gst_pad_configure_sink), (gst_pad_configure_src),
9774 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9775 (gst_pad_start_task):
9776 Propagate errors from _set_caps() in configure_src/sink
9777 functions instead of returning TRUE.
9778 FLUSH events can travel up and downstream
9781 2005-05-30 Wim Taymans <wim@fluendo.com>
9783 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9784 (gst_basesink_activate):
9785 Handle EOS in preroll.
9787 2005-05-30 Wim Taymans <wim@fluendo.com>
9789 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9790 (gst_queue_loop), (gst_queue_handle_src_event):
9791 Remove old pieces of code
9792 Flushing the queue in an upstream event is a very bad idea.
9794 2005-05-26 Andy Wingo <wingo@pobox.com>
9796 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9797 gst_value_set_mini_object so as to add a ref on the object (which
9798 will be removed when the value is unset).
9800 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9801 arg type in ::handoff.
9803 * gst/gstelement.c (gst_element_change_state): Also deactivate
9804 pads in READY->NULL, just in case the element didn't make it to
9805 PAUSED. Wingo tested, Wim approved.
9807 2005-05-26 Wim Taymans <wim@fluendo.com>
9809 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9810 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9811 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9812 A flushing pad cannot be used to alloc_buffer from.
9814 2005-05-26 Wim Taymans <wim@fluendo.com>
9816 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9817 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9818 (gst_bus_source_dispatch), (gst_bus_source_finalize),
9819 (gst_bus_create_watch), (gst_bus_add_watch_full):
9821 Implement a real GSource and use g_main_context_wakeup() to
9822 signal new messages instead of the socketpair.
9824 2005-05-25 Wim Taymans <wim@fluendo.com>
9826 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9827 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9828 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9829 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9830 (gst_pad_send_event), (gst_pad_start_task):
9831 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9832 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9833 (gst_queue_sink_activate), (gst_queue_src_activate),
9834 (gst_queue_change_state):
9836 Fix state changes for non sinks. We now change sinks, then elements
9837 with unconnected srcpads, then the rest.
9838 More efficient queue unlocking in flush and state changes.
9839 Set the pad activate mode even if it does not have an activate
9842 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9844 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9845 Don't go in pull mode for non-seekable sources.
9846 * gst/elements/gsttypefindelement.h:
9847 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9848 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9849 (free_entry), (stop_typefinding),
9850 (gst_type_find_element_handle_event), (find_peek),
9851 (gst_type_find_element_chain), (do_pull_typefind),
9852 (gst_type_find_element_change_state):
9853 Allow typefinding (w/o seeking) in push-mode, simplified version
9855 * gst/gstutils.c: (gst_buffer_join):
9857 gst_buffer_join() from 0.8.
9859 2005-05-25 Wim Taymans <wim@fluendo.com>
9861 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9862 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9863 (gst_pad_send_event), (gst_pad_start_task):
9864 Disable attempt at mode switching until it is figured out.
9866 2005-05-25 Wim Taymans <wim@fluendo.com>
9868 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9869 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9870 (gst_basesink_finish_preroll), (gst_basesink_chain),
9871 (gst_basesink_loop), (gst_basesink_activate),
9872 (gst_basesink_change_state):
9873 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9874 (gst_basesrc_get_range), (gst_basesrc_loop),
9875 (gst_basesrc_activate):
9876 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9877 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9878 (gst_real_pad_init), (gst_real_pad_set_property),
9879 (gst_real_pad_get_property), (gst_pad_set_active),
9880 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9881 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9882 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9883 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9884 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9885 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9886 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9887 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9888 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9889 (gst_pad_stop_task):
9891 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9892 (gst_queue_loop), (gst_queue_src_activate):
9893 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9894 (gst_task_get_state):
9896 * gst/schedulers/threadscheduler.c:
9897 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9898 Implement gst_pad_pause/start/stop_task(), take STREAM lock
9900 Remove ACTIVE pad flag, use FLUSHING everywhere
9901 Added _pad_chain(), _pad_get_range() to call chain/getrange
9903 Add locks around IS_FLUSHING when reading.
9904 Take STREAM lock in chain(), get_range() functions so plugins
9905 don't need to take it anymore.
9909 2005-05-25 Wim Taymans <wim@fluendo.com>
9911 * tools/gst-launch.c: (event_loop):
9912 Unref message after using its contents instead of
9915 2005-05-24 Wim Taymans <wim@fluendo.com>
9917 * docs/design/draft-ghostpads.txt:
9918 * docs/design/draft-push-pull.txt:
9919 * docs/design/draft-query.txt:
9920 * docs/design/part-overview.txt:
9921 Docs updates, added general overview doc.
9923 2005-05-21 David Schleef <ds@schleef.org>
9925 * docs/gst/tmpl/old/GstBin.sgml:
9926 * docs/gst/tmpl/old/GstBuffer.sgml:
9927 * docs/gst/tmpl/old/GstCaps.sgml:
9928 * docs/gst/tmpl/old/GstClock.sgml:
9929 * docs/gst/tmpl/old/GstCompat.sgml:
9930 * docs/gst/tmpl/old/GstData.sgml:
9931 * docs/gst/tmpl/old/GstElement.sgml:
9932 * docs/gst/tmpl/old/GstEvent.sgml:
9933 * docs/gst/tmpl/old/GstIndex.sgml:
9934 * docs/gst/tmpl/old/GstStructure.sgml:
9935 * docs/gst/tmpl/old/GstTag.sgml:
9936 * docs/gst/tmpl/old/cothreads.sgml:
9937 * docs/gst/tmpl/old/cothreads_compat.sgml:
9938 * docs/gst/tmpl/old/gettext.sgml:
9939 * docs/gst/tmpl/old/gobject2gtk.sgml:
9940 * docs/gst/tmpl/old/grammar.tab.sgml:
9941 * docs/gst/tmpl/old/gst-i18n-app.sgml:
9942 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9943 * docs/gst/tmpl/old/gst_private.sgml:
9944 * docs/gst/tmpl/old/gstaggregator.sgml:
9945 * docs/gst/tmpl/old/gstarch.sgml:
9946 * docs/gst/tmpl/old/gstatomic_impl.sgml:
9947 * docs/gst/tmpl/old/gstbufferstore.sgml:
9948 * docs/gst/tmpl/old/gstdata_private.sgml:
9949 * docs/gst/tmpl/old/gstdisksink.sgml:
9950 * docs/gst/tmpl/old/gstdisksrc.sgml:
9951 * docs/gst/tmpl/old/gstelementfactory.sgml:
9952 * docs/gst/tmpl/old/gstextratypes.sgml:
9953 * docs/gst/tmpl/old/gstfakesink.sgml:
9954 * docs/gst/tmpl/old/gstfakesrc.sgml:
9955 * docs/gst/tmpl/old/gstfdsink.sgml:
9956 * docs/gst/tmpl/old/gstfdsrc.sgml:
9957 * docs/gst/tmpl/old/gstfilesink.sgml:
9958 * docs/gst/tmpl/old/gstfilesrc.sgml:
9959 * docs/gst/tmpl/old/gsthttpsrc.sgml:
9960 * docs/gst/tmpl/old/gstidentity.sgml:
9961 * docs/gst/tmpl/old/gstindexfactory.sgml:
9962 * docs/gst/tmpl/old/gstmarshal.sgml:
9963 * docs/gst/tmpl/old/gstmd5sink.sgml:
9964 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9965 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9966 * docs/gst/tmpl/old/gstpadtemplate.sgml:
9967 * docs/gst/tmpl/old/gstpipefilter.sgml:
9968 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9969 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9970 * docs/gst/tmpl/old/gstshaper.sgml:
9971 * docs/gst/tmpl/old/gstspider.sgml:
9972 * docs/gst/tmpl/old/gstspideridentity.sgml:
9973 * docs/gst/tmpl/old/gststatistics.sgml:
9974 * docs/gst/tmpl/old/gsttee.sgml:
9975 * docs/gst/tmpl/old/gsttimecache.sgml:
9976 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9977 * docs/gst/tmpl/old/gstxmlregistry.sgml:
9978 * docs/gst/tmpl/old/gthread-cothreads.sgml:
9979 * docs/gst/tmpl/old/types.sgml:
9980 I didn't intend to add these or check them in.
9982 2005-05-19 David Schleef <ds@schleef.org>
9984 * configure.ac: Use -no-common everywhere. In a sane world, it
9985 would be the default in libtool, because without it, you can't
9986 build DLLs on Windows.
9987 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9988 * docs/gst/gstreamer-sections.txt:
9989 * docs/gst/tmpl/gstcpu.sgml:
9990 * docs/gst/tmpl/gstdata.sgml:
9991 * docs/gst/tmpl/gstthread.sgml:
9993 2005-05-19 David Schleef <ds@schleef.org>
9995 * gst/gstminiobject.c: (gst_value_set_mini_object),
9996 (gst_value_take_mini_object), (gst_value_get_mini_object):
9997 * gst/gstminiobject.h: Add GValue set/get functions.
9999 2005-05-19 Wim Taymans <wim@fluendo.com>
10001 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10002 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10003 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10005 * gst/gstbus.c: (gst_bus_post):
10006 * gst/gstelement.c: (gst_element_get_random_pad):
10007 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10008 Make subbufer unref the parent in finalize.
10009 some more debugging info.
10012 2005-05-19 Wim Taymans <wim@fluendo.com>
10014 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10015 (gst_basesink_init), (gst_basesink_finalize),
10016 (gst_basesink_activate), (gst_basesink_change_state):
10017 Don't free preroll queue too early.
10019 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10023 Hi, I'm outdated. Please shoot me.
10025 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10027 * gst/gstpipeline.c: (gst_pipeline_send_event):
10028 Do not access variables after they have been deleted.
10030 2005-05-19 Wim Taymans <wim@fluendo.com>
10032 * tools/gst-inspect.c: (print_plugin_features):
10033 A plugin feature does unfortunatly not use the
10036 2005-05-18 Wim Taymans <wim@fluendo.com>
10038 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10039 Port _span() functions to new subbuffers.
10041 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10043 * gst/gstbin.c: (gst_bin_add_func):
10044 Fix clock settery in bins when adding kids after the clock has
10047 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10049 * gst/elements/gstidentity.c: (gst_identity_class_init):
10050 Workaround until signals support GstMiniObject.
10052 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10055 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10057 2005-05-18 Wim Taymans <wim@fluendo.com>
10059 * gst/base/Makefile.am:
10060 * gst/base/gstadapter.c: (gst_adapter_base_init),
10061 (gst_adapter_class_init), (gst_adapter_init),
10062 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10063 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10064 (gst_adapter_flush), (gst_adapter_available),
10065 (gst_adapter_available_fast):
10066 * gst/base/gstadapter.h:
10067 Ported and added adapter to the base classes.
10069 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10072 * gst/gstmessage.c:
10073 Make sure the class is reffed/unreffed once before threads can be
10074 used. Fixes #304551.
10076 2005-05-17 Wim Taymans <wim@fluendo.com>
10078 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10079 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10080 * gst/gstminiobject.c: (gst_mini_object_get_type),
10081 (gst_mini_object_free):
10082 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10083 (gst_pad_push), (gst_pad_push_event):
10084 * gst/gstqueue.c: (gst_queue_change_state):
10085 Don't queue buffers in basesink when we are flushing.
10086 Unref buffer when flushing in basesink.
10087 Flush queue when going to READY
10088 Unref buffer when _push() returns an error.
10089 Don't free MiniObject instance when refcount is incremented
10090 in _finalize() so that we can recover objects.
10092 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10094 * docs/manual/advanced-schedulers.xml:
10095 * docs/manual/appendix-checklist.xml:
10096 * docs/pwg/advanced-clock.xml:
10097 * docs/pwg/advanced-interfaces.xml:
10098 * docs/pwg/advanced-request.xml:
10099 * docs/pwg/advanced-types.xml:
10100 * docs/pwg/intro-preface.xml:
10101 * examples/plugins/example.c: (gst_example_get_type),
10102 (gst_example_class_init), (gst_example_chain),
10103 (gst_example_set_property), (gst_example_get_property),
10104 (gst_example_change_state), (plugin_init):
10105 * examples/plugins/example.h:
10108 2005-05-17 Wim Taymans <wim@fluendo.com>
10110 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10111 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10112 * gst/gstqueue.c: (gst_queue_change_state):
10113 Clear queue when going to READY.
10114 Remove IN_SETCAPS flag too.
10116 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10118 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10119 Remove implicit cast from gboolean to GstElementStateReturn;
10120 make sure we still return failure in paused => ready case if
10121 the parent class fails to change state and our own stop
10124 2005-05-17 Wim Taymans <wim@fluendo.com>
10126 * tools/gst-launch.c: (event_loop):
10127 Message was unreffed too soon.
10129 2005-05-16 Andy Wingo <wingo@pobox.com>
10131 * gst/gstbin.c (sink_iterator_filter): Err... um...
10133 * check/gst/gstbin.c (test_ghost_pads): New test for the
10134 ghosting-if-elements-not-in-same-bin behavior.
10136 2005-05-16 David Schleef <ds@schleef.org>
10138 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10139 accessing refcount directly.
10141 2005-05-15 David Schleef <ds@schleef.org>
10143 * check/Makefile.am: remove GstData checks
10144 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10145 * gst/Makefile.am: add miniobject, remove data
10146 * gst/gst.h: add miniobject, remove data
10147 * gst/gstdata.c: remove
10148 * gst/gstdata.h: remove
10149 * gst/gstdata_private.h: remove
10150 * gst/gsttypes.h: remove GstEvent and GstMessage
10151 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10152 * gst/gstmarshal.list: change BOXED -> OBJECT
10154 Implement GstMiniObject.
10155 * gst/gstminiobject.c:
10156 * gst/gstminiobject.h:
10158 Modify to be subclasses of GstMiniObject.
10159 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10160 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10161 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10162 (gst_subbuffer_get_type), (gst_subbuffer_init),
10163 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10166 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10167 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10168 (_gst_event_copy), (gst_event_new):
10170 * gst/gstmessage.c: (_gst_message_initialize),
10171 (gst_message_get_type), (gst_message_class_init),
10172 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10173 (gst_message_new), (gst_message_new_error),
10174 (gst_message_new_warning), (gst_message_new_tag),
10175 (gst_message_new_state_changed), (gst_message_new_application):
10176 * gst/gstmessage.h:
10177 * gst/gstprobe.c: (gst_probe_perform),
10178 (gst_probe_dispatcher_dispatch):
10180 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10181 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10182 (_gst_query_copy), (gst_query_new):
10184 Update elements for GstData -> GstMiniObject changes
10186 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10187 (gst_queue_chain), (gst_queue_loop):
10188 * gst/elements/gstbufferstore.c:
10189 (gst_buffer_store_add_buffer_func),
10190 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10191 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10192 (gst_fakesink_render):
10193 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10194 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10195 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10196 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10197 (gst_filesrc_create_read):
10198 * gst/elements/gstidentity.c: (gst_identity_class_init):
10199 * gst/elements/gsttypefindelement.c:
10200 (gst_type_find_element_src_event), (free_entry_buffers),
10201 (gst_type_find_element_handle_event):
10202 * libs/gst/dataprotocol/dataprotocol.c:
10203 (gst_dp_header_from_buffer):
10204 * libs/gst/dataprotocol/dataprotocol.h:
10205 * libs/gst/dataprotocol/dp-private.h:
10207 2005-05-15 David Schleef <ds@schleef.org>
10209 * gst/elements/gstelements.c: Don't include headers that were
10212 2005-05-15 David Schleef <ds@schleef.org>
10214 * gst/elements/Makefile.am: Remove some elements that don't
10215 need to be in the core (or even exist at all).
10216 * gst/elements/gstaggregator.c:
10217 * gst/elements/gstaggregator.h:
10218 * gst/elements/gstmd5sink.c:
10219 * gst/elements/gstmd5sink.h:
10220 * gst/elements/gstmultifilesrc.c:
10221 * gst/elements/gstmultifilesrc.h:
10222 * gst/elements/gstpipefilter.c:
10223 * gst/elements/gstpipefilter.h:
10224 * gst/elements/gstshaper.c:
10225 * gst/elements/gstshaper.h:
10226 * gst/elements/gststatistics.c:
10227 * gst/elements/gststatistics.h:
10228 * po/POTFILES.in: Remove above files.
10230 2005-05-14 Andy Wingo <wingo@pobox.com>
10232 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10233 so as to get the refs right.
10234 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10235 unreffing objects that don't pass the filter.
10237 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10238 gst_element_set_bus.
10239 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10240 normal cases, this will destroy the bus.
10242 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10245 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10248 2005-05-13 Andy Wingo <wingo@pobox.com>
10250 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10251 gst_pad_link, call pad_link_maybe_ghosting,
10252 (pad_link_maybe_ghosting): Links pads, making sure that the
10253 elements being linked are in the same bin.
10254 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10255 Helpers for pad_link_maybe_ghosting.
10257 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10260 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10262 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10264 * docs/design/part-element-source.txt:
10267 2005-05-12 Wim Taymans <wim@fluendo.com>
10269 * gst/base/gstbasesink.c: (gst_basesink_init),
10270 (gst_basesink_activate):
10271 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10272 (gst_basesrc_is_seekable):
10273 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10274 (bin_element_is_sink), (gst_bin_change_state):
10275 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10276 * gst/gstelement.h:
10277 Identify sinks by their flag to avoid overly complicated
10279 Do state changes even for elements not reachable from the
10281 BaseSink is a sink now :)
10282 Some more debugging info in the basesrc.
10285 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10287 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10288 Implement _query on a bin, similar to _send_event.
10290 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10292 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10293 Discont event offset format should be GST_FORMAT_BYTES,
10294 not GST_FORMAT_TIME.
10296 2005-05-12 Wim Taymans <wim@fluendo.com>
10298 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10299 Same fix as Ronald's but without the signal.
10301 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10303 * gst/gstutils.c: (gst_element_query_position):
10304 No, an element is not a pad.
10306 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10308 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10309 (gst_bin_get_state):
10310 If a child is removed from a bin while we remove the child from
10311 the bin and while we're retrieving its state, signal this to the
10312 get_state function so we abort the wait (instead of waiting for
10313 a timeout) and can immediately re-iterate over all other elements.
10315 2005-05-12 Wim Taymans <wim@fluendo.com>
10317 * gst/base/Makefile.am:
10318 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10319 (gst_basesrc_start):
10320 * gst/base/gstbasesrc.h:
10321 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10322 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10323 (gst_pushsrc_init), (gst_pushsrc_create):
10324 * gst/base/gstpushsrc.h:
10325 Added is_seekable to BaseSrc
10326 Added simple PushSrc.
10328 2005-05-11 Wim Taymans <wim@fluendo.com>
10330 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10331 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10332 (gst_element_link_pads), (gst_element_query_position),
10333 (gst_element_query_convert), (intersect_caps_func),
10334 (gst_pad_query_position), (gst_pad_query_convert):
10335 Fix refcounting in utils function.
10336 No point in trying to activate a pad when it's added, it could
10337 be added from the state change function and then we deadlock, the
10338 element has to decide what to do.
10340 2005-05-10 Andy Wingo <wingo@pobox.com>
10342 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10343 *all* the arguments.
10345 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10346 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10347 lock (according to the docs -- if this is wrong change the docs).
10349 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10350 flush messages in the NULL state.
10352 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10353 message immediately and return.
10354 (gst_bus_set_flushing): New function. If a bus is flushing, it
10355 flushes out any queued messages and immediately unrefs new
10356 messages. This is so when an element goes to NULL, all of the
10357 unhandled messages coming from it can be freed, and their
10358 references to the element dropped. In other words: message source
10359 ref considered harmful :P
10361 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10362 we're finished with it.
10364 * gst/gstmessage.c (gst_message_new_state_changed):
10366 2005-05-10 Wim Taymans <wim@fluendo.com>
10368 * gst/gstvalue.c: (gst_value_compare_flags),
10369 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10370 (_gst_value_initialize):
10371 Added flags serialize/deserialize/compare code.
10373 2005-05-09 Andy Wingo <wingo@pobox.com>
10375 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10376 Intersect the peer's caps with our caps.
10378 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10380 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10381 * gst/elements/gsttypefindelement.c: (find_peek):
10382 Handle negative offsets better. Fixes decodebin.
10384 2005-05-09 Wim Taymans <wim@fluendo.com>
10386 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10387 (gst_base_transform_event):
10388 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10389 Implement accept_caps.
10390 Fix silly lock/unlock mismatch in base class.
10392 2005-05-09 Wim Taymans <wim@fluendo.com>
10394 * docs/design/draft-push-pull.txt:
10395 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10396 * gst/elements/gstfilesink.c: (gst_filesink_init),
10397 (gst_filesink_query):
10398 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10399 (gst_type_find_handle_src_query), (find_element_get_length):
10400 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10401 * gst/gstelement.h:
10402 * gst/gstmessage.c:
10403 * gst/gstmessage.h:
10404 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10405 (gst_real_pad_get_caps_unlocked),
10406 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10407 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10408 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10409 (gst_real_pad_dispose), (gst_real_pad_finalize),
10410 (gst_pad_load_and_link), (gst_pad_save_thyself),
10411 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10412 (gst_pad_check_pull_range), (gst_pad_pull_range),
10413 (gst_pad_template_get_type), (gst_pad_template_class_init),
10414 (gst_pad_template_init), (gst_pad_template_dispose),
10415 (name_is_valid), (gst_static_pad_template_get),
10416 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10417 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10418 (gst_pad_get_element_private), (gst_pad_start_task),
10419 (gst_pad_pause_task), (gst_pad_stop_task),
10420 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10421 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10422 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10423 (gst_ghost_pad_new):
10425 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10426 (gst_query_new_position), (gst_query_set_position),
10427 (gst_query_parse_position), (gst_query_new_convert),
10428 (gst_query_set_convert), (gst_query_parse_convert):
10430 * gst/gstqueryutils.c:
10431 * gst/gstqueryutils.h:
10432 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10433 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10434 (gst_queue_handle_src_query):
10435 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10436 (gst_element_query_position), (gst_element_query_convert),
10437 (intersect_caps_func), (gst_pad_query_position),
10438 (gst_pad_query_convert):
10440 * tools/gst-inspect.c: (print_pad_info):
10441 * tools/gst-xmlinspect.c: (print_element_info):
10442 Remove old query functions. Ported old code.
10443 Added position/convert helper functions to gstutils.
10444 Reordered gstpad.c code, grouping relevant things.
10445 Remove gst_message_new(), always need to speficy a specific
10449 2005-05-09 Andy Wingo <wingo@pobox.com>
10451 * gst/gstiterator.h: Add some includes.
10453 * gst/gstqueryutils.h: Include more headers.
10456 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10457 some uses of gst_pad_query.
10459 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10460 NULL out parameters.
10461 (gst_query_new_position): New proc, allocates a new position
10464 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10465 gstqueryutils.c to the build.
10467 * gst/gststructure.c (gst_structure_set_valist): Implement with
10468 the generic G_VALUE_COLLECT.
10470 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10472 * gst/Makefile.am: (gst_headers):
10473 Added gstqueryutils.h to the list of headers to install, that was
10474 a 'nachty' move wingo :)
10476 2005-05-06 Andy Wingo <wingo@pobox.com>
10479 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10480 GstData, init a memchunk.
10481 (standard_definitions): Add a few query types, deprecate a few.
10482 (gst_query_get_type): New proc.
10483 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10485 (gst_query_new_application, gst_query_get_structure): New public
10488 * docs/design/draft-query.txt: Removed LINKS from the query types,
10489 because all the rest can be dispatched to other pads -- seemed
10490 ugly to have a query that couldn't be dispatched. internal_links
10491 is fine as a pad method.
10493 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10494 in gstpad.c, but maintain binary compatibility for the moment.
10495 Will fix before 0.9 is out.
10497 * gst/gstqueryutils.c:
10498 * gst/gstqueryutils.h: New files, implement 3 methods for each
10499 query type: parse_query, parse_response, and set. Probably need an
10502 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10504 * gst/elements/gstfilesink.c (gst_filesink_query2):
10505 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10506 query_types, and formats methods.
10508 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10509 (gst_pad_set_query2_function): New functions.
10510 (gst_real_pad_init): Set query2_default as the default query2
10511 function. Basically just dispatches to internally linked pads.
10515 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10516 without using the atomic operations. Only one thread can possibly
10517 be accessing the data at this point. Changed so as to avoid
10518 gst_atomic operations.
10520 2005-05-06 Wim Taymans <wim@fluendo.com>
10522 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10523 Also set caps if we use the fallback buffer alloc.
10525 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10527 * docs/gst/Makefile.am:
10528 * docs/gst/gstreamer-docs.sgml:
10529 * docs/gst/gstreamer-sections.txt:
10530 * docs/gst/tmpl/gstatomic.sgml:
10531 * docs/gst/tmpl/gstmemchunk.sgml:
10532 * testsuite/elements/struct_i386.h:
10533 * win32/GStreamer.vcproj:
10535 Purge GstAtomic stuff from docs and win32 makefiles as well
10537 2005-05-06 Wim Taymans <wim@fluendo.com>
10539 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10540 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10541 * gst/gstpad.c: (gst_pad_peer_get_caps):
10542 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10543 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10544 (gst_queue_src_activate), (gst_queue_change_state):
10546 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10547 (intersect_caps_func):
10548 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10549 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10550 Some fixes for the peer_get_caps() change.
10552 2005-05-06 Wim Taymans <wim@fluendo.com>
10554 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10555 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10556 (gst_basesink_activate):
10557 Actually do something with error codes returned from the push
10560 2005-05-06 Wim Taymans <wim@fluendo.com>
10562 * docs/design/part-element-sink.txt:
10563 * docs/design/part-element-source.txt:
10564 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10565 (gst_basesink_event), (gst_basesink_activate):
10566 * gst/base/gstbasesink.h:
10567 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10568 (gst_basesrc_activate):
10569 * gst/base/gstbasesrc.h:
10570 * gst/gstelement.c: (gst_element_pads_activate):
10571 Some more documentation.
10572 Fixed scheduling decision in _pads_activate().
10574 2005-05-05 Andy Wingo <wingo@pobox.com>
10576 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10579 2005-05-05 Wim Taymans <wim@fluendo.com>
10581 * gst/base/Makefile.am:
10582 * gst/base/gstbasesink.h:
10583 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10584 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10585 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10586 (gst_collectpads_class_init), (gst_collectpads_init),
10587 (gst_collectpads_finalize), (gst_collectpads_new),
10588 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10589 (find_pad), (gst_collectpads_remove_pad),
10590 (gst_collectpads_is_active), (gst_collectpads_collect),
10591 (gst_collectpads_collect_range), (gst_collectpads_start),
10592 (gst_collectpads_stop), (gst_collectpads_peek),
10593 (gst_collectpads_pop), (gst_collectpads_available),
10594 (gst_collectpads_read), (gst_collectpads_flush),
10595 (gst_collectpads_chain):
10596 * gst/base/gstcollectpads.h:
10597 * gst/elements/Makefile.am:
10598 * gst/elements/gstelements.c:
10599 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10600 (gst_fakesink_get_times), (gst_fakesink_event),
10601 (gst_fakesink_preroll), (gst_fakesink_render):
10602 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10603 (gst_filesink_init), (gst_filesink_set_location),
10604 (gst_filesink_open_file), (gst_filesink_close_file),
10605 (gst_filesink_pad_query), (gst_filesink_event),
10606 (gst_filesink_render), (gst_filesink_change_state):
10607 * gst/elements/gstfilesink.h:
10608 Added object to help in making collect pad based elements.
10610 Make event function in sink baseclass return gboolean.
10612 2005-05-05 Wim Taymans <wim@fluendo.com>
10614 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10615 (gst_bin_get_by_name):
10617 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10618 (gst_clock_finalize):
10619 * gst/gstdata.c: (gst_data_replace):
10621 * gst/gstelement.c: (gst_element_request_pad),
10622 (gst_element_pads_activate):
10623 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10624 (gst_object_unref):
10625 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10626 (gst_pad_set_checkgetrange_function),
10627 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10628 (gst_pad_check_pull_range), (gst_pad_pull_range),
10629 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10630 (gst_pad_pause_task), (gst_pad_stop_task):
10631 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10632 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10633 Fix name lookup in GstBin.
10634 Added _data_replace() function and _buffer_replace()
10635 Use finalize method to clean up clock.
10636 Fix refcounting on request pads.
10637 Fix pad schedule mode error.
10638 Some more object refcounting debug info,
10641 2005-05-04 Andy Wingo <wingo@pobox.com>
10643 * check/Makefile.am:
10644 * docs/gst/tmpl/gstatomic.sgml:
10645 * docs/gst/tmpl/gstplugin.sgml:
10646 * gst/base/gstbasesink.c: (gst_basesink_activate):
10647 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10648 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10649 (gst_basesrc_query), (gst_basesrc_set_property),
10650 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10651 (gst_basesrc_activate):
10652 * gst/base/gstbasesrc.h:
10653 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10654 (gst_base_transform_src_activate):
10655 * gst/elements/gstelements.c:
10656 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10657 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10658 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10659 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10660 (gst_type_find_element_checkgetrange),
10661 (gst_type_find_element_activate):
10662 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10663 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10664 (gst_caps_load_thyself):
10665 * gst/gstelement.c: (gst_element_pads_activate),
10666 (gst_element_save_thyself), (gst_element_restore_thyself):
10667 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10668 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10670 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10671 (gst_xml_parse_file), (gst_xml_parse_memory),
10672 (gst_xml_get_element), (gst_xml_make_element):
10673 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10674 (_file_index_id_save_xml), (gst_file_index_commit):
10675 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10676 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10678 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10679 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10680 * tools/gst-complete.c: (main):
10681 * tools/gst-compprep.c: (main):
10682 * tools/gst-inspect.c: (print_element_properties_info):
10683 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10684 * tools/gst-xmlinspect.c: (print_element_properties):
10687 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10689 * gst/gstplugin.c: (gst_plugin_check_module),
10690 (gst_plugin_check_file), (gst_plugin_load_file):
10691 apply patch from #172526 to make register work on MacOSX
10693 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10695 * docs/gst/tmpl/gstconfig.sgml:
10696 * gst/gstconfig.h.in:
10697 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10698 * testsuite/debug/printf_extension.c: (main):
10699 Do not use GST_PTR_FORMAT on pointers to types with
10700 sizeof < sizeof(gpointer). Fixes test on 64-bit
10701 * testsuite/elements/property.h:
10702 use correct printf format
10704 2005-05-02 Wim Taymans <wim@fluendo.com>
10706 * docs/design/draft-push-pull.txt:
10707 * docs/design/draft-query.txt:
10708 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10709 (gst_basesrc_start):
10710 Added draft for new query API.
10711 Added draft for better selecting scheduling methods.
10712 Make basesrc ignore length if the subclass does not support
10715 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10718 possible fixes for automake-1.5 - _LIBADD is reserved
10720 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10722 * docs/faq/Makefile.am:
10723 * docs/manual/Makefile.am:
10724 * docs/manuals.mak:
10725 * docs/pwg/Makefile.am:
10727 possible fixes for automake-1.5
10729 2005-04-28 Wim Taymans <wim@fluendo.com>
10731 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10732 (gst_basesink_pad_getcaps), (gst_basesink_init),
10733 (gst_basesink_do_sync):
10734 * gst/gstclock.c: (gst_clock_entry_new):
10735 * gst/gstevent.c: (gst_event_discont_get_value):
10736 * gst/gstpipeline.c: (pipeline_bus_handler),
10737 (gst_pipeline_change_state):
10738 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10739 Better debugging of clocking info.
10740 Allow NULL values when getting discont values.
10742 2005-04-27 Wim Taymans <wim@fluendo.com>
10744 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10745 * check/gst/gstpad.c: (gst_pad_suite):
10746 Increase timeout for checks.
10748 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10750 * check/Makefile.am:
10751 fix the broken rule for cleanup. Apparently this rule is
10752 only needed on FC2, so maybe this warrants further autotool
10755 2005-04-26 Wim Taymans <wim@fluendo.com>
10757 * gst/gsttrashstack.h:
10758 Ooohh. a nasty one! After having a failed pop() from the stack,
10759 it's possible that the stack is empty. In that case, don't
10760 follow the NULL pointer.
10762 2005-04-25 Wim Taymans <wim@fluendo.com>
10764 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10765 (gst_pad_set_checkgetrange_function),
10766 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10767 (gst_pad_check_pull_range), (gst_pad_pull_range),
10768 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10769 (gst_pad_pause_task), (gst_pad_stop_task):
10770 * gst/gstplugin.c: (gst_plugin_load):
10772 Remove gst_library_load as it does more harm than good with
10773 the new g_module flags.
10774 Revert bogus caps template check in pad linking, pad caps
10775 are important when linking not the template, which is more
10776 general than the current caps.
10778 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10780 * gst/autoplug/.cvsignore:
10781 * gst/autoplug/Makefile.am:
10782 * gst/autoplug/gstsearchfuncs.c:
10783 * gst/autoplug/gstsearchfuncs.h:
10784 * gst/autoplug/gstspider.c:
10785 * gst/autoplug/gstspider.h:
10786 * gst/autoplug/gstspideridentity.c:
10787 * gst/autoplug/gstspideridentity.h:
10788 * gst/autoplug/spidertest.c:
10791 2005-04-25 Wim Taymans <wim@fluendo.com>
10793 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10794 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10795 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10796 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10798 Added stubs for unimplemented functions.
10800 2005-04-24 David Schleef <ds@schleef.org>
10802 * gst/gstpad.h: Disable some unimplemented functions. Wim,
10805 2005-04-24 David Schleef <ds@schleef.org>
10807 Convert everything from GstAtomicInt to g_atomic_int_*, and
10812 * gst/gstatomic_impl.h:
10820 * gst/gstdata_private.h:
10824 * gst/gstmessage.c:
10827 * gst/gststructure.c:
10828 * gst/gststructure.h:
10829 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10832 2005-04-24 David Schleef <ds@schleef.org>
10834 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10835 make the regressions tests work. Remove some code that is no
10837 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10838 Disable warning for pads without templates.
10840 2005-04-24 David Schleef <ds@schleef.org>
10842 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
10843 functions that handle filtered links.
10844 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10846 * gst/gstutils.c: Fix/remove utility functions that handle
10849 * gst/gstvalue.c: Add serialization/deserialization of caps
10850 * gst/parse/grammar.y: Ignore filtered caps when linking. This
10851 requires fixing so that the filter caps notation creates
10852 a capsfilter element and sets the filter_caps property. I
10853 think everyone probably wants to keep the shorthand notation.
10854 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10855 * docs/gst/tmpl/gstpad.sgml:
10857 * gst/elements/gstelements.c: Register capsfilter element.
10858 * gst/Makefile.am: fix spacing
10859 * docs/random/ds/0.9-suggested-changes: random
10861 2005-04-23 David Schleef <ds@schleef.org>
10863 * gst/elements/Makefile.am:
10864 * gst/elements/gstcapsfilter.c: New element that acts like an
10865 identity, but filters caps. Will eventually replace filtered
10866 caps in pad linking.
10867 * gst/gstutils.c: (gst_element_create_all_pads): New function
10868 to create all the ALWAYS pads that are registered with an
10869 element class. This functionality should eventually be
10870 merged in with GstElement initialization.
10872 * testsuite/trigger/README: part of trigger test code that should
10873 have been checked in a long time ago.
10875 2005-04-23 David Schleef <ds@schleef.org>
10877 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
10878 needed with new versions of libtool (nobody will confirm this),
10879 and hard to carry around.
10880 * gst/autoplug/Makefile.am:
10881 * gst/base/Makefile.am:
10882 * gst/elements/Makefile.am:
10883 * gst/indexers/Makefile.am:
10884 * gst/schedulers/Makefile.am:
10885 * libs/gst/bytestream/Makefile.am:
10886 * libs/gst/control/Makefile.am:
10887 * libs/gst/dataprotocol/Makefile.am:
10888 * libs/gst/getbits/Makefile.am:
10890 2005-04-21 Wim Taymans <wim@fluendo.com>
10892 * docs/design/draft-push-pull.txt:
10893 * docs/design/part-MT-refcounting.txt:
10894 * docs/design/part-TODO.txt:
10895 * docs/design/part-caps.txt:
10896 * docs/design/part-events.txt:
10897 * docs/design/part-gstbus.txt:
10898 * docs/design/part-gstpipeline.txt:
10899 * docs/design/part-messages.txt:
10900 * docs/design/part-push-pull.txt:
10901 * docs/design/part-query.txt:
10904 2005-04-21 Wim Taymans <wim@fluendo.com>
10906 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10907 (gst_message_new), (gst_message_new_error),
10908 (gst_message_new_warning), (gst_message_new_tag),
10909 (gst_message_new_state_changed), (gst_message_new_application),
10910 (gst_message_get_structure):
10911 * gst/gstmessage.h:
10912 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10913 (gst_structure_copy_conditional):
10914 Use parent refcount in GstMessage to ensure GstStructure
10916 Cleaned up headers a bit.
10919 2005-04-20 Wim Taymans <wim@fluendo.com>
10921 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10922 (gst_basesink_pad_getcaps), (gst_basesink_init),
10923 (gst_basesink_chain_unlocked):
10924 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10925 (gst_type_find_helper):
10926 * gst/elements/gsttypefindelement.c:
10927 (gst_type_find_element_have_type), (gst_type_find_element_init),
10928 (stop_typefinding), (gst_type_find_element_handle_event),
10929 (find_suggest), (gst_type_find_element_chain),
10930 (gst_type_find_element_checkgetrange),
10931 (gst_type_find_element_getrange), (do_typefind),
10932 (gst_type_find_element_activate):
10933 * gst/gstbuffer.c: (_gst_buffer_sub_free),
10934 (gst_buffer_default_free), (gst_buffer_default_copy),
10935 (gst_buffer_set_caps):
10936 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10937 (gst_caps_replace):
10938 * gst/gstmessage.c: (gst_message_new),
10939 (gst_message_new_state_changed):
10940 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10941 (gst_pad_set_checkgetrange_function),
10942 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10943 (gst_pad_set_caps), (gst_pad_check_pull_range),
10944 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10946 * gst/gsttypefind.c: (gst_type_find_register):
10947 Make gst_caps_replace() work like other _replace() functions.
10948 Use _caps_replace() where possible.
10949 Make sure _message_new() initialises its field.
10950 Add gst_static_pad_template_get_caps()
10953 2005-04-18 Andy Wingo <wingo@pobox.com>
10955 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10956 on the peer, not the pad. I think that was a typo. Pass an extra
10957 arg to see if random access is possible. Activate the pads as
10958 PULL_RANGE if possible.
10960 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10962 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
10963 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10966 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10968 * docs/faq/using.xml:
10969 Add note on gstreamer-properties (#154996).
10971 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10973 * docs/random/bbb/optional-properties:
10974 Some analysis on optional properties.
10976 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10978 * docs/gst/tmpl/gstelementfactory.sgml:
10979 * gst/gstelement.h:
10980 * gst/gstelementfactory.c: (gst_element_factory_init),
10981 (gst_element_factory_cleanup), (gst_element_register),
10982 (__gst_element_factory_add_static_pad_template),
10983 (gst_element_factory_get_static_pad_templates),
10984 (gst_element_factory_can_src_caps),
10985 (gst_element_factory_can_sink_caps):
10986 * gst/registries/Makefile.am:
10987 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10988 (gst_xml_registry_class_init), (gst_xml_registry_init),
10989 (gst_xml_registry_new), (gst_xml_registry_set_property),
10990 (gst_xml_registry_get_property), (get_time), (make_dir),
10991 (gst_xml_registry_get_perms_func),
10992 (plugin_times_older_than_recurse), (plugin_times_older_than),
10993 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10994 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10995 (add_to_char_array), (read_string), (read_uint), (read_enum),
10996 (load_pad_template), (load_feature), (load_plugin), (load_paths),
10997 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10998 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10999 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11000 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11001 (gst_xml_registry_rebuild):
11002 * gst/registries/gstlibxmlregistry.h:
11003 * tools/gst-compprep.c: (main):
11004 * tools/gst-inspect.c: (print_pad_templates_info):
11005 * tools/gst-xmlinspect.c: (print_element_info):
11006 Use libxml2 for registry parsing, use staticpadtemplates in
11007 elementfactories. Makes gst_init() +/- 10x faster.
11009 2005-04-12 Wim Taymans <wim@fluendo.com>
11011 * gst/base/Makefile.am:
11012 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11013 (gst_basesink_pad_getcaps), (gst_basesink_init),
11014 (gst_basesink_event), (gst_basesink_change_state):
11015 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11016 (gst_basesrc_init), (gst_basesrc_query),
11017 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11018 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11019 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11020 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11021 (gst_basesrc_stop), (gst_basesrc_activate),
11022 (gst_basesrc_change_state):
11023 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11024 (helper_find_suggest), (gst_type_find_helper):
11025 * gst/base/gsttypefindhelper.h:
11026 * gst/elements/Makefile.am:
11027 * gst/elements/gstelements.c:
11028 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11029 (gst_fakesink_get_times), (gst_fakesink_event),
11030 (gst_fakesink_preroll), (gst_fakesink_render):
11031 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11032 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11033 (gst_fakesrc_get_property), (gst_fakesrc_create),
11034 (gst_fakesrc_start), (gst_fakesrc_stop):
11035 * gst/elements/gstfakesrc.h:
11036 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11037 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11038 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11039 (gst_filesrc_create_read), (gst_filesrc_create),
11040 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11041 (gst_filesrc_start):
11042 * gst/elements/gsttypefindelement.c:
11043 (gst_type_find_element_have_type), (gst_type_find_element_init),
11044 (start_typefinding), (stop_typefinding), (push_buffer_store),
11045 (gst_type_find_element_handle_event),
11046 (gst_type_find_element_chain),
11047 (gst_type_find_element_checkgetrange),
11048 (gst_type_find_element_getrange), (do_typefind),
11049 (gst_type_find_element_activate),
11050 (gst_type_find_element_change_state):
11051 * gst/elements/gsttypefindelement.h:
11052 * gst/gstpipeline.c: (pipeline_bus_handler):
11053 Added typefind helper.
11054 Small preroll fix in the base sink.
11055 Disable typefind code in basesrc.
11056 Crude port of typefindelement.
11060 2005-04-11 Wim Taymans <wim@fluendo.com>
11062 * check/gst/gstbus.c: (gstbus_suite):
11063 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11064 * check/gstcheck.h:
11065 Fix up the timeout so that the test does not fail.
11067 2005-04-06 Wim Taymans <wim@fluendo.com>
11070 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11071 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11072 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11073 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11074 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11075 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11076 (gst_basesrc_stop), (gst_basesrc_activate),
11077 (gst_basesrc_change_state), (basesrc_find_peek),
11078 (basesrc_find_suggest), (gst_basesrc_type_find):
11079 * gst/base/gstbasesrc.h:
11080 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11081 (gst_filesrc_class_init), (gst_filesrc_init),
11082 (gst_filesrc_finalize), (gst_filesrc_set_location),
11083 (gst_filesrc_set_property), (gst_filesrc_get_property),
11084 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11085 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11086 (gst_filesrc_create_read), (gst_filesrc_create),
11087 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11088 * gst/elements/gstfilesrc.h:
11089 * gst/gstelement.c: (gst_element_get_state_func),
11090 (gst_element_lost_state), (gst_element_pads_activate):
11091 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11092 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11093 (gst_pad_pull_range):
11095 More work on the generic source base class, implement seeking,
11097 Make filesrc extend the base source class.
11098 Added gst_pad_set_checkgetrange_function to GstPad.
11100 2005-04-06 Andy Wingo <wingo@pobox.com>
11102 * pkgconfig/gstreamer-base.pc.in:
11103 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11105 * pkgconfig/Makefile.am:
11106 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11108 2005-04-04 Wim Taymans <wim@fluendo.com>
11110 * gst/base/Makefile.am:
11112 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11113 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11114 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11115 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11116 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11117 (gst_basesrc_base_init), (gst_basesrc_class_init),
11118 (gst_basesrc_init), (gst_basesrc_get_formats),
11119 (gst_basesrc_get_query_types), (gst_basesrc_query),
11120 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11121 (gst_basesrc_set_property), (gst_basesrc_get_property),
11122 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11123 (gst_basesrc_loop), (gst_basesrc_activate),
11124 (gst_basesrc_change_state):
11125 * gst/base/gstbasesrc.h:
11126 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11127 (gst_fakesrc_class_init), (gst_fakesrc_init),
11128 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11129 (gst_fakesrc_get_property), (gst_fakesrc_create):
11130 * gst/elements/gstfakesrc.h:
11131 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11132 (gst_filesrc_open_file), (gst_filesrc_loop),
11133 (gst_filesrc_activate), (filesrc_find_peek),
11134 (gst_filesrc_type_find):
11135 Made base source class, make fakesrc extend it.
11136 Add comments to basesink class.
11137 Some filesrc cleanup.
11139 2005-03-31 David Schleef <ds@schleef.org>
11141 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11142 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11143 expected to link against libgstreamer.
11144 * gst/base/Makefile.am: link against libgstreamer
11145 * gst/elements/Makefile.am: same
11147 2005-03-31 Andy Wingo <wingo@pobox.com>
11149 * tests/instantiate/Makefile.am:
11150 * tests/instantiate/caps.c: Add test to test speed of caps copy
11153 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11154 GMemChunk to be fair.
11156 * gst/gsttrashstack.h: Remove warning about using the fallback
11157 trash stack implementation, it's still faster than malloc.
11159 2005-03-30 Andy Wingo <wingo@pobox.com>
11161 * tests/complexity.c: Add a copyright.
11163 2005-03-31 Wim Taymans <wim@fluendo.com>
11165 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11166 (gst_base_transform_class_init), (gst_base_transform_init),
11167 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11168 (gst_base_transform_get_property),
11169 (gst_base_transform_sink_activate),
11170 (gst_base_transform_src_activate),
11171 (gst_base_transform_change_state):
11172 * gst/base/gstbasetransform.h:
11173 * gst/elements/gstidentity.c: (gst_identity_class_init),
11174 (gst_identity_event), (gst_identity_check_perfect),
11175 (gst_identity_transform), (gst_identity_start),
11176 (gst_identity_stop):
11177 Added start/stop methods to transform base class so subclasses
11178 don't need to deal with state changes even.
11180 2005-03-31 Wim Taymans <wim@fluendo.com>
11182 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11183 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11185 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11186 (gst_pad_pull_range):
11187 Added rate to the discont event to prepare for variable speed
11188 and reverse playback.
11190 2005-03-29 David Schleef <ds@schleef.org>
11193 * testsuite/trigger/Makefile.am:
11194 * testsuite/trigger/trigger.c: A little example program to show
11195 how trigger-based elements can work.
11197 2005-03-29 Wim Taymans <wim@fluendo.com>
11199 * gst/base/Makefile.am:
11201 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11202 (gst_basesink_base_init), (gst_basesink_class_init),
11203 (gst_basesink_pad_getcaps), (gst_basesink_init),
11204 (gst_basesink_activate), (gst_basesink_change_state):
11205 * gst/base/gstbasesink.h:
11206 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11207 (gst_base_transform_base_init), (gst_base_transform_finalize),
11208 (gst_base_transform_class_init), (gst_base_transform_init),
11209 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11210 (gst_base_transform_event), (gst_base_transform_getrange),
11211 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11212 (gst_base_transform_set_property),
11213 (gst_base_transform_get_property),
11214 (gst_base_transform_sink_activate),
11215 (gst_base_transform_src_activate),
11216 (gst_base_transform_change_state):
11217 * gst/base/gstbasetransform.h:
11218 * gst/elements/gstidentity.c: (gst_identity_finalize),
11219 (gst_identity_class_init), (gst_identity_init),
11220 (gst_identity_event), (gst_identity_check_perfect),
11221 (gst_identity_transform), (gst_identity_set_property),
11222 (gst_identity_get_property), (gst_identity_change_state):
11223 * gst/elements/gstidentity.h:
11224 * gst/gstelement.c: (gst_element_get_state_func),
11225 (gst_element_lost_state), (gst_element_pads_activate):
11226 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11227 (gst_pad_check_pull_range), (gst_pad_pull_range):
11229 Simplify pad activation.
11230 Added function to check if pull_range can be performed.
11231 Error out when pulling inactive or flushing pads.
11232 Removed const from refcounted types as it does not make sense.
11233 Simplify pad templates in basesink
11234 Added base class for simple 1-to-1 transforms.
11235 Make identity subclass the base transform.
11237 2005-03-29 Andy Wingo <wingo@pobox.com>
11239 * docs/libs/gstreamer-libs-overrides.txt:
11240 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11241 really don't understand what's going on, but like whatever. I want
11244 * docs/gst/Makefile.am:
11245 * docs/libs/Makefile.am: Dist the overrides files.
11247 * check/Makefile.am (clean-local): Remove .libs directories.
11249 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11250 elements to EXTRA_DIST, so po/ files are happy.
11252 * po/POTFILES.in: Er, remove it here.
11254 * po/POTFILES: Remove gstspider.c.
11256 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11258 * docs/libs/gstreamer-libs-docs.sgml:
11259 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11262 * tests/complexity.c (main): Set the length of the preroll queue
11263 on the sinks to prevent a lockup.
11265 * libs/gst/dataprotocol/Makefile.am:
11266 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11267 the same as the one in check/gst-libs/gdp.c.
11269 * po/, docs/gst/: Commit automatic changes to docs and po files.
11271 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11272 the versioned libgstbase.
11274 * check/Makefile.am: Depend on an unversioned gst-register, seems
11275 to make autoconf happier.
11277 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11279 2005-03-28 Wim Taymans <wim@fluendo.com>
11282 * docs/design/part-gstelement.txt:
11283 * docs/design/part-negotiation.txt:
11284 * docs/design/part-preroll.txt:
11285 * docs/design/part-scheduling.txt:
11286 * docs/design/part-states.txt:
11288 * gst/base/Makefile.am:
11290 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11291 (gst_basesink_base_init), (gst_basesink_class_init),
11292 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11293 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11294 (gst_basesink_set_pad_functions),
11295 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11296 (gst_basesink_set_property), (gst_basesink_get_property),
11297 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11298 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11299 (gst_basesink_preroll_queue_push),
11300 (gst_basesink_preroll_queue_empty),
11301 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11302 (gst_basesink_event), (gst_basesink_get_times),
11303 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11304 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11305 (gst_basesink_loop), (gst_basesink_activate),
11306 (gst_basesink_change_state):
11307 * gst/base/gstbasesink.h:
11308 * gst/elements/Makefile.am:
11309 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11310 (gst_fakesink_class_init), (gst_fakesink_init),
11311 (gst_fakesink_set_property), (gst_fakesink_get_property),
11312 (gst_fakesink_get_times), (gst_fakesink_event),
11313 (gst_fakesink_preroll), (gst_fakesink_render),
11314 (gst_fakesink_change_state):
11315 * gst/elements/gstfakesink.h:
11316 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11317 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11318 * gst/gstelement.c: (gst_element_add_pad),
11319 (gst_element_get_state_func), (gst_element_abort_state),
11320 (gst_element_commit_state), (gst_element_lost_state),
11321 (gst_element_set_state), (gst_element_pads_activate):
11322 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11323 * gst/gstpipeline.c: (gst_pipeline_send_event),
11324 (gst_pipeline_change_state):
11325 Added state change code.
11326 Added/updated docs.
11327 Added sink base class, make fakesink extend the base class.
11328 Small cleanups in GstPipeline.
11330 2005-03-26 David Schleef <ds@schleef.org>
11332 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11333 is broken and should be implemented in a different library.
11334 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11335 * gst/gst.h: remove gstcpu.h
11336 * gst/gstcpu.c: remove
11337 * gst/gstcpu.h: remove
11338 * gst/Makefile.am.future: Remove this file. It's ancient.
11340 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11342 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11343 (gst_bin_send_event):
11344 Add default event/set_manager handlers. The set_manager handler
11345 takes care that the manager is distributed over kids that were
11346 already in the bin before the manager was set. The event handler
11347 is a utility virtual function that sends the event over all sinks,
11348 so that gst_element_send_event (bin, event); has the expected
11350 * gst/gstpad.c: (gst_pad_event_default):
11351 Re-install default event handling for discontinuities, so that
11352 seeking works without requiring hacks in applications or extra
11354 * gst/gstpipeline.c: (gst_pipeline_class_init),
11355 (gst_pipeline_send_event):
11356 Half hack, half utility: set a pipeline to PAUSED for seek events,
11357 since that is the only way we can guarantee a/v sync. Means that
11358 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11359 and it "just works".
11361 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11363 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11364 Lock/unlock mismatch.
11366 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11368 * docs/faq/gst-uninstalled:
11369 add gst-plugins-base
11370 * docs/gst/Makefile.am:
11371 don't error out until docs are fixed
11372 * docs/gst/gstreamer.types:
11375 2005-03-22 Wim Taymans <wim@fluendo.com>
11377 * check/Makefile.am:
11378 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11379 * gst/gststructure.c: (gst_structure_set_valist),
11380 (gst_structure_copy_conditional):
11381 Activated more tests.
11382 Added message test.
11383 Added G_TYPE_POINTER to GstStructure.
11386 2005-03-22 Wim Taymans <wim@fluendo.com>
11388 * docs/design/part-TODO.txt:
11389 * docs/design/part-events.txt:
11390 * docs/design/part-gstbin.txt:
11391 * docs/design/part-gstbus.txt:
11392 * docs/design/part-gstpipeline.txt:
11393 * docs/design/part-messages.txt:
11395 * gst/gstmessage.c:
11398 2005-03-21 Wim Taymans <wim@fluendo.com>
11400 * gst/gstbus.c: (gst_bus_post):
11401 Fix copy-and-paste error.
11403 2005-03-21 Wim Taymans <wim@fluendo.com>
11405 * check/Makefile.am:
11407 * gst/elements/Makefile.am:
11408 * gst/elements/gstelements.c:
11409 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11410 (gst_fakesink_event), (gst_fakesink_chain):
11411 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11412 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11413 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11414 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11415 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11416 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11417 (gst_fakesrc_loop), (gst_fakesrc_activate),
11418 (gst_fakesrc_change_state):
11419 * gst/elements/gstfakesrc.h:
11420 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11421 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11422 (gst_filesrc_open_file), (gst_filesrc_loop),
11423 (gst_filesrc_activate), (gst_filesrc_change_state),
11424 (filesrc_find_peek), (filesrc_find_suggest),
11425 (gst_filesrc_type_find):
11426 * gst/elements/gstidentity.c: (gst_identity_finalize),
11427 (gst_identity_class_init), (gst_identity_init),
11428 (gst_identity_proxy_getcaps), (identity_queue_push),
11429 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11430 (gst_identity_getrange), (gst_identity_chain),
11431 (gst_identity_sink_loop), (gst_identity_src_loop),
11432 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11433 (gst_identity_set_property), (gst_identity_get_property),
11434 (gst_identity_change_state):
11435 * gst/elements/gstidentity.h:
11436 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11437 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11438 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11439 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11440 (gst_tee_sink_activate):
11441 * gst/elements/gsttee.h:
11442 * gst/gst.c: (gst_register_core_elements), (init_post):
11444 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11445 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11446 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11447 (gst_bin_change_state):
11449 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11450 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11451 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11452 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11453 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11454 (bus_watch_callback), (bus_watch_destroy),
11455 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11456 (poll_timeout), (gst_bus_poll):
11460 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11461 (gst_element_post_message), (gst_element_message_full),
11462 (gst_element_get_state_func), (gst_element_get_state),
11463 (gst_element_abort_state), (gst_element_commit_state),
11464 (gst_element_lost_state), (gst_element_set_state),
11465 (gst_element_pads_activate), (gst_element_change_state),
11466 (gst_element_dispose), (gst_element_set_manager_func),
11467 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11468 (gst_element_set_manager), (gst_element_get_manager),
11469 (gst_element_set_bus), (gst_element_get_bus),
11470 (gst_element_set_scheduler), (gst_element_get_scheduler):
11471 * gst/gstelement.h:
11472 * gst/gstevent.c: (gst_event_new_segment_seek),
11473 (gst_event_new_flush):
11475 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11476 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11477 (gst_message_new_eos), (gst_message_new_error),
11478 (gst_message_new_warning), (gst_message_new_tag),
11479 (gst_message_new_state_changed), (gst_message_new_application),
11480 (gst_message_get_structure), (gst_message_parse_tag),
11481 (gst_message_parse_state_changed), (gst_message_parse_error),
11482 (gst_message_parse_warning):
11483 * gst/gstmessage.h:
11484 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11485 (gst_real_pad_set_property), (gst_pad_set_active),
11486 (gst_pad_is_active), (gst_pad_set_blocked_async),
11487 (gst_pad_set_blocked), (gst_pad_is_blocked),
11488 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11489 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11490 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11491 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11492 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11493 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11494 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11495 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11496 (gst_pad_set_caps), (gst_pad_configure_sink),
11497 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11498 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11499 (gst_real_pad_dispose), (gst_real_pad_finalize),
11500 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11501 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11502 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11504 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11505 (pipeline_bus_handler), (gst_pipeline_change_state),
11506 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11507 * gst/gstpipeline.h:
11509 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11510 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11511 (gst_queue_link_src), (gst_queue_bufferalloc),
11512 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11513 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11514 (gst_queue_loop), (gst_queue_handle_src_event),
11515 (gst_queue_handle_src_query), (gst_queue_src_activate),
11516 (gst_queue_change_state):
11518 * gst/gstscheduler.c: (gst_scheduler_init),
11519 (gst_scheduler_dispose), (gst_scheduler_create_task),
11520 (gst_scheduler_factory_create):
11521 * gst/gstscheduler.h:
11522 * gst/gststructure.c: (gst_structure_get_type),
11523 (gst_structure_copy_conditional):
11524 * gst/gststructure.h:
11525 * gst/gsttaginterface.h:
11526 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11527 (gst_task_init), (gst_task_dispose), (gst_task_create),
11528 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11534 * gst/schedulers/Makefile.am:
11535 * gst/schedulers/cothreads_compat.h:
11536 * gst/schedulers/entryscheduler.c:
11537 * gst/schedulers/faircothreads.c:
11538 * gst/schedulers/faircothreads.h:
11539 * gst/schedulers/fairscheduler.c:
11540 * gst/schedulers/gstbasicscheduler.c:
11541 * gst/schedulers/gstoptimalscheduler.c:
11542 * gst/schedulers/gthread-cothreads.h:
11543 * gst/schedulers/threadscheduler.c:
11544 (gst_thread_scheduler_task_get_type),
11545 (gst_thread_scheduler_task_class_init),
11546 (gst_thread_scheduler_task_init),
11547 (gst_thread_scheduler_task_start),
11548 (gst_thread_scheduler_task_stop),
11549 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11550 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11551 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11552 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11554 * libs/gst/Makefile.am:
11555 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11556 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11557 (gst_file_pad_parent_set):
11558 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11559 (gst_dp_event_from_packet):
11560 * tests/complexity.c: (main):
11561 * tests/mass_elements.c: (main):
11562 * testsuite/states/locked.c: (message_received), (main):
11563 * testsuite/states/parent.c: (main):
11564 * tools/gst-inspect.c: (print_element_flag_info),
11565 (print_implementation_info), (print_pad_info):
11566 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11568 * tools/gst-md5sum.c: (event_loop), (main):
11569 * tools/gst-typefind.c: (main):
11570 * tools/gst-xmlinspect.c: (print_element_info):
11572 Added GstBus for mainloop integration.
11573 Added GstMessage for sending notifications on the bus.
11574 Added GstTask as an abstraction for pipeline entry points.
11576 Removed Schedulers.
11577 Simplified GstQueue for multithreaded core.
11578 Made _link threadsafe, removed old capsnego.
11579 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11580 Added pad blocking functions.
11581 Reworked scheduling functions in GstPad to prepare for
11582 scheduling updates soon.
11583 Moved events out of data stream.
11584 Simplified GstEvent types.
11585 Added return values to push/pull.
11586 Removed clocking from GstElement.
11587 Added prototypes for state change function for next merge.
11588 Removed iterate from bins and state change management.
11589 Fixed some elements, disabled others for now.
11590 Fixed -inspect and -launch.
11591 Added check for GstBus.
11593 2005-03-10 Wim Taymans <wim@fluendo.com>
11595 * docs/design/part-MT-refcounting.txt:
11596 * docs/design/part-clocks.txt:
11597 * docs/design/part-gstelement.txt:
11598 * docs/design/part-gstobject.txt:
11599 * docs/design/part-standards.txt:
11600 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11601 (gst_bin_remove_func), (gst_bin_remove):
11605 * testsuite/clock/clock1.c: (main):
11606 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11608 * testsuite/dlopen/loadgst.c: (do_test):
11609 * testsuite/refcounting/bin.c: (add_remove_test1),
11610 (add_remove_test2), (main):
11611 * testsuite/refcounting/element.c: (main):
11612 * testsuite/refcounting/element_pad.c: (main):
11613 * testsuite/refcounting/pad.c: (main):
11614 * tools/gst-launch.c: (sigint_handler_sighandler):
11615 * tools/gst-typefind.c: (main):
11617 Added doc about clock.
11618 removed gst_bin_iterate_recurse_up(), marked methods
11620 Fix more testsuites.
11622 2005-03-09 Wim Taymans <wim@fluendo.com>
11624 * gst/gstpad.c: (gst_pad_get_direction),
11625 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11626 (gst_pad_collect_valist):
11627 * testsuite/bins/interface.c: (main):
11628 * testsuite/caps/audioscale.c: (test_caps):
11629 * testsuite/caps/caps.c: (test1), (test2), (test3):
11630 * testsuite/caps/deserialize.c: (main):
11631 * testsuite/caps/enumcaps.c: (main):
11632 * testsuite/caps/filtercaps.c: (main):
11633 * testsuite/caps/intersect2.c: (main):
11634 * testsuite/caps/random.c: (main):
11635 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11636 * testsuite/caps/sets.c: (check_caps):
11637 * testsuite/caps/simplify.c: (check_caps), (main):
11638 * testsuite/caps/subtract.c: (check_caps):
11639 Fix _pad_get_direction wrt ghostpads.
11640 Fix caps testsuite.
11642 2005-03-09 Wim Taymans <wim@fluendo.com>
11644 * check/Makefile.am:
11645 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11646 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11647 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11648 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11649 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11650 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11651 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11652 (bin_element_is_sink), (gst_bin_iterate_sinks),
11653 (gst_bin_iterate_all_by_interface):
11655 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11656 (gst_element_change_state), (gst_element_dispose),
11657 (gst_element_finalize), (gst_element_set_loop_function):
11658 * gst/gstelement.h:
11659 * gst/gstiterator.c: (find_custom_fold_func):
11660 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11661 (gst_pad_collectv), (gst_pad_collect_valist),
11662 (gst_pad_template_new):
11663 * gst/gstpipeline.c: (gst_pipeline_class_init),
11664 (gst_pipeline_dispose), (gst_pipeline_set_property),
11665 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11666 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11667 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11669 * gst/schedulers/entryscheduler.c:
11670 * gst/schedulers/gstbasicscheduler.c:
11671 (gst_basic_scheduler_cothreaded_chain),
11672 (gst_basic_scheduler_chain_add_element):
11673 * testsuite/bins/interface.c: (main):
11675 Added GstSystemClock test.
11676 Implemented clock distribution code in GstBin.
11677 Implemented iterate sinks method for future use.
11678 Rearranged gstelement.h
11679 Fix GstIterator comparison bug.
11680 Moved some code to GstPipeline, mostly clocking related.
11682 2005-03-09 Wim Taymans <wim@fluendo.com>
11685 * gst/gst_private.h:
11686 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11687 (gst_bin_remove_func), (gst_bin_remove),
11688 (gst_bin_get_by_name_recurse_up):
11689 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11690 (gst_clock_id_compare_func), (gst_clock_id_wait),
11691 (gst_clock_id_wait_async), (gst_clock_init),
11692 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11693 * gst/gstelement.h:
11694 * gst/gstinfo.c: (_gst_debug_init):
11696 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11697 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11699 Bump version number, we're now 0.9.0
11700 Add future debugging category.
11701 Fix NULL _unref() in _get_by_name_recurse_up
11702 Rearrange gstpad.h.
11705 2005-03-08 Wim Taymans <wim@fluendo.com>
11707 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11708 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11709 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11710 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11711 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11712 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11713 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11714 * gst/elements/gstidentity.c: (gst_identity_class_init):
11715 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11716 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11717 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11718 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11719 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11721 * gst/gstelement.c: (gst_element_class_init),
11722 (gst_element_base_class_init), (gst_element_init),
11723 (gst_element_get_random_pad), (gst_element_wait_state_change),
11724 (gst_element_change_state), (gst_element_dispose),
11725 (gst_element_finalize), (gst_element_set_loop_function):
11726 * gst/gstelement.h:
11727 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11728 * gst/gstthread.c: (gst_thread_class_init),
11729 (gst_thread_release_children_locks), (gst_thread_change_state):
11730 * gst/schedulers/gstbasicscheduler.c:
11731 (gst_basic_scheduler_loopfunc_wrapper),
11732 (gst_basic_scheduler_chain_wrapper),
11733 (gst_basic_scheduler_src_wrapper),
11734 (gst_basic_scheduler_remove_element):
11735 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11736 Remove threadsafe properties. Fix elements because GObject
11737 complains when installing a property before declaring a
11738 set/get_property handler.
11739 Rearrange gstelement.h file, use STATE macros for state locks.
11740 Free mutexes in the finalize method instead of dispose.
11742 2005-03-08 Wim Taymans <wim@fluendo.com>
11744 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11745 * gst/gstthread.c: (gst_thread_release_children_locks):
11746 Added parentage check.
11747 Fix build og GstThread again.
11749 2005-03-08 Wim Taymans <wim@fluendo.com>
11751 * docs/design/part-MT-refcounting.txt:
11752 * docs/design/part-conventions.txt:
11753 * docs/design/part-gstobject.txt:
11754 * docs/design/part-relations.txt:
11755 * docs/design/part-standards.txt:
11756 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11757 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11758 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11759 (gst_bin_iterate_all_by_interface):
11762 * gst/gstelement.c: (gst_element_class_init),
11763 (gst_element_change_state), (gst_element_set_loop_function):
11764 * gst/gstelement.h:
11765 * gst/gstiterator.c:
11766 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11767 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11768 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11769 (gst_object_set_parent), (gst_object_unparent),
11770 (gst_object_check_uniqueness):
11772 Docs updates, clean up some headers.
11774 2005-03-07 Wim Taymans <wim@fluendo.com>
11776 * check/.cvsignore:
11777 * check/Makefile.am:
11778 * check/gst-libs/.cvsignore:
11779 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11780 * check/gst/.cvsignore:
11781 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11782 (START_TEST), (gstbus_suite), (main):
11783 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11784 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11785 (gst_data_suite), (main):
11786 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11787 (add_fold_func), (gstiterator_suite), (main):
11788 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11789 (thread_name_object), (thread_name_object_default),
11790 (gst_object_name_compare), (gst_object_suite), (main):
11791 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11792 (gst_pad_suite), (main):
11793 * check/gstcheck.c: (gst_check_log_message_func),
11794 (gst_check_log_critical_func), (gst_check_init):
11795 * check/gstcheck.h:
11796 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11797 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11800 2005-03-07 Wim Taymans <wim@fluendo.com>
11802 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11803 (gst_list_iterator_next), (gst_list_iterator_resync),
11804 (gst_list_iterator_free), (gst_iterator_new_list),
11805 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11806 (gst_iterator_free), (gst_iterator_push), (filter_next),
11807 (filter_resync), (filter_uninit), (filter_free),
11808 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11809 (gst_iterator_foreach), (find_custom_fold_func),
11810 (gst_iterator_find_custom):
11811 * gst/gstiterator.h:
11812 Added missing files.
11814 2005-03-07 Wim Taymans <wim@fluendo.com>
11818 * docs/design/part-MT-refcounting.txt:
11819 * docs/design/part-conventions.txt:
11820 * docs/design/part-gstobject.txt:
11821 * docs/design/part-relations.txt:
11822 * examples/mixer/mixer.c: (main):
11823 * examples/thread/thread.c: (eos), (main):
11825 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11826 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11827 (gst_spider_plug_from_srcpad):
11828 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11829 (gst_spider_identity_change_state),
11830 (gst_spider_identity_sink_loop_type_finding):
11831 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11832 * gst/elements/gstidentity.c: (gst_identity_init):
11833 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11834 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11835 * gst/elements/gsttypefindelement.c: (free_entry):
11838 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11839 (gst_bin_set_clock_func), (gst_bin_auto_clock),
11840 (gst_bin_set_index), (gst_bin_set_element_sched),
11841 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11842 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11843 (gst_bin_iterate_elements), (iterate_child_recurse),
11844 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11845 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11846 (compare_interface), (gst_bin_get_by_interface),
11847 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11849 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11850 (gst_buffer_default_free), (gst_buffer_default_copy),
11851 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11852 (gst_buffer_create_sub):
11854 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11855 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11856 (gst_caps_unref), (gst_static_caps_get),
11857 (gst_caps_remove_and_get_structure), (gst_caps_append),
11858 (gst_caps_append_structure), (gst_caps_remove_structure),
11859 (gst_caps_copy_nth), (gst_caps_set_simple),
11860 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11861 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11862 (gst_caps_structure_intersect_field), (gst_caps_intersect),
11863 (gst_caps_structure_subtract_field), (gst_caps_subtract),
11864 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11865 (gst_caps_structure_figure_out_union),
11866 (gst_caps_switch_structures), (gst_caps_do_simplify),
11867 (gst_caps_replace), (gst_caps_from_string),
11868 (gst_caps_copy_conditional):
11870 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11871 (_gst_clock_id_free), (gst_clock_id_unref),
11872 (gst_clock_id_compare_func), (gst_clock_id_wait),
11873 (gst_clock_id_wait_async), (gst_clock_class_init),
11874 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11875 (gst_clock_get_time), (gst_clock_set_time_adjust),
11876 (gst_clock_set_property), (gst_clock_get_property):
11879 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11880 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11882 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11883 (gst_element_requires_clock), (gst_element_provides_clock),
11884 (gst_element_set_clock), (gst_element_clock_wait),
11885 (gst_element_wait), (gst_element_set_time_delay),
11886 (gst_element_is_indexable), (gst_element_add_pad),
11887 (gst_element_add_ghost_pad), (gst_element_remove_pad),
11888 (pad_compare_name), (gst_element_get_static_pad),
11889 (gst_element_request_pad), (gst_element_get_request_pad),
11890 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11891 (gst_element_class_get_pad_template_list),
11892 (gst_element_class_get_pad_template), (gst_element_error_func),
11893 (gst_element_get_random_pad), (gst_element_get_event_masks),
11894 (gst_element_send_event), (gst_element_seek),
11895 (gst_element_get_query_types), (gst_element_query),
11896 (gst_element_get_formats), (gst_element_convert),
11897 (gst_element_is_locked_state), (gst_element_set_locked_state),
11898 (gst_element_sync_state_with_parent), (gst_element_change_state),
11899 (gst_element_finalize), (gst_element_yield),
11900 (gst_element_interrupt), (gst_element_set_scheduler),
11901 (gst_element_get_scheduler), (gst_element_set_loop_function):
11902 * gst/gstelement.h:
11904 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11905 (gst_format_get_by_nick), (gst_format_get_details),
11906 (gst_format_iterate_definitions):
11908 * gst/gstindex.c: (gst_index_gtype_resolver):
11911 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11912 (gst_mem_chunk_free):
11913 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11914 (gst_object_ref), (gst_object_unref), (gst_object_sink),
11915 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11916 (gst_object_dispatch_properties_changed),
11917 (gst_object_set_name_default), (gst_object_set_name),
11918 (gst_object_get_name), (gst_object_set_name_prefix),
11919 (gst_object_get_name_prefix), (gst_object_set_parent),
11920 (gst_object_get_parent), (gst_object_unparent),
11921 (gst_object_check_uniqueness), (gst_object_save_thyself),
11922 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11923 (gst_object_set_property), (gst_object_get_property),
11924 (gst_object_get_path_string):
11926 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11927 (gst_real_pad_init), (gst_real_pad_get_property),
11928 (gst_pad_custom_new), (gst_pad_get_direction),
11929 (gst_pad_set_active), (gst_pad_is_active),
11930 (gst_pad_set_event_function), (gst_pad_is_linked),
11931 (gst_pad_link_free), (gst_pad_link_intersect),
11932 (gst_pad_link_fixate), (gst_pad_set_caps),
11933 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11934 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11935 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11936 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11937 (gst_pad_get_caps), (gst_pad_peer_get_caps),
11938 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11939 (gst_pad_realize), (gst_pad_get_allowed_caps),
11940 (gst_real_pad_dispose), (gst_real_pad_finalize),
11941 (gst_pad_collectv), (gst_pad_collect_valist),
11942 (gst_pad_template_dispose), (gst_pad_template_new),
11943 (gst_pad_get_internal_links):
11945 * gst/gstpipeline.c: (gst_pipeline_dispose),
11946 (gst_pipeline_change_state):
11947 * gst/gstpipeline.h:
11949 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11950 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11951 * gst/gstpluginfeature.h:
11952 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11953 * gst/gstquery.c: (_gst_query_type_initialize),
11954 (gst_query_type_register), (gst_query_type_get_by_nick),
11955 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11957 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11958 * gst/gstscheduler.c: (gst_scheduler_add_element),
11959 (gst_scheduler_factory_create):
11960 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11961 (gst_structure_free), (gst_structure_set_name),
11962 (gst_structure_id_set_value), (gst_structure_set_value),
11963 (gst_structure_set_valist), (gst_structure_remove_field),
11964 (gst_structure_remove_fields),
11965 (gst_structure_remove_fields_valist),
11966 (gst_structure_remove_all_fields), (gst_structure_foreach),
11967 (gst_structure_map_in_place),
11968 (gst_caps_structure_fixate_field_nearest_int),
11969 (gst_caps_structure_fixate_field_nearest_double):
11970 * gst/gststructure.h:
11971 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11972 (gst_system_clock_init), (gst_system_clock_dispose),
11973 (gst_system_clock_async_thread),
11974 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11975 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11976 * gst/gstsystemclock.h:
11977 * gst/gsttag.c: (gst_tag_list_add_value_internal),
11978 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11979 * gst/gsttaginterface.c:
11980 * gst/gstthread.c: (gst_thread_dispose),
11981 (gst_thread_release_children_locks), (gst_thread_change_state),
11982 (gst_thread_main_loop):
11983 * gst/gsttrashstack.h:
11984 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11986 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11987 (gst_element_request_pad), (gst_element_get_pad_from_template),
11988 (gst_element_request_compatible_pad),
11989 (gst_element_get_compatible_pad_filtered),
11990 (gst_element_get_compatible_pad), (gst_element_state_get_name),
11991 (gst_element_link_pads_filtered), (gst_element_link_filtered),
11992 (gst_element_link_many), (gst_element_link),
11993 (gst_element_link_pads), (gst_element_unlink_pads),
11994 (gst_element_unlink_many), (gst_element_unlink),
11995 (gst_pad_can_link_filtered), (gst_pad_can_link),
11996 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11997 (gst_object_default_error), (gst_bin_add_many),
11998 (gst_bin_remove_many), (gst_element_populate_std_props),
11999 (gst_element_class_install_std_props), (gst_buffer_merge),
12000 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12001 (link_fold_func), (gst_pad_proxy_setcaps):
12003 * gst/gstvalue.c: (gst_value_deserialize_string):
12004 * gst/parse/grammar.y:
12005 * gst/schedulers/gstbasicscheduler.c:
12006 (gst_basic_scheduler_cothreaded_chain),
12007 (gst_basic_scheduler_chain_recursive_add),
12008 (gst_basic_scheduler_pad_link):
12009 * gst/schedulers/gstoptimalscheduler.c:
12010 (get_group_schedule_function),
12011 (gst_opt_scheduler_state_transition),
12012 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12013 * libs/gst/bytestream/bytestream.c:
12014 * libs/gst/dataprotocol/dataprotocol.c:
12015 (gst_dp_header_from_buffer):
12018 * tests/threadstate/threadstate2.c: (eos):
12019 * tools/gst-compprep.c: (main):
12020 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12021 (print_pad_info), (print_children_info):
12022 * tools/gst-launch.c: (idle_func), (main):
12023 * tools/gst-md5sum.c: (idle_func), (main):
12024 * tools/gst-xmlinspect.c: (print_element_info):
12025 First THREADED backport attempt, focusing on adding locks and
12026 making sure the API is threadsafe. Needs more work. More docs
12029 2005-02-24 Andy Wingo <wingo@pobox.com>
12031 * tests/bench-complexity.scm:
12032 * tests/complexity.gnuplot: New files, good for running complexity
12035 * tests/Makefile.am:
12036 * tests/complexity.c: New test, sets up N elements, at each level
12037 teeing into M streams per element. Eeeenteresting.
12039 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12040 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12041 running bench-mass_elements.scm.
12043 * tests/bench-mass_elements.scm: New script, runs mass_elements
12044 for various numbers of identities, outputting the results to a
12045 file. Requires guile 1.6. Just for testing.
12047 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12049 * gst/schedulers/fairscheduler.c:
12050 compile with debug disabled
12052 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12055 hunting season on 0.9 is now OPEN