1 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3 * gst/gstclock.c: (do_linear_regression):
4 remove crack non-portable handrolled DEBUG macro
6 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10 * win32/common/gstenumtypes.c: (register_gst_object_flags),
11 (gst_object_flags_get_type), (register_gst_bin_flags),
12 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
16 (gst_caps_flags_get_type), (register_gst_clock_return),
17 (gst_clock_return_get_type), (register_gst_clock_entry_type),
18 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19 (gst_clock_flags_get_type), (register_gst_state),
20 (gst_state_get_type), (register_gst_state_change_return),
21 (gst_state_change_return_get_type), (register_gst_state_change),
22 (gst_state_change_get_type), (register_gst_element_flags),
23 (gst_element_flags_get_type), (register_gst_core_error),
24 (gst_core_error_get_type), (register_gst_library_error),
25 (gst_library_error_get_type), (register_gst_resource_error),
26 (gst_resource_error_get_type), (register_gst_stream_error),
27 (gst_stream_error_get_type), (register_gst_event_type_flags),
28 (gst_event_type_flags_get_type), (register_gst_event_type),
29 (gst_event_type_get_type), (register_gst_seek_type),
30 (gst_seek_type_get_type), (register_gst_seek_flags),
31 (gst_seek_flags_get_type), (register_gst_format),
32 (gst_format_get_type), (register_gst_index_certainty),
33 (gst_index_certainty_get_type), (register_gst_index_entry_type),
34 (gst_index_entry_type_get_type),
35 (register_gst_index_lookup_method),
36 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
37 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
38 (gst_index_resolver_method_get_type), (register_gst_index_flags),
39 (gst_index_flags_get_type), (register_gst_debug_level),
40 (gst_debug_level_get_type), (register_gst_debug_color_flags),
41 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
42 (gst_iterator_result_get_type), (register_gst_iterator_item),
43 (gst_iterator_item_get_type), (register_gst_message_type),
44 (gst_message_type_get_type), (register_gst_mini_object_flags),
45 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
46 (gst_pad_link_return_get_type), (register_gst_flow_return),
47 (gst_flow_return_get_type), (register_gst_activate_mode),
48 (gst_activate_mode_get_type), (register_gst_pad_direction),
49 (gst_pad_direction_get_type), (register_gst_pad_flags),
50 (gst_pad_flags_get_type), (register_gst_pad_presence),
51 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
52 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
53 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
54 (gst_plugin_error_get_type), (register_gst_plugin_flags),
55 (gst_plugin_flags_get_type), (register_gst_rank),
56 (gst_rank_get_type), (register_gst_query_type),
57 (gst_query_type_get_type), (register_gst_tag_merge_mode),
58 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
59 (gst_tag_flag_get_type), (register_gst_task_state),
60 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
61 (gst_alloc_trace_flags_get_type),
62 (register_gst_type_find_probability),
63 (gst_type_find_probability_get_type), (register_gst_uri_type),
64 (gst_uri_type_get_type), (register_gst_parse_error),
65 (gst_parse_error_get_type):
66 * win32/common/gstenumtypes.h:
67 * win32/common/gstversion.h:
68 update visual studio generated files
70 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
72 * win32/vs6/libgstbase.dsp:
73 * win32/vs6/libgstelements.dsp:
74 update project files for new locations
76 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
86 * docs/random/LICENSE:
89 2005-11-30 Edward Hervey <edward@fluendo.com>
91 * gst/gsttypefind.c: (gst_type_find_register):
93 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
94 (gst_type_find_factory_dispose):
95 * gst/gsttypefindfactory.h:
96 Fix memory leak in GstTypeFindFactory.
98 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
101 * plugins/elements/Makefile.am:
102 * plugins/elements/gstelements.c:
103 * plugins/elements/gstqueue.c:
104 move queue from core to the elements plugin
106 2005-11-29 Andy Wingo <wingo@pobox.com>
108 * libs/gst/base/gstbasetransform.h:
109 * libs/gst/base/gstbasesrc.h:
110 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
112 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
113 of pointers by which to pad very extensible base classes (like the
114 ones in libs/gst/base).
116 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
118 * docs/gst/gstreamer-docs.sgml:
119 * docs/gst/gstreamer-sections.txt:
120 * docs/libs/gstreamer-libs-docs.sgml:
121 * docs/libs/gstreamer-libs-sections.txt:
122 moving documentation from core to lib
124 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
128 * docs/gst/Makefile.am:
130 * gst/base/.cvsignore:
131 * gst/base/Makefile.am:
133 * gst/base/gstadapter.c:
134 * gst/base/gstadapter.h:
135 * gst/base/gstbasesink.c:
136 * gst/base/gstbasesink.h:
137 * gst/base/gstbasesrc.c:
138 * gst/base/gstbasesrc.h:
139 * gst/base/gstbasetransform.c:
140 * gst/base/gstbasetransform.h:
141 * gst/base/gstcollectpads.c:
142 * gst/base/gstcollectpads.h:
143 * gst/base/gstpushsrc.c:
144 * gst/base/gstpushsrc.h:
145 * gst/base/gsttypefindhelper.c:
146 * gst/base/gsttypefindhelper.h:
147 * gst/check/Makefile.am:
148 * gst/check/gstcheck.c:
149 * gst/check/gstcheck.h:
150 * gst/net/Makefile.am:
152 * gst/net/gstnetclientclock.c:
153 * gst/net/gstnetclientclock.h:
154 * gst/net/gstnettimepacket.c:
155 * gst/net/gstnettimepacket.h:
156 * gst/net/gstnettimeprovider.c:
157 * gst/net/gstnettimeprovider.h:
158 * libs/gst/Makefile.am:
159 * libs/gst/base/Makefile.am:
160 * libs/gst/base/gstbasetransform.c:
161 * libs/gst/check/Makefile.am:
162 * plugins/elements/Makefile.am:
164 CVS surgery + support to move base, check, and net out of gst
167 2005-11-29 Andy Wingo <wingo@pobox.com>
169 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
171 * gst/gststructure.h (struct _GstStructure): Only one pointer of
174 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
176 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
178 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
180 * gst/gstobject.h: (struct _GstObject): Only one pointer of
181 padding; reduces object size by about 30%. We don't expect
182 anything else to go into gstobject.
184 * gst/gstminiobject.h (struct _GstMiniObject)
185 (struct _GstMiniObjectClass): Only one pointer of padding; the
186 payload is only a pointer and two ints anyway. For the class there
187 are only two methods as well.
189 * gst/gstelement.h (struct _GstElementClass): Removed
190 the state_changed signal callback, it is not used.
192 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
194 * docs/gst/gstreamer.types:
195 fix includes, though they are a little dinky
197 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
200 look in the right place for elements, a lot more chance of
203 remove indexers and elements subdirs
204 * plugins/Makefile.am:
205 make indexers conditional
207 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
211 * plugins/elements/Makefile.am:
212 * plugins/elements/gstcapsfilter.c:
213 * plugins/elements/gstfilesink.c:
214 * plugins/elements/gstfilesrc.c:
215 * plugins/elements/gstidentity.c:
216 * plugins/indexers/Makefile.am:
217 do CVS surgery and related build fixery to move elements
218 and indexers in a new gstreamer/plugins directory, out of the
221 2005-11-29 Andy Wingo <wingo@pobox.com>
224 * pkgconfig/gstreamer-net-uninstalled.pc.in:
225 * pkgconfig/gstreamer-net.pc.in:
226 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
229 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
232 * tools/gst-complete.1.in:
233 * tools/gst-complete.c:
234 * tools/gst-compprep.1.in:
235 * tools/gst-compprep.c:
236 removing -compprep and -complete
238 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
240 * gst/gstevent.c: (gst_event_new_new_segment),
241 (gst_event_parse_new_segment):
243 fix #320529 - clean up new_segment API and structure.
244 Let's hope everyone was using the methods, and not the structure.
246 2005-11-29 Edward Hervey <edward@fluendo.com>
248 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
249 (gst_base_sink_event), (gst_base_sink_do_sync),
250 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
251 Properly handle non GST_FORMAT_TIME segment
252 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
253 Properly handle non GST_FORMAT_TIME segment
255 This function is valid if the accumulator is 0 and the format
256 is different from the requested format.
258 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
260 * docs/gst/gstreamer-sections.txt:
261 Add gst_query_new_seeking and gst_query_parse_seeking to the
264 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
266 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
267 Treat a pad alloc with new caps the same as if we were not
268 negotiated, in order to allow a changing upstream output
269 to produce a new format of data.
271 2005-11-29 Edward Hervey <edward@fluendo.com>
273 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
274 (gst_base_transform_event), (gst_base_transform_eventfunc):
275 The event virtual method is now properly implemented, with a default
277 Sub classes should call the parent_class event method. They should
278 return FALSE if they had a problem handling the given event, or don't
279 want GstBaseTransform to send that even downstream
280 * gst/elements/gstidentity.c: (gst_identity_class_init),
281 (gst_identity_init), (gst_identity_event),
282 (gst_identity_transform_ip), (gst_identity_set_property),
283 (gst_identity_get_property):
284 * gst/elements/gstidentity.h:
285 Added the single-segment boolean property.
286 If set to TRUE, it will output a single segment of data, starting from
287 0, will eat up all incoming newsegment, and modify the timestamp of the
290 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
292 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
293 Don't ref NULL target pad (#322751). Improve docs.
295 2005-11-29 Michael Smith <msmith@fluendo.com>
297 * gst/gstregistryxml.c: (load_plugin):
298 Don't crash if we failed to load a feature from a plugin.
300 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
302 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
304 use more check API and less GLib API
306 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
309 don't run checks if we don't have check
311 remove the registry when running make torture
312 * docs/gst/gstreamer-sections.txt:
313 remove second multiply
314 * gst/gstqueue.c: (gst_queue_loop):
315 fix a compile warning when disabling debug
317 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
320 Hey! Let's print the pad name if the pointer != NULL instead
321 of when it == NULL :-)
323 2005-11-28 Wim Taymans <wim@fluendo.com>
325 * check/gst/gstutils.c: (GST_START_TEST):
326 Updated check, add some scaling accuracy checking code.
328 * gst/gstutils.c: (gst_util_div128_64),
329 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
330 (gst_util_uint64_scale_int):
331 Fix 6 times faster division code. Optimize for common
332 1/1 and less common X/1 cases.
334 2005-11-28 Wim Taymans <wim@fluendo.com>
336 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
339 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
340 (do_linear_regression), (gst_clock_add_observation):
342 Release lock when the clock cannot be slaved.
343 Catch the case where the regression returned an invalid denominator.
345 * gst/gstutils.c: (gst_util_div128_64_iterate),
346 (gst_util_div128_64), (gst_util_uint64_scale_int64),
347 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
348 Add protentially more performant non-iterative 128/64 divide function
349 that unfortunatly does not work yet.
350 Shortcut the trivial 0/X = 0 case.
351 Remove the warnings on overflow.
353 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
355 * gst/gstplugin.c: (gst_plugin_register_func):
356 everything causing a plugin not to load should be at least a WARNING
358 2005-11-28 Stefan Kost <ensonic@users.sf.net>
360 * docs/random/ensonic/dparams.txt:
361 some TODOs for the next dev cycle
362 * libs/gst/controller/gstcontroller.c:
363 (gst_controlled_property_set_interpolation_mode),
364 (gst_controlled_property_new):
365 * libs/gst/controller/gstcontroller.h:
366 use base type to assign acccessor functions
368 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
371 Oops, that should have been top_srcdir
373 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
376 * check/elements/fdsrc.c: (GST_START_TEST):
377 Use a cmdline define to specify the location of a file to use for
378 testing, to avoid breaking distcheck.
380 2005-11-28 Andy Wingo <wingo@pobox.com>
382 * gst/gstpad.c (fixate_value): Use array functions for arrays.
384 2005-11-28 Edward Hervey <edward@fluendo.com>
386 * tools/gst-launch.c: (main):
387 Clarify the output strings, makes it easier to translate.
390 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
393 don't try and build net if we don't even have <sys/socket.h>
395 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
398 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
399 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
400 Add tests for fdsrc seekability
402 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
403 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
404 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
405 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
406 * gst/elements/gstfdsrc.h:
407 fdsrc should not be a 'live' source.
408 Implement seeking on seekable fd's.
410 * gst/gstquery.c: (gst_query_new_seeking),
411 (gst_query_parse_seeking):
413 Implement SEEKING query functions:
414 *_new_seeking and *_parse_seeking
416 2005-11-27 Stefan Kost <ensonic@users.sf.net>
418 * gst/gstelement.c: (gst_element_dispose):
422 * gst/gststructure.c:
425 * libs/gst/controller/gstcontroller.c:
426 (gst_controlled_property_set_interpolation_mode):
427 * libs/gst/controller/gstcontroller.h:
428 * libs/gst/controller/gstinterpolation.c:
429 (interpolate_none_get_enum_value_array):
430 support controlling enums
432 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
435 Improve documentation for gst_value_union().
438 Change return value for union, intersect and subtract functions
439 from gint to gboolean.
441 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
443 * gst/gstvalue.c: (gst_value_serialize_any_list),
444 (gst_value_transform_any_list_string),
445 (gst_value_deserialize_list), (gst_value_deserialize_array),
446 (gst_value_set_int_range), (gst_value_deserialize_int_range),
447 (gst_value_set_double_range), (gst_value_deserialize_double_range),
448 (gst_value_set_fraction_range_full),
449 (gst_value_deserialize_fraction_range),
450 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
451 (gst_value_deserialize_boolean),
452 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
453 (gst_value_serialize_float), (gst_value_deserialize_float),
454 (gst_string_wrap), (gst_value_deserialize_string),
455 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
456 (gst_value_union_int_range_int_range),
457 (gst_value_intersect_int_range_int_range),
458 (gst_value_intersect_double_range_double_range),
459 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
460 (gst_value_subtract_int_range_int_range),
461 (gst_value_subtract_double_double_range),
462 (gst_value_subtract_double_range_double_range),
463 (gst_value_deserialize_fraction):
465 Use gint, gdouble and gchar in our API instead of int, double and
466 char (and make usage in gstvalue.c more consistent).
468 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
471 * libs/gst/controller/Makefile.am:
472 * libs/gst/dataprotocol/Makefile.am:
473 fix up Makefile.am and remove GST_ENABLE_NEW
475 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
479 * gst/base/Makefile.am:
480 * gst/check/Makefile.am:
481 * gst/elements/Makefile.am:
482 * gst/net/Makefile.am:
483 update LDFLAGS use some more
485 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
487 * common/m4/gst-doc.m4:
490 2005-11-26 Edward Hervey <edward@fluendo.com>
492 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
493 This shouldn't issue a g_warning since it returns NULL if it
494 couldn't find the plugin, and all functions using this behave
495 properly on a NULL return. Switching to a GST_WARNING.
497 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
499 * gst/gstbin.c: (gst_bin_handle_message_func):
500 Don't leak clock messages.
502 2005-11-25 Wim Taymans <wim@fluendo.com>
504 * gst/gstutils.c: (gst_util_uint64_scale_int64),
505 (gst_util_uint64_scale_int):
506 Optimisations, remove unneeded vars.
508 2005-11-25 Wim Taymans <wim@fluendo.com>
510 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
511 Added more checks for the high precision uint64 cases.
513 * gst/gstutils.c: (gst_util_uint64_scale_int64),
514 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
515 Implement high precission (guint64 * guint64) / guint64.
517 2005-11-24 Wim Taymans <wim@fluendo.com>
519 * gst/base/gstbasesrc.c: (gst_base_src_query):
520 Fix wrong percentage query.
522 * gst/gstutils.c: (gst_util_uint64_scale),
523 (gst_util_uint64_scale_int):
524 Add some more common cases that can be handled
525 efficiently to _scale.
527 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
529 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
530 (gst_mini_object_suite):
531 don't use check calls from threads; check probably isn't
532 threadsafe and using a lock to make it threadsafe would
533 defeat the purpose of this check
534 * gst/check/gstcheck.c:
535 * gst/check/gstcheck.h:
536 use GST_DEBUG some more
538 2005-11-24 Wim Taymans <wim@fluendo.com>
540 * gst/gstutils.c: (gst_util_uint64_scale),
541 (gst_util_uint64_scale_int):
542 Chain trivial case to _scale_int.
544 2005-11-24 Wim Taymans <wim@fluendo.com>
546 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
547 Added test for scaling.
552 * gst/gstutils.c: (gst_util_uint64_scale_int):
553 Implemented high precision scaling code.
555 2005-11-24 Stefan Kost <ensonic@users.sf.net>
558 do not crash on pad==NULL
560 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
562 Patch by: Stefan Kost
564 * common/gtk-doc.mak:
565 * docs/gst/Makefile.am:
566 * docs/libs/Makefile.am:
567 Fix distcheck issues for the libraries docs build
570 2005-11-24 Michael Smith <msmith@fluendo.com>
572 * docs/manual/basics-helloworld.xml:
573 Fix bug #315027: memory leak in example code in docs.
575 2005-11-24 Michael Smith <msmith@fluendo.com>
577 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
578 Unlock the PREROLL_LOCK in a failure case.
580 2005-11-24 Wim Taymans <wim@fluendo.com>
582 * docs/gst/gstreamer-sections.txt:
583 * gst/base/gstadapter.h:
584 * gst/base/gstbasesink.h:
585 * gst/base/gstbasesrc.h:
586 * gst/base/gstbasetransform.h:
587 * gst/base/gstpushsrc.h:
588 * gst/elements/gstfakesink.h:
589 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
590 * gst/elements/gstfakesrc.h:
591 * gst/elements/gstfilesink.h:
592 * gst/elements/gstfilesrc.h:
595 * gst/gstbuffer.c: (_gst_buffer_copy):
598 * gst/gstchildproxy.c:
601 * gst/gstelementfactory.c:
602 * gst/gstelementfactory.h:
606 * gst/gstinterface.h:
607 * gst/gstminiobject.c:
608 * gst/gstminiobject.h:
611 * gst/gstpadtemplate.h:
613 * gst/gstpluginfeature.h:
618 * gst/gsttagsetter.c:
619 * gst/gsttagsetter.h:
625 * gst/net/gstnetclientclock.c:
626 * gst/net/gstnetclientclock.h:
627 * gst/net/gstnettimepacket.c:
628 * gst/net/gstnettimeprovider.c:
629 * gst/net/gstnettimeprovider.h:
632 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
634 * configure.ac: back to HEAD
636 === release 0.9.6 ===
638 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
641 releasing 0.9.6, "Always On Time"
643 2005-11-23 Wim Taymans <wim@fluendo.com>
645 * docs/gst/gstreamer-sections.txt:
647 * gst/gsttagsetter.c:
649 * gst/net/gstnetclientclock.c:
650 * gst/net/gstnettimepacket.h:
653 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
655 * docs/faq/using.xml:
656 * docs/libs/tmpl/gstcontrol.sgml:
657 * docs/manual/advanced-dparams.xml:
658 * docs/manual/appendix-checklist.xml:
659 * docs/manual/basics-elements.xml:
660 * docs/pwg/other-source.xml:
661 * docs/random/moving-plugins:
663 * tools/gst-launch.1.in:
664 remove mentions of sinesrc
666 2005-11-23 Michael Smith <msmith@fluendo.com>
668 * docs/gst/gstreamer-sections.txt:
669 Update for new API and API changes.
671 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
673 Documentation typo fix.
674 * gst/net/gstnettimepacket.c:
675 Documentation fixes for arguments.
677 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
679 * gst/gststructure.c: (gst_structure_get_fraction),
680 (gst_structure_parse_value),
681 (gst_structure_fixate_field_nearest_fraction):
682 * gst/gststructure.h:
683 * gst/gstutils.c: (gst_util_uint64_scale_int):
685 * scripts/update-funcnames:
687 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
688 Make gst_structure_fixate_field_nearest_fraction take a numerator
689 and denominator argument instead of a GValue
690 add gst_structure_get_fraction helper function.
692 2005-11-23 Wim Taymans <wim@fluendo.com>
694 * docs/design/part-TODO.txt:
697 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
698 * gst/net/gstnetclientclock.h:
699 Use parent fields for timeout and window_size.
701 2005-11-23 Andy Wingo <wingo@pobox.com>
703 * check/net/gstnetclientclock.c (test_functioning): Adjust to
704 rate_num/rate_denom change.
706 * gst/net/gstnetclientclock.c
707 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
708 OBJECT_LOCK. Don't call add_observation with the lock.
710 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
712 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
714 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
715 deal with rate as a fraction whose numerator and denominator are
717 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
718 master; the other fields are protected by the SLAVE_LOCK.
719 (do_linear_regression): Note that this must be called with the
721 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
722 OBJECT_LOCK. Call set_calibration instead of touching the
724 (gst_clock_set_property, gst_clock_get_property): Protect
725 master/slave parameters with the SLAVE_LOCK.
727 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
728 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
729 note that all of the instance variables that add_observation and
730 the set_master functions use are protected by that lock and not
732 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
734 * gst/gstclock.c (gst_clock_add_observation): No longer requires
735 the caller to take the object lock.
737 2005-11-23 Wim Taymans <wim@fluendo.com>
739 * gst/gsterror.c: (_gst_core_errors_init):
741 Add error for clock stuff.
743 * gst/gstpipeline.c: (gst_pipeline_change_state),
744 (gst_pipeline_set_clock):
745 Post clock error when clock cannot be used in a pipeline.
747 2005-11-23 Stefan Kost <ensonic@users.sf.net>
749 * docs/gst/gstreamer-sections.txt:
750 make two symbols from gstinfo private for the docs
751 * gst/base/gstcollectpads.h:
753 fix doc typos, update docs
755 2005-11-22 Wim Taymans <wim@fluendo.com>
757 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
758 (gst_base_sink_wait), (gst_base_sink_do_sync),
759 (gst_base_sink_handle_event):
760 * gst/base/gstbasesink.h:
761 No need to store the clock, the parent element class already
764 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
765 Updates for clock_set returning a gboolean
767 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
768 (gst_clock_id_wait_async), (gst_clock_class_init),
769 (gst_clock_init), (gst_clock_finalize),
770 (gst_clock_get_internal_time), (gst_clock_get_time),
771 (gst_clock_slave_callback), (gst_clock_set_master),
772 (gst_clock_get_master), (do_linear_regression),
773 (gst_clock_add_observation), (gst_clock_set_property),
774 (gst_clock_get_property):
776 Implement master/slave. When setting a clock as a slave, a
777 periodic timeout is scheduled to sample master and slave times.
778 Then the slave clock is recalibrated to match offset and rate
780 Update logging a bit.
781 Add flag so that a clock can state that is cannot be slaved to
784 * gst/gstelement.c: (gst_element_set_clock):
786 The set clock returns a gboolean for when an element cannot
787 deal with the selected clock in the pipeline.
789 * gst/gstpipeline.c: (gst_pipeline_change_state),
790 (gst_pipeline_set_clock):
792 Handle the case where the selected clock cannot be set on
795 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
796 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
797 (gst_net_client_clock_set_property),
798 (gst_net_client_clock_get_property),
799 (gst_net_client_clock_observe_times):
800 * gst/net/gstnetclientclock.h:
801 Use regression code in GstClock parent, remove duplicated
804 2005-11-22 Michael Smith <msmith@fluendo.com>
806 * gst/gstutils.c: (gst_util_clock_time_scale):
808 * docs/gst/gstreamer-sections.txt:
809 Rename method to have extra underscore.
811 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
813 * gst/elements/Makefile.am:
814 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
815 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
816 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
817 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
818 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
819 * gst/elements/gstfakesrc.h:
820 * gst/gstqueue.c: (queue_leaky_get_type):
821 correctly fix GEnumValues so that nick is the short lowercase
823 * tools/gst-inspect.c: (print_element_properties_info):
824 also show the nick, since it's useful to use from parse_launch
828 2005-11-22 Michael Smith <msmith@fluendo.com>
830 * gst/gstutils.c: (gst_util_clocktime_scale):
832 * docs/gst/gstreamer-sections.txt:
833 Add util method for scaling a clocktime by a fraction. Useful
834 implementation is left as an exercise for the reader.
836 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
838 * gst/gstvalue.c: (gst_value_collect_fraction_range):
839 If needed, allocate storage in the destination value during
842 2005-11-22 Edward Hervey <edward@fluendo.com>
844 * docs/gst/gstreamer-sections.txt:
849 * gst/gstutils.c: (gst_util_set_object_arg):
850 * tools/gst-compprep.c: (main):
851 * tools/gst-inspect.c: (print_element_properties_info):
852 Removed GstURI, closes bug #321061
854 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
856 * check/gst/gststructure.c: (GST_START_TEST):
857 * gst/gststructure.c: (gst_structure_parse_value):
858 Oops, broke automatic string type parsing.
859 Add a test to catch it in future.
861 2005-11-22 Andy Wingo <wingo@pobox.com>
863 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
864 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
865 Actually rename the function implementations. Grr.
867 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
869 * check/gst/capslist.h:
871 * check/gst/gststructure.c: (GST_START_TEST),
872 (gst_structure_suite):
873 Test automatic value type detection in gst_structure_from_string.
874 * gst/gststructure.c: (gst_structure_parse_value):
875 Add fraction as a type we try and guess automatically in
876 caps/structure strings.
878 2005-11-22 Andy Wingo <wingo@pobox.com>
880 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
882 * gst/gsttagsetter.h:
883 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
884 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
885 (gst_tag_setter_add_tag_valist)
886 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
887 _add_values, _add_valist, and _add_valist_values. Since this is an
888 interface the function suffixes should be more explicit so
889 language binding don't end up with element.add_valist ->
890 gst_tag_setter_add_valist, for example. Fixes #322069.
892 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
894 * check/gst/gstcaps.c: (GST_START_TEST):
895 Extend caps string tests to check that a caps to string
896 conversion is reversible and produces the same caps.
898 * gst/gststructure.c: (gst_structure_value_get_generic_type):
899 Output "fraction" as the generic type fraction range, so caps
900 serialisation and deserialisation works.
901 * check/gst/capslist.h:
902 * gst/gstvalue.c: (gst_value_deserialize_fraction):
903 Support 'MIN' and 'MAX' for deserialising fractions.
905 2005-11-22 Andy Wingo <wingo@pobox.com>
907 * gst/gstevent.h (gst_event_new_new_segment)
908 (gst_event_parse_new_segment, gst_event_new_buffer_size)
909 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
910 Renamed from *_newsegment, *_buffersize, *_notarget.
912 * scripts/update-funcnames: New script, performs the changes
915 2005-11-22 Wim Taymans <wim@fluendo.com>
917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
918 Make sure the GstFlowReturn is returned.
920 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
921 (gst_bus_add_signal_watch):
923 add gst_bus_add_signal_watch_full.
925 * gst/gstplugin.c: (gst_plugin_load_file):
928 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
930 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
931 Block the fakesrc srcpad when we send an event, to avoid
932 contention on the stream_lock causing random test failures.
934 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
936 * check/gst/gstvalue.c: (GST_START_TEST):
937 * gst/gstvalue.c: (gst_value_fraction_subtract):
940 2005-11-22 Stefan Kost <ensonic@users.sf.net>
943 include "gstchildproxy.h"
944 * gst/gstchildproxy.h:
945 * libs/gst/controller/gstcontroller.h:
946 use G_GNUC_NULL_TERMINATED
948 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
950 * check/gst/capslist.h:
951 * check/gst/gstcaps.c: (GST_START_TEST):
952 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
953 * gst/gststructure.c: (gst_structure_parse_range),
954 (gst_structure_fixate_field_nearest_fraction):
955 * gst/gststructure.h:
956 * gst/gstvalue.c: (gst_value_init_fraction_range),
957 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
958 (gst_value_collect_fraction_range),
959 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
960 (gst_value_set_fraction_range_full),
961 (gst_value_get_fraction_range_min),
962 (gst_value_get_fraction_range_max),
963 (gst_value_serialize_fraction_range),
964 (gst_value_transform_fraction_range_string),
965 (gst_value_compare_fraction_range),
966 (gst_value_deserialize_fraction_range),
967 (gst_value_intersect_fraction_fraction_range),
968 (gst_value_intersect_fraction_range_fraction_range),
969 (gst_value_subtract_fraction_fraction_range),
970 (gst_value_subtract_fraction_range_fraction),
971 (gst_value_subtract_fraction_range_fraction_range),
972 (gst_value_collect_fraction), (gst_value_fraction_multiply),
973 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
974 (gst_value_transform_string_fraction), (_gst_value_initialize):
976 Implement fraction ranges and extend GstFraction to support
977 arithmetic subtraction, as well as deserialization from integer
978 strings such as "100"
979 Add a testsuite as for int and double range set operations
981 2005-11-21 Andy Wingo <wingo@pobox.com>
985 * gst/gststructure.h: Add glib-compat.h.
987 2005-11-21 Wim Taymans <wim@fluendo.com>
989 * gst/gstbin.c: (gst_bin_change_state_func):
992 2005-11-21 Wim Taymans <wim@fluendo.com>
995 And add a nice define too.
997 2005-11-21 Wim Taymans <wim@fluendo.com>
999 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1000 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1001 (gst_segment_set_duration), (gst_segment_set_last_stop),
1002 (gst_segment_set_seek), (gst_segment_set_newsegment),
1003 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1006 Make binding friendly.
1008 2005-11-21 Andy Wingo <wingo@pobox.com>
1010 * gst/gsttagsetter.h:
1012 * gst/gststructure.h:
1014 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1017 * gst/gsterror.c (_gst_core_errors_init):
1018 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1021 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1022 (noinst_HEADERS): noinst the -private.
1024 2005-11-21 Michael Smith <msmith@fluendo.com>
1027 * gst/gstregistry.h:
1028 Remove unimplemented declarations for which we can see no sensible
1031 2005-11-21 Andy Wingo <wingo@pobox.com>
1033 * gst/gst.h: Include glib-compat.h.
1035 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1037 * gst/glib-compat.c: Include the public and the private header.
1039 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1043 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1045 * check/gst/gstevent.c (create_custom_events): Check that
1046 FLUSH_STOP is serialized.
1048 * check/elements/identity.c (event_func):
1049 * check/elements/fakesrc.c (event_func): No stream lock, the core
1052 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1053 stream lock taking, yay.
1055 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1056 ensure that core takes the stream lock.
1058 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1061 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1062 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1063 it already. For the flush start we do take it though so we get the
1064 right preroll state change messages.
1066 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1067 the stream lock here, the core does it for us.
1069 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1070 GST_STREAM_GET_LOCK.
1071 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1072 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1073 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1074 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1075 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1076 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1078 * gst/gstpad.c: Update for stream lock name change.
1080 * gst/base/gstbasesink.c: Update for preroll lock name change.
1082 2005-11-21 Wim Taymans <wim@fluendo.com>
1084 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1085 (gst_clock_get_master):
1087 * gst/gstsystemclock.c: (gst_system_clock_init):
1088 Convert Clock flags to object flags.
1089 Added methods to manage master/slave clocks.
1091 2005-11-21 Wim Taymans <wim@fluendo.com>
1093 * check/gst/gstsegment.c: (GST_START_TEST):
1094 * docs/design/part-TODO.txt:
1095 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1096 (gst_base_sink_event), (gst_base_sink_do_sync),
1097 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1098 (gst_base_sink_query), (gst_base_sink_change_state):
1099 * gst/base/gstbasesink.h:
1100 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1101 (gst_base_src_default_newsegment),
1102 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1103 (gst_base_src_get_range), (gst_base_src_loop),
1104 (gst_base_src_change_state):
1105 * gst/base/gstbasesrc.h:
1106 * gst/base/gstbasetransform.c:
1107 (gst_base_transform_prepare_output_buf),
1108 (gst_base_transform_event), (gst_base_transform_change_state):
1109 * gst/base/gstbasetransform.h:
1110 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1111 (gst_collect_pads_event):
1112 * gst/base/gstcollectpads.h:
1113 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1114 (gst_fake_src_create):
1115 * gst/elements/gstfakesrc.h:
1116 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1117 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1118 (gst_segment_set_last_stop), (gst_segment_set_seek),
1119 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1120 (gst_segment_to_running_time), (gst_segment_clip):
1122 More segment updates, replace code in plugins with segment
1125 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1127 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1128 Don't ignore sscanf results
1130 2005-11-21 Andy Wingo <wingo@pobox.com>
1132 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1135 * *.c: Ran scripts/update-macros. Oh yes.
1137 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1138 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1141 * scripts/update-macros: New script. Run it on your files to
1142 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1145 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1147 * docs/gst/Makefile.am:
1148 * docs/gst/gstreamer-docs.sgml:
1149 * docs/gst/gstreamer-sections.txt:
1150 * docs/gst/gstreamer.types:
1152 more docs fixes, add new api to the docs
1154 2005-11-21 Andy Wingo <wingo@pobox.com>
1156 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1157 state_broadcast call.
1159 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1161 2005-11-21 Julien MOUTTE <julien@moutte.net>
1163 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1164 function calls for arrays.
1166 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1168 * docs/random/ensonic/media-device-daemon.txt:
1169 wild idea, can this be done?
1170 * docs/gst/gstreamer-sections.txt:
1175 * gst/gstpluginfeature.c:
1179 doc fixes and additions
1181 2005-11-21 Andy Wingo <wingo@pobox.com>
1183 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1184 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1185 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1186 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1187 private to the basesrc implementation.
1189 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1190 behalf of event function if necessary. It should no longer be
1191 necessary to take the stream lock in pad's event functions. Fixes
1194 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1195 * docs/gst/gstreamer-sections.txt:
1196 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1197 (gst_structure_fixate_field_nearest_double),
1198 (gst_structure_fixate_field_boolean):
1199 * gst/gststructure.h:
1200 * win32/common/libgstreamer.def:
1201 * win32/gstreamer.def:
1203 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1206 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1208 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1209 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1210 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1211 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1212 (gst_fdsrc_uri_handler_init):
1213 * gst/elements/gstfdsrc.h:
1214 Port fd:// URI handler from 0.8 to fdsrc
1216 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1218 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1219 (gst_value_serialize_fourcc):
1221 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1222 consistent with our other format defines (#320324).
1224 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1226 * gst/gstvalue.c: (gst_value_is_fixed):
1227 Revert previous commit. Value lists are by definition
1228 not fixed, as they are a list of possible values.
1230 2005-11-21 Andy Wingo <wingo@pobox.com>
1232 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1233 during the stable series if we need it. Fixes #319178.
1235 * gst/gstevent.c (gst_event_new_filler): Removed.
1237 * check/gst/gstevent.c: Update comment about filler events.
1239 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1241 * gst/gstvalue.c: (gst_value_is_fixed):
1242 Should handle both value arrays and value lists.
1244 2005-11-21 Andy Wingo <wingo@pobox.com>
1246 patch by: Alessandro Dessina <alessandro nnva org>
1248 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1249 functions to access arrays. Fixes #321962.
1251 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1253 * docs/gst/gstreamer.types:
1254 gst_collectpads_get_type => gst_collect_pads_get_type.
1256 * gst/base/gstbasetransform.c:
1257 Remove unused SIGNAL_HANDOFF enum.
1259 2005-11-21 Andy Wingo <wingo@pobox.com>
1261 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1262 the event type (upstream, downstream, serialized). Renamed
1263 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1264 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1265 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1267 * gst/gstevent.c: Update for new CUSTOM event names.
1269 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1272 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1275 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1277 * docs/gst/gstreamer-sections.txt:
1278 * win32/common/libgstbase.def:
1279 * win32/libgstbase.def:
1280 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1281 (gst_collect_pads_class_init), (gst_collect_pads_init),
1282 (gst_collect_pads_finalize), (gst_collect_pads_new),
1283 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1284 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1285 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1286 (gst_collect_pads_start), (gst_collect_pads_stop),
1287 (gst_collect_pads_peek), (gst_collect_pads_pop),
1288 (gst_collect_pads_available), (gst_collect_pads_read),
1289 (gst_collect_pads_flush), (gst_collect_pads_event),
1290 (gst_collect_pads_chain):
1291 * gst/base/gstcollectpads.h:
1292 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1293 unimplemented functions as unimplemented. Add padding to
1294 GstCollectData. (#320766, #320423)
1296 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1299 Improve docs for DURATION message (usage of duration parameter)
1302 2005-11-20 Wim Taymans <wim@fluendo.com>
1304 * check/Makefile.am:
1305 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1309 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1310 (gst_segment_set_seek), (gst_segment_set_newsegment),
1311 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1314 Added segment helper structure and methods. Not fully implemented
1316 Added segment check.
1318 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1320 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1321 Add a deserialisation test for fractions
1322 * examples/metadata/read-metadata.c: (message_loop),
1323 (make_pipeline), (main):
1324 Fix up metadata reading sample.
1325 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1327 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1328 Don't try and fixate empty caps
1329 * gst/gst_private.h:
1330 Wrap in G_BEGIN_DECLS/G_END_DECLS
1331 * gst/gstvalue.c: (gst_value_collect_fraction),
1332 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1333 (gst_value_transform_string_fraction),
1334 (gst_value_compare_fraction):
1335 Add some extra guards to ensure that we don't end up
1336 with an invalid denominator of 0 in a gstfraction and
1337 that fractions always get reduced.
1339 2005-11-20 Wim Taymans <wim@fluendo.com>
1341 * docs/gst/gstreamer-sections.txt:
1352 2005-11-20 Wim Taymans <wim@fluendo.com>
1354 * docs/design/part-TODO.txt:
1356 Make a proper enum of the flag.
1358 2005-11-19 Wim Taymans <wim@fluendo.com>
1360 * docs/design/part-TODO.txt:
1361 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1362 (gst_format_to_quark), (gst_format_register):
1364 * gst/gstquery.c: (_gst_query_initialize),
1365 (gst_query_type_get_name), (gst_query_type_to_quark),
1366 (gst_query_type_register):
1368 Add type to quark and type to string conversions.
1370 2005-11-19 Andy Wingo <wingo@pobox.com>
1372 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1375 2005-11-19 Wim Taymans <wim@fluendo.com>
1377 * docs/design/part-TODO.txt:
1378 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1379 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1380 (gst_bin_handle_message_func):
1382 Make message handling overridable.
1384 2005-11-19 Andy Wingo <wingo@pobox.com>
1386 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1389 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1391 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1392 is a GstClockTime. Fixes #321710.
1394 * gst/gstclock.h (GstClock): Remove offset property. Add
1395 internal_calibration and external_calibration. Fix padding. Pad
1396 also by GstClockTime so we don't run into problems.
1398 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1399 (gst_clock_get_rate_offset): Remove.
1400 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1403 * gst/gstutils.c (g_static_rec_cond_wait)
1404 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1406 * gst/gstbin.c: Remove terrible continue_state prototype.
1408 * gst/gstelement.h (gst_element_continue_state): Make public.
1411 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1412 by continue_state. Fixes #319389.
1414 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1415 Really fixes #168438. However I don't see anywhere where the
1416 filter function is called... stupid GStreamer...
1418 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1419 don't have a dispose function, so it won't get called when the
1420 object is unreffed, but oh well!
1422 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1423 allows a destroy function to be set so user_data can be freed.
1425 (gst_index_set_filter): Call gst_index_set_filter_full.
1427 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1429 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1430 string should produce an error, given the lack of a way to
1431 represent NULL strings. Fixes #165650.
1434 * gst/gstvalue.c (gst_value_array_append_value)
1435 (gst_value_array_prepend_value, gst_value_array_get_size)
1436 (gst_value_array_get_value): New API, copied from
1437 gst_value_list_*, only operates on arrays.
1438 (gst_value_list_append_value, gst_value_list_prepend_value)
1439 (gst_value_list_concat, gst_value_list_get_size)
1440 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1442 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1443 init_list, because it works on both.
1444 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1445 (gst_value_copy_list_or_array): Renamed from copy_list.
1446 (gst_value_free_list_or_array): Renamed from free_list.
1447 (gst_value_collect_list_or_array): Renamed from collect_list.
1448 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1449 (gst_value_list_or_array_peek_pointer): Renamed from
1451 (_gst_value_array_value_table, _gst_value_list_value_table):
1452 Update value table functions.
1453 (gst_value_compare_list_or_array): Renamed from compare_list.
1455 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1459 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1460 GstTagList*. Fixes #143472.
1462 * gst/gststructure.h: Clarify what the foreach/map functions can
1463 or can't do to their arguments.
1465 2005-11-18 Wim Taymans <wim@fluendo.com>
1467 * gst/gstclock.c: (gst_clock_set_calibration),
1468 (gst_clock_get_calibration):
1470 Calibration can be set with internal time equal to current
1473 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1479 2005-11-18 Andy Wingo <wingo@pobox.com>
1482 * pkgconfig/gstreamer-net.pc.in:
1483 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1484 * pkgconfig/Makefile.am: Add net pkgconfig files.
1486 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1489 * gst/gstghostpad.c:
1495 2005-11-18 Andy Wingo <wingo@pobox.com>
1497 * gst/net/gstnetclientclock.c: Turn off debugging.
1499 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1500 times connverge somewhat. Can't make a real test.
1502 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1503 integer arithmetic. Return the minimum of the domain, which can be
1504 set as "internal" for gst_clock_set_calibration.
1505 (gst_net_client_clock_observe_times): Call _set_calibration.
1506 (gst_net_client_clock_new): Call _set_calibration instead of
1509 * check/net/gstnetclientclock.c (test_functioning): Use the right
1513 * gst/gstclock.c (gst_clock_get_calibration)
1514 (gst_clock_set_calibration): New functions, obsolete the ones I
1515 added yesterday. Doh. Precision issues mean we have to extrapolate
1516 from a point in the more recent past than 1970.
1517 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1519 (gst_clock_adjust_unlocked): Use the right calibration data.
1521 2005-11-18 Edward Hervey <edward@fluendo.com>
1523 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1524 Also reset the ->current_* values in READY->PAUSED
1526 2005-11-18 Andy Wingo <wingo@pobox.com>
1528 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1529 Whoops, check the right fd. Also add some debugging.
1530 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1531 (do_linear_regression): Add a crapload of debugging. Subtract off
1532 the minimum values from the input series to discard unneeded bits.
1533 Use only int arithmetic. There is still double arithmetic when
1534 calculating the intercept that needs fixing. Return boolean to
1535 indicate success; FALSE would mean the domain or range is too
1536 great. Still needs fixes.
1538 2005-11-18 Wim Taymans <wim@fluendo.com>
1540 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1541 For the current position in stream time, we need to subtract
1544 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1545 Release lock before calling the callback function of async
1548 2005-11-18 Andy Wingo <wingo@pobox.com>
1550 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1551 Port goes all the way to MAXUINT16.
1553 * gst/net/gstnettimeprovider.c: Make the port range the same as
1554 for the kernel: 0 assigns, otherwise ports are less than
1557 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1560 * check/net/gstnetclientclock.c (test_functioning): Add the start
1563 2005-11-18 Wim Taymans <wim@fluendo.com>
1565 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1566 (gst_bin_remove_func), (bin_bus_handler):
1568 Removing a clock provider from a bin, triggers a clock lost message
1569 so that a new clock will be selected.
1570 Adding a clock to a bin triggers a clock provider message.
1571 Make sure we reselect a clock when we received a clock lost message.
1572 Keep a reference to the element that provided the clock.
1574 2005-11-18 Andy Wingo <wingo@pobox.com>
1576 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1577 the clock initially so it produces values around the base time.
1578 (gst_net_client_clock_class_init): Typo fix.
1579 (gst_net_client_clock_thread): Add note on when the socket gets
1582 2005-11-17 Wim Taymans <wim@fluendo.com>
1584 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1585 Free remote and local time arrays.
1587 2005-11-17 Wim Taymans <wim@fluendo.com>
1589 * gst/net/gstnetclientclock.c: (do_linear_regression),
1590 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1591 Fix compilation, uninitialized vars and a forgotten continue.
1593 2005-11-17 Andy Wingo <wingo@pobox.com>
1595 * check/Makefile.am (check_PROGRAMS):
1596 * check/net/gstnetclientclock.c: Add a most minimal test for the
1597 net client clock. More to come later.
1600 * gst/net/Makefile.am: Add netclientclock.
1602 * gst/net/gstnetclientclock.h:
1603 * gst/net/gstnetclientclock.c: New files, implement an untested
1604 GstClock that takes its time from a network time provider.
1605 Implements the algorithm in network-clock.scm.
1607 * tests/network-clock.scm (*window-size*): Rename from
1609 * tests/network-clock.scm (network-time):
1610 * tests/network-clock-utils.scm (q-push): Update callers.
1612 2005-11-17 Wim Taymans <wim@fluendo.com>
1614 * gst/gstbin.c: (gst_bin_provide_clock_func),
1615 (gst_bin_sort_iterator_new):
1616 And unref the child too..
1618 2005-11-17 Wim Taymans <wim@fluendo.com>
1620 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1621 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1622 Refactor the sort iterator so it can be used while holding the
1624 Make clock selection select a clock closest to the source.
1626 2005-11-17 Michael Smith <msmith@fluendo.com>
1628 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1629 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1631 Anonymous structs are a gcc (and some other compilers) extension, so
1632 don't use them. Since this is only for ABI-compatibility, and our
1633 API/ABI freeze is over in a few days, this whole thing will only
1634 last a few days, so don't bother trying to think up a meaningful
1635 name for the struct.
1637 2005-11-17 Andy Wingo <wingo@pobox.com>
1639 * gst/gstclock.h (GstClock): Add rate and offset properties,
1640 preserving ABI stability. Add rate/offset accessors. Will file bug
1641 for the freeze break.
1643 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1644 and offset, trying to keep precision and avoiding
1646 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1647 functions. Make gst_clock_set_time_adjust obsolete.
1648 (gst_clock_set_time_adjust): Note that this function is obsolete.
1651 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1652 greppable by using GST_PADDING-1+1.
1654 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1656 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1658 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1659 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1661 * gst/gstpadtemplate.h:
1662 * gst/gstpluginfeature.h:
1663 Don't use c++ style comments in headers (#321638).
1665 2005-11-16 Andy Wingo <wingo@pobox.com>
1667 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1670 * check/net/gstnettimeprovider.c: Check to see that the time
1671 provider actually provides times. Works, yo!
1673 2005-11-16 Wim Taymans <wim@fluendo.com>
1675 * check/Makefile.am:
1678 * check/elements/fakesrc.c: (GST_START_TEST):
1679 Set element to NULL before disposing it.
1681 2005-11-16 Andy Wingo <wingo@pobox.com>
1683 * gst/net/Makefile.am:
1685 * gst/net/gstnettimeprovider.c:
1686 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1687 provider, include it from gstnet.h, and add it to the build.
1689 * gst/net/gstnettimepacket.h:
1690 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1691 sending and receiving.
1693 2005-11-16 Wim Taymans <wim@fluendo.com>
1695 * check/Makefile.am:
1696 Enable valgrind check.
1698 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1699 (gst_fake_src_alloc_buffer):
1702 2005-11-16 Wim Taymans <wim@fluendo.com>
1704 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1705 Call parent finalize too.
1707 2005-11-16 Wim Taymans <wim@fluendo.com>
1709 * check/Makefile.am:
1710 Enable valgrind check that should work fine now.
1712 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1713 * gst/gstqueue.c: (gst_queue_init):
1714 Fix memleaks in pad allocation.
1716 2005-11-16 Andy Wingo <wingo@pobox.com>
1718 * gst/net/Makefile.am:
1719 * gst/net/gstnet.h: New part of core to hold network elements and
1720 objects. Put in core because it exposes API that applications want
1721 to use. The library is named libgstnet-tempname right now because
1722 of the existing libgstnet in gst-plugins-base. Solution is
1723 probably to rename the one in plugins-base; will file a bug for
1726 * gst/net/gstnettimeprovider.c:
1727 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1728 get_time call over the network.
1731 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1733 * check/Makefile.am:
1734 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1735 get additions shortly.
1737 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1739 * gst/gstpad.c: (gst_pad_new_from_static_template):
1741 add gst_pad_new_from_static_template functions
1742 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1743 (gst_check_setup_sink_pad):
1744 * gst/elements/gsttee.c: (gst_tee_init):
1747 2005-11-16 Wim Taymans <wim@fluendo.com>
1749 * gst/gstpad.c: (gst_pad_pause_task):
1750 Removed warning, it's not really an error either.
1752 2005-11-16 Wim Taymans <wim@fluendo.com>
1754 * gst/base/gstbasetransform.c:
1755 (gst_base_transform_prepare_output_buf),
1756 (gst_base_transform_event):
1757 Check if the caps are NULL, this can happen if the element
1758 is shutting down and the pad caps are set to NULL.
1760 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1762 * gst/elements/gsttee.c: (gst_tee_init):
1763 fix pad template leak in tee
1765 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1767 * gst/glib-compat.c: (g_value_dup_gst_object):
1768 * gst/glib-compat.h:
1769 * gst/gstpad.c: (gst_pad_set_property):
1770 use gst_object_ref when setting the pad template; this will
1771 trigger the pad template leaks on GLib 2.6 and the slaves
1773 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1775 * gst/glib-compat.c: (gst_flags_get_first_value):
1776 * gst/glib-compat.h:
1777 * gst/gstregistryxml.c:
1778 remove functions copied from GLib 2.6
1780 2005-11-16 Michael Smith <msmith@fluendo.com>
1783 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1784 do, but only breaks with newer valgrind versions. We're not a
1785 valgrind tool, we have no link-time dependencies on libcoregrind.
1787 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1789 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1794 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1796 * gst/base/gstbasesrc.c: (gst_base_src_init):
1797 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1798 * gst/gstqueue.c: (gst_queue_init):
1799 * gst/gstregistryxml.c: (load_feature):
1800 Revert all these unrefs, they don't even pass make check !
1802 2005-11-15 Johan Dahlin <johan@gnome.org>
1804 * gst/base/gstbasesrc.c: (gst_base_src_init):
1805 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1806 * gst/gstqueue.c: (gst_queue_init):
1807 Free pad templates, fixes a couple of leaks.
1809 2005-11-15 Daniel Fischer <dan at f3c dot com>
1811 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1813 * gst/gstpad.c: (gst_pad_get_property):
1814 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1815 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1818 2005-11-15 Wim Taymans <wim@fluendo.com>
1823 2005-11-15 Andy Wingo <wingo@pobox.com>
1825 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1827 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1828 using GST_CLOCK_TIME_NONE to disable base time management.
1829 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1830 time if it was NONE before.
1831 (gst_pipeline_change_state): Only munge the base time if
1832 stream_time != GST_CLOCK_TIME_NONE.
1834 * check/gst/gstpipeline.c (test_base_time): Punt around the
1835 problem of the probe not being called, because that's not the
1836 issue I'm looking at. Add a check that setting stream_time to NONE
1837 disables base time management.
1839 2005-11-15 Wim Taymans <wim@fluendo.com>
1841 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1842 segment_stop == -1 at startup.
1844 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1845 (gst_base_transform_change_state):
1846 Init segment values at start.
1848 2005-11-15 Wim Taymans <wim@fluendo.com>
1850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1851 0 segment values are 0 in any format.
1853 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1854 * gst/base/gstbasetransform.h:
1855 Parse newsegment correctly in basetransform
1857 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1858 Sync to clock using updated segment values.
1860 2005-11-15 Andy Wingo <wingo@pobox.com>
1862 * check/gst/gstpipeline.c (test_base_time): Add check that the
1863 base time and stream time are reset correctly.
1865 2005-11-15 Wim Taymans <wim@fluendo.com>
1867 * docs/design/part-TODO.txt:
1868 Some more TODO items.
1870 2005-11-15 Andy Wingo <wingo@pobox.com>
1872 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1873 error if the user selected "no clock" as the clocking method.
1875 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1876 timestamps with live capture.
1878 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1879 is 0 but we are a live source, timestamp the buffers using the
1882 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1884 * docs/gst/gstreamer-sections.txt:
1886 * gst/gstghostpad.c:
1891 2005-11-14 Wim Taymans <wim@fluendo.com>
1894 add suppressions from Wim's Debian machine
1896 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1899 add suppressions from Andy's AMD64 Ubuntu machine
1901 2005-11-14 Andy Wingo <wingo@pobox.com>
1903 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1904 STATE_LOCK not necessary. Fixes #311489.
1906 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1909 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1910 this function is not implemented.
1912 2005-11-14 Julien MOUTTE <julien@moutte.net>
1914 * gst/base/gstbasetransform.c:
1915 (gst_base_transform_prepare_output_buf):
1916 Ref the source pad caps while we need them.
1919 2005-11-11 Wim Taymans <wim@fluendo.com>
1921 * docs/gst/gstreamer-sections.txt:
1922 Added some docs for GstCollectData.
1924 * gst/base/gstadapter.c:
1925 Some small code example fix.
1927 * gst/base/gstcollectpads.c:
1928 * gst/base/gstcollectpads.h:
1931 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1933 * configure.ac: back to HEAD
1935 === release 0.9.5 ===
1937 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1940 releasing 0.9.5, "Bike Lunch Day"
1942 2005-11-11 Wim Taymans <wim@fluendo.com>
1944 * gst/gstbuffer.c: (_gst_buffer_copy):
1947 * gst/gstcaps.c: (gst_caps_is_equal):
1949 Make _is_equal fast in the trivial cases.
1951 * gst/gstminiobject.c:
1952 * gst/gstminiobject.h:
1953 More docs. Spifify .h file.
1958 2005-11-11 Wim Taymans <wim@fluendo.com>
1960 * gst/base/gstbasetransform.c:
1961 (gst_base_transform_prepare_output_buf),
1962 (gst_base_transform_handle_buffer):
1964 If we're processing a buffer and need to allocate an output
1965 buffer, we cannot accept a format change. If we did get a
1966 format change, we have to alloc a buffer ourselves of the
1969 2005-11-11 Wim Taymans <wim@fluendo.com>
1971 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1972 While checking the flag for reentrancy in the gstcaps function
1973 is nice to detect recursive invocations, it also makes it
1974 impossible to call getcaps from multiple threads, which must be
1975 possible. So, checking for recursive calls has to go.
1977 2005-11-11 Michael Smith <msmith@fluendo.com>
1979 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1980 Don't sync on buffers that fall partially outside our current
1981 segment. Prevents an assertion failure/abort playing some files.
1983 2005-11-10 Andy Wingo <wingo@pobox.com>
1985 * check/gst/gstbin.c (test_message_state_changed_children): Style
1988 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1989 gst_bus_poll with the signal watch. Ensures that poll and a signal
1990 watch see the same messages.
1992 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1993 a poll and a watch at the same time get the same messages.
1995 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1997 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1998 * gst/gstcaps.c: (gst_caps_intersect):
1999 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2000 and it's not needed.
2002 2005-11-10 Wim Taymans <wim@fluendo.com>
2004 * docs/design/part-TODO.txt:
2007 2005-11-10 Wim Taymans <wim@fluendo.com>
2009 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2010 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2011 (gst_base_src_do_sync), (gst_base_src_get_range):
2012 Implement clock sync in base class.
2014 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2016 patch by: Tim-Philipp Müller <tim at centricular dot net>
2018 * gst/gststructure.c: (gst_structure_parse_field),
2019 (gst_structure_from_string):
2020 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2021 so that gst_parse_launch() can deal with spaces in filtered link
2022 caps (fixes #164479)
2023 * check/gst/capslist.h:
2024 * check/gst/gststructure.c: (GST_START_TEST):
2025 add unit tests for this change
2027 2005-11-10 Wim Taymans <wim@fluendo.com>
2029 * docs/gst/gstreamer-sections.txt:
2032 Fix docs, move some STATE macros to private.
2034 2005-11-10 Wim Taymans <wim@fluendo.com>
2036 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2037 Added check for bug #317341
2041 Some more spiffifying.
2043 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2044 Call peer linkfunction if we are a source pad. Totally fixes
2048 Update docs, source pads should call the peer linkfunction
2049 so they can atomically perform the pad link.
2051 2005-11-09 Wim Taymans <wim@fluendo.com>
2055 Uber-spiffy-spiffify some more.
2057 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2059 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2060 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2061 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2062 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2063 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2064 * gst/gstpad.c: (gst_pad_init):
2065 Use GST_DEBUG_FUNCPTR() more extensively.
2067 2005-11-09 Wim Taymans <wim@fluendo.com>
2069 * gst/gstobject.c: (gst_object_class_init):
2071 Documentation fixes.
2073 2005-11-09 Edward Hervey <edward@fluendo.com>
2075 * gst/gsttypefindfactory.c:
2078 2005-11-09 Edward Hervey <edward@fluendo.com>
2080 * gst/base/gsttypefindhelper.c:
2081 * gst/gsttypefind.c:
2082 * gst/gsttypefind.h:
2085 2005-11-09 Wim Taymans <wim@fluendo.com>
2087 * gst/gstiterator.c:
2094 2005-11-09 Wim Taymans <wim@fluendo.com>
2100 2005-11-09 Wim Taymans <wim@fluendo.com>
2102 * docs/gst/gstreamer-sections.txt:
2103 Moved the message async delivery private lock and cond
2104 to the private section.
2110 2005-11-09 Edward Hervey <edward@fluendo.com>
2112 * docs/gst/gstreamer-sections.txt:
2115 Document GstURIHandler
2117 2005-11-09 Wim Taymans <wim@fluendo.com>
2119 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2120 (gst_iterator_find_custom):
2121 * gst/gstiterator.h:
2124 2005-11-09 Wim Taymans <wim@fluendo.com>
2127 Document another field.
2129 * gst/gststructure.c:
2130 * gst/gststructure.h:
2133 2005-11-09 Wim Taymans <wim@fluendo.com>
2138 2005-11-09 Wim Taymans <wim@fluendo.com>
2140 * docs/gst/gstreamer-sections.txt:
2141 Added some new macros.
2148 2005-11-09 Wim Taymans <wim@fluendo.com>
2150 * docs/design/part-TODO.txt:
2151 Some more items for the TODO
2157 2005-11-09 Andy Wingo <wingo@pobox.com>
2159 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2160 to work on something else now tho...
2162 * gst/base/gstadapter.c: More adapter docs.
2164 * gst/elements/gstfilesink.c (gst_file_sink_start)
2165 (gst_file_sink_stop): New functions, replace the state change
2167 (gst_file_sink_class_init): Hook up the start and stop functions.
2168 (gst_file_sink_base_init): Don't set the state change handler any
2169 more. It was a bit ugly too, being set from here...
2170 (gst_file_sink_get_property, gst_file_sink_set_property):
2172 (gst_file_sink_set_location): More robust check that doesn't call
2175 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2177 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2178 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2180 2005-11-08 Wim Taymans <wim@fluendo.com>
2182 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2183 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2184 (gst_base_sink_chain), (gst_base_sink_change_state):
2185 * gst/base/gstbasesink.h:
2186 * gst/base/gstbasesrc.h:
2189 Avoid excessive typechecking in macros.
2191 * gst/gstminiobject.c: (gst_mini_object_get_type),
2192 (gst_mini_object_init), (gst_mini_object_new),
2193 (gst_mini_object_free):
2194 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2195 (gst_object_finalize):
2196 Remove cruft code, optimize alloc_trace.
2198 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2200 * docs/faq/gst-uninstalled:
2201 fix up PS1 for systems that try to reset it
2203 2005-11-07 Wim Taymans <wim@fluendo.com>
2205 * gst/base/gstbasesrc.c: (gst_base_src_init),
2206 (gst_base_src_get_range):
2207 Set the segment_end to -1 initially. Fixed typefind.
2209 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2211 * gst/base/gstadapter.c:
2212 Debug category should be 'adapter', not 'GstAdapter'.
2214 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2215 (gst_collectpads_class_init), (gst_collectpads_init),
2216 (gst_collectpads_peek), (gst_collectpads_pop),
2217 (gst_collectpads_event), (gst_collectpads_chain):
2218 Add debug category and some debugging output. Use boilerplate
2219 macros. Remove some extraneous words from docs.
2221 2005-11-05 Andy Wingo <wingo@pobox.com>
2223 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2226 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2228 * docs/gst/gstreamer-sections.txt:
2231 * gst/gstminiobject.h:
2236 2005-11-04 Wim Taymans <wim@fluendo.com>
2238 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2239 Small update to stop at the configured segment_end
2242 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2244 * gst/gstregistry.c:
2245 * gst/gstregistry.h:
2248 2005-11-04 Edward Hervey <edward@fluendo.com>
2250 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2251 Check if we are doing a segment seek and have arrived at the
2252 end of that segment.
2254 2005-11-04 Wim Taymans <wim@fluendo.com>
2256 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2257 Don't leak a mutex unlock in case of an error.
2262 2005-11-04 Wim Taymans <wim@fluendo.com>
2264 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2266 Get the context to wake up only once.
2268 2005-11-03 Wim Taymans <wim@fluendo.com>
2270 * check/states/sinks.c: (GST_START_TEST):
2271 Uncomment fixed check.
2273 * docs/design/part-TODO.txt:
2276 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2277 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2278 (gst_base_sink_get_position):
2279 If we are going to PLAYING, post the right pending state
2280 when we post the intermediate paused message.
2282 * gst/gstelement.c: (gst_element_continue_state),
2283 (gst_element_set_state_func), (gst_element_change_state):
2284 Don't post state changes that were between the same state
2287 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2289 * docs/gst/gstreamer-sections.txt:
2292 * gst/gstminiobject.h:
2295 more docs and doc style fixes
2297 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2299 * docs/gst/gstreamer-sections.txt:
2301 * gst/gstminiobject.c:
2304 2005-11-03 Andy Wingo <wingo@pobox.com>
2306 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2307 state-changed messages actually have the right order and the right
2310 2005-11-03 Wim Taymans <wim@fluendo.com>
2312 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2313 Added some more checks. Specifically the case where NO_PREROLL
2314 elements are in the pipeline.
2316 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2317 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2318 (gst_base_sink_get_position):
2319 Post READY->PAUSED state change messages too.
2320 Fix bug where VOID was posted as pending state...
2322 * gst/gstbin.c: (gst_bin_recalc_state):
2323 use _element_continue_state() to continue the state change.
2325 * gst/gstelement.c: (gst_element_continue_state),
2326 (gst_element_commit_state), (gst_element_set_state_func),
2327 (gst_element_change_state), (gst_element_change_state_func):
2328 Lots of state change cleanups, assign the STATE_RETURN in
2329 a new continue_state() function that also propagates the
2330 last return value from a state change to the app.
2331 Update some debug statements with proper category.
2333 2005-11-03 Wim Taymans <wim@fluendo.com>
2335 * docs/design/part-events.txt:
2336 * docs/design/part-gstpipeline.txt:
2337 * docs/design/part-messages.txt:
2338 * docs/design/part-overview.txt:
2339 * docs/design/part-seeking.txt:
2340 * docs/design/part-states.txt:
2341 * docs/design/part-trickmodes.txt:
2342 * docs/manual/advanced-position.xml:
2346 People think !! is ugly, this looks better.
2348 * gst/gstpad.c: (gst_pad_set_blocked_async):
2349 Remove !! since it's fixed elsewhere now.
2351 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2353 * gst/gstminiobject.h:
2355 Add !! to _FLAG_IS_SET macros to make the result boolean.
2357 2005-11-03 Edward Hervey <edward@fluendo.com>
2359 * gst/gstpad.c: (gst_pad_set_blocked_async):
2360 comparing a flag and a gboolean rarely returns coherent results...
2361 Added two characters (!!) to make that work correctly.
2363 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2365 * gst/gstbus.c: (gst_bus_class_init):
2368 * gst/gstqueue.c: (gst_queue_loop):
2369 Don't assume a miniobject that isn't a buffer is an
2370 event (it could be that there is a refcounting
2371 problem somewhere and the pointer is stale and
2372 refers to an already destroyed miniobject).
2374 2005-11-03 Julien MOUTTE <julien@moutte.net>
2376 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2378 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2380 * docs/manual/advanced-position.xml:
2381 Update seek example and explanations to current 0.9 API.
2383 * gst/elements/gsttypefindelement.c:
2384 (gst_type_find_element_activate):
2385 Remove FIXME comment now that the found caps
2388 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2390 * gst/gstregistryxml.c: (load_feature):
2391 Add another GST_STR_NULL instance
2393 2005-11-02 Edward Hervey <edward@fluendo.com>
2395 * gst/gstpad.c: (handle_pad_block):
2396 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2398 2005-11-02 Wim Taymans <wim@fluendo.com>
2403 * gst/gstelement.c: (gst_element_commit_state):
2404 Remove unused value.
2406 * gst/gstiterator.c:
2407 Mention that the returned element is reffed in the docs.
2409 2005-11-02 Wim Taymans <wim@fluendo.com>
2411 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2412 (gst_pad_push), (gst_pad_push_event):
2413 Unlock blocked pads when they are flushed.
2415 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2418 * docs/gst/gstreamer-sections.txt:
2421 * gst/gstregistry.c: (gst_registry_scan_path_level):
2422 fix for a nasty little missed situation where an installed plug-in
2423 which was in the cache did not get overridden by an uninstalled one
2424 which was earlier in the plugin path because the newly created plugin
2425 for the uninstalled one (not in the registry) didn't get its
2426 ->registered set to TRUE
2428 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2430 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2431 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2432 (gst_collectpads_is_active), (gst_collectpads_collect),
2433 (gst_collectpads_collect_range), (gst_collectpads_start),
2434 (gst_collectpads_stop), (gst_collectpads_peek),
2435 (gst_collectpads_pop), (gst_collectpads_available),
2436 (gst_collectpads_read), (gst_collectpads_flush):
2437 Guard public API with assertions.
2440 Fix docs for gst_pad_set_link_function().
2442 2005-11-02 Johan Dahlin <johan@gnome.org>
2444 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2445 Unref found_caps after we used it.
2447 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2449 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2450 Don't try to ref NULL.
2452 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2454 * win32/common/config.h.in:
2455 provide a GST_FUNCTION that just gives a string for now
2457 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2459 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2460 (gst_object_flags_get_type), (register_gst_bin_flags),
2461 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2462 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2463 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2464 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2465 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2466 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2467 (gst_clock_flags_get_type), (register_gst_state),
2468 (gst_state_get_type), (register_gst_state_change_return),
2469 (gst_state_change_return_get_type), (register_gst_state_change),
2470 (gst_state_change_get_type), (register_gst_element_flags),
2471 (gst_element_flags_get_type), (register_gst_core_error),
2472 (gst_core_error_get_type), (register_gst_library_error),
2473 (gst_library_error_get_type), (register_gst_resource_error),
2474 (gst_resource_error_get_type), (register_gst_stream_error),
2475 (gst_stream_error_get_type), (register_gst_event_type),
2476 (gst_event_type_get_type), (register_gst_seek_type),
2477 (gst_seek_type_get_type), (register_gst_seek_flags),
2478 (gst_seek_flags_get_type), (register_gst_format),
2479 (gst_format_get_type), (register_gst_index_certainty),
2480 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2481 (gst_index_entry_type_get_type),
2482 (register_gst_index_lookup_method),
2483 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2484 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2485 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2486 (gst_index_flags_get_type), (register_gst_debug_level),
2487 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2488 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2489 (gst_iterator_result_get_type), (register_gst_iterator_item),
2490 (gst_iterator_item_get_type), (register_gst_message_type),
2491 (gst_message_type_get_type), (register_gst_mini_object_flags),
2492 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2493 (gst_pad_link_return_get_type), (register_gst_flow_return),
2494 (gst_flow_return_get_type), (register_gst_activate_mode),
2495 (gst_activate_mode_get_type), (register_gst_pad_direction),
2496 (gst_pad_direction_get_type), (register_gst_pad_flags),
2497 (gst_pad_flags_get_type), (register_gst_pad_presence),
2498 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2499 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2500 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2501 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2502 (gst_plugin_flags_get_type), (register_gst_rank),
2503 (gst_rank_get_type), (register_gst_query_type),
2504 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2505 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2506 (gst_tag_flag_get_type), (register_gst_task_state),
2507 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2508 (gst_alloc_trace_flags_get_type),
2509 (register_gst_type_find_probability),
2510 (gst_type_find_probability_get_type), (register_gst_uri_type),
2511 (gst_uri_type_get_type), (register_gst_parse_error),
2512 (gst_parse_error_get_type):
2513 * win32/common/gstversion.h:
2516 2005-11-01 Luca Ognibene <luogni@tin.it>
2519 fix docs. popt is dead, long live GOption.
2521 2005-10-31 Wim Taymans <wim@fluendo.com>
2526 2005-10-31 Andy Wingo <wingo@pobox.com>
2530 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2532 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2533 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2534 the possibility of deadlocks here if code calling notify() or
2535 set() has a lock that can be taken in another notify handler (ABBA
2536 with class lock and e.g. python GIL state lock).
2538 2005-10-28 Julien MOUTTE <julien@moutte.net>
2540 * gst/gstbus.c: Doc updates.
2542 2005-10-28 Wim Taymans <wim@fluendo.com>
2544 * docs/design/part-TODO.txt:
2545 * gst/gstiterator.c:
2546 * gst/gstsystemclock.c:
2547 * gst/gstsystemclock.h:
2550 2005-10-28 Edward Hervey <edward@fluendo.com>
2552 * docs/gst/gstreamer-docs.sgml:
2553 * docs/gst/gstreamer-sections.txt:
2554 the GstURIType documentation page is private, it only defines GstURIType
2555 which should be defined in the GstURIHandler page
2557 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2559 * gst/gstbin.c: (gst_bin_class_init):
2562 Documentation updates.
2564 2005-10-28 Wim Taymans <wim@fluendo.com>
2566 * docs/gst/gstreamer-sections.txt:
2569 Documented the clocks.
2571 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2573 * docs/gst/gstreamer-sections.txt:
2574 move some macros to private sections
2575 * gst/gstminiobject.c:
2576 * gst/gstminiobject.h:
2577 add descriptions provided by ds and some more
2579 mark macro as to be removed
2581 2005-10-28 Wim Taymans <wim@fluendo.com>
2583 * docs/design/part-TODO.txt:
2584 Add an item to TODO.
2586 * gst/gstiterator.c: (gst_iterator_fold),
2587 (gst_iterator_find_custom):
2588 * gst/gstiterator.h:
2591 2005-10-28 Wim Taymans <wim@fluendo.com>
2593 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2594 (gst_base_transform_init):
2597 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2598 An EOS event marks the queue as completely filled.
2600 2005-10-27 Wim Taymans <wim@fluendo.com>
2602 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2603 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2604 Some more debugging.
2606 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2607 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2608 (gst_base_transform_event), (gst_base_transform_getrange),
2609 (gst_base_transform_chain):
2610 * gst/base/gstbasetransform.h:
2612 Protect transform and concurrent buffer alloc with a new lock.
2613 Try not to break ABI/API.
2615 2005-10-27 Wim Taymans <wim@fluendo.com>
2617 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2618 (gst_base_src_init), (gst_base_src_query),
2619 (gst_base_src_default_newsegment),
2620 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2621 (gst_base_src_send_event), (gst_base_src_event_handler),
2622 (gst_base_src_pad_get_range), (gst_base_src_loop),
2623 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2624 (gst_base_src_start), (gst_base_src_deactivate),
2625 (gst_base_src_activate_push), (gst_base_src_change_state):
2626 Move some stuff around and cleanup things.
2628 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2630 * gst/base/gstbasesrc.c: (gst_base_src_query):
2631 Add missing break statements.
2633 2005-10-27 Wim Taymans <wim@fluendo.com>
2635 * check/gst/gstbin.c: (GST_START_TEST):
2636 An extra refcount is taken in basesrc.
2638 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2639 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2640 (gst_base_src_loop):
2641 Small cleanups, check for flushing after being unlocked from the
2642 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2643 Don't send out EOS when going to READY.
2645 2005-10-27 Wim Taymans <wim@fluendo.com>
2647 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2648 (gst_base_sink_get_position):
2651 * gst/gstbin.c: (message_check), (bin_replace_message),
2652 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2653 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2654 (bin_query_duration_init), (bin_query_duration_fold),
2655 (bin_query_duration_done), (bin_query_generic_fold),
2657 * tools/gst-launch.c: (main):
2660 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2662 * examples/controller/audio-example.c: (main):
2663 * examples/queue/queue.c: (event_loop):
2664 * gst/base/gstbasetransform.h:
2665 * gst/gstelement.c: (gst_element_send_event):
2667 * gst/gstpad.c: (gst_pad_send_event):
2670 changing log priority in error situations
2672 2005-10-25 Wim Taymans <wim@fluendo.com>
2674 * gst/gstbin.c: (message_check), (bin_replace_message),
2675 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2676 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2677 (bin_query_duration_init), (bin_query_duration_fold),
2678 (bin_query_duration_done), (bin_query_generic_fold),
2680 Some doc and debug updates.
2681 Cache previously requested query DURATION for speed. invalidate
2682 cached duration if element posts a DURATION message.
2684 2005-10-25 Wim Taymans <wim@fluendo.com>
2686 * docs/design/part-TODO.txt:
2689 * gst/gstbin.c: (message_check), (bin_replace_message),
2690 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2691 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2692 (bin_query_duration_init), (bin_query_duration_fold),
2693 (bin_query_duration_done), (bin_query_generic_fold),
2695 Handle SEGMENT_START/DONE messages correctly.
2696 More evolved query algorithm that handles duration queries
2699 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2700 (gst_element_get_state_func), (gst_element_abort_state),
2701 (gst_element_commit_state), (gst_element_lost_state):
2702 Some more debugging.
2707 2005-10-25 Wim Taymans <wim@fluendo.com>
2709 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2710 Don't use invalid stream_time.
2712 * gst/gstevent.c: (gst_event_new_newsegment):
2713 stream_time in newsegment cannot be undefined.
2715 2005-10-24 Wim Taymans <wim@fluendo.com>
2720 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2722 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2724 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2726 * docs/libs/tmpl/gstdparam.sgml:
2727 * docs/libs/tmpl/gstdplinint.sgml:
2728 * docs/libs/tmpl/gstdpman.sgml:
2729 * docs/libs/tmpl/gstdpsmooth.sgml:
2730 * docs/libs/tmpl/gstunitconvert.sgml:
2733 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2738 === release 0.9.4 ===
2740 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2743 releasing 0.9.4, "Tyrannosaurus Rex"
2745 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2747 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2748 (gst_file_sink_get_current_offset):
2749 Use fseeko() and ftello() if available. When falling back on
2750 lseek() to get the current offset, fflush() first to make sure
2751 everything is up-to-date and we get the right offset.
2753 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2755 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2756 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2757 * gst/gsterror.c: (_gst_stream_errors_init):
2759 * gst/gstqueue.c: (gst_queue_loop):
2761 remove prematurely added error category and clean up the instances
2763 2005-10-21 Wim Taymans <wim@fluendo.com>
2765 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2766 (gst_base_sink_get_position), (gst_base_sink_query),
2767 (gst_base_sink_change_state):
2768 Simply set the right flag when going to playing, that's all
2769 we need to do instead of calling a function inside the object
2770 lock (that could take the lock as well and deadlock)
2772 2005-10-21 Wim Taymans <wim@fluendo.com>
2774 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2775 (gst_base_src_loop):
2776 Don't warn, the peer element knows what to do best when
2777 the seek failed, it might try something else.
2779 2005-10-21 Wim Taymans <wim@fluendo.com>
2781 * gst/base/gstbasesrc.c: (gst_base_src_init),
2782 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2785 2005-10-21 Wim Taymans <wim@fluendo.com>
2787 * docs/design/part-segments.txt:
2790 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2791 Correctly set caps, even on the subbufer.
2793 2005-10-21 Wim Taymans <wim@fluendo.com>
2795 * docs/gst/gstreamer-docs.sgml:
2796 * docs/gst/gstreamer-sections.txt:
2803 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2807 And 2% more doc coverage.
2809 2005-10-21 Andy Wingo <wingo@pobox.com>
2811 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2814 2005-10-20 Wim Taymans <wim@fluendo.com>
2816 * gst/gsterror.c: (gst_error_get_message):
2819 * gst/gststructure.c:
2824 2005-10-20 Wim Taymans <wim@fluendo.com>
2829 Another 1% more coverage.
2831 2005-10-20 Wim Taymans <wim@fluendo.com>
2833 * docs/gst/gstreamer-sections.txt:
2834 * gst/gstelement.c: (gst_element_get_state_func),
2835 (gst_element_abort_state), (gst_element_commit_state),
2836 (gst_element_lost_state):
2838 * gst/gstquery.c: (gst_query_set_position),
2839 (gst_query_parse_position), (gst_query_set_duration),
2840 (gst_query_parse_duration), (gst_query_new_convert):
2842 Yay! 1% more docs coverage.
2844 2005-10-20 Wim Taymans <wim@fluendo.com>
2847 * gst/gstquery.c: (gst_query_set_position),
2848 (gst_query_parse_position), (gst_query_set_duration),
2849 (gst_query_parse_duration), (gst_query_new_convert):
2851 * gst/gstutils.c: (gst_element_query_convert):
2853 Docs and consistency fixes.
2855 2005-10-20 Wim Taymans <wim@fluendo.com>
2861 2005-10-20 Wim Taymans <wim@fluendo.com>
2863 * gst/gstbin.c: (message_check), (bin_replace_message),
2864 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2865 (update_degree), (gst_bin_sort_iterator_next),
2866 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2867 Reworked the message handling a bit, cache the messages instead of
2868 only the senders. alows us to do more in the future.
2870 2005-10-20 Wim Taymans <wim@fluendo.com>
2872 * docs/design/part-TODO.txt:
2875 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2876 (gst_base_sink_query):
2877 Don't use clock time to report position when in EOS.
2879 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2881 * tools/gst-inspect.c: (print_interfaces),
2882 (print_element_properties_info), (print_element_info):
2883 Fix interface output with gst-inspect -a; don't print
2884 newlines after double/float properties.
2886 2005-10-20 Wim Taymans <wim@fluendo.com>
2888 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2889 (gst_base_sink_query):
2890 Speed up current position calculation.
2892 * gst/base/gstbasesrc.c: (gst_base_src_query),
2893 (gst_base_src_default_newsegment):
2894 Correctly set stream position in newsegment.
2896 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2897 (update_degree), (gst_bin_sort_iterator_next),
2898 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2899 * gst/gstmessage.c: (gst_message_new_custom):
2900 Clean up debugging info
2902 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2903 (gst_queue_loop), (gst_queue_handle_src_query):
2906 2005-10-19 Wim Taymans <wim@fluendo.com>
2908 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2909 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2910 Fix query handling again.
2912 2005-10-19 Wim Taymans <wim@fluendo.com>
2914 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2915 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2916 * gst/base/gstbasesrc.c: (gst_base_src_query):
2917 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2918 * gst/elements/gsttypefindelement.c:
2919 (gst_type_find_handle_src_query), (find_element_get_length),
2920 (gst_type_find_element_activate):
2923 * gst/gstquery.c: (gst_query_new_position),
2924 (gst_query_set_position), (gst_query_parse_position),
2925 (gst_query_new_duration), (gst_query_set_duration),
2926 (gst_query_parse_duration), (gst_query_set_segment),
2927 (gst_query_parse_segment):
2929 Bundling query position/duration is not a good idea since duration
2930 does not change much and we don't want to recalculate it for every
2931 position query, so they are separated again..
2932 Base value in segment query is not needed.
2934 * gst/gstqueue.c: (gst_queue_handle_src_query):
2935 * gst/gstutils.c: (gst_element_query_position),
2936 (gst_element_query_duration), (gst_pad_query_position),
2937 (gst_pad_query_duration):
2939 Updates for query API change.
2940 Added some docs here and there.
2942 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2944 * check/gst/gstbin.c: (GST_START_TEST):
2945 * check/gst/gstghostpad.c: (GST_START_TEST):
2946 * check/pipelines/cleanup.c: (GST_START_TEST):
2947 wait on thread to die so we can check refcount correctly
2949 2005-10-18 Wim Taymans <wim@fluendo.com>
2951 * check/pipelines/stress.c: (GST_START_TEST):
2952 Make check a little more time consuming.
2954 2005-10-18 Wim Taymans <wim@fluendo.com>
2956 * check/Makefile.am:
2957 * check/pipelines/stress.c: (GST_START_TEST),
2958 (simple_launch_lines_suite), (main):
2959 Small state change torture test.
2961 * docs/design/part-states.txt:
2962 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2963 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2964 (gst_base_sink_change_state):
2965 Never take state lock from streaming thread, clean up ugly
2966 hacks. Unfortunatly core does not yet support nice ways to
2969 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2971 Start state recalc if a STATE_DIRTY message is posted, but only
2972 on the toplevel bin.
2974 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2975 (gst_element_get_state_func), (gst_element_abort_state),
2976 (gst_element_commit_state), (gst_element_lost_state),
2977 (gst_element_set_state_func), (gst_element_change_state):
2979 State variables are now protected with the LOCK, the state
2980 lock is only used to serialize _set_state().
2982 2005-10-18 Wim Taymans <wim@fluendo.com>
2984 * check/gst/gstbin.c: (GST_START_TEST):
2985 * check/gst/gstmessage.c: (GST_START_TEST):
2986 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2987 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2989 * gst/gstelement.c: (gst_element_abort_state),
2990 (gst_element_commit_state), (gst_element_lost_state):
2991 * gst/gstmessage.c: (gst_message_new_state_changed),
2992 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2993 (gst_message_new_segment_done), (gst_message_new_duration),
2994 (gst_message_parse_state_changed),
2995 (gst_message_parse_segment_start),
2996 (gst_message_parse_segment_done), (gst_message_parse_duration):
2998 * tools/gst-launch.c: (event_loop):
2999 Seriously, this is better than a previous commit as we only need
3000 to notify the fact that an element changed state in a streaming
3001 thread, marking the state of the parents dirty, hence the
3002 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3005 2005-10-18 Wim Taymans <wim@fluendo.com>
3007 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3008 (gst_bin_recalc_func):
3009 * gst/gstelement.c: (gst_element_set_clock),
3010 (gst_element_abort_state), (gst_element_lost_state):
3011 Cleanups, prepare for state change fixes.
3013 2005-10-18 Wim Taymans <wim@fluendo.com>
3016 * gst/gstelement.c: (gst_element_class_init),
3017 (gst_element_set_state), (gst_element_set_state_func):
3019 Pending ABI changes.
3020 GThreadPool in GstBinClass to monitor async state changes.
3021 state_cookie in GstElement to detect concurrent gst/set state.
3022 set_state is now virtual too in case a very complicated element
3023 has to be constructed.
3025 2005-10-18 Wim Taymans <wim@fluendo.com>
3027 * check/gst/gstbin.c: (GST_START_TEST):
3028 * check/gst/gstmessage.c: (GST_START_TEST):
3029 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3030 * gst/gstbin.c: (bin_bus_handler):
3031 * gst/gstelement.c: (gst_element_commit_state),
3032 (gst_element_lost_state):
3033 * gst/gstmessage.c: (gst_message_new_state_changed),
3034 (gst_message_new_segment_start), (gst_message_new_segment_done),
3035 (gst_message_new_duration), (gst_message_parse_state_changed),
3036 (gst_message_parse_segment_start),
3037 (gst_message_parse_segment_done), (gst_message_parse_duration):
3039 * tools/gst-launch.c: (event_loop):
3040 Make messages future proof.
3041 state-change gets a flag if it was a message comming from the
3043 segment-start/stop can also be specified in other formats.
3044 A message to notify an app that a pipeline changed playback
3046 Also fix a GstMessage leak in -launch
3048 2005-10-18 Andy Wingo <wingo@pobox.com>
3050 * gst/gstelement.c (gst_element_dispose): More helpful message.
3052 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3054 reviewed by: <delete if not using a buddy>
3056 * common/gtk-doc.mak:
3058 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3060 * gst/gstregistry.c: (gst_registry_scan_path_level):
3061 unref a plug-in we get that was already initialized
3063 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3065 * docs/gst/gstreamer-sections.txt:
3066 * docs/libs/gstreamer-libs-sections.txt:
3071 2005-10-17 Andy Wingo <wingo@pobox.com>
3073 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3076 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3078 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3080 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3081 (gst_element_get_state_func): Better debug message.
3082 (gst_element_commit_state): s/INFO/DEBUG/.
3083 (gst_element_lost_state, gst_element_change_state):
3085 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3086 (gst_message_new_custom): s/INFO/LOG/.
3088 2005-10-17 Michael Smith <msmith@fluendo.com>
3090 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3091 Check if end time is valid using end time, not start time.
3093 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3095 * check/gst-libs/controller.c: (GST_START_TEST),
3096 (gst_controller_suite):
3097 * libs/gst/controller/gstcontroller.c:
3098 (gst_controlled_property_set_interpolation_mode):
3099 * libs/gst/controller/gstcontroller.h:
3100 * libs/gst/controller/gstinterpolation.c:
3101 * testsuite/controller/.cvsignore:
3102 * testsuite/controller/Makefile.am:
3103 * testsuite/controller/interpolator.c:
3104 merge controller testsuites
3106 remove mem-chunk from docs
3108 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3110 * gst/gstmemchunk.c:
3111 * gst/gstmemchunk.h:
3112 * gst/gsttrashstack.c:
3113 * gst/gsttrashstack.h:
3114 out. get out. you're fired. to the Attic !
3116 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3118 * gst/gstcaps.c: (gst_caps_intersect):
3119 fix signedness issues in a (hopefully) correct way
3120 * gst/gstelement.c: (gst_element_pads_activate):
3122 * gst/gstobject.c: (gst_object_set_parent):
3125 2005-10-17 Julien MOUTTE <julien@moutte.net>
3127 * gst/gstvalue.h: Fix prototypes.
3129 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3131 * docs/gst/gstreamer-sections.txt:
3132 * gst/gst.c: (gst_version_string):
3134 * gst/gstversion.h.in:
3135 * win32/common/libgstreamer.def:
3136 add gst_version_string ()
3138 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3142 * gst/gst.c: (init_post):
3143 * win32/common/config.h.in:
3145 * gst/gstcaps.c: (gst_caps_intersect):
3146 use gint64, the range could be bigger than a guint
3148 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3151 document potential problem in 2038
3153 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3155 * gst/gstcaps.c: (gst_caps_intersect):
3156 Fix guint j diving under 0
3158 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3161 * win32/common/config.h:
3162 * win32/common/config.h.in:
3163 check for process.h, declares getpid() on Windows
3165 include process.h if we have it
3166 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3167 * gst/gstmemchunk.h:
3168 fix signedness issues
3169 * win32/common/libgstreamer.def:
3172 2005-10-16 Julien MOUTTE <julien@moutte.net>
3174 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3175 fix. Because of unsigned ints, caps intersection was going nuts and
3176 trying to access structures with G_MAXUINT index. That fixes
3177 videotestsrc ! ffmpegcolorspace ! fakesink
3178 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3181 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3184 use the gettext macro
3185 * gst/elements/gstelements.c:
3187 * gst/indexers/gstindexers.c:
3188 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3189 * win32/common/config.h:
3191 * win32/common/config.h.in:
3192 add the template to generate config.h
3193 * win32/common/gstenumtypes.c:
3194 * win32/common/gstversion.h:
3197 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3199 * gst/gst.c: (gst_version):
3200 * gst/gstversion.h.in:
3203 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3206 Oops, add missing closing bracket.
3208 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3211 use common m4's for argument checking
3213 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3215 * docs/gst/gstreamer-sections.txt:
3217 Add GST_EVENT_TYPE_NAME() macro.
3219 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3222 * gst/gstpluginfeature.c:
3224 privatize more symbols
3226 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3229 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3230 everything that uses GStreamer API should have the includes
3232 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3234 * docs/gst/gstreamer-sections.txt:
3235 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3237 give each value a _get_type, removes the DATA exports
3239 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3243 remove _gst_registry_auto_load, not used anymore
3244 * gst/gstbin.c: (gst_bin_get_type):
3246 * gst/gstelement.c: (gst_element_get_type):
3248 * gst/gstobject.c: (gst_object_get_type):
3250 * gst/gstpad.c: (gst_pad_get_type):
3252 make _get_type functions similar, fixes data export from library
3254 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3257 correctly make conditionals
3258 * gst/elements/Makefile.am:
3259 * gst/elements/gstelements.c:
3260 fix typo causing fdsrc not to build
3262 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3264 * testsuite/Makefile.am:
3265 * testsuite/bytestream/.cvsignore:
3266 * testsuite/bytestream/Makefile.am:
3267 * testsuite/bytestream/filepadsink.c:
3268 * testsuite/bytestream/gstbstest.c:
3269 * testsuite/bytestream/test1.c:
3270 * testsuite/bytestream/testfile1:
3271 * testsuite/caps/normalisation.c:
3272 * testsuite/caps/random.c: (main):
3273 * testsuite/cleanup/.cvsignore:
3274 * testsuite/cleanup/Makefile.am:
3275 * testsuite/cleanup/cleanup1.c:
3276 * testsuite/cleanup/cleanup2.c:
3277 * testsuite/cleanup/cleanup3.c:
3278 * testsuite/cleanup/cleanup4.c:
3279 * testsuite/cleanup/cleanup5.c:
3280 * testsuite/controller/interpolator.c:
3281 * testsuite/debug/printf_extension.c: (main):
3282 * testsuite/elements/tee.c:
3283 * testsuite/negotiation/.cvsignore:
3284 * testsuite/negotiation/Makefile.am:
3285 * testsuite/negotiation/pad_link.c:
3286 * testsuite/pad/Makefile.am:
3287 * testsuite/pad/chainnopull.c:
3288 * testsuite/pad/getnopush.c:
3289 * testsuite/pad/link.c:
3290 * testsuite/refcounting/sched.c: (create_pipeline):
3291 * testsuite/registry/Makefile.am:
3292 * testsuite/registry/gst-print-formats.c:
3293 * testsuite/schedulers/.cvsignore:
3294 * testsuite/schedulers/142183-2.c:
3295 * testsuite/schedulers/142183.c:
3296 * testsuite/schedulers/143777-2.c:
3297 * testsuite/schedulers/143777.c:
3298 * testsuite/schedulers/147713.c:
3299 * testsuite/schedulers/147819.c:
3300 * testsuite/schedulers/147894-2.c:
3301 * testsuite/schedulers/147894.c:
3302 * testsuite/schedulers/Makefile.am:
3303 * testsuite/schedulers/group_link.c:
3304 * testsuite/schedulers/queue_link.c:
3305 * testsuite/schedulers/relink.c:
3306 * testsuite/schedulers/unlink.c:
3307 * testsuite/schedulers/unref.c:
3308 * testsuite/schedulers/useless_iteration.c:
3309 * testsuite/states/bin.c:
3310 clean out/remove some stuff from the testsuite directories
3312 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3315 check for some headers
3316 * gst/elements/Makefile.am:
3317 * gst/elements/gstelements.c:
3318 don't compile fdsrc without sys/socket.h
3319 * gst/indexers/Makefile.am:
3320 * gst/indexers/gstindexers.c: (plugin_init):
3321 don't compile fileindex without mmap
3323 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3330 * check/Makefile.am:
3331 * docs/gst/Makefile.am:
3332 * examples/helloworld/Makefile.am:
3334 * gst/base/Makefile.am:
3335 * gst/check/Makefile.am:
3336 * gst/elements/Makefile.am:
3337 * gst/indexers/Makefile.am:
3338 * gst/parse/Makefile.am:
3339 * libs/gst/controller/Makefile.am:
3340 * libs/gst/dataprotocol/Makefile.am:
3341 * examples/helloworld/helloworld.c: (event_loop):
3342 compile fixes, though it's not being compiled currently
3344 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3346 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3347 Add some simple tests for the new taglist date API.
3349 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3351 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3352 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3353 Beautify 'last-message' output: print 'none' for buffer timestamps
3354 and durations if none is set; improve alignment with next messages.
3356 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3358 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3359 * gst/gstpluginfeature.h:
3360 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3361 * gst/gstregistry.h:
3362 * docs/gst/gstreamer-sections.txt:
3363 Add new API to check plugin feature version requirements.
3365 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3366 Some basic tests for the above.
3368 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3370 * gst/gststructure.c: (gst_structure_to_string):
3371 guard against NULL printf - happens when for example
3372 a message structure with GstClock gets serialized
3374 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3376 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3377 Fix presumable copy'n'pasto.
3379 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3381 * gst/elements/gstfakesrc.h:
3382 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3383 * gst/elements/gsttypefindelement.c:
3385 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3386 I wonder if this could actually write +2GB files before
3388 2005-10-13 Andy Wingo <wingo@pobox.com>
3390 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3391 Fix Timmeke Waymans bug.
3392 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3393 string of the proper length to gst_caps_from_string. There's a
3394 potential for, before this fix, that this could cause someone
3395 connecting over the network to cause a segfault if the payload is
3398 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3400 * docs/design/draft-push-pull.txt:
3401 * docs/design/part-overview.txt:
3402 * docs/random/TODO-pre-0.9:
3403 * docs/random/old/ChangeLog.gstreamer:
3404 * gst/base/gstpushsrc.c:
3408 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3410 * gst/glib-compat.c: (gst_flags_get_first_value):
3411 * gst/glib-compat.h:
3412 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3413 (gst_value_compare_double), (gst_value_serialize_flags):
3414 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3417 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3419 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3420 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3422 * tools/gst-launch.c: (event_loop):
3423 print out clock nicely
3425 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3427 * docs/gst/gstreamer-sections.txt:
3429 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3430 (gst_tag_list_get_date_index):
3431 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3432 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3434 2005-10-13 Julien MOUTTE <julien@moutte.net>
3436 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3437 (gst_collectpads_chain):
3438 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3441 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3443 * docs/gst/gstreamer-sections.txt:
3446 * tools/gst-inspect.c: (main):
3447 * tools/gst-launch.c: (main):
3448 * tools/gst-run.c: (main):
3449 * tools/gst-xmlinspect.c: (main):
3450 fix GOption context leaks
3453 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3457 * win32/common/config.h:
3459 * win32/vs6/grammar.dsp:
3460 * win32/vs6/libgstelements.dsp:
3461 * win32/vs6/libgstreamer.dsp:
3464 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3466 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3467 * gst/base/gstbasesrc.c: (gst_base_src_query):
3468 fix more guint64<->gdouble conversions
3470 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3473 add win32-update target
3474 * win32/common/gstconfig.h:
3475 * win32/common/gstenumtypes.c:
3476 * win32/common/gstenumtypes.h:
3477 * win32/common/gstversion.h:
3478 add files that visual studio can't generate
3480 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3483 add a win32-update target
3486 2005-10-12 Wim Taymans <wim@fluendo.com>
3488 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3489 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3490 * gst/gstelement.c: (gst_element_commit_state),
3491 (gst_element_set_state):
3492 Protect flags with proper lock.
3493 unref provided cached clock in dispose.
3495 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3498 * gst/gstminiobject.h:
3500 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3501 removed unused flags from miniobject
3504 2005-10-12 Wim Taymans <wim@fluendo.com>
3506 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3507 (gst_file_sink_event), (gst_file_sink_render):
3508 Flush before seeking.
3510 2005-10-12 Andy Wingo <wingo@pobox.com>
3512 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3513 always been the case.
3515 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3517 * check/gst/gstbin.c: (GST_START_TEST):
3518 * docs/gst/gstreamer-sections.txt:
3519 * gst/base/gstbasesink.c: (gst_base_sink_init):
3520 * gst/base/gstbasesrc.c: (gst_base_src_init),
3521 (gst_base_src_get_range), (gst_base_src_check_get_range),
3522 (gst_base_src_start), (gst_base_src_stop):
3523 * gst/base/gstbasesrc.h:
3524 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3525 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3526 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3530 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3532 * gst/gstelement.c: (gst_element_is_locked_state),
3533 (gst_element_set_locked_state), (gst_element_commit_state),
3534 (gst_element_set_state):
3536 * gst/gstindex.c: (gst_index_init):
3538 * gst/gstminiobject.h:
3539 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3540 (gst_object_set_parent):
3542 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3543 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3545 * gst/gstpadtemplate.h:
3546 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3547 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3548 * gst/gstpipeline.h:
3549 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3550 (gst_file_index_commit):
3551 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3552 * testsuite/pad/link.c: (gst_test_src_init),
3553 (gst_test_filter_init), (gst_test_sink_init):
3554 * testsuite/states/locked.c: (main):
3555 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3556 moved bitshift from macro to enum definition
3558 2005-10-12 Wim Taymans <wim@fluendo.com>
3560 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3561 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3562 (gst_file_sink_render):
3563 Some more debugging info.
3565 2005-10-12 Wim Taymans <wim@fluendo.com>
3567 * docs/design/part-states.txt:
3568 * tools/gst-launch.c: (main):
3570 Revert non-intentional change.
3572 2005-10-12 Wim Taymans <wim@fluendo.com>
3574 * check/gst/gstbin.c: (GST_START_TEST):
3575 * check/gst/gstelement.c: (GST_START_TEST):
3576 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3577 * check/gst/gstghostpad.c: (GST_START_TEST):
3578 * check/gst/gstpipeline.c: (GST_START_TEST):
3579 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3580 * check/states/sinks.c: (GST_START_TEST):
3581 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3582 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3583 (gst_bin_remove_func), (gst_bin_get_state_func),
3584 (gst_bin_recalc_state), (gst_bin_change_state_func),
3586 * gst/gstelement.c: (gst_element_get_state_func),
3587 (gst_element_get_state), (gst_element_abort_state),
3588 (gst_element_commit_state), (gst_element_set_state),
3589 (gst_element_change_state), (gst_element_change_state_func):
3591 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3592 (gst_pipeline_provide_clock_func):
3593 * gst/gstutils.c: (gst_element_link_pads_filtered):
3594 * tools/gst-launch.c: (main):
3595 * tools/gst-typefind.c: (main):
3596 Use GstClockTime in _get_state() instead of GTimeVal.
3597 Remove old code in gstutils.c
3599 2005-10-12 Andy Wingo <wingo@pobox.com>
3601 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3604 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3605 there is no task. Shouldn't affect any code, as nothing in our
3606 plugins checks this return value.
3607 (gst_pad_stop_task): Also take the stream lock if the pad has no
3610 2005-10-12 Wim Taymans <wim@fluendo.com>
3612 * gst/gstpad.c: (pre_activate), (post_activate),
3613 (gst_pad_activate_pull), (gst_pad_activate_push):
3614 Cleanup activation code. Reset old state if
3617 2005-10-12 Wim Taymans <wim@fluendo.com>
3619 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3620 (gst_base_sink_change_state):
3621 No need to prerol after receiving EOS.
3623 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3624 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3625 * gst/elements/gstidentity.c: (gst_identity_event):
3626 Print events more verbosely.
3628 2005-10-12 Wim Taymans <wim@fluendo.com>
3630 * check/Makefile.am:
3631 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3632 * check/states/sinks2.c:
3633 Moved sinks2 testcode in sinks check.
3635 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3636 (gst_bin_remove_func), (gst_bin_recalc_state),
3637 (gst_bin_change_state_func), (bin_bus_handler):
3638 Fix potential race condition when _get_state() iterated over an
3639 ASYNC element right before it posted a state completion.
3642 Do proper cast here.
3644 * gst/gstevent.c: (gst_event_new_newsegment),
3645 (gst_event_parse_newsegment):
3646 A playback rate of 0.0 is not allowed.
3648 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3650 * win32/common/config.h:
3651 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3652 (_trewinddir), (_ttelldir), (_tseekdir):
3653 * win32/common/dirent.h:
3654 * win32/common/gtchar.h:
3655 * win32/common/libgstbase.def:
3656 * win32/common/libgstreamer.def:
3657 * win32/vs6/grammar.dsp:
3658 * win32/vs6/gst_inspect.dsp:
3659 * win32/vs6/gst_launch.dsp:
3660 * win32/vs6/gstreamer.dsw:
3661 * win32/vs6/libgstbase.dsp:
3662 * win32/vs6/libgstelements.dsp:
3663 * win32/vs6/libgstreamer.dsp:
3664 Visual Studio 6 project files, and a new common directory.
3667 2005-10-11 Wim Taymans <wim@fluendo.com>
3669 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3670 (gst_base_sink_do_sync), (gst_base_sink_query),
3671 (gst_base_sink_change_state):
3672 * gst/base/gstbasesink.h:
3673 Correctly parse newsegment info.
3675 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3677 * gst/gst.c: (init_post):
3678 split plugin paths correctly
3680 2005-10-11 Wim Taymans <wim@fluendo.com>
3682 * check/gst/gstevent.c: (GST_START_TEST):
3683 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3684 (gst_base_sink_change_state):
3685 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3686 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3687 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3688 * gst/gstevent.c: (gst_event_new_newsegment),
3689 (gst_event_parse_newsegment):
3691 Added extra flag to newsegment for future API freeze.
3692 Updated check and base elements.
3694 2005-10-11 Julien MOUTTE <julien@moutte.net>
3696 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3697 (gst_collectpads_add_pad), (gst_collectpads_pop),
3698 (gst_collectpads_event), (gst_collectpads_chain):
3699 * gst/base/gstcollectpads.h: Handle EOS correctly.
3701 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3703 * tools/gst-launch.c: (main):
3704 more null protecting
3706 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3708 * gst/gst-i18n-lib.h:
3709 check for ENABLE_NLS, not GETTEXT_PACKAGE
3710 * gst/gstregistry.c: (gst_registry_add_plugin),
3711 (gst_registry_scan_path_level),
3712 (_gst_registry_remove_cache_plugins):
3713 protect possibly NULL strings
3714 * gst/parse/types.h:
3715 config.h already included before
3716 * tools/gst-inspect.c: (main):
3717 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3718 check for ENABLE_NLS, not GETTEXT_PACKAGE
3719 * tools/gst-launch.c: (main):
3720 check for ENABLE_NLS, not GETTEXT_PACKAGE
3722 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3725 if we don't have glib, fail before testing 2.8
3726 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3727 fix a leak, should fix plugins-base testsuite
3729 2005-10-11 Andy Wingo <wingo@pobox.com>
3731 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3732 take the mode we're going to as an arg. Go head and set the mode
3733 and flushing flags now, so that if the activate function starts a
3734 thread all the flags will be in the right state.
3735 (post_activate): Renamed also. Just handle making sure streaming
3736 finishes for the deactivation case, and setting the deactivated
3738 (gst_pad_set_active): Complain loudly if deactivation fails.
3739 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3740 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3741 remove the terrible hack.
3743 2005-10-11 Wim Taymans <wim@fluendo.com>
3745 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3746 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3747 (gst_bin_recalc_state), (gst_bin_change_state_func),
3748 (gst_bin_dispose), (bin_bus_handler):
3750 Prepare to make current EOS message queue more generic.
3753 * gst/gstevent.c: (gst_event_new_newsegment),
3754 (gst_event_parse_newsegment):
3756 Rename base to stream_time.
3761 2005-10-11 Wim Taymans <wim@fluendo.com>
3763 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3764 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3765 (gst_bin_change_state_func), (bin_bus_handler):
3767 Work on proper clock selection.
3769 2005-10-11 Edward Hervey <edward@fluendo.com>
3771 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3772 * libs/gst/controller/gstcontroller.h:
3773 Added GList* version of _remove_properties() in order to be able to wrap
3776 2005-10-11 Wim Taymans <wim@fluendo.com>
3778 * docs/design/part-states.txt:
3781 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3782 (gst_bin_change_state_func), (bin_bus_handler):
3783 Doc updates. Don't distribute the same clock over and over again.
3789 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3790 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3791 (gst_pad_send_event):
3793 Make probe emission threadsafe again.
3794 Register quarks and move _get_name() from utils.
3797 * gst/gstpipeline.c: (gst_pipeline_class_init),
3798 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3799 Only redistribute the clock of it changed.
3801 * gst/gstsystemclock.h:
3806 Moved the _flow_get_name() to GstPad.
3808 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3810 * check/gst-libs/gdp.c: (GST_START_TEST):
3811 * check/gst/gstcaps.c: (GST_START_TEST):
3812 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3813 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3814 (gst_dp_packet_from_caps):
3815 fix more valgrind warnings before turning up the heat
3817 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3819 * gst/parse/grammar.y:
3820 some cleanup before the hacking
3822 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3824 * gst/base/gstbasesrc.c: (gst_base_src_query):
3826 * gst/gstutils.c: (gst_guint64_to_gdouble),
3827 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3829 externalize, basesrc uses it
3830 obviously the implementation needs testing
3832 2005-10-10 Wim Taymans <wim@fluendo.com>
3834 * tests/sched/Makefile.am:
3835 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3836 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3838 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3840 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3841 apparently converting from guint64 to double is not implemented
3844 2005-10-10 Wim Taymans <wim@fluendo.com>
3846 * check/Makefile.am:
3847 * check/generic/states.c: (GST_START_TEST):
3848 * check/gst/gstbin.c: (GST_START_TEST):
3849 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3850 * check/states/sinks.c: (GST_START_TEST):
3851 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3853 Check fixes, use API as stated in design docs, remove hacks.
3855 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3856 (gst_base_sink_change_state):
3857 Catch stopping our task while we're shutting down.
3859 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3860 (gst_bin_remove_func), (gst_bin_get_state_func),
3861 (gst_bin_recalc_state), (gst_bin_change_state_func),
3864 * gst/gstelement.c: (gst_element_init),
3865 (gst_element_get_state_func), (gst_element_abort_state),
3866 (gst_element_commit_state), (gst_element_lost_state),
3867 (gst_element_set_state), (gst_element_change_state),
3868 (gst_element_change_state_func):
3870 New state change algorithm (see #318116)
3872 * gst/gstpipeline.c: (gst_pipeline_class_init),
3873 (gst_pipeline_init), (gst_pipeline_set_property),
3874 (gst_pipeline_get_property), (do_pipeline_seek),
3875 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3876 * gst/gstpipeline.h:
3877 Remove crude state change hacks.
3882 * tools/gst-launch.c: (main):
3883 Fixes for state change. Needs some more work to fully use the
3886 2005-10-10 Andy Wingo <wingo@pobox.com>
3888 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3890 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3891 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3894 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3896 * gst/gstiterator.c: (gst_iterator_new):
3897 Fix my previous commit: GTypes passed to gst_iterator_new()
3898 can be fundamental types.
3900 2005-10-10 Wim Taymans <wim@fluendo.com>
3902 * gst/gstelement.c: (gst_element_iterate_pad_list),
3903 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3904 (gst_element_iterate_sink_pads):
3905 Use src/sink pads lists for the respective iterators instead
3908 2005-10-10 Andy Wingo <wingo@pobox.com>
3910 Merged in popt removal + GOption addition patch from Ronald, bug
3913 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3914 GstElement macros around, remove popt-related symbols, add goption
3917 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3919 * docs/gst/Makefile.am:
3920 * docs/libs/Makefile.am: No POPT_CFLAGS.
3922 * examples/manual/Makefile.am:
3923 * docs/manual/basics-init.xml: Doc updates with an example.
3925 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3926 (gst_init), (parse_one_option), (parse_goption_arg):
3927 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3928 bit of hand merging and debugging to get the GOption stuff working
3931 * tests/Makefile.am:
3932 * tools/Makefile.am:
3933 * tools/gst-inspect.c: (main):
3934 * tools/gst-launch.c: (main):
3935 * tools/gst-run.c: (main):
3936 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3938 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3940 * gst/gstiterator.c: (gst_iterator_new):
3941 Add assertions to make sure passed GType is likely to really
3942 be a GType (as the compiler won't catch it if the size and
3943 GType arguments get mixed up, see #318447).
3945 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3947 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3949 * gst/gstbin.c: (gst_bin_iterate_sorted):
3950 Pass GType and size arguments to gst_iterator_new() in the right
3951 order (maybe we should make _new() take the GType as first argument
3952 just like _new_list()?) (#318447).
3955 2005-10-10 Wim Taymans <wim@fluendo.com>
3957 * gst/gstelement.c: (gst_element_finalize):
3958 And free the GStaticRecMutex too
3960 2005-10-10 Andy Wingo <wingo@pobox.com>
3962 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3963 Allocate and free the mutex properly.
3965 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3967 (GstElement): The state_lock is now recursive. Rebuild your
3968 plugins, suckers. Old macros adapted.
3970 * docs/gst/gstreamer-sections.txt: Doc updates.
3973 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3974 (g_static_rec_cond_wait): Ported from state changes patch, while
3975 we wait on bug #317802 to be solved in a well-distributed GLib.
3977 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3978 gst_element_change_state, variable name changes.
3979 (gst_element_change_state): Split out of gst_element_set_state in
3980 preparation for the state change merge. Doesn't pay attention to
3981 the 'transition' argument.
3982 (gst_element_set_state): Updates, hopefully purely cosmetic.
3983 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3985 (gst_element_get_state_func): Renamed from get_state, cosmetic
3988 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3990 * gst/elements/gstelements.c:
3991 * win32/GStreamer.vcproj:
3993 * win32/dirent.c: (_tseekdir):
3994 * win32/gst-inspect.vcproj:
3995 * win32/gst-launch.vcproj:
3996 * win32/gstconfig.h:
3997 * win32/gstelements.vcproj:
3998 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3999 * win32/gstreamer.def:
4001 updates for the win32 build (patch from Sebastien Moutte)
4003 2005-10-10 Andy Wingo <wingo@pobox.com>
4005 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4006 gst_bin_get_state, cleaned up (but no logic changes).
4007 (bin_element_is_sink): Comment updates.
4008 (sink_iterator_filter): Remove needless cast.
4009 (gst_bin_iterate_sinks): Doc update.
4010 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4011 cleaned up (but no logic changes).
4013 * check/states/sinks.c (test_src_sink): Cleanups from the state
4015 (test_livesrc_sink): Sync on the state.
4017 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4018 the state change patch.
4020 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4023 * check/gst/gstbin.c: Merge in some style fixes and additional
4024 checks from Wim's state change patch.
4026 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4028 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4029 (gst_type_find_helper):
4030 Check whether we have the requested data already in our list of
4031 cached buffers before pulling a new buffer; also make the buffer
4032 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4034 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4039 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4040 don't use long long, it's not portable. Replacing with
4041 gint64 seems to work; let's hope no skeletons fall out of the closet.
4043 2005-10-10 Andy Wingo <wingo@pobox.com>
4045 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4047 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4049 * docs/gst/gstreamer-sections.txt:
4054 * gst/gstmessage.c: (gst_message_parse_state_changed):
4057 more docs, fix compilation
4059 2005-10-09 Philippe Khalaf <burger@speedy.org>
4061 Fixed a few forgotten variables on previous commit
4063 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4065 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4066 Fix evil typefind crasher: getrange() might return a short
4067 buffer at the end of a file, but gst_type_find_peek() must
4068 either return the full data as requested or NULL, but
4069 never a short buffer.
4071 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4073 * gst/gstmessage.c: (gst_message_new_state_changed),
4074 (gst_message_parse_state_changed):
4076 don't use "new", it's a C++ keyword
4078 2005-10-08 Wim Taymans <wim@fluendo.com>
4080 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4081 * gst/gstelement.c: (gst_element_post_message):
4082 * gst/gstpipeline.c: (gst_pipeline_change_state):
4083 Small docs and debug updates.
4085 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4087 * docs/gst/gstreamer-sections.txt:
4088 * gst/gstelementfactory.c:
4093 2005-10-08 Wim Taymans <wim@fluendo.com>
4095 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4096 (gst_bin_dispose), (bin_bus_handler):
4097 Fix typos, add comments.
4098 Clear EOS list when going to PAUSED from any direction and do it
4099 in a threadsafe way.
4100 Get base time in a threadsafe way too.
4101 Fix confusing debug in the change_state function.
4102 Various other small cleanups.
4104 * gst/gstelement.c: (gst_element_post_message):
4105 Fix very verbose bus posting code.
4107 * gst/gstpipeline.c: (gst_pipeline_class_init),
4108 (gst_pipeline_set_property), (gst_pipeline_get_property),
4109 (gst_pipeline_change_state):
4110 Small ARG_ -> PROP_ cleanup
4112 2005-10-08 Wim Taymans <wim@fluendo.com>
4114 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4115 Do a less CPU demanding EOS check because we can.
4117 2005-10-08 Wim Taymans <wim@fluendo.com>
4119 * libs/gst/dataprotocol/dataprotocol.c:
4120 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4121 (gst_dp_packet_from_event):
4122 * libs/gst/dataprotocol/dataprotocol.h:
4123 * libs/gst/dataprotocol/dp-private.h:
4124 It's about time we bump the version number.
4125 Since event types don't fit in the guint8 anymore describing
4126 the payload type, make payload type 16 bits wide.
4128 2005-10-08 Wim Taymans <wim@fluendo.com>
4130 * docs/design/part-TODO.txt:
4131 * docs/design/part-clocks.txt:
4132 * docs/design/part-events.txt:
4133 * docs/design/part-gstbin.txt:
4134 * docs/design/part-gstelement.txt:
4135 * docs/design/part-gstpipeline.txt:
4136 * docs/design/part-live-source.txt:
4137 * docs/design/part-messages.txt:
4138 * docs/design/part-overview.txt:
4139 * docs/design/part-states.txt:
4142 2005-10-08 Wim Taymans <wim@fluendo.com>
4146 Fix event quark registration.
4147 Add some space between events so we can insert them in the
4150 2005-10-08 Wim Taymans <wim@fluendo.com>
4152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4153 (gst_base_sink_handle_buffer):
4160 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4161 (gst_queue_set_property), (gst_queue_get_property):
4163 Remove old unused properties.
4165 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4166 * docs/gst/gstreamer-sections.txt:
4169 * gst/gstminiobject.c:
4170 * gst/gstminiobject.h:
4174 lots of new docs and doc fixes
4176 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4178 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4180 * gst/gstregistry.c: (gst_registry_lookup_locked),
4181 (gst_registry_scan_path_level):
4182 * gst/gstregistryxml.c: (load_plugin):
4183 Only ever load one plugin for a given plugin basename.
4184 This ensures correct overriding of GST_PLUGIN_PATH over
4185 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4186 system installed plugins.
4188 2005-10-08 Wim Taymans <wim@fluendo.com>
4190 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4191 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4192 Prepare for doing QOS.
4194 2005-10-08 Wim Taymans <wim@fluendo.com>
4196 * check/gst/gstbin.c: (GST_START_TEST):
4197 * check/pipelines/cleanup.c: (GST_START_TEST):
4198 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4199 Allow new clock message too.
4201 2005-10-08 Wim Taymans <wim@fluendo.com>
4203 * gst/gstmessage.c: (gst_message_new_error),
4204 (gst_message_new_warning), (gst_message_new_tag),
4205 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4206 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4207 (gst_message_new_segment_start), (gst_message_new_segment_done),
4208 (gst_message_parse_state_changed),
4209 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4210 (gst_message_parse_new_clock):
4212 Also carry the clock in question.
4214 2005-10-08 Wim Taymans <wim@fluendo.com>
4216 * gst/gstmessage.c: (gst_message_new_custom),
4217 (gst_message_new_eos), (gst_message_new_error),
4218 (gst_message_new_warning), (gst_message_new_tag),
4219 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4220 (gst_message_new_new_clock), (gst_message_new_segment_start),
4221 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4222 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4225 Added clock related messages.
4227 * gst/gstpipeline.c: (gst_pipeline_change_state):
4228 Post message when the clock changed.
4230 * tools/gst-launch.c: (event_loop):
4233 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4235 * tools/gst-inspect.c: (print_element_properties_info):
4236 Can't pass NULL strings to g_print() on windows.
4238 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4241 * docs/gst/Makefile.am:
4242 * docs/gst/gstreamer-docs.sgml:
4243 * docs/gst/running.xml:
4244 * docs/version.entities.in:
4245 add a chapter on running GStreamer.
4246 document GST_DEBUG and GST_PLUGIN* env vars
4248 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4253 remove PLUGINS_BUILDDIR stuff
4254 * gst/gst.c: (init_post):
4255 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4257 remove, it was condescending and not needed
4259 2005-10-08 Wim Taymans <wim@fluendo.com>
4261 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4262 (gst_base_sink_handle_object), (gst_base_sink_event),
4263 (gst_base_sink_wait), (gst_base_sink_handle_event),
4264 (gst_base_sink_change_state):
4265 * gst/base/gstbasesink.h:
4266 Repost EOS message while going to PLAYING if still EOS.
4267 Make sure that when receiving a FLUSH_START we don't attempt
4268 to sync on the clock anymore.
4270 2005-10-08 Wim Taymans <wim@fluendo.com>
4272 * tools/gst-launch.c: (event_loop):
4273 Better message printout.
4275 2005-10-08 Wim Taymans <wim@fluendo.com>
4277 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4278 (gst_bin_child_proxy_get_children_count):
4279 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4280 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4281 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4282 (gst_child_proxy_set_valist):
4283 * gst/parse/grammar.y:
4284 Make ChildProxy threadsafe and fix mem leaks.
4286 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4288 * gst/gst.c: (init_post):
4289 debug the GST_PLUGIN_ env vars
4291 2005-10-08 Wim Taymans <wim@fluendo.com>
4293 * check/gst/gstbin.c: (GST_START_TEST):
4294 * check/gst/gstmessage.c: (GST_START_TEST):
4295 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4296 * gst/gstelement.c: (gst_element_commit_state),
4297 (gst_element_lost_state):
4298 * gst/gstmessage.c: (gst_message_new_state_changed),
4299 (gst_message_parse_state_changed):
4301 * tools/gst-launch.c: (event_loop):
4302 Added extra field to STATE_CHANGE message with the pending
4303 state, which will be different from the new state soon.
4305 2005-10-08 Wim Taymans <wim@fluendo.com>
4307 * gst/gstbus.c: (gst_bus_pop):
4309 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4310 Small cleanups and doc updates.
4312 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4314 * gst/gst.c: (init_pre):
4315 * gst/gstbin.c: (gst_bin_add_func):
4316 log distributing clocks and base time
4317 * gst/gstregistry.c: (gst_registry_add_plugin),
4318 (gst_registry_scan_path_level), (gst_registry_scan_path):
4319 clean up the debugging output a little
4320 * gst/gstutils.c: (gst_element_state_get_name):
4321 warn about a memleak (I've actually seen this be used, though
4322 it was probably a bug)
4324 2005-10-07 Wim Taymans <wim@fluendo.com>
4326 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4327 (gst_base_src_init), (gst_base_src_default_newsegment),
4328 (gst_base_src_newsegment), (gst_base_src_do_seek),
4329 (gst_base_src_loop), (gst_base_src_start):
4330 * gst/base/gstbasesrc.h:
4331 Make the newsegment event customizable by subclasses.
4333 2005-10-07 Wim Taymans <wim@fluendo.com>
4335 * gst/gstevent.c: (gst_event_new_buffersize),
4336 (gst_event_parse_buffersize):
4338 New event for future idea.
4340 2005-10-07 Andy Wingo <wingo@pobox.com>
4342 * gst/gstelement.c (gst_element_post_message): Doc update.
4344 * docs/gst/gstreamer-sections.txt: Update.
4346 * gst/gstmessage.c (gst_message_new_application): Made into a
4347 function like honest API calls.
4348 (gst_message_new_element): New message type.
4350 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4352 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4353 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4356 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4357 NO_PREROLL from gst_element_change_state to fall through.
4359 2005-10-07 Wim Taymans <wim@fluendo.com>
4361 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4362 (gst_ghost_pad_do_activate_push):
4363 Activating a ghostpad with no internal pad in push mode
4366 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4369 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4370 Fixes compilation on Windows.
4372 2005-10-07 Michael Smith <msmith@fluendo.com>
4374 * tools/gst-inspect.c:
4375 Print out feature and plugin count at the end when printing out
4378 2005-10-04 Michael Smith <msmith@fluendo.com>
4380 * gst/gsterror.c: (_gst_stream_errors_init):
4381 Add another error string used in a few existing plugins.
4384 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4385 * tools/gst-inspect.c: (print_element_info):
4386 When a feature disappears from a plugin (and the feature exists in
4387 the cached registry file), things went horribly wrong. This isn't a
4388 complete fix, we should actually be removing the 'missing' features
4389 from the features list when we load the actual plugin. That's not
4392 2005-10-04 Johan Dahlin <johan@gnome.org>
4394 * check/gst/gstiterator.c: (GST_START_TEST):
4395 * gst/gstbin.c: (gst_bin_iterate_elements),
4396 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4397 * gst/gstelement.c: (gst_element_iterate_pads):
4398 * gst/gstformat.c: (gst_format_iterate_definitions):
4399 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4400 (gst_iterator_new_list), (gst_iterator_filter):
4401 * gst/gstiterator.h:
4402 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4403 Add a GType to GstIterator, update callsites and tests.
4405 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4407 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4408 give events a chance to be handled by event probes when the pad
4411 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4413 * gst/gstevent.c: (gst_event_type_get_name),
4414 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4416 add string representations for event types
4418 2005-10-06 Wim Taymans <wim@fluendo.com>
4420 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4421 Don't use NULL pointers.
4423 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4425 * gst/gst_private.h:
4429 * gst/gstpluginfeature.c:
4430 widen the debug category in output to fit the biggest one we have
4431 add a bus category and use it
4432 play with the colors
4433 fix up some categories
4435 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4437 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4438 add push activation of sink ghost pads.
4439 Andye, please verify
4441 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4443 * gst/gstutils.c: (gst_element_link_pads):
4444 fix a bug in the case where neither element has a pad
4445 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4446 add a test for that case
4448 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4450 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4451 emit have-data before checking for peers. This allows
4452 for probe handlers to connect elements. This helps autopluggers.
4453 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4455 add six checks, linked/unlinked with no/true/false probe
4457 2005-10-04 Wim Taymans <wim@fluendo.com>
4459 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4460 (gst_fake_sink_event), (gst_fake_sink_preroll),
4461 (gst_fake_sink_render), (gst_fake_sink_change_state):
4462 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4463 (gst_fake_src_get_property), (gst_fake_src_create),
4464 (gst_fake_src_stop):
4465 * gst/elements/gstidentity.c: (gst_identity_stop):
4466 Protect last_message with lock.
4468 2005-10-04 Edward Hervey <edward@fluendo.com>
4471 Added precision in the comments for GST_FORMAT_DEFAULT
4473 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4475 * tools/gst-launch.c: (main):
4476 Don't try to run erroneous pipelines.
4478 2005-10-04 Julien MOUTTE <julien@moutte.net>
4480 * gst/gstbus.c: We don't need this header.
4482 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4487 === release 0.9.3 ===
4489 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4493 Releasing 0.9.3, "Unregistered"
4495 2005-10-03 Andy Wingo <wingo@pobox.com>
4497 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4498 whereby calling a pad's activatepush() function can start a thread
4499 that starts to push or pull before the pad gets the FLUSHING flag
4500 unset. Hack around it by holding the stream lock until the flag is
4501 set. Need to replace this with a proper solution. Together with
4502 the ghost pad fixes, this fixes mp3 playing/tagreading.
4504 * docs/design/part-gstghostpad.txt: Add a note about activation of
4505 proxy pads outside of ghost pads.
4507 * gst/gstghostpad.c: Implement the ghost pad activation design.
4509 2005-10-02 Andy Wingo <wingo@pobox.com>
4511 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4512 It is volatile, after all.
4514 * docs/design/part-gstghostpad.txt: Flesh out activation with
4517 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4520 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4523 Fix (unused) AM_CONDITIONAL tests.
4525 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4527 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4529 * gst/gstutils.c: (gst_pad_query_convert):
4530 Add assertion that makes sure src_val is >=0, just like
4531 gst_query_new_convert() has. (#315895)
4533 2005-09-30 Edward Hervey <edward@fluendo.com>
4535 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4536 Let's not iterate pads we're not interested in, it avoids getting
4537 sky-high refcounts on sinkpad.
4539 2005-09-30 Wim Taymans <wim@fluendo.com>
4541 * gst/gstelement.c: (gst_element_set_state),
4542 (gst_element_change_state):
4543 Small tweak, element in ASYNC remains ASYNC.
4545 2005-09-30 Wim Taymans <wim@fluendo.com>
4547 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4548 Only error is an error.
4550 * gst/gstbin.c: (gst_bin_change_state):
4553 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4554 Also call pad_block in pad alloc.
4556 * gst/gstutils.c: (gst_flow_get_name):
4559 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4561 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4562 (gst_base_src_get_range):
4563 Fix documentation typos. Add some more debug info.
4565 2005-09-29 David Schleef <ds@schleef.org>
4567 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4568 more end-user friendly.
4569 * tools/gst-inspect.c: (main): Check if command-line argument is
4570 a file and attempt to load that file as a plugin.
4572 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4574 * check/gst/gstbin.c:
4575 * check/states/sinks.c:
4576 fix tests for the new warning
4577 * check/gst/gstpipeline.c:
4578 add a test for pipeline and bus interaction
4580 elements should be NULL if they get disposed; add a warning if not
4582 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4585 for 2.6 refcounting, make debug log more correct by printing
4586 the actual refcounts at the time of swap (Wim)
4588 2005-09-29 Andy Wingo <wingo@pobox.com>
4590 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4591 removes signal watches previously added via
4592 gst_bus_add_signal_watch.
4593 (gst_bus_add_signal_watch): Don't return the source id, just store
4594 it on the bus if there wasn't an id already.
4596 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4597 add_signal_watch and remove_signal_watch.
4599 2005-09-29 Edward Hervey <edward@fluendo.com>
4601 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4602 Better if we actually iterate the list :)
4604 2005-09-29 Wim Taymans <wim@fluendo.com>
4606 * check/gst/gstbin.c: (GST_START_TEST):
4607 Change for new bus API.
4609 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4610 (send_messages), (GST_START_TEST), (gstbus_suite):
4611 Change for new bus signal API.
4613 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4614 (gst_bus_source_prepare), (gst_bus_source_check),
4615 (gst_bus_create_watch), (gst_bus_add_watch_full),
4616 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4617 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4619 Remove support for multiple GSources operating on different
4620 message types as it is too complex and unneeded when using
4622 Added support for receiving signals from the bus.
4624 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4626 * docs/libs/tmpl/gstdataprotocol.sgml:
4627 * docs/manual/advanced-dataaccess.xml:
4628 * gst/elements/gstcapsfilter.c:
4630 rename filter-caps to caps property
4632 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4634 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4635 More robust fraction string parsing.
4637 * docs/pwg/appendix-porting.xml:
4638 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4640 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4642 * gst/gstcaps.c: (gst_caps_do_simplify):
4643 Thou shalt not free a structure and then continue using it
4644 in the next loop iteration.
4646 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4648 Add test case for caps simplification.
4650 2005-09-29 Wim Taymans <wim@fluendo.com>
4652 * check/gst/gstbin.c: (GST_START_TEST):
4655 2005-09-29 Wim Taymans <wim@fluendo.com>
4657 * check/gst/gstbin.c: (GST_START_TEST):
4660 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4661 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4662 (find_element), (gst_bin_sort_iterator_next),
4663 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4664 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4665 (gst_bin_change_state), (gst_bin_dispose):
4666 A bin does not have a bus, it gets the bus from the parent.
4668 * gst/gstelement.c: (gst_element_requires_clock),
4669 (gst_element_provides_clock), (gst_element_is_indexable),
4670 (gst_element_is_locked_state), (gst_element_change_state),
4671 (gst_element_set_bus_func):
4674 * gst/gstpipeline.c: (gst_pipeline_class_init),
4675 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4676 The pipeline provides a bus.
4678 2005-09-28 Johan Dahlin <johan@gnome.org>
4680 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4681 gst_structure_get_enum instead of gst_structure_get_int
4683 * gst/gststructure.c (gst_structure_get_enum): Impl.
4685 * gst/gststructure.h (gst_structure_get_enum): Add
4687 * docs/gst/gstreamer-sections.txt: Ditto
4689 * gst/gstmessage.c (gst_message_new_state_changed): Use
4690 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4691 which does introspection.
4692 Reviewed by Christian Schaller
4694 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4696 * gst/gstinfo.c: (gst_debug_log_default):
4697 don't do dummy g_strdup()s
4698 * libs/gst/controller/gstcontroller.c:
4699 (on_object_controlled_property_changed),
4700 (gst_controlled_property_new), (gst_controller_new_valist),
4701 (gst_controller_new_list),
4702 (gst_controller_remove_properties_valist), (gst_controller_set),
4703 (gst_controller_get), (gst_controller_sync_values),
4704 (gst_controller_get_value_array), (_gst_controller_class_init),
4705 (gst_controller_get_type):
4706 * libs/gst/controller/gstcontroller.h:
4707 * libs/gst/controller/gstinterpolation.c:
4708 (gst_controlled_property_find_timed_value_node):
4709 convert // to /**/ comments
4711 2005-09-28 Wim Taymans <wim@fluendo.com>
4713 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4714 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4715 (gst_bus_sync_signal_handler):
4717 Added async-message and sync-message signals to the bus.
4718 Added helper BusFunc to emit signals for all posted messages.
4720 * gst/gstmessage.c: (gst_message_type_get_name),
4721 (gst_message_type_to_quark), (gst_message_get_type):
4723 Register quarks for message names.
4725 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4727 * docs/libs/gstreamer-libs-sections.txt:
4728 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4729 (gst_controller_new_list):
4730 * libs/gst/controller/gstcontroller.h:
4731 added another constructor for language bindings
4733 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4735 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4739 * gst/gstinfo.c: (_gst_debug_init):
4740 slightly more readable color for refcount debugging
4742 2005-09-28 Wim Taymans <wim@fluendo.com>
4744 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4745 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4746 (find_element), (gst_bin_sort_iterator_next),
4747 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4748 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4749 (gst_bin_change_state), (gst_bin_dispose):
4750 Small doc fixes. get_clock -> provide_clock.
4752 * gst/gstelement.c: (gst_element_class_init),
4753 (gst_element_provides_clock), (gst_element_provide_clock),
4754 (gst_element_get_clock), (gst_element_commit_state),
4755 (gst_element_lost_state):
4757 Make get/set_clock() symetric. Add provide_clock vmethod since
4758 that is actually what this function does.
4760 * gst/gstpipeline.c: (gst_pipeline_class_init),
4761 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4762 (gst_pipeline_get_clock):
4763 get_clock -> provide_clock.
4765 2005-09-28 Andy Wingo <wingo@pobox.com>
4767 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4768 lieu of real docs...
4770 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4772 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4774 * gst/elements/gstcapsfilter.c:
4775 * gst/elements/gstfakesink.c:
4776 * gst/elements/gstfakesrc.c:
4777 * gst/elements/gstfdsink.c:
4778 * gst/elements/gstfdsrc.c:
4779 * gst/elements/gstfilesink.c:
4780 * gst/elements/gstfilesrc.c:
4781 * gst/elements/gstidentity.c:
4782 * gst/elements/gsttee.c:
4783 * gst/elements/gsttypefindelement.c:
4784 Make element details static.
4786 2005-09-28 Wim Taymans <wim@fluendo.com>
4788 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4789 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4790 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4791 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4792 (gst_bin_change_state), (gst_bin_dispose):
4793 Some documentation updates.
4794 Clean up dispose handlers.
4796 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4797 * gst/gstpad.c: (gst_pad_dispose):
4798 Clean up dispose handler.
4800 * gst/gstpipeline.c: (gst_pipeline_change_state):
4801 Removed spurious UNLOCK.
4803 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4805 * docs/gst/gstreamer-sections.txt:
4806 * gst/base/gstbasesrc.h:
4811 * gst/gstpipeline.c:
4812 * gst/gstpipeline.h:
4815 added two new functions to the docs
4816 documents all undocumented GstXXXFlags
4817 completed some incomplete docs
4819 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4821 * gst/gstbin.c: (gst_bin_dispose):
4822 * gst/gstelement.c: (gst_element_dispose):
4823 remove now useless and leaky resurrection code in dispose
4824 * gst/base/gstbasesrc.c: (gst_base_src_init):
4825 * gst/gstelementfactory.c: (gst_element_factory_create):
4826 * gst/gstobject.c: (gst_object_set_parent):
4829 2005-09-27 Wim Taymans <wim@fluendo.com>
4831 * docs/design/part-TODO.txt:
4834 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4835 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4836 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4837 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4838 (gst_bin_change_state):
4840 Remove element variable, we keep element info in the iterator now.
4842 2005-09-27 Andy Wingo <wingo@pobox.com>
4844 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4847 2005-09-27 Wim Taymans <wim@fluendo.com>
4849 * check/gst/gstbin.c: (GST_START_TEST):
4850 Enable check that works now.
4852 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4853 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4854 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4855 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4856 (gst_bin_change_state):
4858 Redid the state change algorithm using a topological sort algo.
4859 Handles all cases correctly.
4860 Exposed iterator for state change order.
4863 Temp storage for state changes. Need to get rid of this soon.
4865 2005-09-27 Wim Taymans <wim@fluendo.com>
4867 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4868 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4869 (link_fold_func), (gst_pad_proxy_setcaps):
4870 Leak fixes, the fold functions need to unref the passed object and
4871 _get_parent_*() returns ref to parent.
4873 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4875 * check/gst/gstbuffer.c: (test_make_writable):
4876 Plug leak in test case and fix 'make check-valgrind'
4878 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4880 * gst/gstbuffer.c: (gst_subbuffer_init):
4881 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4882 works correctly in all circumstances (we could have just copied
4883 the parent buffer's readonly flag, but conceptually it seems
4884 cleaner to mark all subbuffers as read-only). (based on patch
4885 by Alessandro Decina, #314710).
4887 * check/gst/gstbuffer.c: (create_read_only_buffer),
4888 (test_make_writable), (test_subbuffer_make_writable),
4890 Add some tests for gst_buffer_make_writable().
4892 2005-09-27 Wim Taymans <wim@fluendo.com>
4894 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4895 use gst_object_has_ancestor().
4897 * gst/gstobject.c: (gst_object_has_ancestor):
4899 gst_object_has_ancestor() copied from gstbin.c as it is a
4902 * tests/instantiate/create.c: (create_all_elements):
4903 * tests/lat.c: (handoff_src), (handoff_sink):
4904 * tests/sched/runxml.c: (main):
4905 * tests/seeking/seeking1.c: (main):
4906 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4908 Fix compilation of some tests.
4910 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4913 Remove comment. GST_TYPE_G_ERROR is here to stay,
4914 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4917 2005-09-26 Wim Taymans <wim@fluendo.com>
4919 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4920 Added check that shows error in state change order.
4922 2005-09-26 Wim Taymans <wim@fluendo.com>
4924 * gst/gstbin.c: (gst_bin_change_state):
4925 Make state change function use 3 queues again, we were
4926 adding elements in the wrong order.
4928 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4931 * gst/gstpad.c: (gst_pad_dispose):
4932 Added some debug info first.
4934 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4936 * docs/design/draft-push-pull.txt:
4937 * docs/design/part-events.txt:
4938 * docs/design/part-overview.txt:
4939 * docs/design/part-scheduling.txt:
4940 Replace all _pull_region() with _pull_range()
4942 2005-09-26 Andy Wingo <wingo@pobox.com>
4944 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4946 * check/gst-libs/controller.c: Update for controller api change.
4949 * tests/Makefile.am:
4950 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4951 over by GLib bug 118439.
4953 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4954 routines to a function.
4956 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4958 * libs/gst/controller/gsthelper.c:
4959 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4960 (gst_object_sync_values): Renamed from sink_values. Ugh.
4962 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4964 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4965 Renamed from controller_key, as it is exported.
4967 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4969 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4974 * gst/gstpadtemplate.h:
4977 * gst/gstqueryutils.c:
4978 * gst/gstqueryutils.h:
4979 remove queryutils headers after moving the two used functions
4980 to gstquery. also fixes build problem for gstsiddec
4982 2005-09-26 Michael Smith <msmith@fluendo.com>
4984 * tools/gst-launch.1.in:
4985 Correct documentation in manpage of debug syntax
4987 2005-09-26 Wim Taymans <wim@fluendo.com>
4989 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4990 (gst_base_src_is_seekable), (gst_base_src_change_state):
4991 Some more debugging info.
4993 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4995 * docs/gst/gstreamer-sections.txt:
4996 * gst/base/gstbasetransform.h:
5000 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5002 * docs/gst/.cvsignore:
5003 * docs/gst/tmpl/.cvsignore:
5004 * docs/gst/tmpl/gstpipeline.sgml:
5005 * docs/gst/tmpl/gstplugin.sgml:
5006 * gst/gstpipeline.c:
5009 inlined the last two docs files
5010 removed the tmpl directory from cvs (no more conflicts here!)
5012 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5014 * docs/gst/gstreamer-sections.txt:
5015 * docs/gst/tmpl/.cvsignore:
5016 * docs/gst/tmpl/gstpad.sgml:
5017 * docs/gst/tmpl/gstpadtemplate.sgml:
5019 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5020 (gst_pad_finalize), (gst_pad_set_pad_template):
5022 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5023 (gst_pad_template_class_init), (gst_pad_template_init),
5024 (gst_pad_template_dispose), (name_is_valid),
5025 (gst_static_pad_template_get), (gst_pad_template_new),
5026 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5027 (gst_pad_template_pad_created):
5028 * gst/gstpadtemplate.h:
5029 inlined two more docs
5030 factored gstpadtemplate out of gstpad
5032 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5034 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5035 (test_children_state_change_order_semi_sink):
5036 Fix test case: we can't rely on a fixed state change order when
5037 going from READY => PAUSED because the sink might commit its
5038 new state first when the first buffer created by the source
5039 reaches the sink before the source has finished its change state.
5040 (Test case still fails at times, see #316856, comment 5 onwards)
5042 2005-09-24 Wim Taymans <wim@fluendo.com>
5044 * docs/design/part-events.txt:
5045 * docs/design/part-gstbus.txt:
5046 * docs/design/part-gstpipeline.txt:
5047 * docs/design/part-messages.txt:
5048 * docs/design/part-overview.txt:
5049 * docs/design/part-segments.txt:
5056 * gst/gstiterator.c:
5057 Various documentation updates.
5059 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5062 Well, that's embarassing. Luckily we weren't using
5063 GST_CLOCK_DIFF anywhere.
5065 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5067 * common/gtk-doc.mak:
5068 don't fail on building XML, FC4 slave shows a bunch of doc
5069 missing bits that I don't get
5071 * gst/gstpipeline.c:
5072 * gst/gststructure.c:
5075 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5077 * docs/design/part-gstbin.txt:
5078 * docs/design/part-gstbus.txt:
5080 Add blurb about how the bus goes into flushing mode and
5081 drops all messages when its bin goes from READY into NULL
5084 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5086 * docs/gst/gstreamer-sections.txt:
5087 * gst/gststructure.c: (gst_structure_get_clock_time):
5088 * gst/gststructure.h:
5089 add a method to get a GstClockTime out of a structure
5091 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5093 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5094 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5095 Added test to check state change order in bins (can still be made
5096 to fail here under heavy disk load; bails out with 'Push on pad
5097 fakesink:sink0, but it was not activated in push mode').
5099 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5100 Fix state change order when there is only a semi sink (#316856)
5102 * gst/gstbus.c: (gst_bus_class_init):
5103 Use _class_peek_parent(), not _class_ref(); fix docs to say
5104 'default main context' instead of 'mainloop' where that is
5107 * gst/gstelement.c: (gst_element_commit_state),
5108 (gst_element_set_state):
5109 Fix typos in debug messages
5111 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5114 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5115 * gst/gstpluginfeature.c:
5118 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5119 change an assert into an error until it gets fixed properly
5121 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5123 * docs/gst/gstreamer-sections.txt:
5124 * docs/gst/tmpl/.cvsignore:
5125 * docs/gst/tmpl/gstelement.sgml:
5126 * docs/gst/tmpl/gstinfo.sgml:
5127 * docs/gst/tmpl/gstobject.sgml:
5132 * gst/gstobject.c: (gst_object_class_init):
5134 inlined 3 more biiiig doc files and added some missing docs on the fly
5136 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5138 * check/gst/.cvsignore:
5139 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5140 * gst/gstregistryxml.c: (load_plugin),
5141 (gst_registry_xml_save_plugin):
5142 put back source in registry. add checks for find_plugin.
5143 * testsuite/states/bin.c: (assert_state), (empty_bin),
5144 (test_adding_one_element), (main):
5145 * testsuite/states/locked.c: (main):
5146 some compile/run fixes
5148 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5150 * check/gst/gstvalue.c: (GST_START_TEST):
5151 fix leaks in the test itself
5153 2005-09-22 Wim Taymans <wim@fluendo.com>
5155 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5156 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5157 (gst_base_sink_query):
5158 Prepare for more accurate position reporting and query
5161 * gst/gstelement.c: (gst_element_send_event),
5162 (gst_element_set_state):
5165 2005-09-22 Wim Taymans <wim@fluendo.com>
5167 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5168 (gst_query_parse_segment):
5171 Add segment query for future use.
5173 2005-09-22 Wim Taymans <wim@fluendo.com>
5175 * gst/gstbin.c: (gst_bin_add_func):
5176 Some more debug info.
5178 * gst/gstelement.c: (gst_element_send_event):
5182 Don't know how flags got broken.
5187 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5189 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5190 Add simplistic test suite for GST_TYPE_DATE serialisation and
5193 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5195 * docs/gst/gstreamer-sections.txt:
5196 * gst/gststructure.c: (gst_structure_set_valist),
5197 (gst_structure_get_date):
5198 * gst/gststructure.h:
5199 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5200 (gst_date_copy), (gst_value_compare_date),
5201 (gst_value_serialize_date), (gst_value_deserialize_date),
5202 (gst_value_transform_date_string),
5203 (gst_value_transform_string_date), (_gst_value_initialize):
5205 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5206 bunch of utility functions along with a hack that checks that
5207 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5208 is required. Part of the grand scheme in #170777.
5210 2005-09-22 Andy Wingo <wingo@pobox.com>
5212 * gst/gstconfig.h.in: Psych out gtk-doc.
5214 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5216 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5218 * tools/gst-inspect.c (print_element_list): Plug some
5219 inconsequential leaks.
5221 * gst/gstregistry.c (gst_registry_get_default): Doc.
5223 * check/gst/gstplugin.c:
5224 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5225 * gst/gstelementfactory.c (gst_element_factory_create):
5226 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5229 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5230 (gst_plugin_feature_load): Doc, don't eat refs.
5232 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5233 (gst_plugin_list_free): Doc.
5234 (gst_plugin_load_file): Doc updates.
5236 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5237 accessors returning refcounted objects, return a ref.
5239 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5240 accessor for caps. IDEMPOTENCE. Oh yes.
5242 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5244 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5246 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5247 (_gst_debug_register_funcptr):
5248 Add mutex to serialise access to the hash table with
5249 the function pointer => function name string mapping;
5250 make that hash table static scope (#316809).
5252 * gst/registries/.cvsignore:
5253 Remove left-over file.
5255 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5257 * docs/pwg/appendix-porting.xml:
5258 And something about newsegment events and caps-on-buffers to
5259 the porting guide (feel free to improve).
5261 2005-09-21 Andy Wingo <wingo@pobox.com>
5263 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5264 data and event probes on the same pad.
5265 (test_buffer_probe_once): Test that removing probes from within
5266 the probe functions works.
5268 2005-09-21 Andy Wingo <wingo@pobox.com>
5270 * check/gst/gstutils.c: New file.
5271 (test_buffer_probe_n_times): A simple buffer probe test. More to
5274 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5275 have-data::buffer, not have-data.
5276 (gst_pad_add_event_probe): Likewise for have-data::event.
5277 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5278 peer' isn't quite right yet though.
5279 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5280 (gst_pad_remove_data_probe): Change to take the guint handler_id
5281 as their arg, not the function+data, which is more glib-like.
5283 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5284 the signal emission to indicate if the data is a buffer or an
5286 (gst_pad_get_type): Initialize buffer and event quarks.
5287 (gst_pad_class_init): have-data is now a detailed signal, yes it
5290 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5292 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5293 * gst/gstutils.c: (gst_util_set_value_from_string),
5294 (gst_util_set_object_arg):
5295 Don't put functional code in g_return_if_fail() or
5296 g_return_val_if_fail() statements, otherwise things will
5297 break when G_DISABLE_CHECKS is defined during compilation.
5299 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5301 * docs/gst/tmpl/.cvsignore:
5302 * docs/gst/tmpl/gstvalue.sgml:
5305 inlied another one and added some obvious docs
5307 2005-09-21 Wim Taymans <wim@fluendo.com>
5309 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5310 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5311 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5312 (gst_fdsrc_get_property), (gst_fdsrc_create):
5313 * gst/elements/gstfdsrc.h:
5314 Properly implement fdsrc. Removed signal and timeout,
5315 better implemented somewhere else.
5317 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5319 * docs/gst/tmpl/.cvsignore:
5320 * docs/gst/tmpl/gstimplementsinterface.sgml:
5321 * gst/gstinterface.c:
5324 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5326 * docs/gst/gstreamer-sections.txt:
5327 * docs/gst/tmpl/.cvsignore:
5328 * docs/gst/tmpl/gstenumtypes.sgml:
5329 remove obsolete doc file
5331 2005-09-21 David Schleef <ds@schleef.org>
5333 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5334 little beer, fix a little leak.
5336 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5338 * docs/gst/gstreamer-docs.sgml:
5339 * docs/gst/gstreamer-sections.txt:
5340 * docs/gst/tmpl/.cvsignore:
5345 * gst/gstindex.c: (gst_index_class_init):
5347 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5348 (gst_index_factory_class_init), (gst_index_factory_init),
5349 (gst_index_factory_finalize), (gst_index_factory_new),
5350 (gst_index_factory_destroy), (gst_index_factory_find),
5351 (gst_index_factory_create), (gst_index_factory_make):
5352 * gst/gstindexfactory.h:
5353 * gst/gstpluginfeature.c:
5354 * gst/gstpluginfeature.h:
5355 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5356 more docs inlined, splitted gstindex.{c,h}
5358 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5360 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5363 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5365 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5366 Set sync to FALSE by default.
5368 2005-09-20 Wim Taymans <wim@fluendo.com>
5370 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5371 (gst_base_sink_init):
5372 Make sync property settable from subclass.
5374 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5375 (gst_fake_sink_change_state):
5376 Set sync to FALSE by default.
5378 2005-09-20 Wim Taymans <wim@fluendo.com>
5380 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5381 * tools/gst-launch.c: (main):
5382 The timeout handler should have lower priority than the source
5383 so we don't timeout before popping a message with 0 timeout.
5384 Dump error messages after failed state change.
5386 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5388 * tools/gst-inspect.c: (print_element_properties_info):
5391 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5393 * check/gst/gstevent.c:
5394 * gst/elements/gstfakesink.c:
5395 * gst/elements/gstfakesink.h:
5396 remove the sync property from fakesink.
5397 has the side effect of setting sync TRUE
5398 for fakesink, which is a change. Anyone who knows how
5399 to fix this nicely in a GObject-y way, feel free.
5401 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5403 * docs/gst/gstreamer-docs.sgml:
5404 remove probe refsection
5406 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5408 * check/Makefile.am:
5409 disable valgrinding the controller test again
5410 * docs/gst/gstreamer-sections.txt:
5411 update for api-changes
5413 2005-09-20 Wim Taymans <wim@fluendo.com>
5415 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5416 (gst_base_sink_set_property), (gst_base_sink_get_property),
5417 (gst_base_sink_do_sync):
5418 * gst/base/gstbasesink.h:
5419 Added sync property to basesink to disable clock sync.
5421 2005-09-20 Andy Wingo <wingo@pobox.com>
5423 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5424 eating the caller's refcount.
5426 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5427 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5430 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5431 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5432 of GLib 2.8 public, so we can know which refcount to check in
5435 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5436 (gst_object_init): Only set the gst refcount if we're going ahead
5437 with the refcount hack.
5439 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5441 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5442 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5443 more leaks plumbed, added more debug-logging
5447 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5450 remove include of gstmemchunk.h
5452 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5454 * gst/gstclock.c: (_gst_clock_id_free):
5455 Commit from the Political Party For More Atomic CVS Commits,
5456 so that people don't waste too much of their day fishing
5457 out obvious leaks out of massive commits.
5458 Oh, and fix a pretty damn obvious leak in the memchunk
5461 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5463 * check/Makefile.am:
5464 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5465 plug mem-leak, re-add to valgrindable tests
5467 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5470 unbreak the build for those who have chronic arthritis
5471 and typing "make check" is just too taxing on the hands
5473 2005-09-20 Andy Wingo <wingo@pobox.com>
5475 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5476 really want it out, you should fix plugins at the same time.
5478 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5481 * docs/gst/gstreamer-sections.txt:
5483 added missing symbols to api docs
5484 disable ref-count hack if we have glib >= 2.8
5486 2005-09-19 David Schleef <ds@schleef.org>
5488 * docs/gst/Makefile.am: Ignore a few more internal headers
5489 * docs/gst/gstreamer-docs.sgml: Remove old sections
5490 * docs/gst/gstreamer-sections.txt: Remove old sections
5491 * docs/gst/tmpl/gstobject.sgml: update
5492 * docs/gst/tmpl/gstplugin.sgml: update
5493 * docs/gst/tmpl/gstpluginfeature.sgml: update
5494 * docs/random/ds/0.9-suggested-changes: update.
5495 * gst/Makefile.am: remove memchunk and trashstack, since they're
5497 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5498 * gst/gst.h: don't include some headers
5499 * gst/gstchildproxy.c: add gstmarshal.h
5500 * gst/gstclock.c: Don't use memchunks
5501 * gst/gstminiobject.c: Add some docs
5502 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5503 * gst/gstobject.h: same
5504 * gst/gstplugin.c: include gstmacros.h
5505 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5506 * gst/gstquery.c: don't use memchunks
5507 * gst/gstregistry.c: rename gst_registry_deinit()
5508 * gst/gstregistry.h: same
5510 2005-09-19 David Schleef <ds@schleef.org>
5512 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5513 * docs/libs/gstreamer-libs-sections.txt:
5514 * docs/libs/tmpl/gstgetbits.sgml:
5515 * docs/libs/tmpl/gstputbits.sgml:
5517 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5519 * win32/gstenumtypes.c:
5520 * win32/gstenumtypes.h:
5523 2005-09-19 Wim Taymans <wim@fluendo.com>
5525 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5526 Automatically PAUSE and RESUME a pipeline when a flushing seek
5529 2005-09-19 Andy Wingo <wingo@pobox.com>
5531 * gst/gstregistry.h: Spacing fixen.
5533 2005-09-19 Wim Taymans <wim@fluendo.com>
5535 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5536 Handle state change failure more correctly.
5538 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5540 * check/Makefile.am:
5541 * check/pipelines/cleanup.c: (run_pipeline):
5542 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5544 enable cleanup again after fixing the leak
5546 some more info on docs
5548 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5550 * check/Makefile.am:
5551 re-enable tests now that leaks are plugged
5553 * check/gst/gstbin.c:
5554 * check/gst/gstpipeline.c:
5555 add some more tests while fixing leaks
5557 make sure binaries are uptodate when valgrinding/gdbing
5559 * gst/gstelementfactory.c:
5560 remove a ref too many, and add a FIXME for when we get
5561 round to disposing of classes
5563 fix the refcounting when loading a plugin from a file and
5564 the code pretends that the pointer is the same even though
5565 of course it can change
5566 * gst/gstpluginfeature.c:
5567 unref plugins marked cached (a bit confusing as a name)
5568 as the docs state should be done
5569 various doc additions to explain refcounting
5570 * gst/gstregistry.c:
5571 * gst/gstregistryxml.c:
5574 2005-09-19 Wim Taymans <wim@fluendo.com>
5576 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5577 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5578 (send_messages), (GST_START_TEST), (gstbus_suite):
5579 * check/gst/gstpipeline.c: (GST_START_TEST):
5580 * check/pipelines/cleanup.c: (run_pipeline):
5581 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5583 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5584 (gst_bus_source_check), (gst_bus_source_dispatch),
5585 (gst_bus_create_watch), (gst_bus_add_watch_full),
5586 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5588 * tools/gst-launch.c: (event_loop):
5589 * tools/gst-md5sum.c: (event_loop):
5590 GstBusHandler -> GstBusFunc, return value has the same meaning as
5591 any other GSource (FALSE == remove source).
5592 _add_watch() and _add_watch_full() now take a MessageType mask to
5593 only handle specific types of messages.
5594 _poll() returns the GstMessage instead of the message type to avoid
5596 _have_pending() takes a MessageType mask now too.
5597 Added testsuite for multiple bus watches.
5598 Fix testsuites and applications for new bus API.
5600 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5602 * check/Makefile.am:
5603 mark a bunch of the tests as to fix until we fix them
5605 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5608 use GST_PLUGIN settings for valgrind tests as well, so we're
5609 valgrinding the correct thing
5610 * gst/gst.c: (init_post):
5613 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5615 * gst/gst.c: (init_post), (gst_deinit):
5616 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5617 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5618 * gst/gstindex.c: (gst_index_factory_class_init),
5619 (gst_index_factory_finalize):
5620 * gst/gstobject.c: (gst_object_dispose):
5621 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5622 (gst_plugin_load_file), (gst_plugin_desc_free):
5623 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5624 (gst_plugin_feature_finalize):
5625 * gst/gstregistry.c: (gst_registry_class_init),
5626 (gst_registry_init), (gst_registry_finalize),
5627 (gst_registry_get_default), (gst_registry_deinit):
5628 * gst/gstregistry.h:
5629 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5630 various cleanups and memleak plugging. make valgrind is happy now.
5632 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5635 add a check-valgrind target
5637 2005-09-18 David Schleef <ds@schleef.org>
5639 * tools/gst-inspect.c: Revert the GOption code.
5641 2005-09-17 David Schleef <ds@schleef.org>
5643 * check/Makefile.am: Fix environment variables.
5644 * check/gst/gstplugin.c: Fix for API changes.
5645 * tools/gst-inspect.c: Fix for API changes.
5646 * tools/gst-xmlinspect.c: Fix for API changes.
5647 * gst/gstelementfactory.c:
5650 * gst/gstpluginfeature.c:
5651 * gst/gstpluginfeature.h:
5652 * gst/gstregistry.c:
5653 * gst/gstregistry.h:
5654 * gst/gstregistryxml.c:
5655 * gst/gsttypefind.c:
5656 * gst/gsttypefindfactory.c:
5657 * gst/indexers/gstfileindex.c:
5658 * gst/indexers/gstmemindex.c:
5659 * gst/schedulers/Makefile.am:
5660 Change registry to keep track of both plugins and features,
5661 removing the feature tracking from plugins themselves.
5663 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5665 * check/Makefile.am:
5666 * tools/gst-register.1.in:
5669 2005-09-15 David Schleef <ds@schleef.org>
5671 * check/gst/gstplugin.c:
5672 * gst/gstelementfactory.c:
5674 * gst/gstpluginfeature.c:
5675 * gst/gstregistry.c:
5676 Getting tired of debugging. Disabled all the unreffing of
5677 plugins and features, which fixes the segfaults, but of
5678 course leaks like crazy. At least playbin works.
5680 2005-09-15 David Schleef <ds@schleef.org>
5682 * check/gst/gstplugin.c: (register_check_elements),
5683 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5685 * gst/elements/gsttypefindelement.c: Fix refcounting.
5686 * gst/gsttypefind.c:
5687 * gst/gsttypefindfactory.c:
5688 * gst/gsttypefindfactory.h:
5690 2005-09-15 David Schleef <ds@schleef.org>
5692 * gst/gstindex.c: get refcounting correct.
5693 * gst/gstregistry.c: Handle the case where a feature/plugin is
5696 2005-09-15 David Schleef <ds@schleef.org>
5698 * check/Makefile.am:
5699 * check/gst/gstplugin.c: Add test
5700 * gst/gstplugin.c: Fix problems noticed by testsuite
5702 * gst/gstregistry.c:
5703 * gst/gstregistry.h:
5705 2005-09-15 David Schleef <ds@schleef.org>
5707 * gst/gstplugin.c: Implement semi-decent recounting and locking
5708 in plugins and plugin features.
5710 * gst/gstpluginfeature.c:
5711 * gst/gstpluginfeature.h:
5712 * gst/gstregistry.c:
5714 2005-09-15 Michael Smith <msmith@fluendo.com>
5716 * gst/gstregistry.c: (gst_registry_get_feature_list):
5717 Implement this. Makes oggdemux work; decodebin still broken.
5719 2005-09-14 David Schleef <ds@schleef.org>
5721 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5723 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5724 * gst/check/Makefile.am:
5725 * libs/gst/controller/Makefile.am:
5726 * libs/gst/dataprotocol/Makefile.am:
5728 2005-09-14 David Schleef <ds@schleef.org>
5730 * configure.ac: Remove getbits library. Nothing uses it, and
5731 it should be in something like liboil if someone did want
5733 * libs/gst/Makefile.am:
5734 * libs/gst/getbits/Makefile.am:
5735 * libs/gst/getbits/gbtest.c:
5736 * libs/gst/getbits/getbits.c:
5737 * libs/gst/getbits/getbits.h:
5738 * libs/gst/getbits/gstgetbits_generic.c:
5739 * libs/gst/getbits/gstgetbits_i386.s:
5740 * libs/gst/getbits/gstgetbits_inl.h:
5742 2005-09-14 David Schleef <ds@schleef.org>
5744 * gst/Makefile.am: Dist glib-compat.h
5746 2005-09-14 David Schleef <ds@schleef.org>
5748 * configure.ac: Remove gst/registries, since it's no longer used.
5749 * gst/registries/Makefile.am:
5750 * gst/registries/gstlibxmlregistry.c:
5751 * gst/registries/gstlibxmlregistry.h:
5752 * gst/registries/gstxmlregistry.c:
5753 * gst/registries/gstxmlregistry.h:
5754 * gst/registries/registrytest.c:
5756 2005-09-14 David Schleef <ds@schleef.org>
5758 * gst/glib-compat.h:
5759 * gst/gstregistryxml.c:
5760 Convergence is near. Seriously.
5762 2005-09-14 David Schleef <ds@schleef.org>
5764 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5765 * gst/glib-compat.h:
5766 Attempt #4 to appease the buildbots.
5768 2005-09-14 David Schleef <ds@schleef.org>
5770 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5773 2005-09-14 David Schleef <ds@schleef.org>
5775 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5778 2005-09-14 David Schleef <ds@schleef.org>
5780 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5783 2005-09-14 David Schleef <ds@schleef.org>
5785 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5786 * gst/glib-compat.h: Add some functions that are in newer versions
5787 of glib than we care to require.
5788 * gst/gstregistryxml.c: Use them.
5790 2005-09-14 David Schleef <ds@schleef.org>
5792 * po/POTFILES.in: remove gst-register.c
5794 2005-09-14 David Schleef <ds@schleef.org>
5796 * docs/gst/gstreamer-docs.sgml:
5797 * docs/gst/gstreamer-sections.txt:
5798 * docs/gst/gstreamer.types:
5799 * docs/gst/tmpl/gstelement.sgml:
5800 * docs/gst/tmpl/gstplugin.sgml:
5801 * docs/gst/tmpl/gstpluginfeature.sgml:
5802 Documentation updates for registry changes.
5804 2005-09-14 David Schleef <ds@schleef.org>
5806 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5807 because we don't require glib-2.8.
5809 2005-09-14 David Schleef <ds@schleef.org>
5811 * gst/gstregistryxml.c: Added. Essentially moved out of the
5812 registries directory.
5814 2005-09-14 David Schleef <ds@schleef.org>
5816 * check/Makefile.am:
5817 * check/generic/states.c:
5821 * gst/gst_private.h:
5822 * gst/gstelementfactory.c:
5827 * gst/gstpluginfeature.c:
5828 * gst/gstpluginfeature.h:
5829 * gst/gstregistry.c:
5830 * gst/gstregistry.h:
5831 * gst/gstregistrypool.c: remove
5832 * gst/gstregistrypool.h: remove
5833 * gst/gsttypefind.c:
5834 * gst/gsttypefindfactory.c:
5836 * tools/Makefile.am:
5837 * tools/gst-compprep.c:
5838 * tools/gst-inspect.c:
5839 * tools/gst-register.c: remove
5840 * tools/gst-xmlinspect.c:
5841 Registry rewrite. Changes registry from being a file created
5842 by a tool into a simple cache file created automatically by
5843 libgstreamer. Removed gst-register (because it's no longer
5844 needed). Remove registry pools, because we only have one
5845 registry implementation (XML). Fix up other subsystems as
5848 2005-09-13 Michael Smith <msmith@fluendo.com>
5850 * gst/gstconfig.h.in:
5851 Don't Use windows linking attributes for MinGW. Fixes #316157
5853 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5855 * gst/gstutils.c: (set_state_async_thread_func),
5856 (gst_element_set_state_async):
5857 Apparently people think it's better if this function doesn't
5858 try to set the state to whatever state was asked for on the first
5859 call to this function for any object. Seriously.
5861 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5863 * check/gst/gstpipeline.c: (GST_START_TEST):
5864 * docs/gst/gstreamer-sections.txt:
5865 * gst/gstutils.c: (set_state_async_thread_func),
5866 (gst_element_set_state_async):
5868 add a "gst_element_set_state_async" method that
5869 sets the state and starts a thread to make sure the state
5870 change completes as best as it can
5872 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5874 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5875 codify design+behaviour in testsuite after discussion
5877 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5879 * docs/gst/tmpl/gstelement.sgml:
5880 * docs/manual/appendix-quotes.xml:
5882 * gst/gstelement.c: (gst_element_set_state):
5885 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5887 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5888 (gst_base_transform_prepare_output_buf),
5889 (gst_base_transform_handle_buffer):
5890 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5891 (gst_capsfilter_prepare_buf):
5892 Remove the requirement for sub-classes to call the parent
5893 implementation of prepare_output_buffer with a wrapper function.
5896 * gst/gsttagsetter.h:
5899 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5901 * docs/gst/gstreamer-sections.txt:
5904 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5906 * docs/gst/gstreamer-sections.txt:
5907 * docs/gst/tmpl/gstelement.sgml:
5908 * docs/gst/tmpl/gstplugin.sgml:
5909 * gst/gstminiobject.c:
5911 docs now stop throwing warnings
5913 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5915 * docs/gst/gstreamer-sections.txt:
5916 * docs/gst/gstreamer.types:
5917 * docs/gst/tmpl/gstpad.sgml:
5918 * docs/gst/tmpl/gsttypes.sgml:
5919 * gst/base/gstadapter.h:
5920 * gst/base/gstbasesink.h:
5921 * gst/base/gstbasesrc.h:
5931 * gst/gststructure.c:
5932 * gst/registries/gstlibxmlregistry.h:
5933 various documentation fixes
5935 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5937 * docs/gst/gstreamer-sections.txt:
5938 * docs/gst/tmpl/gstvalue.sgml:
5939 rearrange gstvalue section
5940 * gst/gstutils.c: (gst_element_state_get_name):
5942 * gst/gstvalue.c: (_gst_value_initialize):
5946 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5948 * check/gst-libs/controller.c:
5950 * gst/base/gstbasetransform.c:
5951 (gst_base_transform_default_prepare_buf),
5952 (gst_base_transform_handle_buffer):
5953 * gst/base/gstbasetransform.h:
5954 Some more basetransform changes and fixes to enable sub-classes
5955 that modify buffer metadata only.
5956 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5957 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5958 (gst_capsfilter_prepare_buf):
5959 If the output pad has fixed allowed caps and input buffers
5960 don't have any, set the fixed caps on outgoing buffers.
5962 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5963 * check/elements/identity.c: (GST_START_TEST):
5964 Make the error a little clearer when the test fails because
5965 identity made a copy of the buffer.
5966 * docs/gst/gstreamer-sections.txt:
5967 New symbols in gstbasetransform.h
5968 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5969 (gst_base_transform_init), (gst_base_transform_transform_size),
5970 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5971 (gst_base_transform_default_prepare_buf),
5972 (gst_base_transform_get_unit_size),
5973 (gst_base_transform_buffer_alloc),
5974 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5975 (gst_base_transform_change_state),
5976 (gst_base_transform_set_passthrough),
5977 (gst_base_transform_set_in_place),
5978 (gst_base_transform_is_in_place):
5979 * gst/base/gstbasetransform.h:
5980 Change BaseTransform to separate in_place operate from same_caps
5981 output. in_place implies that the element can perform the transform
5982 on incoming buffers in-place, even if the caps on the output are
5984 Sub-class elements can now implement special buffer allocation
5985 methods for outgoing buffers if they wish to.
5986 Big documentation addition.
5987 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5988 * gst/elements/gstelements.c:
5989 Changes for basetransform modifications.
5990 * gst/elements/Makefile.am:
5991 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5992 Compile fix. Extra debug output.
5994 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5996 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5998 add tests for valid pad naming
5999 * gst/check/gstcheck.c: (gst_check_log_message_func),
6000 (gst_check_log_critical_func):
6002 remove printing of code, it is fragile when the code contains
6003 % and the line number is enough info
6004 * gst/check/gstcheck.h:
6005 * gst/gstpad.c: (gst_pad_template_new):
6008 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6011 say what CHECK flags we use
6012 * docs/libs/gstreamer-libs.types:
6013 * libs/gst/controller/Makefile.am:
6014 * libs/gst/controller/gst-controller.c:
6015 * libs/gst/controller/gst-controller.h:
6016 * libs/gst/controller/gst-helper.c:
6017 * libs/gst/controller/gst-interpolation.c:
6018 * libs/gst/controller/gstcontroller.c:
6019 * libs/gst/controller/gsthelper.c:
6020 * libs/gst/controller/gstinterpolation.c:
6021 * tools/gst-inspect.c: (print_plugin_info):
6022 we don't use dashes in header names
6024 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6026 * check/Makefile.am:
6027 * check/gst/.cvsignore:
6028 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6029 (gst_pipeline_suite), (main):
6030 adding a test for pipelines and state changes
6031 * gst/gstutils.c: (get_state_func):
6033 * gstreamer.spec.in:
6036 2005-09-08 Michael Smith <msmith@fluendo.com>
6038 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6039 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6040 (gst_file_src_is_seekable), (gst_file_src_get_size),
6041 (gst_file_src_start):
6042 * gst/elements/gstfilesrc.h:
6043 Various fixes for unseekable, unmmapable, and non-normal files, so
6044 that fallback to read() rather than mmap() works.
6045 * gst/gstevent.c: (gst_event_new_newsegment):
6046 Allow newsegment events with segment_start == segment_end, as will
6047 correctly happen if you use filesrc on a zero-size file, for
6050 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6052 * gst/gstplugin.c: (gst_plugin_load_file):
6053 Call g_module_close when we don't load the module
6055 * gst/registries/gstlibxmlregistry.c:
6056 (gst_xml_registry_get_property):
6057 Port leak fix from 0.8
6059 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6061 * docs/gst/gstreamer-docs.sgml:
6062 * docs/gst/tmpl/.cvsignore:
6063 * docs/gst/tmpl/gsttrace.sgml:
6064 * docs/gst/tmpl/gsttrashstack.sgml:
6073 * gst/gsttaginterface.c:
6074 * gst/gsttaginterface.h:
6077 * gst/gsttagsetter.c:
6078 * gst/gsttagsetter.h:
6081 * gst/gsttrashstack.c:
6082 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6083 inlined docs for gsttrace, gsttrashstack
6085 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6088 * gst/elements/gstbufferstore.h:
6089 * gst/elements/gsttypefindelement.c:
6090 * gst/elements/gsttypefindelement.h:
6092 * gst/gsttypefind.c:
6093 * gst/gsttypefind.h:
6094 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6095 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6096 (gst_type_find_factory_dispose),
6097 (gst_type_find_factory_unload_thyself),
6098 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6099 (gst_type_find_factory_get_caps),
6100 (gst_type_find_factory_get_extensions),
6101 (gst_type_find_factory_call_function):
6102 * gst/gsttypefindfactory.h:
6103 * gst/registries/gstlibxmlregistry.c:
6104 * gst/registries/gstxmlregistry.c:
6105 splitted gsttypefind into gsttypefind, gsttypefindfactory
6107 2005-09-07 Andy Wingo <wingo@pobox.com>
6109 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6110 condition whereby the pad's task function is entered before the
6111 pad_mode variable was set.
6113 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6115 * gst/gstpad.c: (gst_pad_alloc_buffer):
6116 Catch misbehaving pad_alloc functions that don't
6117 set up caps and do it for them.
6119 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6121 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6123 * docs/gst/tmpl/.cvsignore:
6124 * docs/gst/tmpl/gstmemchunk.sgml:
6125 * docs/gst/tmpl/gstparse.sgml:
6126 * docs/gst/tmpl/gsttaglist.sgml:
6127 * docs/gst/tmpl/gsttagsetter.sgml:
6128 * docs/gst/tmpl/gsttypefind.sgml:
6129 * docs/gst/tmpl/gsttypefindfactory.sgml:
6130 * gst/gstmemchunk.c:
6133 * gst/gsttaginterface.c:
6134 * gst/gsttypefind.c:
6135 * gst/gsttypefind.h:
6138 === release 0.9.2 ===
6140 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6145 releasing 0.9.2, "South"
6147 2005-09-05 Andy Wingo <wingo@pobox.com>
6149 * gst/registries/gstxmlregistry.h:
6150 * gst/registries/gstxmlregistry.c: Um... resurrect...
6152 * gst/registries/gstxmlregistry.h:
6153 * gst/registries/gstxmlregistry.c: and update to newer API.
6154 Incidentally they should be a bit faster now that they don't have
6157 2005-09-05 Andy Wingo <wingo@pobox.com>
6159 * gst/registries/gstxmlregistry.h:
6160 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6161 replaced by the libxml registry a while back
6163 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6165 * docs/gst/tmpl/gstplugin.sgml:
6166 * gst/elements/gstelements.c:
6168 * gst/gstplugin.c: (gst_plugin_register_func),
6169 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6170 (gst_plugin_get_source):
6172 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6173 (gst_xml_registry_save_plugin):
6174 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6175 (gst_xml_registry_save_plugin):
6176 * tools/gst-inspect.c: (print_plugin_info):
6177 add a "source" plugin description field, to represent the source
6178 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6179 will set it to PACKAGE, which is automake's idea of the name of
6182 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6188 * docs/faq/Makefile.am:
6189 * docs/gst/tmpl/gstelement.sgml:
6190 * docs/gst/tmpl/gsttypes.sgml:
6191 * docs/htmlinstall.mak:
6192 * docs/manual/Makefile.am:
6193 * docs/pwg/Makefile.am:
6194 reorganize doc build a little
6195 split out docbook and gtk-doc stuff
6196 have two separate --enable's and enable them through autogen
6197 but disable by default in configure (to be similar to other
6199 * gstreamer.spec.in:
6200 clean up docs install
6220 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6222 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6225 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6226 (gst_fake_sink_change_state):
6227 Make state change function thread-safe.
6229 * gst/gstpad.c: (gst_pad_alloc_buffer):
6230 Set offset on generic buffer allocated by fallback.
6232 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6234 * docs/gst/gstreamer-sections.txt:
6235 * docs/gst/tmpl/gstelement.sgml:
6237 * libs/gst/controller/gst-controller.c:
6238 (gst_controlled_property_set_interpolation_mode),
6239 (gst_controlled_property_new),
6240 (gst_controller_find_controlled_property):
6241 run the wingo-magic script against the docs
6243 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6245 * docs/gst/gstreamer-docs.sgml:
6246 * docs/gst/gstreamer-sections.txt:
6247 * docs/gst/tmpl/.cvsignore:
6248 * docs/gst/tmpl/gstelementdetails.sgml:
6249 * docs/gst/tmpl/gstelementfactory.sgml:
6252 * gst/gstelementfactory.c:
6253 * gst/gstelementfactory.h:
6254 merged elementdetails docs into elementfactory docs
6257 2005-09-02 Andy Wingo <wingo@pobox.com>
6259 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6260 consider this enum an enum and not a flags.
6262 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6264 * docs/gst/gstreamer-docs.sgml:
6265 * docs/gst/tmpl/.cvsignore:
6266 * docs/gst/tmpl/gstghostpad.sgml:
6267 * docs/gst/tmpl/gstiterator.sgml:
6268 * docs/gst/tmpl/gstmacros.sgml:
6269 * docs/gst/tmpl/gstrealpad.sgml:
6270 * docs/gst/tmpl/gstregistry.sgml:
6271 * docs/gst/tmpl/gstregistrypool.sgml:
6272 * docs/gst/tmpl/gststructure.sgml:
6273 * docs/gst/tmpl/gstsystemclock.sgml:
6274 * docs/gst/tmpl/gsttrace.sgml:
6275 * gst/gstghostpad.c:
6277 * gst/gstmemchunk.c:
6278 * gst/gstmemchunk.h:
6280 * gst/gstregistry.c:
6281 * gst/gstregistrypool.c:
6282 * gst/gststructure.c:
6283 * gst/gstsystemclock.c:
6286 2005-09-02 Andy Wingo <wingo@pobox.com>
6288 * gst/gstelement.h (GstState): Renamed from GstElementState,
6289 changed to be a normal enum instead of flags.
6290 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6291 munged to be GST_STATE_CHANGE_*.
6292 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6293 work with the new state representation.
6294 (GstStateChange): New enumeration of possible state transitions.
6295 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6296 (GstElementClass::change_state): Pass the GstStateChange along as
6297 an argument. Helps language bindings, so they don't have to use
6298 tricky lock-needing macros like GST_STATE_CHANGE ().
6300 * scripts/update-states (file): New script. Run it on a file to
6301 update it for state naming and API changes. Updates files in
6304 * All files updated for the new API.
6306 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6308 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6309 * gst/gstutils.c: (gst_util_set_value_from_string),
6310 (gst_util_set_object_arg):
6311 fix a bunch of unchecked return values
6312 * tools/gst-complete.c: (main):
6313 * gstreamer.spec.in:
6316 2005-09-01 Wim Taymans <wim@fluendo.com>
6318 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6319 (gst_base_sink_event), (gst_base_sink_do_sync),
6320 (gst_base_sink_handle_event):
6321 * gst/base/gstbasesink.h:
6322 Handle newsegments more correctly.
6327 * gst/gstevent.c: (gst_event_new_newsegment):
6328 A newsegment cannot have a start_time of -1
6330 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6332 * win32/gstenumtypes.c:
6333 * win32/gstenumtypes.h:
6336 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6338 * libs/gst/controller/gst-controller.c:
6339 (gst_controlled_property_set_interpolation_mode),
6340 (gst_controlled_property_new):
6343 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6345 * docs/faq/gst-uninstalled:
6350 * gst/gstutils.c: (gst_element_link_filtered):
6352 add gst_element_link_filtered
6354 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6356 * docs/gst/gstreamer-docs.sgml:
6357 * docs/gst/gstreamer-sections.txt:
6358 * docs/gst/tmpl/.cvsignore:
6359 * docs/gst/tmpl/gsterror.sgml:
6360 * docs/gst/tmpl/gstfilter.sgml:
6361 * docs/gst/tmpl/gsturihandler.sgml:
6362 * docs/gst/tmpl/gsturitype.sgml:
6363 * docs/gst/tmpl/gstutils.sgml:
6364 * docs/gst/tmpl/gstxml.sgml:
6372 inlined more docs, fixed double id-ref
6374 2005-08-31 Wim Taymans <wim@fluendo.com>
6376 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6377 (gst_base_transform_handle_buffer):
6378 Passthrough elements don't need the caps as they don't care.
6380 2005-08-31 Wim Taymans <wim@fluendo.com>
6382 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6383 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6384 Don't leak refcounts on buffers.
6386 2005-08-31 Wim Taymans <wim@fluendo.com>
6388 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6389 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6390 (gst_base_transform_chain), (gst_base_transform_change_state):
6391 * gst/base/gstbasetransform.h:
6392 Handle the case where we are not negotiated more gracefully.
6394 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6396 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6397 (gst_file_src_map_region):
6398 Set READONLY flag on mmap'ed buffers, otherwise
6399 gst_buffer_make_writable() won't work properly (#314708).
6401 2005-08-31 Wim Taymans <wim@fluendo.com>
6403 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6404 passthrough elements can even do inplace on non writable
6405 buffers (as they don't touch them).
6407 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6409 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6410 (gst_test_mono_source_set_property),
6411 (gst_test_mono_source_class_init), (GST_START_TEST),
6412 (gst_controller_suite):
6413 more tests (hehe I have the most)
6415 describe popping messages whenusing mulltiple sources
6416 * libs/gst/controller/gst-controller.c:
6417 (gst_controlled_property_set_interpolation_mode),
6418 (gst_controlled_property_new):
6419 * libs/gst/controller/gst-controller.h:
6420 * libs/gst/controller/gst-interpolation.c:
6421 implement boolean properties
6423 2005-08-31 Wim Taymans <wim@fluendo.com>
6425 * gst/gstminiobject.c: (gst_mini_object_ref):
6426 Cannot assert that the refcount has to be positive
6427 since a disposed object can be resurrected.
6429 2005-08-31 Wim Taymans <wim@fluendo.com>
6431 * gst/gstpad.c: (gst_pad_init):
6432 Revert change, need to first fix badly behaving
6435 2005-08-30 Wim Taymans <wim@fluendo.com>
6437 * check/elements/fakesrc.c: (setup_fakesrc):
6438 * check/elements/identity.c: (setup_identity):
6439 Activate pads before using them.
6441 2005-08-30 Wim Taymans <wim@fluendo.com>
6443 * gst/base/gstadapter.c: (gst_adapter_flush):
6444 Flushing out 0 bytes is ok for this function.
6446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6447 no newsegment gives a warning and sets the start/stop to
6450 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6451 (gst_base_transform_set_passthrough):
6454 * gst/gstminiobject.c: (gst_mini_object_ref):
6455 Check refcount here too.
6457 * gst/gstpad.c: (gst_pad_init):
6458 Pads are initially flushing and refusing data.
6460 * gst/gstutils.c: (gst_element_link_pads_filtered):
6461 When adding a capsfilter element make sure it has the
6462 same state as the parent bin.
6464 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6466 * docs/gst/tmpl/.cvsignore:
6467 * docs/gst/tmpl/gstformat.sgml:
6468 * docs/gst/tmpl/gstversion.sgml:
6472 * gst/gstversion.h.in:
6473 more docs and two more inlined
6475 2005-08-30 Wim Taymans <wim@fluendo.com>
6477 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6478 Don't sync to clock.
6480 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6482 * docs/gst/gstreamer-sections.txt:
6483 ultral33t func10ns deserve to appear in the docs actually
6484 * docs/gst/tmpl/.cvsignore:
6485 * docs/gst/tmpl/gstcompat.sgml:
6486 * docs/gst/tmpl/gstconfig.sgml:
6487 * gst/check/gstcheck.c:
6489 * gst/gstconfig.h.in:
6492 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6494 * docs/gst/tmpl/.cvsignore:
6495 * docs/gst/tmpl/gstquery.sgml:
6496 * docs/gst/tmpl/gstutils.sgml:
6499 inlined and extended docs
6501 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6503 * check/gst-libs/controller.c: (GST_START_TEST),
6504 (gst_controller_suite):
6506 * docs/gst/tmpl/gstutils.sgml:
6507 * docs/libs/gstreamer-libs-sections.txt:
6508 * docs/libs/tmpl/gstdataprotocol.sgml:
6510 * examples/controller/audio-example.c: (main):
6511 controller example works now
6514 * tools/gst-inspect.c: (print_element_properties_info):
6515 show param spec flags
6517 2005-08-29 Andy Wingo <wingo@pobox.com>
6519 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6521 2005-08-28 Andy Wingo <wingo@pobox.com>
6523 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6524 as having two arguments instead of just one. Allows superclasses
6525 to access information on subclasses -- see the terrible for() loop
6526 in gtype.c:g_type_create_instance for the reason why. All callers
6529 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6531 * docs/design/part-messages.txt:
6533 * docs/gst/tmpl/.cvsignore:
6534 * docs/gst/tmpl/gstcaps.sgml:
6535 * docs/gst/tmpl/gstclock.sgml:
6542 added descriptions for bus and message
6543 inline caps and clock docs
6545 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6551 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6553 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6556 2005-08-26 Andy Wingo <wingo@pobox.com>
6558 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6559 element_set_state's return val.
6560 (test_2_elements): Add test that's been disabled for months.
6562 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6563 can-activate-pull properties.
6565 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6566 can-activate-pull properties. Implement is_seekable so fakesrc can
6567 operate in pull mode.
6569 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6571 (gst_base_sink_activate, gst_base_sink_activate_pull)
6572 (gst_base_sink_activate_push): Make activation mode choosing work.
6574 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6575 is right. Make pull mode work. Post an eos before pausing in pull
6577 (gst_base_sink_change_state): Pay attention to the core's
6578 change_state() return val.
6580 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6581 has-getrange properties. Cleanups.
6583 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6584 has_getrange and replace with can_activate_pull and
6587 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6588 locking comments. Remove has_loop, has_chain and replace with
6589 can_activate_pull and can_activate_push.
6591 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6594 * examples/Makefile.am:
6595 * examples/metadata/Makefile.am:
6596 * examples/metadata/read-metadata.c: (message_loop),
6597 (have_pad_handler), (make_pipeline), (print_tag), (main):
6598 Add metadata reading example that loops over a list of filenames,
6599 dumping any tags found.
6601 * gst/gstbus.c: (gst_bus_dispose):
6602 * gst/gstelement.c: (gst_element_dispose):
6603 Release a few potentially-held references in dispose.
6605 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6607 * docs/gst/tmpl/gstminiobject.sgml:
6608 do *not* add tmpl/*.sgml files to CVS!
6610 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6612 * libs/gst/bytestream/.cvsignore:
6613 * libs/gst/bytestream/Makefile.am:
6614 * libs/gst/bytestream/adapter.c:
6615 * libs/gst/bytestream/adapter.h:
6616 * libs/gst/bytestream/bytestream.c:
6617 * libs/gst/bytestream/bytestream.h:
6618 * libs/gst/bytestream/filepad.c:
6619 * libs/gst/bytestream/filepad.h:
6620 removing obsolete files
6622 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6624 * docs/gst/gstreamer-docs.sgml:
6625 * docs/libs/gstreamer-libs-docs.sgml:
6626 disabed additional index entries again, as this makes docs-gen just
6627 slow and they aren't useful yet
6628 * docs/libs/gstreamer-libs-sections.txt:
6629 little -section.txt cleanup for libs
6631 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6633 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6634 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6635 fix up some debugging
6636 (gst_base_transform_get_unit_size),
6637 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6638 (gst_base_transform_handle_buffer):
6639 * gst/base/gstbasetransform.h:
6640 handle and store timed NEWSEGMENT events so that subclasses that
6641 calculate time by counting samples have a segment_start time they
6642 need to add to their timestamps - see audioresample
6644 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6647 removed ';' from the end of macro defs
6648 * docs/gst/gstreamer-docs.sgml:
6649 * docs/gst/gstreamer-sections.txt:
6650 * docs/gst/tmpl/.cvsignore:
6652 * gst/gstelement.c: (gst_element_class_init),
6653 (gst_element_set_state), (activate_pads),
6654 (gst_element_save_thyself):
6655 * gst/gstevent.c: (gst_event_new_newsegment):
6657 * gst/gstiterator.c:
6658 * gst/gstiterator.h:
6661 * gst/gstutils.c: (gst_pad_query_convert):
6663 fixed parameter name mismatches between source, header and docs
6664 added some more docs, resolved the last batch of unused elements in
6665 docs (now someone needs to doc them)
6667 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6669 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6670 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6671 don't walk through the plugins backwards. Where is all this
6672 reversed logic coming from ?
6674 2005-08-25 Wim Taymans <wim@fluendo.com>
6676 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6677 (gst_base_transform_transform_size),
6678 (gst_base_transform_configure_caps),
6679 (gst_base_transform_get_unit_size),
6680 (gst_base_transform_buffer_alloc),
6681 (gst_base_transform_change_state):
6682 * gst/base/gstbasetransform.h:
6683 Cache caps unit_size.
6684 Make sure we cannot negotiate up and downstream at the
6687 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6689 * gst/gst.c: (init_pre), (init_post):
6690 register the installed plugin path after the env var
6691 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6692 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6693 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6694 directories, so the tests can prefer uninstalled over installed
6696 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6698 * gst/base/gstbasetransform.h:
6703 2005-08-25 Wim Taymans <wim@fluendo.com>
6705 * gst/gstbin.c: (bin_bus_handler):
6706 Be a bit more conservative about the posted message.
6708 * gst/gstbus.c: (gst_bus_post):
6709 Some cleanups, warn wrong return values.
6711 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6713 * check/gst/gstbin.c: (GST_START_TEST):
6714 * gst/gstbin.c: (bin_bus_handler):
6715 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6716 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6717 (gst_message_new_warning), (gst_message_new_tag),
6718 (gst_message_new_state_changed), (gst_message_new_segment_start),
6719 (gst_message_new_segment_done), (gst_message_new_custom):
6721 * tools/gst-launch.c: (event_loop):
6722 * tools/gst-md5sum.c: (event_loop):
6723 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6725 2005-08-25 Wim Taymans <wim@fluendo.com>
6727 * check/generic/states.c: (GST_START_TEST):
6728 Cleanup can be done at the end.
6730 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6731 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6732 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6733 Oh boy.. Thanks for finding this, Thomas.
6735 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6737 * docs/gst/gstreamer.types:
6740 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6742 * docs/gst/gstreamer-docs.sgml:
6743 * docs/gst/gstreamer-sections.txt:
6744 * docs/gst/tmpl/.cvsignore:
6746 * gst/gstiterator.c:
6748 * gst/registries/gstxmlregistry.h:
6749 added missing classes and symbols (123 more to go)
6750 removed removed symbols from section file
6751 fixed many doc-comments
6753 2005-08-24 Wim Taymans <wim@fluendo.com>
6755 * check/generic/states.c: (GST_START_TEST):
6756 Make sure all tasks are stopped.
6758 * check/gst/gstbin.c: (GST_START_TEST):
6759 Unref after usage for proper valgrinding.
6761 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6762 Really wait for the task to stop before destroying the
6765 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6766 (gst_queue_src_activate_push):
6767 Small cleanups. Don't stop the task when we did not start
6770 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6771 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6772 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6775 Protect the stream lock with the object lock.
6776 Disallow setting the stream lock when running.
6777 Add cleanup_all to wait for the threadpool to finish.
6778 Remove code to autoallocate a mutex if none was provided.
6779 Add _join() to wait for a task to stop.
6780 Protect the thread pool with a global lock.
6782 2005-08-24 Wim Taymans <wim@fluendo.com>
6784 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6785 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6786 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6787 * gst/base/gstbasesink.h:
6788 Handle newsegment events correctly.
6789 Drop buffers out of the segment range.
6791 2005-08-22 Andy Wingo <wingo@pobox.com>
6793 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6794 macro, implements an interface and gstimplementsinterface for a
6797 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6799 * check/Makefile.am:
6800 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6801 add a test that does a bunch of state changes on elements
6802 needs some fixing for valgrind
6803 * check/states/sinks.c: (gst_object_suite):
6806 add prototype for gst_caps_is_equal_fixed
6808 * gst/gstregistrypool.c:
6811 2005-08-24 Andy Wingo <wingo@pobox.com>
6813 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6814 convert a negative value. Doesn't make much sense. Mostly this is
6815 here to force callers to ensure -1 maps to -1.
6817 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6819 * docs/pwg/advanced-types.xml:
6820 Well done to Michael for catching my deliberate introduction
6821 of this spelling mistake.
6822 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6824 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6825 unlink pads before removing the element from the bin.
6827 2005-08-24 Andy Wingo <wingo@pobox.com>
6829 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6830 the same thing as GST_DEBUG=*:4.
6831 (parse_debug_level, parse_debug_category): New helper parsers.
6833 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6835 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6836 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6837 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6838 (gst_base_transform_buffer_alloc),
6839 (gst_base_transform_handle_buffer):
6840 use gboolean return values and pointers to size so we can use the
6841 full GST_BUFFER_SIZE range (guint) for buffer sizes
6842 use GstPadDirection for transform_caps
6843 * gst/base/gstbasetransform.h:
6844 rename get_size to get_unit_size since that's what it is
6845 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6846 use GstPadDirection for transform_caps
6847 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6849 cleanup and debugging
6851 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6853 * gst/gstelement.c: (gst_element_class_init),
6854 (gst_element_set_state), (activate_pads),
6855 (gst_element_save_thyself):
6856 * tools/gst-compprep.c: (main):
6857 * tools/gst-inspect.c: (print_element_properties_info):
6858 * tools/gst-xmlinspect.c: (print_element_properties):
6859 Fixed long standing mem-leak
6861 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6863 * check/gst/gstbin.c: (GST_START_TEST):
6864 * gst/gstbin.c: (bin_bus_handler):
6865 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6866 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6867 (gst_message_new_warning), (gst_message_new_tag),
6868 (gst_message_new_state_changed), (gst_message_new_segment_start),
6869 (gst_message_new_segment_done), (gst_message_new_custom):
6871 * tools/gst-launch.c: (event_loop):
6872 * tools/gst-md5sum.c: (event_loop):
6873 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6874 that applications can sensibly post custom messages with references
6875 to their own objects.
6877 2005-08-24 Andy Wingo <wingo@pobox.com>
6879 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6882 2005-08-24 Wim Taymans <wim@fluendo.com>
6884 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6885 (gst_base_transform_transform_caps),
6886 (gst_base_transform_transform_size),
6887 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6888 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6889 (gst_base_transform_handle_buffer):
6890 * gst/base/gstbasetransform.h:
6891 Many fixes and new features added by Thomas. Can now also do
6892 transforms with variable sizes and a custom fixate_caps function.
6894 2005-08-24 Wim Taymans <wim@fluendo.com>
6896 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6900 Cast to ClockTime before formatting to time.
6905 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6907 * check/gst-libs/controller.c: (GST_START_TEST),
6908 (gst_controller_suite):
6909 * docs/gst/tmpl/gstcaps.sgml:
6910 * docs/gst/tmpl/gstghostpad.sgml:
6911 * docs/gst/tmpl/gstquery.sgml:
6912 * docs/gst/tmpl/gstutils.sgml:
6913 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6914 (gst_object_sink_values), (gst_object_get_value_arrays),
6915 (gst_object_get_value_array):
6916 gracefully handle helper method calls to objects that are not beeing
6917 controlled, added test case for that
6919 2005-08-23 Wim Taymans <wim@fluendo.com>
6921 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6922 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6923 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6924 (gst_event_parse_qos), (gst_event_new_seek),
6925 (gst_event_parse_seek):
6927 Some more debugging output and doc cleanups.
6929 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6930 Fix possible deadlock.
6932 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6934 * docs/gst/gstreamer-docs.sgml:
6935 * docs/gst/gstreamer-sections.txt:
6936 * docs/gst/gstreamer.types:
6937 * docs/gst/tmpl/.cvsignore:
6942 added 100 symbols from gstreamer-unused.txt to the right sections
6943 fixed more broken comments
6944 added GstBus to docs
6946 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6948 * docs/gst/gstreamer-sections.txt:
6949 * docs/gst/tmpl/.cvsignore:
6950 * docs/gst/tmpl/gstbin.sgml:
6951 * docs/gst/tmpl/gstbuffer.sgml:
6952 * gst/base/gstbasesrc.c:
6953 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6956 * tools/gst-launch.1.in:
6957 inlined more doc comments, added missing comments and fixed comments
6960 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6962 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6966 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6968 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6969 * gst/gststructure.h:
6970 add a fixate function for booleans; add a FIXME that these func
6971 names should probably be gst_structure_fixate_*
6973 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6975 * docs/gst/gstreamer-docs.sgml:
6976 * docs/gst/gstreamer-sections.txt:
6978 * gst/gstbin.c: (gst_bin_get_type),
6979 (gst_bin_child_proxy_get_child_by_index),
6980 (gst_bin_child_proxy_get_children_count),
6981 (gst_bin_child_proxy_init):
6982 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6983 (gst_child_proxy_get_child_by_index),
6984 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6985 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6986 (gst_child_proxy_get), (gst_child_proxy_set_property),
6987 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6988 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6989 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6990 * gst/gstchildproxy.h:
6991 * gst/parse/grammar.y:
6992 * tools/gst-inspect.c: (print_interfaces),
6993 (print_element_properties_info), (print_element_info):
6994 ported gstchildproxy over from 0.8
6995 ported gst-inspect fixes and enhancements over from 0.8
6997 2005-08-22 Wim Taymans <wim@fluendo.com>
6999 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7000 (gst_base_transform_handle_buffer):
7001 Also call the transform function if we have ANY caps.
7003 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7006 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7008 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7009 Don't pretend to handle seek events if the source is not seekable
7011 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7014 Remove extra parameter to debug output
7016 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7017 (gst_base_src_do_seek), (gst_base_src_activate_push):
7018 Fix seek event handling.
7020 * gst/gstpipeline.c: (gst_pipeline_change_state):
7021 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7022 (gst_queue_src_activate_push):
7023 Don't start the src pad task on FLUSH_STOP if the pad
7027 2005-08-22 Wim Taymans <wim@fluendo.com>
7029 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7030 Added check for gst_static_caps_get() refcounting.
7032 2005-08-22 Wim Taymans <wim@fluendo.com>
7034 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7035 Make _static_caps_get() refcounting sane.
7037 * gst/gstelement.c: (gst_element_set_state):
7038 Add g_return_val_if_fail() to protect against segfaults.
7040 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7042 * docs/gst/tmpl/gstevent.sgml:
7045 inlined remaining docs, added missing doc comments
7047 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7049 * check/gst/gstbin.c: (GST_START_TEST):
7050 since we don't know when preroll is done, use refcount range
7052 * gst/check/gstcheck.h:
7053 add macro for checking refcount range
7055 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7057 * check/Makefile.am:
7058 clean up environment for when registry gets built versus
7059 when actual tests are run; valgrind seems to not report
7060 leaks if GST_PLUGIN_PATH is set to some specific values
7061 * check/gst/gstbin.c: (GST_START_TEST):
7062 add more refcounting checks; maybe this exposes a
7065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7066 * gst/check/gstcheck.h:
7067 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7068 (gst_bin_change_state):
7069 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7070 add/fix debugging/whitespace
7072 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7074 * check/gst/gstevent.c: (event_probe), (test_event),
7076 Er, don't call gst_bin_watch_for_state_change you idiot.
7078 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7080 * check/Makefile.am:
7081 Use CHECK_CFLAGS and CHECK_LIBS
7082 * check/gst/gstevent.c: (event_probe), (test_event),
7085 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7086 (gst_base_src_start), (gst_base_src_stop),
7087 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7088 (gst_base_src_change_state):
7089 Sprinkle gst_base_src_stop liberally around error paths to fix
7090 problems reusing a source after failed state changes.
7091 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7092 (helper_find_suggest), (gst_type_find_helper):
7093 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7095 * docs/gst/tmpl/gstevent.sgml:
7096 Migrate part of the docs from the SGML file. Wait for ensonic to
7097 tell me how I did it wrong ;)
7098 * tools/gst-typefind.c: (main):
7099 Extra robustness to state changes between files.
7101 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7103 * check/Makefile.am:
7104 don't valgrind the controller test - it's leaking - Stefan, HELP
7105 * gst/check/gstcheck.c: (gst_check_message_error),
7106 (gst_check_chain_func), (gst_check_setup_element),
7107 (gst_check_teardown_element), (gst_check_setup_src_pad),
7108 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7109 (gst_check_teardown_sink_pad):
7110 * gst/check/gstcheck.h:
7111 add a bunch of methods to set up elements, and src and sink pads
7112 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7113 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7118 whitespace/doc fixes
7120 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7123 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7124 be handled by the application and not always printed as well
7126 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7128 * check/Makefile.am:
7130 * gst/check/gstcheck.c: (gst_check_message_error):
7131 * gst/check/gstcheck.h:
7132 add a fail_unless_equals_int
7133 add fail_unless for error messages
7135 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7137 * check/Makefile.am:
7139 * common/Makefile.am:
7142 factor out some of the common stuff so we can use it
7144 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7146 * check/Makefile.am:
7147 * check/gst/gstiterator.c: (GST_START_TEST):
7148 * check/gst/gstsystemclock.c: (GST_START_TEST),
7149 (gst_systemclock_suite):
7150 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7154 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7156 * check/elements/.cvsignore:
7157 * check/elements/gstfakesrc.c:
7158 rename to name of element
7159 * check/elements/identity.c: (chain_func), (event_func),
7160 (setup_identity), (cleanup_identity), (GST_START_TEST),
7161 (identity_suite), (main):
7162 add a test for identity
7163 * check/Makefile.am:
7164 * pkgconfig/Makefile.am:
7165 * pkgconfig/gstreamer-check.pc.in:
7166 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7170 move the check stuff to a library that gets installed
7171 * check/gst-libs/controller.c: (GST_START_TEST):
7172 * check/gst-libs/gdp.c:
7173 * check/gst/gst.c: (GST_START_TEST):
7174 * check/gst/gstbin.c:
7175 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7176 * check/gst/gstbus.c:
7177 * check/gst/gstcaps.c: (GST_START_TEST):
7178 * check/gst/gstelement.c:
7179 * check/gst/gstghostpad.c:
7180 * check/gst/gstiterator.c:
7181 * check/gst/gstmessage.c:
7182 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7183 * check/gst/gstobject.c:
7184 * check/gst/gstpad.c: (GST_START_TEST):
7185 * check/gst/gststructure.c: (GST_START_TEST):
7186 * check/gst/gstsystemclock.c: (GST_START_TEST),
7187 (gst_systemclock_suite):
7188 * check/gst/gsttag.c: (gst_tag_suite):
7189 * check/gst/gstvalue.c:
7190 * check/pipelines/cleanup.c:
7191 * check/pipelines/simple_launch_lines.c:
7192 * check/states/sinks.c:
7193 change include statement
7195 * docs/gst/gstreamer-sections.txt:
7196 * docs/gst/tmpl/gstpad.sgml:
7197 document more pad stuff
7198 * gst/gstminiobject.c: (gst_mini_object_ref),
7199 (gst_mini_object_unref):
7202 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7204 * docs/gst/tmpl/gst.sgml:
7206 eliminate another tmpl file, fix spelling in the long-description
7208 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7210 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7211 (test_event), (timediff), (gstevents_suite):
7212 Should fix build on 64-bit arch's
7214 2005-08-18 Andy Wingo <wingo@pobox.com>
7216 Make sure that when a pipeline goes to PLAYING, that data has
7217 actually hit the sink.
7219 * check/states/sinks.c (test_sink): A sink that doesn't get any
7220 data shouldn't return SUCCESS for going to either PLAYING or
7221 PAUSED. Test also the return values on the way back down.
7223 * gst/gstelement.c (gst_element_set_state): When changing the
7224 state of an element currently changing state asynchronously, go to
7225 lost-state after commiting the pending state. Makes future calls
7226 to get_state continue to return ASYNC.
7228 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7229 ASYNC when going to PLAYING if we still don't have preroll, as can
7230 happen with live sources.
7232 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7234 * docs/pwg/advanced-types.xml:
7235 Hack long paragraph into 2 chunks as a workaround for buggy
7236 jadetex version in sid and breezy that loops infinitely and
7239 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7241 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7242 (test_event), (timediff), (gstevents_suite):
7243 Provide more error margin in clock measurements to allow for
7244 g_get_current_time inaccuracies.
7246 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7248 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7249 (test_event), (timediff), (gstevents_suite):
7250 Fix error message output so I might be able to tell why the
7251 test works here but fails on the build farm.
7253 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7255 * check/Makefile.am:
7256 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7257 (test_event), (timediff), (gstevents_suite), (main):
7260 * docs/design/part-seeking.txt:
7263 * docs/gst/tmpl/gstevent.sgml:
7264 * docs/gst/tmpl/gstfakesrc.sgml:
7267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7268 Treat a buffer-without-newsegment the same as a receiving
7269 a newsegment not in time format, and disable syncing to the clock
7272 * gst/gstbus.c: (gst_bus_set_sync_handler):
7273 Assert if anyone tries to replace the existing sync_handler for bus,
7274 as only the owner should be setting it.
7277 Have a fixed set of custom event enums with events identified by
7278 their structure name (as in 0.8), rather than a free-for-all
7279 allowing collisions between enum values from different plugins.
7281 * gst/gstpad.c: (gst_pad_class_init):
7284 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7285 Handle out-of-band downstream events from the sending thread.
7287 2005-08-17 Andy Wingo <wingo@pobox.com>
7289 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7290 play-timeout==0 to mean no timeout at all. In that case, don't
7291 bother with a get_state or a warning, just return directly, even
7294 * gst/base/gstbasetransform.c: Debug changes.
7297 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7298 ensure bins post state change messages. A bit of a hack but I can't
7299 think of a way to avoid it.
7301 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7303 2005-08-16 Andy Wingo <wingo@pobox.com>
7305 * gst/base/gstadapter.h:
7306 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7307 peek() but you own the data. Not terribly efficient atm.
7309 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7311 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7312 (gst_element_found_tags):
7314 Add two utility functions for tag handling.
7316 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7318 * docs/manual/advanced-dataaccess.xml:
7319 * docs/manual/basics-helloworld.xml:
7320 Fix docs to use _bin_add() before _link(), which fixes the examples
7321 with recent core versions (reported by Madhan Raj M
7322 <raj_madan@rediffmail.com>, #313199).
7324 2005-08-16 Wim Taymans <wim@fluendo.com>
7326 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7327 Added subtract checks.
7329 * docs/design/part-events.txt:
7330 Some more docs about newsegment
7332 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7335 * gst/gstcaps.c: (gst_caps_to_string):
7336 Add comments, cleanups.
7338 * gst/gstelement.c: (gst_element_save_thyself):
7341 * gst/gstvalue.c: (gst_value_collect_int_range),
7342 (gst_string_unwrap), (gst_value_union_int_int_range),
7343 (gst_value_union_int_range_int_range),
7344 (gst_value_intersect_int_int_range),
7345 (gst_value_intersect_int_range_int_range),
7346 (gst_value_intersect_double_double_range),
7347 (gst_value_intersect_double_range_double_range),
7348 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7349 (gst_value_subtract_int_range_int),
7350 (gst_value_subtract_double_range_double),
7351 (gst_value_subtract_double_range_double_range),
7352 (gst_value_subtract_from_list), (gst_value_subtract_list),
7353 (gst_value_can_compare), (gst_value_compare_fraction):
7354 Cleanups, add comments, remove unneeded asserts.
7356 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7358 * tools/gst-launch.c: (event_loop):
7359 don't convert NULL structures to strings
7361 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7363 * docs/gst/gstreamer-sections.txt:
7364 made some defines private
7365 * docs/gst/tmpl/gstconfig.sgml:
7366 * docs/gst/tmpl/gstqueue.sgml:
7367 * docs/gst/tmpl/gsttaglist.sgml:
7368 * docs/gst/tmpl/gsttypes.sgml:
7369 * docs/gst/tmpl/gstutils.sgml:
7370 * docs/pwg/appendix-porting.xml:
7371 * gst/base/gstbasesink.h:
7372 * gst/base/gstbasesrc.c:
7373 * gst/base/gstbasesrc.h:
7374 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7375 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7376 * gst/gstelement.c: (gst_element_class_init):
7377 * gst/gstpad.c: (gst_pad_class_init):
7378 * gst/gstqueue.c: (gst_queue_class_init):
7379 * gst/gstxml.c: (gst_xml_class_init):
7380 documented all undocumented signal inline
7381 * libs/gst/controller/gst-controller.h:
7384 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7386 * docs/pwg/appendix-porting.xml:
7387 Document _set_link_function -> _set_setcaps_function.
7389 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7391 * check/Makefile.am:
7392 add a .check target for running the check
7393 * check/gst-libs/controller.c: (GST_START_TEST):
7395 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7396 complete checks for gstbuffer; would be nice if I could get the
7397 gcov stuff to work so I can see if I actually completed gstbuffer.c
7399 add ASSERT_BUFFER_REFCOUNT
7401 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7403 * docs/gst/gstreamer-sections.txt:
7404 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7406 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7407 spew out a warning if a tag that is already registered
7408 is re-registered, unless it is re-registered with a
7409 different type (#308438).
7411 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7413 * docs/pwg/appendix-porting.xml:
7414 * docs/pwg/building-state.xml:
7415 Add some paragraphs about state changes in 0.9 to the PWG
7416 and the porting guide, in particular about the new meaning
7417 of GST_STATE_PAUSED and how to write state change functions
7418 with concurrent access by multiple threads in mind.
7420 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7422 * docs/gst/gstreamer-docs.sgml:
7423 * docs/libs/gstreamer-libs-docs.sgml:
7424 added deprecation and since indexes
7425 * libs/gst/controller/gst-controller.c:
7426 * libs/gst/controller/gst-helper.c:
7430 2005-08-11 Wim Taymans <wim@fluendo.com>
7432 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7433 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7434 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7435 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7436 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7437 (gst_ghost_pad_set_target):
7438 Actually implement (re)setting the target on a ghostpad
7439 as described in the docs.
7441 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7443 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7444 Check whether GST_DEBUG_NO_COLOR environment variable is
7445 set and disable coloured debug output if that is the case.
7447 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7449 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7450 (gst_type_find_helper):
7451 The memory returned by gst_type_find_peek() needs to
7452 stay valid until the end of a typefind function, and
7453 typefind functions may keep results from different
7454 offsets around, so we can't just unref the buffer from
7455 the previous _peek(), but have to save all buffers
7456 returned by _peek() until typefinding is done and only
7459 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7461 * docs/gst/gstreamer-sections.txt:
7463 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7465 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7467 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7468 Fix a pretty good memleak.
7470 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7472 * gst/gstiterator.h:
7473 Fix wrong include and 'make distcheck'.
7475 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7477 * gst/gstbin.c: (bin_bus_handler):
7478 Use gst_element_post_message() instead.
7480 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7482 * gst/base/gstadapter.h:
7483 * gst/base/gstbasesink.h:
7484 * gst/base/gstbasesrc.h:
7485 * gst/base/gstbasetransform.h:
7486 * gst/base/gstcollectpads.h:
7487 * gst/base/gstpushsrc.h:
7488 * gst/gstiterator.h:
7489 Add padding to our base elements' class and instance structs and
7490 to GstIterator (you will need to rebuild all plugins and apps!)
7492 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7494 * gst/gstbin.c: (bin_bus_handler):
7495 Make default message forwarding from child->bus to bin->bus
7496 threadsafe and make it not emit warnings if the parent has no bus.
7498 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7500 * gst/gstelement.c: (activate_pads):
7501 On paused->ready, set pad->caps to NULL, as is the documented
7502 behaviour in this state change. Fixes playback of series of
7503 media files when visualization is enabled in Totem.
7505 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7507 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7508 Allow NULL as filter-caps (which means "any").
7510 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7512 * docs/libs/gstreamer-libs-sections.txt:
7513 * libs/gst/controller/gst-controller.c:
7514 * libs/gst/controller/gst-controller.h:
7515 * libs/gst/controller/gst-helper.c:
7516 adding more entries to the docs and fix small doc-bugs
7518 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7520 * docs/gst/gstreamer-docs.sgml:
7521 * docs/gst/gstreamer-sections.txt:
7522 * docs/gst/gstreamer.types:
7523 * docs/gst/tmpl/gstbasesink.sgml:
7524 * docs/gst/tmpl/gstbasesrc.sgml:
7525 * docs/gst/tmpl/gstbasetransform.sgml:
7526 * docs/gst/tmpl/gstfakesrc.sgml:
7527 * gst/base/gstcollectpads.c:
7528 * gst/base/gstcollectpads.h:
7529 * libs/gst/controller/gst-controller.c:
7530 * libs/gst/controller/gst-controller.h:
7531 * libs/gst/controller/gst-helper.c:
7532 * libs/gst/controller/gst-interpolation.c:
7533 * libs/gst/controller/lib.c:
7534 added long/short desc for controller docs
7535 added collectpads base class docs
7536 added correct includes to base-class docs
7538 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7540 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7541 (gst_test_mono_source_set_property),
7542 (gst_test_mono_source_class_init), (GST_START_TEST),
7543 (gst_controller_suite):
7544 * docs/gst/gstreamer-docs.sgml:
7545 * docs/gst/gstreamer-sections.txt:
7546 * docs/gst/gstreamer.types:
7547 * docs/libs/gstreamer-libs-docs.sgml:
7548 * docs/libs/gstreamer-libs-sections.txt:
7549 * gst/base/gstadapter.c:
7550 * libs/gst/controller/gst-controller.c:
7551 (gst_controlled_property_new), (gst_controlled_property_free),
7552 (gst_controller_new_valist),
7553 (gst_controller_remove_properties_valist),
7554 (gst_controller_sink_values), (_gst_controller_finalize):
7555 * libs/gst/controller/gst-controller.h:
7556 * libs/gst/controller/gst-helper.c:
7557 (gst_object_control_properties), (gst_object_uncontrol_properties),
7558 (gst_object_get_controller), (gst_object_set_controller),
7559 (gst_object_sink_values), (gst_object_get_value_arrays),
7560 (gst_object_get_value_array):
7561 more tests (and fixes) for the controller
7562 more docs for the controller
7563 integrated companies docs for the adapter
7565 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7567 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7568 (GST_START_TEST), (fakesrc_suite):
7569 add tests for sizetype
7571 2005-08-04 Andy Wingo <wingo@pobox.com>
7573 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7574 fixes buffer_alloc proxying among other things.
7576 * gst/base/gstbasetransform.c:
7577 * gst/base/gstbasetransform.h:
7578 Revert patch to gstbasetransform from 7-28 removing
7581 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7582 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7583 Semantics changed, should return not the size of the output buffer
7584 but the byte size of a buffer with a given caps.
7586 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7588 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7589 out) are not the pad caps until setcaps finishes.
7590 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7591 not-in-place case as well. Deal with changing from in-place to
7592 not-in-place within calling pad_alloc_buffer. Still a bit
7593 concerned about the overhead here...
7595 2005-08-03 Andy Wingo <wingo@pobox.com>
7597 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7598 fixating is an error.
7600 2005-08-04 Edward Hervey <edward@fluendo.com>
7602 * gst/base/gstadapter.h:
7603 Added gst_adapter_get_type() to the header
7605 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7607 * check/Makefile.am:
7608 * check/gst-libs/controller.c:
7609 * libs/gst/controller/gst-controller.c:
7610 (gst_controller_new_valist):
7611 added check test suite for the controller
7612 * gst/base/gstpushsrc.c:
7615 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7617 * docs/gst/Makefile.am:
7618 * docs/gst/gstreamer-docs.sgml:
7619 * docs/gst/gstreamer-sections.txt:
7620 * docs/gst/gstreamer.types:
7621 * docs/gst/tmpl/gstfakesrc.sgml:
7623 * gst/base/gstbasesink.c:
7624 * gst/base/gstbasesink.h:
7625 * gst/base/gstbasesrc.c:
7626 * gst/base/gstbasesrc.h:
7627 * gst/base/gstbasetransform.c:
7628 * gst/base/gstpushsrc.c:
7629 * gst/base/gstpushsrc.h:
7630 add short/long description docs to base classes
7631 add pushsrc to the docs
7632 remove consolidated doc fragments
7634 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7637 * docs/libs/Makefile.am:
7638 * docs/libs/gstreamer-libs-docs.sgml:
7639 * docs/libs/gstreamer-libs-sections.txt:
7640 * docs/libs/gstreamer-libs.types:
7641 * examples/Makefile.am:
7642 * examples/controller/.cvsignore:
7643 * examples/controller/Makefile.am:
7644 * examples/controller/audio-example.c: (main):
7645 * libs/gst/Makefile.am:
7646 * libs/gst/controller/.cvsignore:
7647 * libs/gst/controller/Makefile.am:
7648 * libs/gst/controller/gst-controller.c:
7649 (on_object_controlled_property_changed), (gst_timed_value_compare),
7650 (gst_timed_value_find),
7651 (gst_controlled_property_set_interpolation_mode),
7652 (gst_controlled_property_new), (gst_controlled_property_free),
7653 (gst_controller_find_controlled_property),
7654 (gst_controller_new_valist), (gst_controller_new),
7655 (gst_controller_remove_properties_valist),
7656 (gst_controller_remove_properties), (gst_controller_set),
7657 (gst_controller_set_from_list), (gst_controller_unset),
7658 (gst_controller_get), (gst_controller_get_all),
7659 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7660 (gst_controller_get_value_array),
7661 (gst_controller_set_interpolation_mode),
7662 (_gst_controller_finalize), (_gst_controller_init),
7663 (_gst_controller_class_init), (gst_controller_get_type):
7664 * libs/gst/controller/gst-controller.h:
7665 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7666 (g_object_uncontrol_properties), (g_object_get_controller),
7667 (g_object_set_controller), (g_object_sink_values),
7668 (g_object_get_value_arrays), (g_object_get_value_array):
7669 * libs/gst/controller/gst-interpolation.c:
7670 (gst_controlled_property_find_timed_value_node),
7671 (interpolate_none_get), (interpolate_trigger_get),
7672 (interpolate_trigger_get_value_array):
7673 * libs/gst/controller/lib.c: (gst_controller_init):
7674 * pkgconfig/Makefile.am:
7675 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7676 * pkgconfig/gstreamer-control.pc.in:
7677 * testsuite/Makefile.am:
7678 * testsuite/controller/.cvsignore:
7679 * testsuite/controller/Makefile.am:
7680 * testsuite/controller/interpolator.c: (main):
7681 added controller code
7682 removed dparam pc files
7684 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7685 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7686 (gst_collectpads_stop):
7687 Broadcast the condition when shutting down, to make sure we wake all
7688 threads up. Shut down pads on finalize, for safety.
7690 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7691 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7692 (gst_base_transform_handle_buffer),
7693 (gst_base_transform_change_state):
7694 Handle PAUSED->READY->PAUSED transition after negotiation
7696 * gst/gstmessage.c: (gst_message_init):
7697 Extra piece of debug for new messages.
7699 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7702 * docs/gst/tmpl/gstbasesrc.sgml:
7703 * docs/gst/tmpl/gstelement.sgml:
7704 * docs/gst/tmpl/gstevent.sgml:
7705 * docs/gst/tmpl/gstfakesrc.sgml:
7706 * docs/gst/tmpl/gstformat.sgml:
7707 * docs/gst/tmpl/gstghostpad.sgml:
7708 * docs/gst/tmpl/gstpad.sgml:
7709 * docs/gst/tmpl/gstquery.sgml:
7710 * docs/gst/tmpl/gststructure.sgml:
7711 * docs/gst/tmpl/gsttaglist.sgml:
7712 * docs/gst/tmpl/gstvalue.sgml:
7713 * docs/libs/gstreamer-libs-docs.sgml:
7714 * docs/libs/gstreamer-libs-sections.txt:
7715 * docs/libs/gstreamer-libs.types:
7716 * libs/gst/Makefile.am:
7717 * libs/gst/control/.cvsignore:
7718 * libs/gst/control/Makefile.am:
7719 * libs/gst/control/control.c:
7720 * libs/gst/control/control.h:
7721 * libs/gst/control/dparam.c:
7722 * libs/gst/control/dparam.h:
7723 * libs/gst/control/dparam_smooth.c:
7724 * libs/gst/control/dparam_smooth.h:
7725 * libs/gst/control/dparamcommon.h:
7726 * libs/gst/control/dparammanager.c:
7727 * libs/gst/control/dparammanager.h:
7728 * libs/gst/control/dplinearinterp.c:
7729 * libs/gst/control/dplinearinterp.h:
7730 * libs/gst/control/unitconvert.c:
7731 * libs/gst/control/unitconvert.h:
7732 * testsuite/Makefile.am:
7733 * testsuite/dynparams/.cvsignore:
7734 * testsuite/dynparams/Makefile.am:
7735 * testsuite/dynparams/dparamstest.c:
7736 * tools/Makefile.am:
7737 * tools/gst-inspect.c: (print_element_info), (main):
7738 * tools/gst-xmlinspect.c: (print_element_info), (main):
7739 deactivate and remove dparams (libgstcontrol)
7741 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7743 * gst/elements/gsttypefindelement.c:
7744 (gst_type_find_element_have_type), (gst_type_find_element_init),
7745 (stop_typefinding), (gst_type_find_element_handle_event),
7746 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7747 * gst/elements/gsttypefindelement.h:
7748 Set caps on all outgoing buffers, not just the first one.
7750 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7752 * gst/elements/gsttypefindelement.c:
7753 (gst_type_find_element_have_type),
7754 (gst_type_find_element_check_set_buffer_caps),
7755 (gst_type_find_element_init), (stop_typefinding),
7756 (gst_type_find_element_handle_event),
7757 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7758 * gst/elements/gsttypefindelement.h:
7759 Set caps on first outgoing buffer when we've found the type.
7761 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7763 * docs/gst/gstreamer-docs.sgml:
7764 * docs/gst/gstreamer-sections.txt:
7765 * docs/gst/tmpl/gstscheduler.sgml:
7766 * docs/gst/tmpl/gstschedulerfactory.sgml:
7767 Remove some old cruft from docs.
7769 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7772 Fix inline docs for GstPadLinkReturn.
7774 * gst/gststructure.c: (gst_structure_has_name):
7775 * gst/gststructure.h:
7776 * docs/gst/gstreamer-sections.txt:
7777 New API: gst_structure_has_name().
7779 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7782 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7783 and _LARGEFILE_SOURCE in config.h as required. Do not
7784 export those flags in our .pc files any longer (#142209).
7786 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7788 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7789 (gst_file_sink_do_seek), (gst_file_sink_event),
7790 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7791 Redo seek/tell calls with large file support in mind; add some
7792 debugging messages; add log message that tells us when large
7793 file support is unavailable or not enabled for some reason.
7795 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7796 Add log message that tells us when large file support
7797 is unavailable or not enabled for some reason.
7799 2005-07-29 Wim Taymans <wim@fluendo.com>
7801 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7802 Added test for removing an element with ghostpad from a bin.
7803 Fixed test as current implementation does the right thing.
7805 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7806 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7807 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7808 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7809 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7810 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7811 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7812 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7813 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7814 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7815 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7816 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7817 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7818 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7819 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7820 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7821 * gst/gstghostpad.h:
7822 Clean up ghostpads, remove properties for internal stuff.
7825 Prepare for switching targets, not all use cases work yet.
7827 2005-07-29 Wim Taymans <wim@fluendo.com>
7829 * docs/design/part-gstghostpad.txt:
7832 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7833 (gst_bin_remove_func):
7834 Unlinking pads while holding the bin LOCK is not a good
7837 * gst/gstpad.c: (gst_pad_class_init),
7838 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7839 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7840 No prob setting template after creating the pad.
7842 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7844 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7845 (gst_bus_peek), (gst_bus_source_dispatch),
7846 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7847 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7848 gst_bus_poll may be called from other threads. Handle
7849 this nicely by not making poll_data disappear off the
7850 stack once gst_bus_poll returns.
7851 gst_bus_peek now increments the refcount on the returned
7854 2005-07-29 Wim Taymans <wim@fluendo.com>
7856 * docs/design/part-gstghostpad.txt:
7857 Overview of current GhostPad datastructures and use
7858 cases for changing the target.
7860 2005-07-28 Wim Taymans <wim@fluendo.com>
7862 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7863 Added checks for hierarchy consistency whan adding linked
7866 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7867 Added check to test element scheduling without bin/pipeline.
7869 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7870 First add elements to bin, then link.
7872 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7873 (gst_bin_remove_func):
7874 Unlink pads from elements added/removed from bin to maintain
7875 hierarchy consistency.
7877 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7879 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7880 (gst_base_transform_handle_buffer):
7881 * gst/base/gstbasetransform.h:
7882 Remove broken delay_configure (fixes renegotiation of software
7883 scaling pipelines); remove some leftover printf()s.
7885 2005-07-28 Wim Taymans <wim@fluendo.com>
7887 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7888 Added some more tests for wrong hierarchy
7890 * docs/design/part-overview.txt:
7893 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7896 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7897 (gst_element_dispose):
7900 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7901 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7902 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7903 (gst_pad_set_caps), (gst_pad_send_event):
7904 Check for correct hierarchy when linking pads. Moving to
7905 strict requirement for ghostpads when linking elements in
7909 Clean ups. Added WRONG_HIERARCHY return value.
7911 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7913 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7914 Better debug if no transform is possible.
7916 2005-07-27 Wim Taymans <wim@fluendo.com>
7918 * docs/random/wtay/network-transp:
7921 2005-07-27 Wim Taymans <wim@fluendo.com>
7923 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7924 (gst_dp_event_from_packet):
7925 Fix serialization of seek events.
7927 2005-07-27 Wim Taymans <wim@fluendo.com>
7929 * check/gst-libs/gdp.c: (GST_START_TEST):
7930 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7931 Fix compilation and fix event serialization.
7933 2005-07-27 Wim Taymans <wim@fluendo.com>
7936 * docs/design/part-TODO.txt:
7937 * docs/design/part-events.txt:
7940 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7941 (gst_base_sink_event), (gst_base_sink_do_sync),
7942 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7943 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7944 (gst_base_src_do_seek), (gst_base_src_event_handler),
7945 (gst_base_src_loop):
7946 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7947 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7948 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7949 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7950 (gst_base_transform_set_passthrough),
7951 (gst_base_transform_is_passthrough):
7952 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7953 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7959 * gst/gstelement.c: (gst_element_seek):
7961 Update gst_element_seek.
7963 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7964 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7965 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7966 (gst_event_new_eos), (gst_event_new_newsegment),
7967 (gst_event_parse_newsegment), (gst_event_new_tag),
7968 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7969 (gst_event_parse_qos), (gst_event_new_seek),
7970 (gst_event_parse_seek), (gst_event_new_navigation):
7972 Make GstEvent use GstStructure. Add parsing code, make sure the
7973 API is sufficiently generic.
7974 Mark possible directions of events and serialization.
7976 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7977 (_gst_message_copy), (gst_message_new_segment_start),
7978 (gst_message_new_segment_done), (gst_message_new_custom),
7979 (gst_message_parse_segment_start),
7980 (gst_message_parse_segment_done):
7983 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7984 (gst_pad_set_caps), (gst_pad_send_event):
7985 Update for new events.
7986 Catch events sent in wrong directions.
7988 * gst/gstqueue.c: (gst_queue_link_src),
7989 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7990 (gst_queue_handle_src_query):
7995 Remove event code from this file.
7997 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7998 (gst_dp_event_from_packet):
8001 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8003 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8004 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8005 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8006 Make debugging actually useful.
8008 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8010 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8011 (gst_pad_fixate_caps):
8012 Implement default fixation once again, so that gst_pad_fixate()
8013 actually does anything at all. This probably needs to be some
8014 sort of a last resort, and use profile-based fixation first, but
8015 since that doesn't exist yet, this is the best we have. Fixes
8016 visualization in Totem.
8018 2005-07-22 Wim Taymans <wim@fluendo.com>
8020 * docs/design/part-events.txt:
8023 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8024 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8025 (gst_base_sink_activate_pull):
8028 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8029 (gst_fake_src_create):
8030 Fix handoff marshall.
8032 * gst/elements/gstidentity.c: (gst_identity_class_init),
8033 (gst_identity_transform_ip):
8034 We're a real inplace element.
8036 * gst/gstbus.c: (gst_bus_post):
8037 Added some comments.
8039 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8040 * tests/muxing/case1.c: (main):
8041 * tests/sched/dynamic-pipeline.c: (main):
8042 * tests/sched/interrupt1.c: (main):
8043 * tests/sched/interrupt2.c: (main):
8044 * tests/sched/interrupt3.c: (main):
8045 * tests/sched/runxml.c: (main):
8046 * tests/sched/sched-stress.c: (main):
8047 * tests/seeking/seeking1.c: (event_received), (main):
8048 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8050 * tests/threadstate/threadstate3.c: (main):
8051 * tests/threadstate/threadstate4.c: (main):
8052 * tests/threadstate/threadstate5.c: (main):
8055 2005-07-21 Wim Taymans <wim@fluendo.com>
8057 * docs/design/part-seeking.txt:
8058 Some small additions.
8060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8061 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8062 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8063 * gst/base/gstbasesink.h:
8064 discont values are gint64, handle the math correctly.
8066 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8067 Make the basesrc report error if the source pad is not linked.
8069 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8070 (gst_queue_loop), (gst_queue_handle_src_query),
8071 (gst_queue_src_activate_push):
8072 Make queue collect data even if the srcpad is not linked.
8073 Start pushing out data as soon as it is linked.
8075 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8077 Added gst_flow_get_name() to ease error reporting.
8079 2005-07-20 Wim Taymans <wim@fluendo.com>
8081 * gst/gstmessage.c: (gst_message_new_segment_start),
8082 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8083 (gst_message_parse_segment_done):
8085 Added a bunch of messages for advanced seeking.
8087 * gst/parse/grammar.y:
8088 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8089 (gst_dpman_state_changed):
8090 Fix some new-pad -> pad-added signals
8092 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8094 * docs/manual/appendix-porting.xml:
8095 * docs/pwg/appendix-porting.xml:
8096 Document new-pad/state-change signal renames and the FixedList
8099 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8101 * docs/manual/advanced-autoplugging.xml:
8102 * docs/manual/basics-helloworld.xml:
8103 * docs/manual/basics-pads.xml:
8104 * docs/random/ds/0.9-suggested-changes:
8105 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8110 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8111 (gst_structure_parse_array), (gst_structure_parse_value):
8112 * gst/gstvalue.c: (gst_type_is_fixed),
8113 (gst_value_list_prepend_value), (gst_value_list_append_value),
8114 (gst_value_list_get_size), (gst_value_list_get_value),
8115 (gst_value_transform_array_string), (gst_value_serialize_array),
8116 (gst_value_deserialize_array), (gst_value_intersect_array),
8117 (gst_value_is_fixed), (_gst_value_initialize):
8119 GstElement::new-pad -> pad-added, GstElement::state-change ->
8120 state-changed, GstValueFixedList -> GstValueArray, add format and
8121 flags as their own arguments in gst_element_seek() (should improve
8122 "bindeability"), remove function generators since they don't work
8123 under a whole bunch of compilers (they were deprecated already
8126 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8128 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8129 (_gst_debug_register_funcptr):
8131 Fix illegal cast on some platforms (#309253).
8133 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8135 * gst/gstmessage.c: (gst_message_new_custom):
8137 Add _new_custom, make _new_application a macro to _new_custom.
8139 2005-07-20 Wim Taymans <wim@fluendo.com>
8141 * gst/base/gstbasesrc.c: (gst_base_src_init),
8142 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8143 * gst/base/gstbasesrc.h:
8144 Add a gboolean to decide when to push out a discont.
8146 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8147 (gst_queue_loop), (gst_queue_handle_src_query),
8148 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8149 (gst_queue_set_property), (gst_queue_get_property):
8152 * tests/threadstate/threadstate1.c: (main):
8153 Make a thread test compile and run... very silly..
8156 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8158 * docs/manual/appendix-porting.xml:
8159 Mention removal of libgstgconf-0.9.la and existence of gconf
8162 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8164 * docs/pwg/advanced-clock.xml:
8165 * docs/pwg/appendix-porting.xml:
8166 * docs/pwg/intro-preface.xml:
8167 * docs/pwg/other-base.xml:
8168 * docs/pwg/other-manager.xml:
8169 * docs/pwg/other-nton.xml:
8170 * docs/pwg/other-ntoone.xml:
8171 * docs/pwg/other-oneton.xml:
8173 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8174 demuxer), remove n-to-n (was never written), fix some code examples
8175 and links and update the porting section to include all this.
8177 2005-07-19 Wim Taymans <wim@fluendo.com>
8179 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8180 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8181 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8182 (gst_queue_src_activate_push), (gst_queue_change_state),
8183 (gst_queue_get_property):
8185 Propagate GstFlowReturn more intelligently upstream and output
8186 an ERROR/EOS when streaming stopped due to fatal error.
8188 2005-07-19 Wim Taymans <wim@fluendo.com>
8190 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8191 Don't block forever for the state change to complete, the
8192 pipeline already did with a sensible timeout.
8194 2005-07-19 Wim Taymans <wim@fluendo.com>
8196 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8197 Make sure we never call the create function is we
8200 2005-07-19 Andy Wingo <wingo@pobox.com>
8202 * gst/parse/parse.l: Attempt to solve bug #172815.
8204 2005-07-19 Wim Taymans <wim@fluendo.com>
8206 * docs/design/part-clocks.txt:
8207 * docs/design/part-events.txt:
8208 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8210 Only update the seeking values when we are not
8213 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8215 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8216 Oops, ignore the result of gst_pad_push_event here.
8218 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8220 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8221 (gst_base_src_activate_push):
8222 Send discont event from the loop function, as pads
8223 aren't activated yet in the activate_push handler.
8225 * gst/gstbin.c: (bin_bus_handler):
8226 Don't leak element name.
8228 2005-07-18 Andy Wingo <wingo@pobox.com>
8230 * configure.ac: Use AS_LIBTOOL_TAGS.
8232 2005-07-18 Wim Taymans <wim@fluendo.com>
8234 * docs/gst/gstreamer.types:
8235 Remove deleted types.
8237 2005-07-18 Wim Taymans <wim@fluendo.com>
8239 * check/elements/gstfakesrc.c: (GST_START_TEST):
8242 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8243 (init_popt_callback):
8245 * gst/gst_private.h:
8246 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8247 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8250 * gst/gstconfig.h.in:
8251 * gst/gstelement.c: (gst_element_class_init),
8252 (gst_element_set_base_time), (gst_element_get_base_time),
8253 (iterator_fold_with_resync), (gst_element_change_state),
8254 (gst_element_dispose), (gst_element_get_bus):
8256 * gst/gstelementfactory.h:
8257 * gst/gsterror.c: (_gst_core_errors_init):
8260 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8262 * gst/gstinfo.c: (_gst_debug_init):
8263 * gst/gstmessage.c: (_gst_message_copy):
8265 * gst/gstminiobject.h:
8268 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8269 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8272 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8273 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8274 (gst_pipeline_get_last_stream_time):
8275 * gst/gstpipeline.h:
8276 * gst/gstpluginfeature.h:
8278 * gst/gstscheduler.c:
8279 * gst/gstscheduler.h:
8280 * gst/gststructure.h:
8281 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8282 (gst_task_finalize), (gst_task_func), (gst_task_create),
8283 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8284 (gst_task_stop), (gst_task_pause):
8286 * gst/gsttypefind.h:
8288 * gst/registries/gstlibxmlregistry.c: (load_feature),
8289 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8290 * gst/registries/gstxmlregistry.c:
8291 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8292 * gst/schedulers/threadscheduler.c:
8293 * libs/gst/control/dparammanager.h:
8294 * tools/gst-inspect.c: (print_element_list),
8295 (print_plugin_features), (print_element_features):
8296 * tools/gst-xmlinspect.c: (print_element_list),
8297 (print_plugin_info), (main):
8298 Removed plugable schedulers.
8299 Removed Scheduler/Manager from elements.
8300 Removed gsttypes.h, rearranged includes.
8301 Removed dependency pad<->element, element<>pipeline, and
8302 various others, fix includes.
8303 implement gst_pad_get_parent() with gst_object_get_parent()
8304 Make GstTask sefcontained.
8305 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8307 Fix endless loop in iterator_fold_with_resync.
8310 2005-07-18 Wim Taymans <wim@fluendo.com>
8316 2005-07-18 Wim Taymans <wim@fluendo.com>
8321 2005-07-18 Wim Taymans <wim@fluendo.com>
8327 2005-07-18 Wim Taymans <wim@fluendo.com>
8329 * docs/design/part-dynamic.txt:
8330 * docs/design/part-events.txt:
8331 * docs/design/part-seeking.txt:
8332 Some more docs in the works.
8334 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8335 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8336 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8337 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8338 (gst_base_transform_handle_buffer),
8339 (gst_base_transform_sink_activate_push),
8340 (gst_base_transform_src_activate_pull),
8341 (gst_base_transform_set_passthrough),
8342 (gst_base_transform_is_passthrough):
8345 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8348 * gst/gstevent.c: (gst_event_finalize):
8351 * gst/gstutils.c: (gst_element_unlink),
8352 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8353 (gst_pad_proxy_setcaps):
8355 Add _get_parent_element() to get a pads parent as an element.
8357 2005-07-18 Wim Taymans <wim@fluendo.com>
8359 * check/gst/gstbin.c: (GST_START_TEST):
8362 2005-07-18 Wim Taymans <wim@fluendo.com>
8364 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8365 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8366 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8367 (gst_base_sink_event), (gst_base_sink_do_sync),
8368 (gst_base_sink_chain), (gst_base_sink_loop),
8369 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8370 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8372 Fix logic for returning ASYNC when not prerolled.
8374 2005-07-18 Wim Taymans <wim@fluendo.com>
8376 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8377 Fix nasty refcount bug.
8379 2005-07-16 Philippe Khalaf <burger@speedy.org>
8381 * gst/elements/gstfdsrc.c:
8382 * gst/elements/gstfdsrc.h:
8383 * gst/elements/gstelements.c:
8384 * gst/elements/Makefile.am:
8385 Ported fdsrc to 0.9.
8387 2005-07-16 Wim Taymans <wim@fluendo.com>
8389 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8390 (gst_base_sink_do_sync):
8393 2005-07-16 Wim Taymans <wim@fluendo.com>
8395 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8396 (gst_base_sink_event), (gst_base_sink_get_times),
8397 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8398 * gst/base/gstbasesink.h:
8399 Store and use discont values when syncing buffers as described
8402 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8403 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8404 (gst_base_src_activate_push):
8405 Push discont event when starting.
8407 * gst/elements/gstidentity.c: (gst_identity_transform):
8410 * gst/gstbin.c: (gst_bin_change_state):
8411 Small cleanups in base_time distribution.
8413 * gst/gstelement.c: (gst_element_set_base_time),
8414 (gst_element_get_base_time), (gst_element_change_state):
8416 Added methods for the base_time of the element.
8419 * gst/gstpipeline.c: (gst_pipeline_send_event),
8420 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8421 (gst_pipeline_get_last_stream_time):
8422 * gst/gstpipeline.h:
8424 Handle seeking as described in design doc, remove stream_time
8426 Cleanups clock and stream_time selection code. Added accessors
8427 for the stream_time.
8430 2005-07-16 Andy Wingo <wingo@pobox.com>
8432 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8435 2005-07-16 Wim Taymans <wim@fluendo.com>
8437 * check/gst/gstbin.c: (GST_START_TEST):
8438 Make elements silent as the deep_notify refs the
8439 parent, which might make the test fail.
8441 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8442 Don't hold the lock for too long.
8444 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8446 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8447 Don't unref the caps we passed to gst_caps_make_writable() after
8448 passing them. gst_caps_make_writable() will do that for us.
8450 2005-07-15 Andy Wingo <wingo@pobox.com>
8452 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8455 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8456 own marshalling function for the handoff signal. Properly type the
8457 buffer as a buffer. Fixes some warnings. Should do a more general
8459 (gst_identity_class_init): Plug into the right marshaller.
8461 2005-07-15 Wim Taymans <wim@fluendo.com>
8463 * docs/design/part-TODO.txt:
8464 * docs/design/part-clocks.txt:
8465 * docs/design/part-element-sink.txt:
8466 * docs/design/part-events.txt:
8467 * docs/design/part-gstpipeline.txt:
8468 Updated docs, mostly DISCONT related.
8470 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8472 * docs/pwg/building-pads.xml:
8473 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8475 2005-07-15 Andy Wingo <wingo@pobox.com>
8477 * tools/gst-typefind.c: Update, add copyright block.
8479 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8480 Normalize and truncate caps before fixation.
8483 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8484 discards all but the first structure from its argument.
8486 2005-07-15 Wim Taymans <wim@fluendo.com>
8488 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8489 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8490 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8491 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8492 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8493 (gst_base_transform_chain), (gst_base_transform_change_state),
8494 (gst_base_transform_set_passthrough),
8495 (gst_base_transform_is_passthrough):
8496 * gst/base/gstbasetransform.h:
8497 Make passthrough work using the bufferpools.
8498 Changed API a bit, subclasses have to write into a buffer
8499 provided by the base class.
8500 More debug info in nego functions.
8502 * gst/elements/gstidentity.c: (gst_identity_init),
8503 (gst_identity_transform):
8504 Port to new base class.
8506 2005-07-15 Wim Taymans <wim@fluendo.com>
8508 * gst/gstmessage.c: (gst_message_new_state_changed):
8509 * tools/gst-launch.c: (event_loop), (main):
8510 Totally dump messages in -launch with the -m option.
8511 Fix message name for State messages,
8513 2005-07-14 Wim Taymans <wim@fluendo.com>
8515 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8516 Post error messages on errors.
8518 2005-07-14 Wim Taymans <wim@fluendo.com>
8520 * gst/gstcaps.c: (gst_caps_do_simplify):
8524 Define error for stream stopped.
8526 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8527 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8528 Do proper return values.
8530 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8531 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8532 (gst_pad_get_range):
8533 Better return values.
8536 Reorganise return values, add macro to check for fatal errors.
8538 * gst/gstqueue.c: (gst_queue_chain):
8539 Return proper GstFlowReturn values,
8541 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8543 * docs/gst/gstreamer-sections.txt:
8544 * docs/gst/gstreamer.types:
8545 * docs/gst/tmpl/gst.sgml:
8546 * docs/gst/tmpl/gstbasesink.sgml:
8547 * docs/gst/tmpl/gstbasesrc.sgml:
8548 * docs/gst/tmpl/gstbasetransform.sgml:
8549 * docs/gst/tmpl/gstbin.sgml:
8550 * docs/gst/tmpl/gstbuffer.sgml:
8551 * docs/gst/tmpl/gstcaps.sgml:
8552 * docs/gst/tmpl/gstclock.sgml:
8553 * docs/gst/tmpl/gstcompat.sgml:
8554 * docs/gst/tmpl/gstconfig.sgml:
8555 * docs/gst/tmpl/gstelement.sgml:
8556 * docs/gst/tmpl/gstelementdetails.sgml:
8557 * docs/gst/tmpl/gstelementfactory.sgml:
8558 * docs/gst/tmpl/gstenumtypes.sgml:
8559 * docs/gst/tmpl/gsterror.sgml:
8560 * docs/gst/tmpl/gstevent.sgml:
8561 * docs/gst/tmpl/gstfakesink.sgml:
8562 * docs/gst/tmpl/gstfakesrc.sgml:
8563 * docs/gst/tmpl/gstfilesink.sgml:
8564 * docs/gst/tmpl/gstfilesrc.sgml:
8565 * docs/gst/tmpl/gstfilter.sgml:
8566 * docs/gst/tmpl/gstformat.sgml:
8567 * docs/gst/tmpl/gstghostpad.sgml:
8568 * docs/gst/tmpl/gstimplementsinterface.sgml:
8569 * docs/gst/tmpl/gstindex.sgml:
8570 * docs/gst/tmpl/gstindexfactory.sgml:
8571 * docs/gst/tmpl/gstinfo.sgml:
8572 * docs/gst/tmpl/gstiterator.sgml:
8573 * docs/gst/tmpl/gstmacros.sgml:
8574 * docs/gst/tmpl/gstmemchunk.sgml:
8575 * docs/gst/tmpl/gstminiobject.sgml:
8576 * docs/gst/tmpl/gstobject.sgml:
8577 * docs/gst/tmpl/gstpad.sgml:
8578 * docs/gst/tmpl/gstpadtemplate.sgml:
8579 * docs/gst/tmpl/gstparse.sgml:
8580 * docs/gst/tmpl/gstpipeline.sgml:
8581 * docs/gst/tmpl/gstplugin.sgml:
8582 * docs/gst/tmpl/gstpluginfeature.sgml:
8583 * docs/gst/tmpl/gstquery.sgml:
8584 * docs/gst/tmpl/gstqueue.sgml:
8585 * docs/gst/tmpl/gstregistry.sgml:
8586 * docs/gst/tmpl/gstregistrypool.sgml:
8587 * docs/gst/tmpl/gstscheduler.sgml:
8588 * docs/gst/tmpl/gstschedulerfactory.sgml:
8589 * docs/gst/tmpl/gststructure.sgml:
8590 * docs/gst/tmpl/gstsystemclock.sgml:
8591 * docs/gst/tmpl/gsttaglist.sgml:
8592 * docs/gst/tmpl/gsttagsetter.sgml:
8593 * docs/gst/tmpl/gsttrace.sgml:
8594 * docs/gst/tmpl/gsttrashstack.sgml:
8595 * docs/gst/tmpl/gsttypefind.sgml:
8596 * docs/gst/tmpl/gsttypefindfactory.sgml:
8597 * docs/gst/tmpl/gsttypes.sgml:
8598 * docs/gst/tmpl/gsturihandler.sgml:
8599 * docs/gst/tmpl/gsturitype.sgml:
8600 * docs/gst/tmpl/gstutils.sgml:
8601 * docs/gst/tmpl/gstvalue.sgml:
8602 * docs/gst/tmpl/gstversion.sgml:
8603 * docs/gst/tmpl/gstxml.sgml:
8604 * docs/libs/tmpl/gstcontrol.sgml:
8605 * docs/libs/tmpl/gstdataprotocol.sgml:
8606 * docs/libs/tmpl/gstdparam.sgml:
8607 * docs/libs/tmpl/gstdplinint.sgml:
8608 * docs/libs/tmpl/gstdpman.sgml:
8609 * docs/libs/tmpl/gstdpsmooth.sgml:
8610 * docs/libs/tmpl/gstgetbits.sgml:
8611 * docs/libs/tmpl/gstunitconvert.sgml:
8612 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8613 (gst_push_src_base_init), (gst_push_src_class_init),
8614 (gst_push_src_init), (gst_push_src_create):
8615 * gst/base/gstpushsrc.h:
8616 * gst/elements/gstelements.c:
8617 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8618 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8619 (gst_fake_sink_init), (gst_fake_sink_set_property),
8620 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8621 (gst_fake_sink_event), (gst_fake_sink_preroll),
8622 (gst_fake_sink_render), (gst_fake_sink_change_state):
8623 * gst/elements/gstfakesink.h:
8624 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8625 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8626 (gst_fake_src_base_init), (gst_fake_src_class_init),
8627 (gst_fake_src_init), (gst_fake_src_event_handler),
8628 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8629 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8630 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8631 (gst_fake_src_create_buffer), (gst_fake_src_create),
8632 (gst_fake_src_start), (gst_fake_src_stop):
8633 * gst/elements/gstfakesrc.h:
8634 * gst/elements/gstfilesink.c: (_do_init),
8635 (gst_file_sink_base_init), (gst_file_sink_class_init),
8636 (gst_file_sink_init), (gst_file_sink_dispose),
8637 (gst_file_sink_set_location), (gst_file_sink_set_property),
8638 (gst_file_sink_get_property), (gst_file_sink_open_file),
8639 (gst_file_sink_close_file), (gst_file_sink_query),
8640 (gst_file_sink_event), (gst_file_sink_render),
8641 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8642 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8643 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8644 * gst/elements/gstfilesink.h:
8645 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8646 (gst_file_src_class_init), (gst_file_src_init),
8647 (gst_file_src_finalize), (gst_file_src_set_location),
8648 (gst_file_src_set_property), (gst_file_src_get_property),
8649 (gst_file_src_map_region), (gst_file_src_map_small_region),
8650 (gst_file_src_create_mmap), (gst_file_src_create_read),
8651 (gst_file_src_create), (gst_file_src_is_seekable),
8652 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8653 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8654 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8655 (gst_file_src_uri_handler_init):
8656 * gst/elements/gstfilesrc.h:
8657 more autistic cleanliness in functions/names/defines
8659 2005-07-13 Andy Wingo <wingo@pobox.com>
8661 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8662 source couldn't negotiate.
8664 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8668 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8669 function. I am channeling Hades. Put your boots on suckers!!!
8671 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8673 * testsuite/caps/Makefile.am:
8674 * testsuite/caps/value_compare.c:
8675 * testsuite/caps/value_intersect.c:
8676 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8677 move two testsuite apps over to the check dir
8679 2005-07-12 Wim Taymans <wim@fluendo.com>
8681 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8682 Added more debug info in the negotiate process.
8685 Prepare for segment playback.
8687 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8693 * tools/gst-launch.c: (main):
8694 NULL pipeline on errors.
8696 2005-07-12 Andy Wingo <wingo@pobox.com>
8698 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8699 not it comes from a malloc region. Make sure our copy gets freed.
8701 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8703 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8704 * check/gst/gstmessage.c: (GST_START_TEST):
8705 * check/gst/gststructure.c: (GST_START_TEST),
8706 (gst_structure_suite), (main):
8708 * gst/gstelement.c: (gst_element_message_full):
8709 clean up GError and debug string now that they get copied
8710 * gst/gstmessage.c: (gst_message_new_error),
8711 (gst_message_new_warning), (gst_message_parse_error),
8712 (gst_message_parse_warning):
8713 use GST_TYPE_G_ERROR for structure_new, and take copies of
8714 arguments, so that we don't mess up refcounting
8716 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8718 * check/Makefile.am:
8719 add per-test valgrind targets
8720 * check/gst-libs/gdp.c: (GST_START_TEST),
8721 (gst_data_protocol_suite), (main):
8724 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8726 * check/Makefile.am:
8727 instate more valgrindable tests
8728 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8729 (GST_START_TEST), (fakesrc_suite):
8730 * check/gst/gstpad.c: (GST_START_TEST):
8731 * check/gst/gststructure.c: (GST_START_TEST):
8733 * docs/gst/tmpl/gstminiobject.sgml:
8734 * gst/gstpad.c: (gst_pad_finalize):
8735 fix the static mutex leak
8737 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8739 * check/Makefile.am:
8740 add two more tests for valgrinding
8741 * check/gst/gstvalue.c: (GST_START_TEST):
8742 test refcount of deserialized buffer, found a leak
8743 * docs/gst/gstreamer-docs.sgml:
8744 * docs/gst/gstreamer-sections.txt:
8745 * docs/gst/gstreamer.types:
8746 * docs/gst/tmpl/gstminiobject.sgml:
8747 add miniobject to docs
8748 * gst/gstminiobject.c:
8750 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8751 (gst_string_unwrap):
8752 fix a hard-to-find invalid write for one of the tests
8753 fix a leak for deserialized buffers
8755 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8757 * docs/pwg/advanced-events.xml:
8758 * docs/pwg/advanced-request.xml:
8759 * docs/pwg/advanced-scheduling.xml:
8760 * docs/pwg/appendix-porting.xml:
8761 * docs/pwg/building-boiler.xml:
8762 * docs/pwg/intro-preface.xml:
8763 * docs/pwg/other-ntoone.xml:
8764 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8765 of example code and explanation for pad activation, loop() and
8766 getrange() functions and a bit more. Remove old comments pointing
8768 * examples/pwg/Makefile.am:
8769 Add loop/getrange examples.
8771 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8774 check for valgrind binary + some fixes
8776 valgrind suppressions for the tests
8777 * check/Makefile.am:
8778 add a valgrind: target that valgrinds the unit tests
8779 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8780 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8781 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8782 * check/gst/gstghostpad.c:
8784 * check/gst/gstdata.c:
8786 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8787 (thread_unref), (gst_mini_object_suite), (main):
8789 * gst/gst.c: (gst_deinit):
8791 add a method to clean up.
8792 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8793 (gst_system_clock_obtain):
8794 allow for disposing the system clock.
8795 * tools/gst-launch.c: (main):
8798 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8800 * docs/gst/tmpl/gstbasesrc.sgml:
8801 * docs/gst/tmpl/gstfakesrc.sgml:
8802 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8803 (gst_base_src_init), (gst_base_src_set_property),
8804 (gst_base_src_get_property), (gst_base_src_get_range),
8805 (gst_base_src_start):
8806 * gst/base/gstbasesrc.h:
8807 add num-buffers property
8808 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8809 (gst_fakesrc_init), (gst_fakesrc_set_property),
8810 (gst_fakesrc_get_property), (gst_fakesrc_create),
8811 (gst_fakesrc_start):
8812 remove num-buffers property
8814 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8816 * docs/gst/gstreamer-sections.txt:
8817 * docs/gst/tmpl/gstbasesink.sgml:
8818 * docs/gst/tmpl/gstbasesrc.sgml:
8819 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8820 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8821 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8822 (gst_base_sink_set_property), (gst_base_sink_get_property),
8823 (gst_base_sink_handle_object), (gst_base_sink_event),
8824 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8825 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8826 (gst_base_sink_loop), (gst_base_sink_deactivate),
8827 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8828 (gst_base_sink_change_state):
8829 * gst/base/gstbasesink.h:
8830 * gst/base/gstbasesrc.h:
8831 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8832 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8833 (gst_filesink_init):
8834 more macro splitting
8836 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8838 * gst/gstelement.c: (gst_element_get_bus):
8840 * tools/gst-launch.c: (check_intr), (event_loop):
8843 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8845 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8848 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8850 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8851 (gst_base_src_finalize):
8852 add finalize method and clean up properly
8853 * gst/gstpipeline.c: (gst_pipeline_dispose):
8856 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8858 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8860 add more things to check
8861 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8865 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8867 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8868 (GST_START_TEST), (fakesrc_suite):
8869 * check/gst-libs/gdp.c: (GST_START_TEST):
8870 * check/gst/gst.c: (GST_START_TEST):
8871 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8872 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8873 * check/gst/gstbus.c: (GST_START_TEST):
8874 * check/gst/gstcaps.c: (GST_START_TEST):
8875 * check/gst/gstdata.c: (GST_START_TEST):
8876 * check/gst/gstelement.c: (GST_START_TEST):
8877 * check/gst/gstghostpad.c: (GST_START_TEST):
8878 * check/gst/gstiterator.c: (GST_START_TEST):
8879 * check/gst/gstmessage.c: (GST_START_TEST):
8880 * check/gst/gstobject.c: (GST_START_TEST):
8881 * check/gst/gstpad.c: (GST_START_TEST):
8882 * check/gst/gststructure.c: (GST_START_TEST):
8883 * check/gst/gstsystemclock.c: (GST_START_TEST),
8884 (gst_systemclock_suite):
8885 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8886 * check/gst/gstvalue.c: (GST_START_TEST):
8887 * check/pipelines/cleanup.c: (GST_START_TEST):
8888 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8889 * check/states/sinks.c: (GST_START_TEST):
8890 * check/gstcheck.c: (gst_check_init):
8892 add debugging category
8893 use GST_START_TEST now, so we add a debug line
8895 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8897 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8898 add test for state change message on a bin
8899 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8901 * gst/gstbin.c: (gst_bin_init):
8902 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8903 * gst/gstelement.c: (gst_element_post_message),
8904 (gst_element_set_state):
8905 * gst/gstelementfactory.c: (gst_element_factory_create):
8906 * gst/gstmessage.c: (gst_message_new):
8907 * gst/gstscheduler.c:
8908 various debugging additions and cleanups
8910 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8912 * check/Makefile.am:
8913 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8915 adding tests for elements
8916 * gst/gstelement.c: (gst_element_dispose):
8918 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8920 * gst/registries/gstlibxmlregistry.c: (load_feature):
8921 plug more leaks. A simple gst_init() now is leakfree, yay.
8923 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8925 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8926 (gst_xml_registry_load):
8927 plug another memleak
8929 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8932 use GST_SET_ERROR_CFLAGS
8934 change to ERROR_CFLAGS
8936 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8939 make GST_ERROR_CFLAGS overridable and re-enable Werror
8941 add a note about error CFLAGS
8942 * docs/gst/tmpl/gstfakesrc.sgml:
8943 * gst/elements/gstfakesrc.c:
8944 comment out some unused code
8945 * gst/gst.c: (split_and_iterate):
8946 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8950 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8952 * common/Makefile.am:
8953 * common/gtk-doc.mak:
8954 * docs/gst/Makefile.am:
8955 factor out gtk-doc.mak
8957 2005-07-07 Wim Taymans <wim@fluendo.com>
8959 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8960 (gst_thread_scheduler_dispose):
8961 Unlock the STREAM_LOCK completely.
8963 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8965 * check/Makefile.am:
8966 * check/elements/.cvsignore:
8967 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8968 (START_TEST), (fakesrc_suite), (main):
8969 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8970 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8971 (gst_fakesrc_create), (gst_fakesrc_start):
8972 * gst/elements/gstfakesrc.h:
8973 adding a first element test
8975 2005-07-07 Andy Wingo <wingo@pobox.com>
8977 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8980 2005-07-07 Wim Taymans <wim@fluendo.com>
8986 2005-07-07 Wim Taymans <wim@fluendo.com>
8988 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8989 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8990 Allow subclasses to implement their own negotiation.
8992 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8994 * docs/design/part-gstbin.txt:
8995 * docs/design/part-gstpipeline.txt:
8996 Update design notes to reflect the movement of
8997 responsibility for bus handling from GstPipeline to
9000 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9003 Remove unnecessary queue2/3/4 examples.
9005 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9007 * examples/Makefile.am:
9008 * examples/helloworld/helloworld.c: (event_loop), (main):
9009 * examples/queue/queue.c: (event_loop), (main):
9010 * examples/queue2/queue2.c: (main):
9011 Update a couple of the examples to work again.
9013 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9014 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9015 Spelling corrections and extra debug.
9017 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9018 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9019 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9021 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9022 (gst_pipeline_change_state):
9023 * gst/gstpipeline.h:
9024 Move the bus handler for children to the GstBin, and create a
9025 separate bus for receiving messages from children to the one the
9026 bus sends 'upwards' on.
9028 2005-07-06 Wim Taymans <wim@fluendo.com>
9031 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9032 (gst_base_sink_handle_object), (gst_base_sink_loop),
9033 (gst_base_sink_change_state):
9034 * gst/base/gstbasesink.h:
9035 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9036 (gst_base_src_init), (gst_base_src_setcaps),
9037 (gst_base_src_getcaps), (gst_base_src_loop),
9038 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9039 (gst_base_src_start), (gst_base_src_change_state):
9040 * gst/base/gstbasesrc.h:
9041 Make basesrc negotiate.
9042 Handle the case where preroll fails in basesink.
9045 2005-07-06 Wim Taymans <wim@fluendo.com>
9047 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9048 Implement the fixate function.
9049 Clean up acceptcaps.
9051 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9053 * docs/pwg/building-filterfactory.xml:
9055 Remove never-written filter-factory chapter; I'll add the various
9056 base classes to part 4 ("other element types") later on.
9058 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9060 * docs/pwg/advanced-negotiation.xml:
9061 * docs/pwg/building-boiler.xml:
9062 * docs/pwg/building-pads.xml:
9064 * examples/pwg/Makefile.am:
9065 Add a chapter on caps negotiation, simplify the original code
9066 samples a bit w.r.t. caps negotiation, add link to the advanced
9067 section. Add a bunch of examples showing different use cases of
9068 different types of caps negotiation. Upstream renegotiation isn't
9069 fully documented yet since nobody knows how that works.
9071 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9073 * check/gst/gstpad.c:
9075 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9076 if pad has no parent, return NULL as list of internal links
9078 2005-07-05 Andy Wingo <wingo@pobox.com>
9080 * gst/elements/gstfilesrc.c:
9081 * gst/elements/gstfakesrc.c:
9082 * gst/base/gstpushsrc.c:
9083 * gst/base/gstbasesrc.h:
9084 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9086 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9089 better report generation target (lcov needs a patch)
9091 2005-07-05 Andy Wingo <wingo@pobox.com>
9093 * gst/elements, testsuite: Null if we got it...
9095 2005-07-05 Wim Taymans <wim@fluendo.com>
9098 * libs/gst/dataprotocol/Makefile.am:
9099 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9100 * libs/gst/dataprotocol/dataprotocol.h:
9101 * pkgconfig/Makefile.am:
9102 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9103 * pkgconfig/gstreamer-dataprotocol.pc.in:
9104 Ported dataprotol to 0.9.
9105 Added pkgconfig files.
9107 2005-07-05 Andy Wingo <wingo@pobox.com>
9109 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9110 Default to returning TRUE for the case when tranform_caps returns
9111 a fixed caps, like for identity or volume.
9113 * check/gst/gstbus.c (pound_bus_with_messages):
9114 * check/gst/gstmessage.c (START_TEST):
9115 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9118 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9119 logic weaks here: always run transform_caps, trying passthrough
9120 operation only if the original caps intersects with the transform.
9122 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9123 source and sink caps.
9125 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9126 Intersect the peer caps with the pad template before going into
9128 (gst_base_transform_transform_caps): More debugging.
9130 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9133 2005-07-04 Edward Hervey <edward@fluendo.com>
9137 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9140 2005-07-04 Andy Wingo <wingo@pobox.com>
9142 * check/gst/gstpad.c: Only set explicit caps on pads.
9144 2005-07-01 Andy Wingo <wingo@pobox.com>
9146 * tests/network-clock.scm: Commentary update.
9148 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9149 Didn't really make sense, not implementable with basetransform,
9151 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9152 attempt at implementing the sync property, needs an unlock method.
9154 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9155 New func, by default returns the same caps (the identity
9157 (gst_base_transform_getcaps): Uses transform_caps to return
9159 (gst_base_transform_setcaps): Complicated logic to get caps on
9160 both pads, even if they are different, and to call set_caps once
9161 for every time both pads get their caps set.
9162 (gst_base_transform_handle_buffer): Give the ref to the transform
9163 function. Allows in-place modification of the buffer.
9165 * gst/base/gstbasetransform.h (transform_caps): New class method.
9166 Given caps on one side, what can I do on the other.
9167 (set_caps): Take two caps, one for each side of the element.
9170 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9171 caps in place. This is safe because we can check the mutability of
9172 the caps, and a good idea because fixate functions are just called
9173 as a matter of last resort. (Not actually implemented.)
9174 (gst_pad_set_caps): If the caps we're setting is actually the same
9175 as the existing pad caps, just update the pointer without calling
9176 setcaps. Assert that caps is either NULL or fixed, as per the
9179 * gst/gstghostpad.c: Update for fixate changes.
9181 2005-07-02 Andy Wingo <wingo@pobox.com>
9184 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9185 two refcounts makes it immutable, which is enough. Doc more.
9187 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9189 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9190 Put the mini_object into GValue as a mini_object,
9191 not a gpointer, since that's how we declared
9194 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9196 * examples/pwg/Makefile.am:
9199 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9201 * docs/pwg/building-testapp.xml:
9203 * examples/pwg/Makefile.am:
9206 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9209 * examples/Makefile.am:
9210 * examples/pwg/Makefile.am:
9211 * examples/pwg/extract.pl:
9212 Enable building the PWG examples.
9213 * docs/pwg/advanced-interfaces.xml:
9214 Add URI interface stub.
9215 * docs/pwg/advanced-types.xml:
9216 * docs/pwg/other-autoplugger.xml:
9217 * docs/pwg/appendix-porting.xml:
9219 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9220 * docs/pwg/building-boiler.xml:
9221 * docs/pwg/building-chainfn.xml:
9222 * docs/pwg/building-pads.xml:
9223 * docs/pwg/building-props.xml:
9224 * docs/pwg/building-state.xml:
9225 * docs/pwg/building-testapp.xml:
9226 Update the building-*.xml parts for 0.9 changes. All examples
9227 code blocks compile in examples/pwg/*.
9229 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9231 * docs/manual/advanced-autoplugging.xml:
9232 * docs/manual/appendix-checklist.xml:
9233 * docs/manual/appendix-integration.xml:
9234 * docs/manual/highlevel-components.xml:
9235 Fix playbin/decodebin examples, update docs a bit, mention bus
9236 instead of signals in various places, mention kmplayer and
9237 kaffeine since they have a working GStreamer backend in the KDE
9240 2005-06-30 Wim Taymans <wim@fluendo.com>
9243 * docs/design/draft-ghostpads.txt:
9244 * docs/design/draft-push-pull.txt:
9245 * docs/design/draft-query.txt:
9246 * docs/design/part-TODO.txt:
9247 * docs/design/part-query.txt:
9248 Added CHANGES-0.9 doc, updated status of other docs.
9253 2005-06-30 Wim Taymans <wim@fluendo.com>
9255 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9256 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9257 (gst_base_sink_change_state):
9258 * gst/base/gstbasesink.h:
9259 Some tweaks, only EOS and a buffer complete a preroll.
9261 2005-06-30 Andy Wingo <wingo@pobox.com>
9263 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9264 activate_push down to the internal pad as well.
9266 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9268 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9270 * gst/gsttaginterface.c:
9271 Some documentation fixes (#307394 and #307397).
9273 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9275 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9277 * gst/gstvalue.c: (gst_value_intersect_list):
9278 Fix memleak (#309125).
9280 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9282 * docs/manual/advanced-dataaccess.xml:
9283 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9284 * docs/manual/basics-pads.xml:
9285 Add reference for filtered caps to above chapter.
9287 2005-06-30 Wim Taymans <wim@fluendo.com>
9289 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9290 (gst_bin_change_state):
9292 Lame attempt at making the state change function a bit
9295 2005-06-30 Wim Taymans <wim@fluendo.com>
9297 * docs/design/part-clocks.txt:
9298 * docs/design/part-element-sink.txt:
9299 * docs/design/part-events.txt:
9300 * docs/design/part-preroll.txt:
9301 * docs/design/part-states.txt:
9302 Some more tweeks and additions to the docs.
9304 2005-06-30 Wim Taymans <wim@fluendo.com>
9306 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9307 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9308 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9309 (gst_pad_check_pull_range), (gst_pad_get_range),
9310 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9312 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9313 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9314 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9315 (gst_pad_remove_buffer_probe):
9316 Removed atomic operations, use existing LOCK.
9317 Move exception handling out of main code path.
9319 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9321 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9322 (silly_return_true_function), (gst_pad_class_init),
9323 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9324 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9325 (gst_pad_send_event):
9326 Fix accumulator, add default value by using _emitv() instead
9327 of _emit() for signal emission.
9329 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9331 * docs/manual/advanced-dataaccess.xml:
9332 * examples/manual/Makefile.am:
9334 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9337 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9339 * gst/elements/gstfilesink.c: (gst_filesink_render):
9340 Simplify code so that we don't have to handle short
9341 writes and return GST_FLOW_ERROR if an error occured.
9343 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9345 * docs/gst/gstreamer-docs.sgml:
9348 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9350 * docs/gst/gstreamer-sections.txt:
9351 * docs/gst/tmpl/gstpad.sgml:
9352 * docs/gst/tmpl/gstprobe.sgml:
9354 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9355 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9356 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9357 (gst_pad_push_event), (gst_pad_send_event):
9359 * gst/gstutils.c: (gst_pad_add_data_probe),
9360 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9361 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9362 (gst_pad_remove_buffer_probe):
9364 Remove old probes, add new g-signal-based probes and some utility
9367 2005-06-29 Edward Hervey <edward@fluendo.com>
9369 * gst/gstelementfactory.c:
9372 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9373 the definition to the header file.
9375 2005-06-29 Andy Wingo <wingo@pobox.com>
9377 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9378 plugins from the source directory.
9380 2005-06-29 Wim Taymans <wim@fluendo.com>
9382 * docs/gst/tmpl/gstbuffer.sgml:
9383 * docs/gst/tmpl/gstclock.sgml:
9384 Some fixings for blantently wrong text.
9386 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9388 * check/Makefile.am:
9389 * gst/gst.c: (add_path_func), (init_pre):
9390 * gst/gstregistry.c: (gst_registry_add_path):
9391 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9392 only scan the GST_PLUGIN_PATH locations, and not add
9395 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9397 * docs/gst/gstreamer-sections.txt:
9398 * docs/gst/tmpl/gstbasesrc.sgml:
9405 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9407 * docs/manual/advanced-autoplugging.xml:
9408 Fix autoplugging example.
9410 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9412 * docs/manual/advanced-autoplugging.xml:
9413 * docs/manual/mime-world.fig:
9414 Try to get autoplugging working, fix type detection. Fix text
9415 in hello-world image.
9417 2005-06-29 Wim Taymans <wim@fluendo.com>
9419 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9420 (gst_base_sink_change_state):
9424 map SIGNAL and BROADCAST to the right function.
9427 Remove redundant braces.
9429 * gst/gstpad.c: (gst_pad_set_caps):
9430 Don't call setcaps function when reseting caps to NULL.
9432 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9433 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9434 (gst_system_clock_id_unschedule):
9435 Use BROADCAST as this is what we do.
9437 2005-06-29 Wim Taymans <wim@fluendo.com>
9439 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9440 We are actually prerolling before commiting the state
9443 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9445 * docs/manual/advanced-clocks.xml:
9446 * docs/manual/advanced-interfaces.xml:
9447 * docs/manual/advanced-metadata.xml:
9448 * docs/manual/advanced-position.xml:
9449 * docs/manual/advanced-schedulers.xml:
9450 * docs/manual/advanced-threads.xml:
9451 * docs/manual/appendix-porting.xml:
9452 * docs/manual/basics-bins.xml:
9453 * docs/manual/basics-bus.xml:
9454 * docs/manual/basics-elements.xml:
9455 * docs/manual/basics-helloworld.xml:
9456 * docs/manual/basics-pads.xml:
9457 * docs/manual/highlevel-components.xml:
9458 * docs/manual/manual.xml:
9459 * docs/manual/thread.fig:
9460 Update (until threads/scheduling) Application Development Manual;
9461 remove GstThread, add GstBus, add simple porting checklist, add
9462 documentation for tag writing, clocks, make all examples until this
9463 part compile and run.
9464 * examples/manual/Makefile.am:
9465 Update from changes to Application Development Manual; add bus
9466 example, remove thread example.
9468 2005-06-28 Wim Taymans <wim@fluendo.com>
9470 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9471 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9472 (gst_bus_source_dispatch):
9473 Add debugging messages.
9474 Make internal methods static.
9475 Handle the case where the bus is flushed in the handler.
9477 * gst/gstelement.c: (gst_element_get_bus):
9478 Fix refcount in _get_bus();
9480 * gst/gstpipeline.c: (gst_pipeline_change_state),
9481 (gst_pipeline_get_clock_func):
9482 Clock refcounting fixes.
9483 Handle the case where preroll timed out more gracefully.
9485 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9486 Clean up the internal thread in dispose. This is needed
9487 for subclasses that actually get disposed.
9489 * gst/schedulers/threadscheduler.c:
9490 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9491 (gst_thread_scheduler_dispose):
9492 Free thread pool in dispose.
9494 2005-06-28 Andy Wingo <wingo@pobox.com>
9496 * tests/network-clock-utils.scm (debug, print-event): New utils.
9498 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9499 (*packet-loss*): Unified loss probability.
9500 (network-time): Report out-of-band events.
9502 * tests/plot-data: Add support for out-of-band events. Hack it
9503 into this script instead of passing it down the pipe; should fix
9506 2005-06-28 Wim Taymans <wim@fluendo.com>
9508 * docs/gst/gstreamer.types:
9509 * docs/gst/tmpl/gstbasesrc.sgml:
9510 * docs/gst/tmpl/gstpad.sgml:
9513 2005-06-28 Wim Taymans <wim@fluendo.com>
9515 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9516 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9517 (gst_proxy_pad_do_fixatecaps):
9518 Correctly proxy the check_pull_range function.
9520 2005-06-28 Andy Wingo <wingo@pobox.com>
9522 * tests/network-clock.scm: Removed need for slib.
9524 2005-06-28 Wim Taymans <wim@fluendo.com>
9526 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9527 (gst_basesink_preroll_queue_flush):
9528 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9529 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9530 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9531 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9532 (gst_proxy_pad_set_property):
9535 * gst/gstqueue.c: (gst_queue_init):
9536 The deprecated pad loop function is removed now.
9538 2005-06-28 Andy Wingo <wingo@pobox.com>
9540 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9541 New parameters, simulate network packet loss.
9543 * tests/network-clock-utils.scm: Initialize the RNG.
9545 2005-06-28 Wim Taymans <wim@fluendo.com>
9547 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9548 (gst_basesink_event), (gst_basesink_deactivate):
9549 Flushing the preroll queue always needs to unlock the waiters.
9551 2005-06-28 Edward Hervey <edward@fluendo.com>
9553 * gst/gstpipeline.c: (gst_pipeline_send_event):
9554 Wheen a seek was successful on a pipeline, set the stream_time to the
9555 seek offset in order to have a synchronized stream_time.
9557 2005-06-28 Wim Taymans <wim@fluendo.com>
9559 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9560 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9561 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9562 (gst_proxy_pad_do_fixatecaps):
9563 Call wrapper function instead of just calling the function
9564 pointers. This takes care of any locking and whatmore.
9566 2005-06-28 Wim Taymans <wim@fluendo.com>
9568 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9569 (gst_pad_pull_range):
9571 CONNECTED -> LINKED.
9573 2005-06-28 Andy Wingo <wingo@pobox.com>
9575 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9576 source-munging commit!!!
9578 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9579 (gst_object_sink): Take gpointer arguments, not GstObject --
9580 avoids casts. Like GLib.
9582 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9585 2005-06-27 Andy Wingo <wingo@pobox.com>
9587 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9590 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9591 returns a sorted copy of the trace list.
9592 (gst_alloc_trace_print_live): New API, only prints traces with
9593 live objects. Sort the list.
9594 (gst_alloc_trace_print_all): Sort the list.
9595 (gst_alloc_trace_print): Align columns.
9597 * gst/elements/gstttypefindelement.c:
9598 * gst/elements/gsttee.c:
9599 * gst/base/gstbasesrc.c:
9600 * gst/base/gstbasesink.c:
9601 * gst/base/gstbasetransform.c:
9602 * gst/gstqueue.c: Adapt for pad activation changes.
9604 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9606 (gst_pipeline_dispose): Drop ref on sched.
9608 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9609 (gst_pad_activate_default): Push mode by default.
9610 (pre_activate_switch, post_activate_switch): New stubs, things to
9611 do before and after switching activation modes on pads.
9612 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9613 the pad's activate function to choose which mode to activate.
9614 Shortcut on deactivation and call the right function directly.
9615 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9617 (gst_pad_activate_push): New API, same for push mode.
9618 (gst_pad_set_activate_function)
9619 (gst_pad_set_activatepull_function)
9620 (gst_pad_set_activatepush_function): Setters for new API.
9622 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9623 Trace all miniobjects.
9624 (gst_mini_object_make_writable): Unref the arg if we copy, like
9625 gst_caps_make_writable.
9627 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9629 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9630 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9631 Adapt for new pad API.
9633 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9636 * gst/gstelement.c (gst_element_iterate_src_pads)
9637 (gst_element_iterate_sink_pads): New API functions.
9639 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9640 should fold into gstiterator.c in some form.
9641 (gst_element_pads_activate): Simplified via use of fold and
9642 delegation of decisions to gstpad->activate.
9644 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9647 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9648 class once in init, like gstmessage. Didn't run into this issue
9649 but it seems correct. Don't initialize a trace, gstminiobject does
9652 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9653 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9655 (assert_live_count): New util function, uses alloc traces to check
9658 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9659 To be modified when unlink drops the internal pad.
9661 2005-06-27 Wim Taymans <wim@fluendo.com>
9663 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9664 (gst_bin_change_state):
9665 Cleanup the get_state() function a little, make sure it
9666 iterates the same set of elements.
9667 Added stub iterate_state_order().
9669 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9671 * docs/gst/gstreamer-docs.sgml:
9672 * docs/gst/gstreamer-sections.txt:
9673 * docs/gst/gstreamer.types:
9674 * docs/gst/tmpl/gstbasesink.sgml:
9675 * docs/gst/tmpl/gstbasesrc.sgml:
9676 * docs/gst/tmpl/gstbasetransform.sgml:
9677 * docs/gst/tmpl/gstelement.sgml:
9678 * docs/gst/tmpl/gstiterator.sgml:
9679 * gst/base/gstbasesrc.c:
9680 * gst/base/gstbasesrc.h:
9681 * gst/base/gstbasetransform.h:
9683 * gst/gstiterator.h:
9684 adding basetransform and iterator docs
9686 2005-06-27 Andy Wingo <wingo@pobox.com>
9688 * docs/design/part-activation.txt: Notes on how activation should
9689 work -- not quite implemented yet.
9691 2005-06-25 Wim Taymans <wim@fluendo.com>
9693 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9694 At least get the chain function correct, needs more
9697 2005-06-25 Wim Taymans <wim@fluendo.com>
9699 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9700 (gst_basesink_handle_object), (gst_basesink_event),
9701 (gst_basesink_do_sync), (gst_basesink_handle_event),
9702 (gst_basesink_change_state):
9704 Right, two problems here: ghostpads don't take locks and
9705 glib _rec_mutex_lock_full() with depth==0 still locks.
9706 Catch illegal locking and g_warn them.
9708 2005-06-25 Wim Taymans <wim@fluendo.com>
9710 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9711 Have to check for completion now...
9713 2005-06-25 Wim Taymans <wim@fluendo.com>
9715 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9716 (gst_basesink_handle_object), (gst_basesink_event),
9717 (gst_basesink_do_sync), (gst_basesink_handle_event),
9718 (gst_basesink_change_state):
9720 Unlock STREAM_LOCK whatever the recursion was.
9722 2005-06-25 Wim Taymans <wim@fluendo.com>
9724 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9725 (gst_basesink_preroll_queue_empty),
9726 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9727 (gst_basesink_event), (gst_basesink_do_sync),
9728 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9729 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9730 (gst_basesink_change_state):
9731 Reworked the base sink, handle event and buffer serialisation
9732 correctly and removed possible deadlock.
9733 Handle EOS correctly.
9735 2005-06-25 Wim Taymans <wim@fluendo.com>
9737 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9738 (gst_pipeline_change_state):
9739 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9740 Allow elements to post EOS in the state change function.
9741 Fix up -launch, make it exit the poll loop when the
9742 pipeline actually changed state.
9743 Fix up warning parsing in -launch.
9745 2005-06-25 Wim Taymans <wim@fluendo.com>
9747 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9748 (gst_tee_sink_activate):
9749 Core takes STREAM_LOCK for us now.
9751 2005-06-25 Wim Taymans <wim@fluendo.com>
9753 * gst/gstelement.c: (gst_element_get_state_func),
9754 (gst_element_set_state):
9756 * gst/gstmessage.c: (gst_message_parse_error),
9757 (gst_message_parse_warning):
9758 Keep track of current target state while performing a state
9759 change so that subclasses can do something interesting.
9760 Fix parsing of warning/error messages when GError is NULL.
9762 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9764 * docs/gst/Makefile.am:
9765 * docs/gst/gstreamer-docs.sgml:
9766 * docs/gst/gstreamer-sections.txt:
9767 * docs/gst/gstreamer.types:
9768 * docs/gst/tmpl/gstbasesink.sgml:
9769 * docs/gst/tmpl/gstbasesrc.sgml:
9770 * docs/gst/tmpl/gstbin.sgml:
9771 * docs/gst/tmpl/gstcompat.sgml:
9772 * docs/gst/tmpl/gstfakesink.sgml:
9773 * docs/gst/tmpl/gstfakesrc.sgml:
9774 * docs/gst/tmpl/gstfilesink.sgml:
9775 * docs/gst/tmpl/gstfilesrc.sgml:
9776 * docs/gst/tmpl/gstindex.sgml:
9777 * docs/manual/appendix-quotes.xml:
9778 * gst/base/gstbasesrc.h:
9779 * gst/elements/gstfakesrc.h:
9781 start pulling in base classes and elements in our docs
9783 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9785 * docs/gst/Makefile.am:
9786 * docs/libs/Makefile.am:
9787 fixed make distcheck with gtk-doc 1.3
9789 2005-06-23 Wim Taymans <wim@fluendo.com>
9791 * gst/gstelement.c: (gst_element_get_state_func),
9792 (gst_element_set_state), (gst_element_change_state):
9793 When the state did not change, also report NO_PREROLL
9796 2005-06-23 Wim Taymans <wim@fluendo.com>
9798 * gst/gstpad.c: (gst_pad_event_default):
9799 * gst/gstqueue.c: (gst_queue_loop):
9800 No unsafe task pausing please.
9802 2005-06-23 Wim Taymans <wim@fluendo.com>
9804 * gst/schedulers/threadscheduler.c:
9805 (gst_thread_scheduler_task_start),
9806 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9807 Ref the task before pushing it on the threadpool. This
9808 makes sure that we have a ref when the threadfunction is
9811 2005-06-23 Andy Wingo <wingo@pobox.com>
9813 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9814 offset is greater than the file's size.
9816 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9817 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9818 * gst/gstobject.c (gst_object_class_init): Make the class lock
9819 recursive. Wim won't let me drop deep_notify. Decodebin works
9822 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9823 internal pad, and hacks accordingly. Doesn't do it on the target
9824 pad because we change its caps. Probably catches all cases of
9826 (gst_ghost_pad_set_property): Connect to notify::caps as
9829 * tests/network-clock.scm (plot-simulation): Pipe data to the
9830 elite python skript.
9832 * tests/network-clock-utils.scm (define-parameter): New macro,
9833 defines a parameter that can be set via the command line.
9834 (set-parameter!, parse-parameter-arguments): Command line args
9837 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9840 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9842 * gst/elements/gsttypefindelement.c:
9843 (gst_type_find_element_handle_event):
9844 Don't restart typefinding on a discont.
9845 * gst/gstelement.c: (gst_element_set_state):
9847 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9848 Allow changing mode of an active pad.
9850 * gst/registries/gstlibxmlregistry.c: (load_feature):
9851 Don't cast a static pad template to a normal pad template.
9853 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9855 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9856 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9857 remove gst_strtoll completely, since it didn't actually do
9858 anything more than what g_ascii_strtoull already does.
9859 check for range errors when deserializing
9860 do a cast for the unsigned cases; but further fixing needs
9861 a decision on what the interpretation of "(int)" and
9862 deserialization should be for values that fall outside the
9863 type's boundaries (ie, refuse, or interpret as casting)
9865 2005-06-23 Wim Taymans <wim@fluendo.com>
9867 * check/Makefile.am:
9868 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9869 * docs/design/part-live-source.txt:
9870 * docs/design/part-states.txt:
9871 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9872 (gst_basesrc_set_live), (gst_basesrc_is_live),
9873 (gst_basesrc_get_range), (gst_basesrc_activate),
9874 (gst_basesrc_change_state):
9875 * gst/base/gstbasesrc.h:
9876 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9877 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9878 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9879 * gst/gstelement.c: (gst_element_get_state_func),
9880 (gst_element_set_state):
9883 * tools/gst-launch.c: (event_loop), (main):
9884 Added support for live sources and other elements that
9886 Updated design docs, added live-source design doc.
9887 Implemented live source functionality in basesrc
9888 Fix error condition in _bin_get_state()
9889 Implement live source handling in -launch.
9890 Added check for live sources.
9891 Fixed case in GstBin where elements were changed state
9895 2005-06-23 Andy Wingo <wingo@pobox.com>
9897 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9900 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9901 gst_caps_replace takes care of this for us.
9903 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9904 gst_pad_set_caps on the target, not just its setcaps() function.
9906 * tests/network-clock.scm:
9907 * tests/network-clock-utils.scm: A network clock simulator.
9908 Something of an algorithmic testbed before doing something in C.
9910 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9912 * check/Makefile.am:
9913 * check/gst/capslist.h:
9914 copy over from 0.8, and add two with bitmasks specified with
9916 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9917 add test to parse everything from capslist.h
9918 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9920 add test for structure deserialization
9921 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9922 add tests for deserialization of strings to int types
9923 * gst/gststructure.c: (gst_structure_nth_field_name):
9924 * gst/gststructure.h:
9925 add a way to get the name of a field referenced by index
9926 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9927 instead of checking if the resulting long long lies between
9928 min and max, we check if the long long would fit into
9929 a number of bytes for the final type.
9930 This fixes cases where a string represents 2^32 - 1, which
9931 when cast to int would be the (valid) -1, but is bigger than
9934 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9936 * gst/parse/grammar.y:
9937 add a log line for type deserialization
9939 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9941 * check/gst/gstvalue.c: (START_TEST):
9942 * gst/gstvalue.c: (gst_value_deserialize):
9943 return long long, not int, so gint64 deserialization actually
9944 works. Is there any flag that makes the compiler check this ?
9947 2005-06-22 Wim Taymans <wim@fluendo.com>
9950 Added convenience macros for setting buffers in GValue.
9952 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9954 * check/gst/.cvsignore:
9955 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9956 add a test deserializing int64, and comment part out because
9959 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9961 * check/Makefile.am:
9962 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9963 * testsuite/Makefile.am:
9964 * testsuite/caps/Makefile.am:
9965 * testsuite/caps/value_serialize.c:
9966 * testsuite/test_gst_init.c:
9967 move a value_serialize test over
9969 2005-06-20 Wim Taymans <wim@fluendo.com>
9974 * gst/gstvalue.c: (gst_value_compare_buffer),
9975 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9976 (gst_value_compare_flags), (gst_value_serialize_flags),
9977 (gst_value_deserialize_flags), (_gst_value_initialize):
9978 Fix serialisation of buffers, they are not boxed types anymore
9980 2005-06-20 Wim Taymans <wim@fluendo.com>
9982 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9983 Testcase to show error in buffer-on-caps serialisation.
9985 2005-06-20 Andy Wingo <wingo@pobox.com>
9987 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9988 will be adding to later.
9990 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9991 if its socks fill with rocks.
9992 (gst_system_clock_obtain): Set the name on object construction.
9993 Avoid double-checked locking.
9995 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9997 * gst/gsturi.c: (gst_element_make_from_uri):
9998 Fix potential endless loop.
10000 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10002 * check/Makefile.am:
10004 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10006 move over from testsuite dir and clean up
10009 * testsuite/Makefile.am:
10010 * testsuite/tags/.cvsignore:
10011 * testsuite/tags/Makefile.am:
10012 * testsuite/tags/merge.c:
10013 remove testsuite/tags
10015 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10017 * docs/gst/gstreamer-sections.txt:
10018 * docs/gst/tmpl/gstenumtypes.sgml:
10019 * win32/gstenumtypes.c:
10020 clean up documentation build a little
10022 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10024 * check/gstcheck.h:
10025 add macros for checking refcounts on objects and caps
10026 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10027 add some more unit tests
10028 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10029 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10030 fix leaked refcounts (I hope :)) so unittest works
10034 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10036 * configure.ac: back to HEAD
10038 === release 0.9.1 ===
10040 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10046 2005-06-17 Andy Wingo <wingo@pobox.com>
10048 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10049 assert; it's always possible that the pad gets deactivated in
10050 between the checks in gstpad.c and the implementation. Rely on
10051 finish_preroll() to return a FLUSHING or similar instead of on the
10054 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10055 clock and post an EOS message if we come out of finish_preroll in
10058 2005-06-16 David Schleef <ds@schleef.org>
10060 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10061 (gst_capsfilter_set_property): Allow NULL as possible value
10062 for filter_caps property, indicating GST_CAPS_ANY.
10064 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10066 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10068 * gst/schedulers/Makefile.am:
10070 * gstreamer.spec.in:
10073 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10075 * gstreamer.spec.in:
10078 2005-06-08 Andy Wingo <wingo@pobox.com>
10080 * gst/gstutils.c: RPAD fixes all around.
10081 (gst_element_link_pads): Refcounting fixes.
10083 * tools/gst-inspect.c:
10084 * tools/gst-xmlinspect.c:
10086 * gst/base/gsttypefindhelper.c:
10087 * gst/base/gstbasesink.c:
10088 * gst/gstqueue.c: RPAD fixes.
10090 * gst/gstghostpad.h:
10091 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10092 pads. The tricky thing is they provide both source and sink
10093 interfaces, since they proxy the internal pad for the external
10094 pad, and vice versa. Implement with lower-level ProxyPad objects,
10095 with the interior proxy pad as a child of the exterior ghost pad.
10096 Should write a doc on this.
10098 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10099 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10102 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10103 pads are real pads. No ghost pads in this file. Not documenting
10104 the myriad s/RPAD/PAD/ and REALIZE fixes.
10105 (gst_pad_class_init): Add properties for "direction" and
10106 "template". Both are construct-only, so they can't change during
10107 the life of the pad. Fixes properly deriving from GstPad.
10108 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10109 derived objects, just set properties when creating the objects via
10111 (gst_pad_get_parent): Implement as a function, return NULL if the
10112 parent is not an element.
10113 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10114 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10116 * gst/gstobject.c (gst_object_class_init): Make name a construct
10117 property. Don't set it in the object init.
10119 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10120 with UNKNOWN direction.
10121 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10122 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10123 (gst_element_remove_pad): Remove ghost-pad special cases.
10124 (gst_element_pads_activate): Remove rpad cruft.
10126 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10127 catch the pad's-parent-not-an-element case.
10129 * gst/gst.h: Include gstghostpad.h.
10131 * gst/gst.c (init_post): No more real, ghost pads.
10133 * gst/Makefile.am: Add gstghostpad.[ch].
10135 * check/Makefile.am:
10136 * check/gst/gstbin.c:
10137 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10138 into a bin creates ghost pads, and that the refcounts are right.
10139 Partly moved from gstbin.c.
10141 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10143 * check/gst-libs/.cvsignore:
10144 * check/gst/.cvsignore:
10145 * check/pipelines/.cvsignore:
10147 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10148 (START_TEST), (cleanup_suite), (main):
10149 add some tests related to cleanup after running pipelines
10151 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10153 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10154 add a testsuite for GstBuffer
10156 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10158 * gst/gstminiobject.h:
10159 add defines for accessing the refcount
10161 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10163 * Makefile.am: added support for html unit test coverage reports
10165 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10167 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10168 Free existing caps if the capsfilter changes. Add a FIXME about
10169 setting those caps on the pads.
10171 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10172 Before adding a ghost pad to a parent bin, check that there isn't
10173 already one for the element on the bin. Prevents infinite recursion
10174 when using decodebin in parse pipelines. Andy says he'll rewrite the
10175 way this works anyway, so ignore the hack.
10177 2005-06-02 Andy Wingo <wingo@pobox.com>
10179 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10180 file size, pass it on to the type find helper.
10182 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10183 segment_start and segment_end properly according to the seek
10184 method. Segment_end is still a bit flaky because offset can be
10185 negative for CUR and END cases, but it takes -1 as an "unset"
10188 2005-06-02 Wim Taymans <wim@fluendo.com>
10190 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10191 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10192 (gst_basesink_activate):
10193 * gst/base/gstbasesink.h:
10194 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10195 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10196 (gst_pad_query), (gst_pad_start_task):
10198 * gst/gstqueue.c: (gst_queue_bufferalloc),
10199 (gst_queue_handle_sink_event), (gst_queue_chain):
10200 Bufferalloc: return GstFlowReturn to more accuratly report
10201 why allocation failed.
10203 2005-06-02 Wim Taymans <wim@fluendo.com>
10205 * gst/gstpipeline.c: (gst_pipeline_send_event):
10206 Take snapshot of state without blocking.
10208 2005-06-02 Wim Taymans <wim@fluendo.com>
10210 * docs/design/part-TODO.txt:
10211 * docs/design/part-caps.txt:
10212 * docs/design/part-clocks.txt:
10213 * docs/design/part-negotiation.txt:
10214 * docs/design/part-preroll.txt:
10217 2005-05-30 Wim Taymans <wim@fluendo.com>
10219 * gst/elements/gstidentity.c: (gst_identity_event),
10220 (gst_identity_transform), (gst_identity_get_property):
10221 Protect last_message property as it is accessed from
10224 2005-05-30 Wim Taymans <wim@fluendo.com>
10226 * gst/gstelement.c: (gst_element_init),
10227 (gst_element_pads_activate), (gst_element_change_state):
10228 Slicker pad activation code.
10230 2005-05-30 Wim Taymans <wim@fluendo.com>
10233 * gst/gstelement.h:
10234 * gst/gstelementfactory.h:
10236 Move elementfactory methods to separate .h file.
10238 2005-05-30 Wim Taymans <wim@fluendo.com>
10240 * docs/design/part-overview.txt:
10241 * gst/gstsystemclock.h:
10242 Small typo fixes, doc updates.
10244 2005-05-30 Wim Taymans <wim@fluendo.com>
10246 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10247 (init_popt_callback):
10248 Remove cpu-opt flag.
10250 2005-05-30 Wim Taymans <wim@fluendo.com>
10252 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10253 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10255 Avoid typechecking in places where not needed.
10256 Added accessor for malloc_data.
10258 2005-05-30 Wim Taymans <wim@fluendo.com>
10260 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10261 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10262 (gst_pad_configure_sink), (gst_pad_configure_src),
10263 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10264 (gst_pad_start_task):
10265 Propagate errors from _set_caps() in configure_src/sink
10266 functions instead of returning TRUE.
10267 FLUSH events can travel up and downstream
10270 2005-05-30 Wim Taymans <wim@fluendo.com>
10272 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10273 (gst_basesink_activate):
10274 Handle EOS in preroll.
10276 2005-05-30 Wim Taymans <wim@fluendo.com>
10278 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10279 (gst_queue_loop), (gst_queue_handle_src_event):
10280 Remove old pieces of code
10281 Flushing the queue in an upstream event is a very bad idea.
10283 2005-05-26 Andy Wingo <wingo@pobox.com>
10285 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10286 gst_value_set_mini_object so as to add a ref on the object (which
10287 will be removed when the value is unset).
10289 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10290 arg type in ::handoff.
10292 * gst/gstelement.c (gst_element_change_state): Also deactivate
10293 pads in READY->NULL, just in case the element didn't make it to
10294 PAUSED. Wingo tested, Wim approved.
10296 2005-05-26 Wim Taymans <wim@fluendo.com>
10298 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10299 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10300 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10301 A flushing pad cannot be used to alloc_buffer from.
10303 2005-05-26 Wim Taymans <wim@fluendo.com>
10305 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10306 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10307 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10308 (gst_bus_create_watch), (gst_bus_add_watch_full):
10310 Implement a real GSource and use g_main_context_wakeup() to
10311 signal new messages instead of the socketpair.
10313 2005-05-25 Wim Taymans <wim@fluendo.com>
10315 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10316 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10318 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10319 (gst_pad_send_event), (gst_pad_start_task):
10320 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10321 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10322 (gst_queue_sink_activate), (gst_queue_src_activate),
10323 (gst_queue_change_state):
10325 Fix state changes for non sinks. We now change sinks, then elements
10326 with unconnected srcpads, then the rest.
10327 More efficient queue unlocking in flush and state changes.
10328 Set the pad activate mode even if it does not have an activate
10331 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10333 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10334 Don't go in pull mode for non-seekable sources.
10335 * gst/elements/gsttypefindelement.h:
10336 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10337 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10338 (free_entry), (stop_typefinding),
10339 (gst_type_find_element_handle_event), (find_peek),
10340 (gst_type_find_element_chain), (do_pull_typefind),
10341 (gst_type_find_element_change_state):
10342 Allow typefinding (w/o seeking) in push-mode, simplified version
10343 of what was in 0.8.
10344 * gst/gstutils.c: (gst_buffer_join):
10346 gst_buffer_join() from 0.8.
10348 2005-05-25 Wim Taymans <wim@fluendo.com>
10350 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10351 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10352 (gst_pad_send_event), (gst_pad_start_task):
10353 Disable attempt at mode switching until it is figured out.
10355 2005-05-25 Wim Taymans <wim@fluendo.com>
10357 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10358 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10359 (gst_basesink_finish_preroll), (gst_basesink_chain),
10360 (gst_basesink_loop), (gst_basesink_activate),
10361 (gst_basesink_change_state):
10362 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10363 (gst_basesrc_get_range), (gst_basesrc_loop),
10364 (gst_basesrc_activate):
10365 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10366 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10367 (gst_real_pad_init), (gst_real_pad_set_property),
10368 (gst_real_pad_get_property), (gst_pad_set_active),
10369 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10370 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10371 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10372 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10373 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10374 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10375 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10376 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10377 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10378 (gst_pad_stop_task):
10380 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10381 (gst_queue_loop), (gst_queue_src_activate):
10382 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10383 (gst_task_get_state):
10385 * gst/schedulers/threadscheduler.c:
10386 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10387 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10389 Remove ACTIVE pad flag, use FLUSHING everywhere
10390 Added _pad_chain(), _pad_get_range() to call chain/getrange
10392 Add locks around IS_FLUSHING when reading.
10393 Take STREAM lock in chain(), get_range() functions so plugins
10394 don't need to take it anymore.
10398 2005-05-25 Wim Taymans <wim@fluendo.com>
10400 * tools/gst-launch.c: (event_loop):
10401 Unref message after using its contents instead of
10404 2005-05-24 Wim Taymans <wim@fluendo.com>
10406 * docs/design/draft-ghostpads.txt:
10407 * docs/design/draft-push-pull.txt:
10408 * docs/design/draft-query.txt:
10409 * docs/design/part-overview.txt:
10410 Docs updates, added general overview doc.
10412 2005-05-21 David Schleef <ds@schleef.org>
10414 * docs/gst/tmpl/old/GstBin.sgml:
10415 * docs/gst/tmpl/old/GstBuffer.sgml:
10416 * docs/gst/tmpl/old/GstCaps.sgml:
10417 * docs/gst/tmpl/old/GstClock.sgml:
10418 * docs/gst/tmpl/old/GstCompat.sgml:
10419 * docs/gst/tmpl/old/GstData.sgml:
10420 * docs/gst/tmpl/old/GstElement.sgml:
10421 * docs/gst/tmpl/old/GstEvent.sgml:
10422 * docs/gst/tmpl/old/GstIndex.sgml:
10423 * docs/gst/tmpl/old/GstStructure.sgml:
10424 * docs/gst/tmpl/old/GstTag.sgml:
10425 * docs/gst/tmpl/old/cothreads.sgml:
10426 * docs/gst/tmpl/old/cothreads_compat.sgml:
10427 * docs/gst/tmpl/old/gettext.sgml:
10428 * docs/gst/tmpl/old/gobject2gtk.sgml:
10429 * docs/gst/tmpl/old/grammar.tab.sgml:
10430 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10431 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10432 * docs/gst/tmpl/old/gst_private.sgml:
10433 * docs/gst/tmpl/old/gstaggregator.sgml:
10434 * docs/gst/tmpl/old/gstarch.sgml:
10435 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10436 * docs/gst/tmpl/old/gstbufferstore.sgml:
10437 * docs/gst/tmpl/old/gstdata_private.sgml:
10438 * docs/gst/tmpl/old/gstdisksink.sgml:
10439 * docs/gst/tmpl/old/gstdisksrc.sgml:
10440 * docs/gst/tmpl/old/gstelementfactory.sgml:
10441 * docs/gst/tmpl/old/gstextratypes.sgml:
10442 * docs/gst/tmpl/old/gstfakesink.sgml:
10443 * docs/gst/tmpl/old/gstfakesrc.sgml:
10444 * docs/gst/tmpl/old/gstfdsink.sgml:
10445 * docs/gst/tmpl/old/gstfdsrc.sgml:
10446 * docs/gst/tmpl/old/gstfilesink.sgml:
10447 * docs/gst/tmpl/old/gstfilesrc.sgml:
10448 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10449 * docs/gst/tmpl/old/gstidentity.sgml:
10450 * docs/gst/tmpl/old/gstindexfactory.sgml:
10451 * docs/gst/tmpl/old/gstmarshal.sgml:
10452 * docs/gst/tmpl/old/gstmd5sink.sgml:
10453 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10454 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10455 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10456 * docs/gst/tmpl/old/gstpipefilter.sgml:
10457 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10458 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10459 * docs/gst/tmpl/old/gstshaper.sgml:
10460 * docs/gst/tmpl/old/gstspider.sgml:
10461 * docs/gst/tmpl/old/gstspideridentity.sgml:
10462 * docs/gst/tmpl/old/gststatistics.sgml:
10463 * docs/gst/tmpl/old/gsttee.sgml:
10464 * docs/gst/tmpl/old/gsttimecache.sgml:
10465 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10466 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10467 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10468 * docs/gst/tmpl/old/types.sgml:
10469 I didn't intend to add these or check them in.
10471 2005-05-19 David Schleef <ds@schleef.org>
10473 * configure.ac: Use -no-common everywhere. In a sane world, it
10474 would be the default in libtool, because without it, you can't
10475 build DLLs on Windows.
10476 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10477 * docs/gst/gstreamer-sections.txt:
10478 * docs/gst/tmpl/gstcpu.sgml:
10479 * docs/gst/tmpl/gstdata.sgml:
10480 * docs/gst/tmpl/gstthread.sgml:
10482 2005-05-19 David Schleef <ds@schleef.org>
10484 * gst/gstminiobject.c: (gst_value_set_mini_object),
10485 (gst_value_take_mini_object), (gst_value_get_mini_object):
10486 * gst/gstminiobject.h: Add GValue set/get functions.
10488 2005-05-19 Wim Taymans <wim@fluendo.com>
10490 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10491 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10492 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10494 * gst/gstbus.c: (gst_bus_post):
10495 * gst/gstelement.c: (gst_element_get_random_pad):
10496 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10497 Make subbufer unref the parent in finalize.
10498 some more debugging info.
10501 2005-05-19 Wim Taymans <wim@fluendo.com>
10503 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10504 (gst_basesink_init), (gst_basesink_finalize),
10505 (gst_basesink_activate), (gst_basesink_change_state):
10506 Don't free preroll queue too early.
10508 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10512 Hi, I'm outdated. Please shoot me.
10514 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10516 * gst/gstpipeline.c: (gst_pipeline_send_event):
10517 Do not access variables after they have been deleted.
10519 2005-05-19 Wim Taymans <wim@fluendo.com>
10521 * tools/gst-inspect.c: (print_plugin_features):
10522 A plugin feature does unfortunatly not use the
10525 2005-05-18 Wim Taymans <wim@fluendo.com>
10527 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10528 Port _span() functions to new subbuffers.
10530 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10532 * gst/gstbin.c: (gst_bin_add_func):
10533 Fix clock settery in bins when adding kids after the clock has
10536 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10538 * gst/elements/gstidentity.c: (gst_identity_class_init):
10539 Workaround until signals support GstMiniObject.
10541 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10544 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10546 2005-05-18 Wim Taymans <wim@fluendo.com>
10548 * gst/base/Makefile.am:
10549 * gst/base/gstadapter.c: (gst_adapter_base_init),
10550 (gst_adapter_class_init), (gst_adapter_init),
10551 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10552 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10553 (gst_adapter_flush), (gst_adapter_available),
10554 (gst_adapter_available_fast):
10555 * gst/base/gstadapter.h:
10556 Ported and added adapter to the base classes.
10558 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10561 * gst/gstmessage.c:
10562 Make sure the class is reffed/unreffed once before threads can be
10563 used. Fixes #304551.
10565 2005-05-17 Wim Taymans <wim@fluendo.com>
10567 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10568 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10569 * gst/gstminiobject.c: (gst_mini_object_get_type),
10570 (gst_mini_object_free):
10571 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10572 (gst_pad_push), (gst_pad_push_event):
10573 * gst/gstqueue.c: (gst_queue_change_state):
10574 Don't queue buffers in basesink when we are flushing.
10575 Unref buffer when flushing in basesink.
10576 Flush queue when going to READY
10577 Unref buffer when _push() returns an error.
10578 Don't free MiniObject instance when refcount is incremented
10579 in _finalize() so that we can recover objects.
10581 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10583 * docs/manual/advanced-schedulers.xml:
10584 * docs/manual/appendix-checklist.xml:
10585 * docs/pwg/advanced-clock.xml:
10586 * docs/pwg/advanced-interfaces.xml:
10587 * docs/pwg/advanced-request.xml:
10588 * docs/pwg/advanced-types.xml:
10589 * docs/pwg/intro-preface.xml:
10590 * examples/plugins/example.c: (gst_example_get_type),
10591 (gst_example_class_init), (gst_example_chain),
10592 (gst_example_set_property), (gst_example_get_property),
10593 (gst_example_change_state), (plugin_init):
10594 * examples/plugins/example.h:
10597 2005-05-17 Wim Taymans <wim@fluendo.com>
10599 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10600 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10601 * gst/gstqueue.c: (gst_queue_change_state):
10602 Clear queue when going to READY.
10603 Remove IN_SETCAPS flag too.
10605 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10607 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10608 Remove implicit cast from gboolean to GstElementStateReturn;
10609 make sure we still return failure in paused => ready case if
10610 the parent class fails to change state and our own stop
10613 2005-05-17 Wim Taymans <wim@fluendo.com>
10615 * tools/gst-launch.c: (event_loop):
10616 Message was unreffed too soon.
10618 2005-05-16 Andy Wingo <wingo@pobox.com>
10620 * gst/gstbin.c (sink_iterator_filter): Err... um...
10622 * check/gst/gstbin.c (test_ghost_pads): New test for the
10623 ghosting-if-elements-not-in-same-bin behavior.
10625 2005-05-16 David Schleef <ds@schleef.org>
10627 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10628 accessing refcount directly.
10630 2005-05-15 David Schleef <ds@schleef.org>
10632 * check/Makefile.am: remove GstData checks
10633 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10634 * gst/Makefile.am: add miniobject, remove data
10635 * gst/gst.h: add miniobject, remove data
10636 * gst/gstdata.c: remove
10637 * gst/gstdata.h: remove
10638 * gst/gstdata_private.h: remove
10639 * gst/gsttypes.h: remove GstEvent and GstMessage
10640 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10641 * gst/gstmarshal.list: change BOXED -> OBJECT
10643 Implement GstMiniObject.
10644 * gst/gstminiobject.c:
10645 * gst/gstminiobject.h:
10647 Modify to be subclasses of GstMiniObject.
10648 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10649 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10650 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10651 (gst_subbuffer_get_type), (gst_subbuffer_init),
10652 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10655 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10656 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10657 (_gst_event_copy), (gst_event_new):
10659 * gst/gstmessage.c: (_gst_message_initialize),
10660 (gst_message_get_type), (gst_message_class_init),
10661 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10662 (gst_message_new), (gst_message_new_error),
10663 (gst_message_new_warning), (gst_message_new_tag),
10664 (gst_message_new_state_changed), (gst_message_new_application):
10665 * gst/gstmessage.h:
10666 * gst/gstprobe.c: (gst_probe_perform),
10667 (gst_probe_dispatcher_dispatch):
10669 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10670 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10671 (_gst_query_copy), (gst_query_new):
10673 Update elements for GstData -> GstMiniObject changes
10675 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10676 (gst_queue_chain), (gst_queue_loop):
10677 * gst/elements/gstbufferstore.c:
10678 (gst_buffer_store_add_buffer_func),
10679 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10680 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10681 (gst_fakesink_render):
10682 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10683 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10684 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10685 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10686 (gst_filesrc_create_read):
10687 * gst/elements/gstidentity.c: (gst_identity_class_init):
10688 * gst/elements/gsttypefindelement.c:
10689 (gst_type_find_element_src_event), (free_entry_buffers),
10690 (gst_type_find_element_handle_event):
10691 * libs/gst/dataprotocol/dataprotocol.c:
10692 (gst_dp_header_from_buffer):
10693 * libs/gst/dataprotocol/dataprotocol.h:
10694 * libs/gst/dataprotocol/dp-private.h:
10696 2005-05-15 David Schleef <ds@schleef.org>
10698 * gst/elements/gstelements.c: Don't include headers that were
10701 2005-05-15 David Schleef <ds@schleef.org>
10703 * gst/elements/Makefile.am: Remove some elements that don't
10704 need to be in the core (or even exist at all).
10705 * gst/elements/gstaggregator.c:
10706 * gst/elements/gstaggregator.h:
10707 * gst/elements/gstmd5sink.c:
10708 * gst/elements/gstmd5sink.h:
10709 * gst/elements/gstmultifilesrc.c:
10710 * gst/elements/gstmultifilesrc.h:
10711 * gst/elements/gstpipefilter.c:
10712 * gst/elements/gstpipefilter.h:
10713 * gst/elements/gstshaper.c:
10714 * gst/elements/gstshaper.h:
10715 * gst/elements/gststatistics.c:
10716 * gst/elements/gststatistics.h:
10717 * po/POTFILES.in: Remove above files.
10719 2005-05-14 Andy Wingo <wingo@pobox.com>
10721 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10722 so as to get the refs right.
10723 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10724 unreffing objects that don't pass the filter.
10726 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10727 gst_element_set_bus.
10728 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10729 normal cases, this will destroy the bus.
10731 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10734 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10737 2005-05-13 Andy Wingo <wingo@pobox.com>
10739 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10740 gst_pad_link, call pad_link_maybe_ghosting,
10741 (pad_link_maybe_ghosting): Links pads, making sure that the
10742 elements being linked are in the same bin.
10743 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10744 Helpers for pad_link_maybe_ghosting.
10746 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10749 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10751 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10753 * docs/design/part-element-source.txt:
10756 2005-05-12 Wim Taymans <wim@fluendo.com>
10758 * gst/base/gstbasesink.c: (gst_basesink_init),
10759 (gst_basesink_activate):
10760 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10761 (gst_basesrc_is_seekable):
10762 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10763 (bin_element_is_sink), (gst_bin_change_state):
10764 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10765 * gst/gstelement.h:
10766 Identify sinks by their flag to avoid overly complicated
10768 Do state changes even for elements not reachable from the
10770 BaseSink is a sink now :)
10771 Some more debugging info in the basesrc.
10774 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10776 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10777 Implement _query on a bin, similar to _send_event.
10779 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10781 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10782 Discont event offset format should be GST_FORMAT_BYTES,
10783 not GST_FORMAT_TIME.
10785 2005-05-12 Wim Taymans <wim@fluendo.com>
10787 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10788 Same fix as Ronald's but without the signal.
10790 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10792 * gst/gstutils.c: (gst_element_query_position):
10793 No, an element is not a pad.
10795 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10797 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10798 (gst_bin_get_state):
10799 If a child is removed from a bin while we remove the child from
10800 the bin and while we're retrieving its state, signal this to the
10801 get_state function so we abort the wait (instead of waiting for
10802 a timeout) and can immediately re-iterate over all other elements.
10804 2005-05-12 Wim Taymans <wim@fluendo.com>
10806 * gst/base/Makefile.am:
10807 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10808 (gst_basesrc_start):
10809 * gst/base/gstbasesrc.h:
10810 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10811 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10812 (gst_pushsrc_init), (gst_pushsrc_create):
10813 * gst/base/gstpushsrc.h:
10814 Added is_seekable to BaseSrc
10815 Added simple PushSrc.
10817 2005-05-11 Wim Taymans <wim@fluendo.com>
10819 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10820 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10821 (gst_element_link_pads), (gst_element_query_position),
10822 (gst_element_query_convert), (intersect_caps_func),
10823 (gst_pad_query_position), (gst_pad_query_convert):
10824 Fix refcounting in utils function.
10825 No point in trying to activate a pad when it's added, it could
10826 be added from the state change function and then we deadlock, the
10827 element has to decide what to do.
10829 2005-05-10 Andy Wingo <wingo@pobox.com>
10831 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10832 *all* the arguments.
10834 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10835 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10836 lock (according to the docs -- if this is wrong change the docs).
10838 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10839 flush messages in the NULL state.
10841 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10842 message immediately and return.
10843 (gst_bus_set_flushing): New function. If a bus is flushing, it
10844 flushes out any queued messages and immediately unrefs new
10845 messages. This is so when an element goes to NULL, all of the
10846 unhandled messages coming from it can be freed, and their
10847 references to the element dropped. In other words: message source
10848 ref considered harmful :P
10850 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10851 we're finished with it.
10853 * gst/gstmessage.c (gst_message_new_state_changed):
10855 2005-05-10 Wim Taymans <wim@fluendo.com>
10857 * gst/gstvalue.c: (gst_value_compare_flags),
10858 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10859 (_gst_value_initialize):
10860 Added flags serialize/deserialize/compare code.
10862 2005-05-09 Andy Wingo <wingo@pobox.com>
10864 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10865 Intersect the peer's caps with our caps.
10867 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10869 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10870 * gst/elements/gsttypefindelement.c: (find_peek):
10871 Handle negative offsets better. Fixes decodebin.
10873 2005-05-09 Wim Taymans <wim@fluendo.com>
10875 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10876 (gst_base_transform_event):
10877 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10878 Implement accept_caps.
10879 Fix silly lock/unlock mismatch in base class.
10881 2005-05-09 Wim Taymans <wim@fluendo.com>
10883 * docs/design/draft-push-pull.txt:
10884 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10885 * gst/elements/gstfilesink.c: (gst_filesink_init),
10886 (gst_filesink_query):
10887 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10888 (gst_type_find_handle_src_query), (find_element_get_length):
10889 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10890 * gst/gstelement.h:
10891 * gst/gstmessage.c:
10892 * gst/gstmessage.h:
10893 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10894 (gst_real_pad_get_caps_unlocked),
10895 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10896 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10897 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10898 (gst_real_pad_dispose), (gst_real_pad_finalize),
10899 (gst_pad_load_and_link), (gst_pad_save_thyself),
10900 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10901 (gst_pad_check_pull_range), (gst_pad_pull_range),
10902 (gst_pad_template_get_type), (gst_pad_template_class_init),
10903 (gst_pad_template_init), (gst_pad_template_dispose),
10904 (name_is_valid), (gst_static_pad_template_get),
10905 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10906 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10907 (gst_pad_get_element_private), (gst_pad_start_task),
10908 (gst_pad_pause_task), (gst_pad_stop_task),
10909 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10910 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10911 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10912 (gst_ghost_pad_new):
10914 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10915 (gst_query_new_position), (gst_query_set_position),
10916 (gst_query_parse_position), (gst_query_new_convert),
10917 (gst_query_set_convert), (gst_query_parse_convert):
10919 * gst/gstqueryutils.c:
10920 * gst/gstqueryutils.h:
10921 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10922 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10923 (gst_queue_handle_src_query):
10924 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10925 (gst_element_query_position), (gst_element_query_convert),
10926 (intersect_caps_func), (gst_pad_query_position),
10927 (gst_pad_query_convert):
10929 * tools/gst-inspect.c: (print_pad_info):
10930 * tools/gst-xmlinspect.c: (print_element_info):
10931 Remove old query functions. Ported old code.
10932 Added position/convert helper functions to gstutils.
10933 Reordered gstpad.c code, grouping relevant things.
10934 Remove gst_message_new(), always need to speficy a specific
10938 2005-05-09 Andy Wingo <wingo@pobox.com>
10940 * gst/gstiterator.h: Add some includes.
10942 * gst/gstqueryutils.h: Include more headers.
10945 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10946 some uses of gst_pad_query.
10948 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10949 NULL out parameters.
10950 (gst_query_new_position): New proc, allocates a new position
10953 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10954 gstqueryutils.c to the build.
10956 * gst/gststructure.c (gst_structure_set_valist): Implement with
10957 the generic G_VALUE_COLLECT.
10959 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10961 * gst/Makefile.am: (gst_headers):
10962 Added gstqueryutils.h to the list of headers to install, that was
10963 a 'nachty' move wingo :)
10965 2005-05-06 Andy Wingo <wingo@pobox.com>
10968 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10969 GstData, init a memchunk.
10970 (standard_definitions): Add a few query types, deprecate a few.
10971 (gst_query_get_type): New proc.
10972 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10974 (gst_query_new_application, gst_query_get_structure): New public
10977 * docs/design/draft-query.txt: Removed LINKS from the query types,
10978 because all the rest can be dispatched to other pads -- seemed
10979 ugly to have a query that couldn't be dispatched. internal_links
10980 is fine as a pad method.
10982 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10983 in gstpad.c, but maintain binary compatibility for the moment.
10984 Will fix before 0.9 is out.
10986 * gst/gstqueryutils.c:
10987 * gst/gstqueryutils.h: New files, implement 3 methods for each
10988 query type: parse_query, parse_response, and set. Probably need an
10991 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10993 * gst/elements/gstfilesink.c (gst_filesink_query2):
10994 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10995 query_types, and formats methods.
10997 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10998 (gst_pad_set_query2_function): New functions.
10999 (gst_real_pad_init): Set query2_default as the default query2
11000 function. Basically just dispatches to internally linked pads.
11004 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11005 without using the atomic operations. Only one thread can possibly
11006 be accessing the data at this point. Changed so as to avoid
11007 gst_atomic operations.
11009 2005-05-06 Wim Taymans <wim@fluendo.com>
11011 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11012 Also set caps if we use the fallback buffer alloc.
11014 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11016 * docs/gst/Makefile.am:
11017 * docs/gst/gstreamer-docs.sgml:
11018 * docs/gst/gstreamer-sections.txt:
11019 * docs/gst/tmpl/gstatomic.sgml:
11020 * docs/gst/tmpl/gstmemchunk.sgml:
11021 * testsuite/elements/struct_i386.h:
11022 * win32/GStreamer.vcproj:
11024 Purge GstAtomic stuff from docs and win32 makefiles as well
11026 2005-05-06 Wim Taymans <wim@fluendo.com>
11028 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11029 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11030 * gst/gstpad.c: (gst_pad_peer_get_caps):
11031 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11032 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11033 (gst_queue_src_activate), (gst_queue_change_state):
11035 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11036 (intersect_caps_func):
11037 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11038 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11039 Some fixes for the peer_get_caps() change.
11041 2005-05-06 Wim Taymans <wim@fluendo.com>
11043 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11044 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11045 (gst_basesink_activate):
11046 Actually do something with error codes returned from the push
11049 2005-05-06 Wim Taymans <wim@fluendo.com>
11051 * docs/design/part-element-sink.txt:
11052 * docs/design/part-element-source.txt:
11053 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11054 (gst_basesink_event), (gst_basesink_activate):
11055 * gst/base/gstbasesink.h:
11056 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11057 (gst_basesrc_activate):
11058 * gst/base/gstbasesrc.h:
11059 * gst/gstelement.c: (gst_element_pads_activate):
11060 Some more documentation.
11061 Fixed scheduling decision in _pads_activate().
11063 2005-05-05 Andy Wingo <wingo@pobox.com>
11065 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11068 2005-05-05 Wim Taymans <wim@fluendo.com>
11070 * gst/base/Makefile.am:
11071 * gst/base/gstbasesink.h:
11072 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11073 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11074 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11075 (gst_collectpads_class_init), (gst_collectpads_init),
11076 (gst_collectpads_finalize), (gst_collectpads_new),
11077 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11078 (find_pad), (gst_collectpads_remove_pad),
11079 (gst_collectpads_is_active), (gst_collectpads_collect),
11080 (gst_collectpads_collect_range), (gst_collectpads_start),
11081 (gst_collectpads_stop), (gst_collectpads_peek),
11082 (gst_collectpads_pop), (gst_collectpads_available),
11083 (gst_collectpads_read), (gst_collectpads_flush),
11084 (gst_collectpads_chain):
11085 * gst/base/gstcollectpads.h:
11086 * gst/elements/Makefile.am:
11087 * gst/elements/gstelements.c:
11088 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11089 (gst_fakesink_get_times), (gst_fakesink_event),
11090 (gst_fakesink_preroll), (gst_fakesink_render):
11091 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11092 (gst_filesink_init), (gst_filesink_set_location),
11093 (gst_filesink_open_file), (gst_filesink_close_file),
11094 (gst_filesink_pad_query), (gst_filesink_event),
11095 (gst_filesink_render), (gst_filesink_change_state):
11096 * gst/elements/gstfilesink.h:
11097 Added object to help in making collect pad based elements.
11099 Make event function in sink baseclass return gboolean.
11101 2005-05-05 Wim Taymans <wim@fluendo.com>
11103 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11104 (gst_bin_get_by_name):
11106 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11107 (gst_clock_finalize):
11108 * gst/gstdata.c: (gst_data_replace):
11110 * gst/gstelement.c: (gst_element_request_pad),
11111 (gst_element_pads_activate):
11112 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11113 (gst_object_unref):
11114 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11115 (gst_pad_set_checkgetrange_function),
11116 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11117 (gst_pad_check_pull_range), (gst_pad_pull_range),
11118 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11119 (gst_pad_pause_task), (gst_pad_stop_task):
11120 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11121 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11122 Fix name lookup in GstBin.
11123 Added _data_replace() function and _buffer_replace()
11124 Use finalize method to clean up clock.
11125 Fix refcounting on request pads.
11126 Fix pad schedule mode error.
11127 Some more object refcounting debug info,
11130 2005-05-04 Andy Wingo <wingo@pobox.com>
11132 * check/Makefile.am:
11133 * docs/gst/tmpl/gstatomic.sgml:
11134 * docs/gst/tmpl/gstplugin.sgml:
11135 * gst/base/gstbasesink.c: (gst_basesink_activate):
11136 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11137 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11138 (gst_basesrc_query), (gst_basesrc_set_property),
11139 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11140 (gst_basesrc_activate):
11141 * gst/base/gstbasesrc.h:
11142 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11143 (gst_base_transform_src_activate):
11144 * gst/elements/gstelements.c:
11145 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11146 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11147 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11148 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11149 (gst_type_find_element_checkgetrange),
11150 (gst_type_find_element_activate):
11151 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11152 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11153 (gst_caps_load_thyself):
11154 * gst/gstelement.c: (gst_element_pads_activate),
11155 (gst_element_save_thyself), (gst_element_restore_thyself):
11156 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11157 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11159 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11160 (gst_xml_parse_file), (gst_xml_parse_memory),
11161 (gst_xml_get_element), (gst_xml_make_element):
11162 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11163 (_file_index_id_save_xml), (gst_file_index_commit):
11164 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11165 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11167 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11168 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11169 * tools/gst-complete.c: (main):
11170 * tools/gst-compprep.c: (main):
11171 * tools/gst-inspect.c: (print_element_properties_info):
11172 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11173 * tools/gst-xmlinspect.c: (print_element_properties):
11176 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11178 * gst/gstplugin.c: (gst_plugin_check_module),
11179 (gst_plugin_check_file), (gst_plugin_load_file):
11180 apply patch from #172526 to make register work on MacOSX
11182 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11184 * docs/gst/tmpl/gstconfig.sgml:
11185 * gst/gstconfig.h.in:
11186 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11187 * testsuite/debug/printf_extension.c: (main):
11188 Do not use GST_PTR_FORMAT on pointers to types with
11189 sizeof < sizeof(gpointer). Fixes test on 64-bit
11190 * testsuite/elements/property.h:
11191 use correct printf format
11193 2005-05-02 Wim Taymans <wim@fluendo.com>
11195 * docs/design/draft-push-pull.txt:
11196 * docs/design/draft-query.txt:
11197 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11198 (gst_basesrc_start):
11199 Added draft for new query API.
11200 Added draft for better selecting scheduling methods.
11201 Make basesrc ignore length if the subclass does not support
11204 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11207 possible fixes for automake-1.5 - _LIBADD is reserved
11209 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11211 * docs/faq/Makefile.am:
11212 * docs/manual/Makefile.am:
11213 * docs/manuals.mak:
11214 * docs/pwg/Makefile.am:
11216 possible fixes for automake-1.5
11218 2005-04-28 Wim Taymans <wim@fluendo.com>
11220 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11221 (gst_basesink_pad_getcaps), (gst_basesink_init),
11222 (gst_basesink_do_sync):
11223 * gst/gstclock.c: (gst_clock_entry_new):
11224 * gst/gstevent.c: (gst_event_discont_get_value):
11225 * gst/gstpipeline.c: (pipeline_bus_handler),
11226 (gst_pipeline_change_state):
11227 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11228 Better debugging of clocking info.
11229 Allow NULL values when getting discont values.
11231 2005-04-27 Wim Taymans <wim@fluendo.com>
11233 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11234 * check/gst/gstpad.c: (gst_pad_suite):
11235 Increase timeout for checks.
11237 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11239 * check/Makefile.am:
11240 fix the broken rule for cleanup. Apparently this rule is
11241 only needed on FC2, so maybe this warrants further autotool
11244 2005-04-26 Wim Taymans <wim@fluendo.com>
11246 * gst/gsttrashstack.h:
11247 Ooohh. a nasty one! After having a failed pop() from the stack,
11248 it's possible that the stack is empty. In that case, don't
11249 follow the NULL pointer.
11251 2005-04-25 Wim Taymans <wim@fluendo.com>
11253 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11254 (gst_pad_set_checkgetrange_function),
11255 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11256 (gst_pad_check_pull_range), (gst_pad_pull_range),
11257 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11258 (gst_pad_pause_task), (gst_pad_stop_task):
11259 * gst/gstplugin.c: (gst_plugin_load):
11261 Remove gst_library_load as it does more harm than good with
11262 the new g_module flags.
11263 Revert bogus caps template check in pad linking, pad caps
11264 are important when linking not the template, which is more
11265 general than the current caps.
11267 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11269 * gst/autoplug/.cvsignore:
11270 * gst/autoplug/Makefile.am:
11271 * gst/autoplug/gstsearchfuncs.c:
11272 * gst/autoplug/gstsearchfuncs.h:
11273 * gst/autoplug/gstspider.c:
11274 * gst/autoplug/gstspider.h:
11275 * gst/autoplug/gstspideridentity.c:
11276 * gst/autoplug/gstspideridentity.h:
11277 * gst/autoplug/spidertest.c:
11280 2005-04-25 Wim Taymans <wim@fluendo.com>
11282 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11283 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11284 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11285 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11287 Added stubs for unimplemented functions.
11289 2005-04-24 David Schleef <ds@schleef.org>
11291 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11294 2005-04-24 David Schleef <ds@schleef.org>
11296 Convert everything from GstAtomicInt to g_atomic_int_*, and
11301 * gst/gstatomic_impl.h:
11309 * gst/gstdata_private.h:
11313 * gst/gstmessage.c:
11316 * gst/gststructure.c:
11317 * gst/gststructure.h:
11318 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11321 2005-04-24 David Schleef <ds@schleef.org>
11323 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11324 make the regressions tests work. Remove some code that is no
11326 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11327 Disable warning for pads without templates.
11329 2005-04-24 David Schleef <ds@schleef.org>
11331 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11332 functions that handle filtered links.
11333 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11335 * gst/gstutils.c: Fix/remove utility functions that handle
11338 * gst/gstvalue.c: Add serialization/deserialization of caps
11339 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11340 requires fixing so that the filter caps notation creates
11341 a capsfilter element and sets the filter_caps property. I
11342 think everyone probably wants to keep the shorthand notation.
11343 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11344 * docs/gst/tmpl/gstpad.sgml:
11346 * gst/elements/gstelements.c: Register capsfilter element.
11347 * gst/Makefile.am: fix spacing
11348 * docs/random/ds/0.9-suggested-changes: random
11350 2005-04-23 David Schleef <ds@schleef.org>
11352 * gst/elements/Makefile.am:
11353 * gst/elements/gstcapsfilter.c: New element that acts like an
11354 identity, but filters caps. Will eventually replace filtered
11355 caps in pad linking.
11356 * gst/gstutils.c: (gst_element_create_all_pads): New function
11357 to create all the ALWAYS pads that are registered with an
11358 element class. This functionality should eventually be
11359 merged in with GstElement initialization.
11361 * testsuite/trigger/README: part of trigger test code that should
11362 have been checked in a long time ago.
11364 2005-04-23 David Schleef <ds@schleef.org>
11366 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11367 needed with new versions of libtool (nobody will confirm this),
11368 and hard to carry around.
11369 * gst/autoplug/Makefile.am:
11370 * gst/base/Makefile.am:
11371 * gst/elements/Makefile.am:
11372 * gst/indexers/Makefile.am:
11373 * gst/schedulers/Makefile.am:
11374 * libs/gst/bytestream/Makefile.am:
11375 * libs/gst/control/Makefile.am:
11376 * libs/gst/dataprotocol/Makefile.am:
11377 * libs/gst/getbits/Makefile.am:
11379 2005-04-21 Wim Taymans <wim@fluendo.com>
11381 * docs/design/draft-push-pull.txt:
11382 * docs/design/part-MT-refcounting.txt:
11383 * docs/design/part-TODO.txt:
11384 * docs/design/part-caps.txt:
11385 * docs/design/part-events.txt:
11386 * docs/design/part-gstbus.txt:
11387 * docs/design/part-gstpipeline.txt:
11388 * docs/design/part-messages.txt:
11389 * docs/design/part-push-pull.txt:
11390 * docs/design/part-query.txt:
11393 2005-04-21 Wim Taymans <wim@fluendo.com>
11395 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11396 (gst_message_new), (gst_message_new_error),
11397 (gst_message_new_warning), (gst_message_new_tag),
11398 (gst_message_new_state_changed), (gst_message_new_application),
11399 (gst_message_get_structure):
11400 * gst/gstmessage.h:
11401 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11402 (gst_structure_copy_conditional):
11403 Use parent refcount in GstMessage to ensure GstStructure
11405 Cleaned up headers a bit.
11408 2005-04-20 Wim Taymans <wim@fluendo.com>
11410 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11411 (gst_basesink_pad_getcaps), (gst_basesink_init),
11412 (gst_basesink_chain_unlocked):
11413 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11414 (gst_type_find_helper):
11415 * gst/elements/gsttypefindelement.c:
11416 (gst_type_find_element_have_type), (gst_type_find_element_init),
11417 (stop_typefinding), (gst_type_find_element_handle_event),
11418 (find_suggest), (gst_type_find_element_chain),
11419 (gst_type_find_element_checkgetrange),
11420 (gst_type_find_element_getrange), (do_typefind),
11421 (gst_type_find_element_activate):
11422 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11423 (gst_buffer_default_free), (gst_buffer_default_copy),
11424 (gst_buffer_set_caps):
11425 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11426 (gst_caps_replace):
11427 * gst/gstmessage.c: (gst_message_new),
11428 (gst_message_new_state_changed):
11429 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11430 (gst_pad_set_checkgetrange_function),
11431 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11432 (gst_pad_set_caps), (gst_pad_check_pull_range),
11433 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11435 * gst/gsttypefind.c: (gst_type_find_register):
11436 Make gst_caps_replace() work like other _replace() functions.
11437 Use _caps_replace() where possible.
11438 Make sure _message_new() initialises its field.
11439 Add gst_static_pad_template_get_caps()
11442 2005-04-18 Andy Wingo <wingo@pobox.com>
11444 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11445 on the peer, not the pad. I think that was a typo. Pass an extra
11446 arg to see if random access is possible. Activate the pads as
11447 PULL_RANGE if possible.
11449 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11451 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11452 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11455 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11457 * docs/faq/using.xml:
11458 Add note on gstreamer-properties (#154996).
11460 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11462 * docs/random/bbb/optional-properties:
11463 Some analysis on optional properties.
11465 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11467 * docs/gst/tmpl/gstelementfactory.sgml:
11468 * gst/gstelement.h:
11469 * gst/gstelementfactory.c: (gst_element_factory_init),
11470 (gst_element_factory_cleanup), (gst_element_register),
11471 (__gst_element_factory_add_static_pad_template),
11472 (gst_element_factory_get_static_pad_templates),
11473 (gst_element_factory_can_src_caps),
11474 (gst_element_factory_can_sink_caps):
11475 * gst/registries/Makefile.am:
11476 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11477 (gst_xml_registry_class_init), (gst_xml_registry_init),
11478 (gst_xml_registry_new), (gst_xml_registry_set_property),
11479 (gst_xml_registry_get_property), (get_time), (make_dir),
11480 (gst_xml_registry_get_perms_func),
11481 (plugin_times_older_than_recurse), (plugin_times_older_than),
11482 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11483 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11484 (add_to_char_array), (read_string), (read_uint), (read_enum),
11485 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11486 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11487 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11488 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11489 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11490 (gst_xml_registry_rebuild):
11491 * gst/registries/gstlibxmlregistry.h:
11492 * tools/gst-compprep.c: (main):
11493 * tools/gst-inspect.c: (print_pad_templates_info):
11494 * tools/gst-xmlinspect.c: (print_element_info):
11495 Use libxml2 for registry parsing, use staticpadtemplates in
11496 elementfactories. Makes gst_init() +/- 10x faster.
11498 2005-04-12 Wim Taymans <wim@fluendo.com>
11500 * gst/base/Makefile.am:
11501 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11502 (gst_basesink_pad_getcaps), (gst_basesink_init),
11503 (gst_basesink_event), (gst_basesink_change_state):
11504 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11505 (gst_basesrc_init), (gst_basesrc_query),
11506 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11507 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11508 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11509 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11510 (gst_basesrc_stop), (gst_basesrc_activate),
11511 (gst_basesrc_change_state):
11512 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11513 (helper_find_suggest), (gst_type_find_helper):
11514 * gst/base/gsttypefindhelper.h:
11515 * gst/elements/Makefile.am:
11516 * gst/elements/gstelements.c:
11517 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11518 (gst_fakesink_get_times), (gst_fakesink_event),
11519 (gst_fakesink_preroll), (gst_fakesink_render):
11520 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11521 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11522 (gst_fakesrc_get_property), (gst_fakesrc_create),
11523 (gst_fakesrc_start), (gst_fakesrc_stop):
11524 * gst/elements/gstfakesrc.h:
11525 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11526 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11527 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11528 (gst_filesrc_create_read), (gst_filesrc_create),
11529 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11530 (gst_filesrc_start):
11531 * gst/elements/gsttypefindelement.c:
11532 (gst_type_find_element_have_type), (gst_type_find_element_init),
11533 (start_typefinding), (stop_typefinding), (push_buffer_store),
11534 (gst_type_find_element_handle_event),
11535 (gst_type_find_element_chain),
11536 (gst_type_find_element_checkgetrange),
11537 (gst_type_find_element_getrange), (do_typefind),
11538 (gst_type_find_element_activate),
11539 (gst_type_find_element_change_state):
11540 * gst/elements/gsttypefindelement.h:
11541 * gst/gstpipeline.c: (pipeline_bus_handler):
11542 Added typefind helper.
11543 Small preroll fix in the base sink.
11544 Disable typefind code in basesrc.
11545 Crude port of typefindelement.
11549 2005-04-11 Wim Taymans <wim@fluendo.com>
11551 * check/gst/gstbus.c: (gstbus_suite):
11552 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11553 * check/gstcheck.h:
11554 Fix up the timeout so that the test does not fail.
11556 2005-04-06 Wim Taymans <wim@fluendo.com>
11559 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11560 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11561 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11562 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11563 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11564 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11565 (gst_basesrc_stop), (gst_basesrc_activate),
11566 (gst_basesrc_change_state), (basesrc_find_peek),
11567 (basesrc_find_suggest), (gst_basesrc_type_find):
11568 * gst/base/gstbasesrc.h:
11569 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11570 (gst_filesrc_class_init), (gst_filesrc_init),
11571 (gst_filesrc_finalize), (gst_filesrc_set_location),
11572 (gst_filesrc_set_property), (gst_filesrc_get_property),
11573 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11574 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11575 (gst_filesrc_create_read), (gst_filesrc_create),
11576 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11577 * gst/elements/gstfilesrc.h:
11578 * gst/gstelement.c: (gst_element_get_state_func),
11579 (gst_element_lost_state), (gst_element_pads_activate):
11580 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11581 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11582 (gst_pad_pull_range):
11584 More work on the generic source base class, implement seeking,
11586 Make filesrc extend the base source class.
11587 Added gst_pad_set_checkgetrange_function to GstPad.
11589 2005-04-06 Andy Wingo <wingo@pobox.com>
11591 * pkgconfig/gstreamer-base.pc.in:
11592 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11594 * pkgconfig/Makefile.am:
11595 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11597 2005-04-04 Wim Taymans <wim@fluendo.com>
11599 * gst/base/Makefile.am:
11601 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11602 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11603 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11604 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11605 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11606 (gst_basesrc_base_init), (gst_basesrc_class_init),
11607 (gst_basesrc_init), (gst_basesrc_get_formats),
11608 (gst_basesrc_get_query_types), (gst_basesrc_query),
11609 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11610 (gst_basesrc_set_property), (gst_basesrc_get_property),
11611 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11612 (gst_basesrc_loop), (gst_basesrc_activate),
11613 (gst_basesrc_change_state):
11614 * gst/base/gstbasesrc.h:
11615 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11616 (gst_fakesrc_class_init), (gst_fakesrc_init),
11617 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11618 (gst_fakesrc_get_property), (gst_fakesrc_create):
11619 * gst/elements/gstfakesrc.h:
11620 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11621 (gst_filesrc_open_file), (gst_filesrc_loop),
11622 (gst_filesrc_activate), (filesrc_find_peek),
11623 (gst_filesrc_type_find):
11624 Made base source class, make fakesrc extend it.
11625 Add comments to basesink class.
11626 Some filesrc cleanup.
11628 2005-03-31 David Schleef <ds@schleef.org>
11630 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11631 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11632 expected to link against libgstreamer.
11633 * gst/base/Makefile.am: link against libgstreamer
11634 * gst/elements/Makefile.am: same
11636 2005-03-31 Andy Wingo <wingo@pobox.com>
11638 * tests/instantiate/Makefile.am:
11639 * tests/instantiate/caps.c: Add test to test speed of caps copy
11642 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11643 GMemChunk to be fair.
11645 * gst/gsttrashstack.h: Remove warning about using the fallback
11646 trash stack implementation, it's still faster than malloc.
11648 2005-03-30 Andy Wingo <wingo@pobox.com>
11650 * tests/complexity.c: Add a copyright.
11652 2005-03-31 Wim Taymans <wim@fluendo.com>
11654 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11655 (gst_base_transform_class_init), (gst_base_transform_init),
11656 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11657 (gst_base_transform_get_property),
11658 (gst_base_transform_sink_activate),
11659 (gst_base_transform_src_activate),
11660 (gst_base_transform_change_state):
11661 * gst/base/gstbasetransform.h:
11662 * gst/elements/gstidentity.c: (gst_identity_class_init),
11663 (gst_identity_event), (gst_identity_check_perfect),
11664 (gst_identity_transform), (gst_identity_start),
11665 (gst_identity_stop):
11666 Added start/stop methods to transform base class so subclasses
11667 don't need to deal with state changes even.
11669 2005-03-31 Wim Taymans <wim@fluendo.com>
11671 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11672 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11674 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11675 (gst_pad_pull_range):
11676 Added rate to the discont event to prepare for variable speed
11677 and reverse playback.
11679 2005-03-29 David Schleef <ds@schleef.org>
11682 * testsuite/trigger/Makefile.am:
11683 * testsuite/trigger/trigger.c: A little example program to show
11684 how trigger-based elements can work.
11686 2005-03-29 Wim Taymans <wim@fluendo.com>
11688 * gst/base/Makefile.am:
11690 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11691 (gst_basesink_base_init), (gst_basesink_class_init),
11692 (gst_basesink_pad_getcaps), (gst_basesink_init),
11693 (gst_basesink_activate), (gst_basesink_change_state):
11694 * gst/base/gstbasesink.h:
11695 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11696 (gst_base_transform_base_init), (gst_base_transform_finalize),
11697 (gst_base_transform_class_init), (gst_base_transform_init),
11698 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11699 (gst_base_transform_event), (gst_base_transform_getrange),
11700 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11701 (gst_base_transform_set_property),
11702 (gst_base_transform_get_property),
11703 (gst_base_transform_sink_activate),
11704 (gst_base_transform_src_activate),
11705 (gst_base_transform_change_state):
11706 * gst/base/gstbasetransform.h:
11707 * gst/elements/gstidentity.c: (gst_identity_finalize),
11708 (gst_identity_class_init), (gst_identity_init),
11709 (gst_identity_event), (gst_identity_check_perfect),
11710 (gst_identity_transform), (gst_identity_set_property),
11711 (gst_identity_get_property), (gst_identity_change_state):
11712 * gst/elements/gstidentity.h:
11713 * gst/gstelement.c: (gst_element_get_state_func),
11714 (gst_element_lost_state), (gst_element_pads_activate):
11715 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11716 (gst_pad_check_pull_range), (gst_pad_pull_range):
11718 Simplify pad activation.
11719 Added function to check if pull_range can be performed.
11720 Error out when pulling inactive or flushing pads.
11721 Removed const from refcounted types as it does not make sense.
11722 Simplify pad templates in basesink
11723 Added base class for simple 1-to-1 transforms.
11724 Make identity subclass the base transform.
11726 2005-03-29 Andy Wingo <wingo@pobox.com>
11728 * docs/libs/gstreamer-libs-overrides.txt:
11729 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11730 really don't understand what's going on, but like whatever. I want
11733 * docs/gst/Makefile.am:
11734 * docs/libs/Makefile.am: Dist the overrides files.
11736 * check/Makefile.am (clean-local): Remove .libs directories.
11738 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11739 elements to EXTRA_DIST, so po/ files are happy.
11741 * po/POTFILES.in: Er, remove it here.
11743 * po/POTFILES: Remove gstspider.c.
11745 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11747 * docs/libs/gstreamer-libs-docs.sgml:
11748 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11751 * tests/complexity.c (main): Set the length of the preroll queue
11752 on the sinks to prevent a lockup.
11754 * libs/gst/dataprotocol/Makefile.am:
11755 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11756 the same as the one in check/gst-libs/gdp.c.
11758 * po/, docs/gst/: Commit automatic changes to docs and po files.
11760 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11761 the versioned libgstbase.
11763 * check/Makefile.am: Depend on an unversioned gst-register, seems
11764 to make autoconf happier.
11766 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11768 2005-03-28 Wim Taymans <wim@fluendo.com>
11771 * docs/design/part-gstelement.txt:
11772 * docs/design/part-negotiation.txt:
11773 * docs/design/part-preroll.txt:
11774 * docs/design/part-scheduling.txt:
11775 * docs/design/part-states.txt:
11777 * gst/base/Makefile.am:
11779 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11780 (gst_basesink_base_init), (gst_basesink_class_init),
11781 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11782 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11783 (gst_basesink_set_pad_functions),
11784 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11785 (gst_basesink_set_property), (gst_basesink_get_property),
11786 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11787 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11788 (gst_basesink_preroll_queue_push),
11789 (gst_basesink_preroll_queue_empty),
11790 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11791 (gst_basesink_event), (gst_basesink_get_times),
11792 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11793 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11794 (gst_basesink_loop), (gst_basesink_activate),
11795 (gst_basesink_change_state):
11796 * gst/base/gstbasesink.h:
11797 * gst/elements/Makefile.am:
11798 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11799 (gst_fakesink_class_init), (gst_fakesink_init),
11800 (gst_fakesink_set_property), (gst_fakesink_get_property),
11801 (gst_fakesink_get_times), (gst_fakesink_event),
11802 (gst_fakesink_preroll), (gst_fakesink_render),
11803 (gst_fakesink_change_state):
11804 * gst/elements/gstfakesink.h:
11805 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11806 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11807 * gst/gstelement.c: (gst_element_add_pad),
11808 (gst_element_get_state_func), (gst_element_abort_state),
11809 (gst_element_commit_state), (gst_element_lost_state),
11810 (gst_element_set_state), (gst_element_pads_activate):
11811 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11812 * gst/gstpipeline.c: (gst_pipeline_send_event),
11813 (gst_pipeline_change_state):
11814 Added state change code.
11815 Added/updated docs.
11816 Added sink base class, make fakesink extend the base class.
11817 Small cleanups in GstPipeline.
11819 2005-03-26 David Schleef <ds@schleef.org>
11821 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11822 is broken and should be implemented in a different library.
11823 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11824 * gst/gst.h: remove gstcpu.h
11825 * gst/gstcpu.c: remove
11826 * gst/gstcpu.h: remove
11827 * gst/Makefile.am.future: Remove this file. It's ancient.
11829 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11831 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11832 (gst_bin_send_event):
11833 Add default event/set_manager handlers. The set_manager handler
11834 takes care that the manager is distributed over kids that were
11835 already in the bin before the manager was set. The event handler
11836 is a utility virtual function that sends the event over all sinks,
11837 so that gst_element_send_event (bin, event); has the expected
11839 * gst/gstpad.c: (gst_pad_event_default):
11840 Re-install default event handling for discontinuities, so that
11841 seeking works without requiring hacks in applications or extra
11843 * gst/gstpipeline.c: (gst_pipeline_class_init),
11844 (gst_pipeline_send_event):
11845 Half hack, half utility: set a pipeline to PAUSED for seek events,
11846 since that is the only way we can guarantee a/v sync. Means that
11847 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11848 and it "just works".
11850 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11852 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11853 Lock/unlock mismatch.
11855 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11857 * docs/faq/gst-uninstalled:
11858 add gst-plugins-base
11859 * docs/gst/Makefile.am:
11860 don't error out until docs are fixed
11861 * docs/gst/gstreamer.types:
11864 2005-03-22 Wim Taymans <wim@fluendo.com>
11866 * check/Makefile.am:
11867 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11868 * gst/gststructure.c: (gst_structure_set_valist),
11869 (gst_structure_copy_conditional):
11870 Activated more tests.
11871 Added message test.
11872 Added G_TYPE_POINTER to GstStructure.
11875 2005-03-22 Wim Taymans <wim@fluendo.com>
11877 * docs/design/part-TODO.txt:
11878 * docs/design/part-events.txt:
11879 * docs/design/part-gstbin.txt:
11880 * docs/design/part-gstbus.txt:
11881 * docs/design/part-gstpipeline.txt:
11882 * docs/design/part-messages.txt:
11884 * gst/gstmessage.c:
11887 2005-03-21 Wim Taymans <wim@fluendo.com>
11889 * gst/gstbus.c: (gst_bus_post):
11890 Fix copy-and-paste error.
11892 2005-03-21 Wim Taymans <wim@fluendo.com>
11894 * check/Makefile.am:
11896 * gst/elements/Makefile.am:
11897 * gst/elements/gstelements.c:
11898 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11899 (gst_fakesink_event), (gst_fakesink_chain):
11900 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11901 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11902 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11903 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11904 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11905 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11906 (gst_fakesrc_loop), (gst_fakesrc_activate),
11907 (gst_fakesrc_change_state):
11908 * gst/elements/gstfakesrc.h:
11909 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11910 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11911 (gst_filesrc_open_file), (gst_filesrc_loop),
11912 (gst_filesrc_activate), (gst_filesrc_change_state),
11913 (filesrc_find_peek), (filesrc_find_suggest),
11914 (gst_filesrc_type_find):
11915 * gst/elements/gstidentity.c: (gst_identity_finalize),
11916 (gst_identity_class_init), (gst_identity_init),
11917 (gst_identity_proxy_getcaps), (identity_queue_push),
11918 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11919 (gst_identity_getrange), (gst_identity_chain),
11920 (gst_identity_sink_loop), (gst_identity_src_loop),
11921 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11922 (gst_identity_set_property), (gst_identity_get_property),
11923 (gst_identity_change_state):
11924 * gst/elements/gstidentity.h:
11925 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11926 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11927 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11928 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11929 (gst_tee_sink_activate):
11930 * gst/elements/gsttee.h:
11931 * gst/gst.c: (gst_register_core_elements), (init_post):
11933 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11934 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11935 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11936 (gst_bin_change_state):
11938 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11939 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11940 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11941 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11942 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11943 (bus_watch_callback), (bus_watch_destroy),
11944 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11945 (poll_timeout), (gst_bus_poll):
11949 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11950 (gst_element_post_message), (gst_element_message_full),
11951 (gst_element_get_state_func), (gst_element_get_state),
11952 (gst_element_abort_state), (gst_element_commit_state),
11953 (gst_element_lost_state), (gst_element_set_state),
11954 (gst_element_pads_activate), (gst_element_change_state),
11955 (gst_element_dispose), (gst_element_set_manager_func),
11956 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11957 (gst_element_set_manager), (gst_element_get_manager),
11958 (gst_element_set_bus), (gst_element_get_bus),
11959 (gst_element_set_scheduler), (gst_element_get_scheduler):
11960 * gst/gstelement.h:
11961 * gst/gstevent.c: (gst_event_new_segment_seek),
11962 (gst_event_new_flush):
11964 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11965 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11966 (gst_message_new_eos), (gst_message_new_error),
11967 (gst_message_new_warning), (gst_message_new_tag),
11968 (gst_message_new_state_changed), (gst_message_new_application),
11969 (gst_message_get_structure), (gst_message_parse_tag),
11970 (gst_message_parse_state_changed), (gst_message_parse_error),
11971 (gst_message_parse_warning):
11972 * gst/gstmessage.h:
11973 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11974 (gst_real_pad_set_property), (gst_pad_set_active),
11975 (gst_pad_is_active), (gst_pad_set_blocked_async),
11976 (gst_pad_set_blocked), (gst_pad_is_blocked),
11977 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11978 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11979 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11980 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11981 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11982 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11983 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11984 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11985 (gst_pad_set_caps), (gst_pad_configure_sink),
11986 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11987 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11988 (gst_real_pad_dispose), (gst_real_pad_finalize),
11989 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11990 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11991 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11993 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11994 (pipeline_bus_handler), (gst_pipeline_change_state),
11995 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11996 * gst/gstpipeline.h:
11998 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11999 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12000 (gst_queue_link_src), (gst_queue_bufferalloc),
12001 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12002 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12003 (gst_queue_loop), (gst_queue_handle_src_event),
12004 (gst_queue_handle_src_query), (gst_queue_src_activate),
12005 (gst_queue_change_state):
12007 * gst/gstscheduler.c: (gst_scheduler_init),
12008 (gst_scheduler_dispose), (gst_scheduler_create_task),
12009 (gst_scheduler_factory_create):
12010 * gst/gstscheduler.h:
12011 * gst/gststructure.c: (gst_structure_get_type),
12012 (gst_structure_copy_conditional):
12013 * gst/gststructure.h:
12014 * gst/gsttaginterface.h:
12015 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12016 (gst_task_init), (gst_task_dispose), (gst_task_create),
12017 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12023 * gst/schedulers/Makefile.am:
12024 * gst/schedulers/cothreads_compat.h:
12025 * gst/schedulers/entryscheduler.c:
12026 * gst/schedulers/faircothreads.c:
12027 * gst/schedulers/faircothreads.h:
12028 * gst/schedulers/fairscheduler.c:
12029 * gst/schedulers/gstbasicscheduler.c:
12030 * gst/schedulers/gstoptimalscheduler.c:
12031 * gst/schedulers/gthread-cothreads.h:
12032 * gst/schedulers/threadscheduler.c:
12033 (gst_thread_scheduler_task_get_type),
12034 (gst_thread_scheduler_task_class_init),
12035 (gst_thread_scheduler_task_init),
12036 (gst_thread_scheduler_task_start),
12037 (gst_thread_scheduler_task_stop),
12038 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12039 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12040 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12041 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12043 * libs/gst/Makefile.am:
12044 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12045 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12046 (gst_file_pad_parent_set):
12047 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12048 (gst_dp_event_from_packet):
12049 * tests/complexity.c: (main):
12050 * tests/mass_elements.c: (main):
12051 * testsuite/states/locked.c: (message_received), (main):
12052 * testsuite/states/parent.c: (main):
12053 * tools/gst-inspect.c: (print_element_flag_info),
12054 (print_implementation_info), (print_pad_info):
12055 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12057 * tools/gst-md5sum.c: (event_loop), (main):
12058 * tools/gst-typefind.c: (main):
12059 * tools/gst-xmlinspect.c: (print_element_info):
12061 Added GstBus for mainloop integration.
12062 Added GstMessage for sending notifications on the bus.
12063 Added GstTask as an abstraction for pipeline entry points.
12065 Removed Schedulers.
12066 Simplified GstQueue for multithreaded core.
12067 Made _link threadsafe, removed old capsnego.
12068 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12069 Added pad blocking functions.
12070 Reworked scheduling functions in GstPad to prepare for
12071 scheduling updates soon.
12072 Moved events out of data stream.
12073 Simplified GstEvent types.
12074 Added return values to push/pull.
12075 Removed clocking from GstElement.
12076 Added prototypes for state change function for next merge.
12077 Removed iterate from bins and state change management.
12078 Fixed some elements, disabled others for now.
12079 Fixed -inspect and -launch.
12080 Added check for GstBus.
12082 2005-03-10 Wim Taymans <wim@fluendo.com>
12084 * docs/design/part-MT-refcounting.txt:
12085 * docs/design/part-clocks.txt:
12086 * docs/design/part-gstelement.txt:
12087 * docs/design/part-gstobject.txt:
12088 * docs/design/part-standards.txt:
12089 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12090 (gst_bin_remove_func), (gst_bin_remove):
12094 * testsuite/clock/clock1.c: (main):
12095 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12097 * testsuite/dlopen/loadgst.c: (do_test):
12098 * testsuite/refcounting/bin.c: (add_remove_test1),
12099 (add_remove_test2), (main):
12100 * testsuite/refcounting/element.c: (main):
12101 * testsuite/refcounting/element_pad.c: (main):
12102 * testsuite/refcounting/pad.c: (main):
12103 * tools/gst-launch.c: (sigint_handler_sighandler):
12104 * tools/gst-typefind.c: (main):
12106 Added doc about clock.
12107 removed gst_bin_iterate_recurse_up(), marked methods
12109 Fix more testsuites.
12111 2005-03-09 Wim Taymans <wim@fluendo.com>
12113 * gst/gstpad.c: (gst_pad_get_direction),
12114 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12115 (gst_pad_collect_valist):
12116 * testsuite/bins/interface.c: (main):
12117 * testsuite/caps/audioscale.c: (test_caps):
12118 * testsuite/caps/caps.c: (test1), (test2), (test3):
12119 * testsuite/caps/deserialize.c: (main):
12120 * testsuite/caps/enumcaps.c: (main):
12121 * testsuite/caps/filtercaps.c: (main):
12122 * testsuite/caps/intersect2.c: (main):
12123 * testsuite/caps/random.c: (main):
12124 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12125 * testsuite/caps/sets.c: (check_caps):
12126 * testsuite/caps/simplify.c: (check_caps), (main):
12127 * testsuite/caps/subtract.c: (check_caps):
12128 Fix _pad_get_direction wrt ghostpads.
12129 Fix caps testsuite.
12131 2005-03-09 Wim Taymans <wim@fluendo.com>
12133 * check/Makefile.am:
12134 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12135 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12136 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12137 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12138 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12139 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12140 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12141 (bin_element_is_sink), (gst_bin_iterate_sinks),
12142 (gst_bin_iterate_all_by_interface):
12144 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12145 (gst_element_change_state), (gst_element_dispose),
12146 (gst_element_finalize), (gst_element_set_loop_function):
12147 * gst/gstelement.h:
12148 * gst/gstiterator.c: (find_custom_fold_func):
12149 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12150 (gst_pad_collectv), (gst_pad_collect_valist),
12151 (gst_pad_template_new):
12152 * gst/gstpipeline.c: (gst_pipeline_class_init),
12153 (gst_pipeline_dispose), (gst_pipeline_set_property),
12154 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12155 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12156 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12158 * gst/schedulers/entryscheduler.c:
12159 * gst/schedulers/gstbasicscheduler.c:
12160 (gst_basic_scheduler_cothreaded_chain),
12161 (gst_basic_scheduler_chain_add_element):
12162 * testsuite/bins/interface.c: (main):
12164 Added GstSystemClock test.
12165 Implemented clock distribution code in GstBin.
12166 Implemented iterate sinks method for future use.
12167 Rearranged gstelement.h
12168 Fix GstIterator comparison bug.
12169 Moved some code to GstPipeline, mostly clocking related.
12171 2005-03-09 Wim Taymans <wim@fluendo.com>
12174 * gst/gst_private.h:
12175 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12176 (gst_bin_remove_func), (gst_bin_remove),
12177 (gst_bin_get_by_name_recurse_up):
12178 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12179 (gst_clock_id_compare_func), (gst_clock_id_wait),
12180 (gst_clock_id_wait_async), (gst_clock_init),
12181 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12182 * gst/gstelement.h:
12183 * gst/gstinfo.c: (_gst_debug_init):
12185 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12186 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12188 Bump version number, we're now 0.9.0
12189 Add future debugging category.
12190 Fix NULL _unref() in _get_by_name_recurse_up
12191 Rearrange gstpad.h.
12194 2005-03-08 Wim Taymans <wim@fluendo.com>
12196 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12197 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12198 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12199 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12200 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12201 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12202 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12203 * gst/elements/gstidentity.c: (gst_identity_class_init):
12204 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12205 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12206 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12207 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12208 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12210 * gst/gstelement.c: (gst_element_class_init),
12211 (gst_element_base_class_init), (gst_element_init),
12212 (gst_element_get_random_pad), (gst_element_wait_state_change),
12213 (gst_element_change_state), (gst_element_dispose),
12214 (gst_element_finalize), (gst_element_set_loop_function):
12215 * gst/gstelement.h:
12216 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12217 * gst/gstthread.c: (gst_thread_class_init),
12218 (gst_thread_release_children_locks), (gst_thread_change_state):
12219 * gst/schedulers/gstbasicscheduler.c:
12220 (gst_basic_scheduler_loopfunc_wrapper),
12221 (gst_basic_scheduler_chain_wrapper),
12222 (gst_basic_scheduler_src_wrapper),
12223 (gst_basic_scheduler_remove_element):
12224 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12225 Remove threadsafe properties. Fix elements because GObject
12226 complains when installing a property before declaring a
12227 set/get_property handler.
12228 Rearrange gstelement.h file, use STATE macros for state locks.
12229 Free mutexes in the finalize method instead of dispose.
12231 2005-03-08 Wim Taymans <wim@fluendo.com>
12233 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12234 * gst/gstthread.c: (gst_thread_release_children_locks):
12235 Added parentage check.
12236 Fix build og GstThread again.
12238 2005-03-08 Wim Taymans <wim@fluendo.com>
12240 * docs/design/part-MT-refcounting.txt:
12241 * docs/design/part-conventions.txt:
12242 * docs/design/part-gstobject.txt:
12243 * docs/design/part-relations.txt:
12244 * docs/design/part-standards.txt:
12245 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12246 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12247 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12248 (gst_bin_iterate_all_by_interface):
12251 * gst/gstelement.c: (gst_element_class_init),
12252 (gst_element_change_state), (gst_element_set_loop_function):
12253 * gst/gstelement.h:
12254 * gst/gstiterator.c:
12255 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12256 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12257 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12258 (gst_object_set_parent), (gst_object_unparent),
12259 (gst_object_check_uniqueness):
12261 Docs updates, clean up some headers.
12263 2005-03-07 Wim Taymans <wim@fluendo.com>
12265 * check/.cvsignore:
12266 * check/Makefile.am:
12267 * check/gst-libs/.cvsignore:
12268 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12269 * check/gst/.cvsignore:
12270 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12271 (START_TEST), (gstbus_suite), (main):
12272 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12273 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12274 (gst_data_suite), (main):
12275 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12276 (add_fold_func), (gstiterator_suite), (main):
12277 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12278 (thread_name_object), (thread_name_object_default),
12279 (gst_object_name_compare), (gst_object_suite), (main):
12280 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12281 (gst_pad_suite), (main):
12282 * check/gstcheck.c: (gst_check_log_message_func),
12283 (gst_check_log_critical_func), (gst_check_init):
12284 * check/gstcheck.h:
12285 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12286 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12289 2005-03-07 Wim Taymans <wim@fluendo.com>
12291 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12292 (gst_list_iterator_next), (gst_list_iterator_resync),
12293 (gst_list_iterator_free), (gst_iterator_new_list),
12294 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12295 (gst_iterator_free), (gst_iterator_push), (filter_next),
12296 (filter_resync), (filter_uninit), (filter_free),
12297 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12298 (gst_iterator_foreach), (find_custom_fold_func),
12299 (gst_iterator_find_custom):
12300 * gst/gstiterator.h:
12301 Added missing files.
12303 2005-03-07 Wim Taymans <wim@fluendo.com>
12307 * docs/design/part-MT-refcounting.txt:
12308 * docs/design/part-conventions.txt:
12309 * docs/design/part-gstobject.txt:
12310 * docs/design/part-relations.txt:
12311 * examples/mixer/mixer.c: (main):
12312 * examples/thread/thread.c: (eos), (main):
12314 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12315 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12316 (gst_spider_plug_from_srcpad):
12317 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12318 (gst_spider_identity_change_state),
12319 (gst_spider_identity_sink_loop_type_finding):
12320 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12321 * gst/elements/gstidentity.c: (gst_identity_init):
12322 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12323 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12324 * gst/elements/gsttypefindelement.c: (free_entry):
12327 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12328 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12329 (gst_bin_set_index), (gst_bin_set_element_sched),
12330 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12331 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12332 (gst_bin_iterate_elements), (iterate_child_recurse),
12333 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12334 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12335 (compare_interface), (gst_bin_get_by_interface),
12336 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12338 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12339 (gst_buffer_default_free), (gst_buffer_default_copy),
12340 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12341 (gst_buffer_create_sub):
12343 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12344 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12345 (gst_caps_unref), (gst_static_caps_get),
12346 (gst_caps_remove_and_get_structure), (gst_caps_append),
12347 (gst_caps_append_structure), (gst_caps_remove_structure),
12348 (gst_caps_copy_nth), (gst_caps_set_simple),
12349 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12350 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12351 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12352 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12353 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12354 (gst_caps_structure_figure_out_union),
12355 (gst_caps_switch_structures), (gst_caps_do_simplify),
12356 (gst_caps_replace), (gst_caps_from_string),
12357 (gst_caps_copy_conditional):
12359 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12360 (_gst_clock_id_free), (gst_clock_id_unref),
12361 (gst_clock_id_compare_func), (gst_clock_id_wait),
12362 (gst_clock_id_wait_async), (gst_clock_class_init),
12363 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12364 (gst_clock_get_time), (gst_clock_set_time_adjust),
12365 (gst_clock_set_property), (gst_clock_get_property):
12368 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12369 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12371 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12372 (gst_element_requires_clock), (gst_element_provides_clock),
12373 (gst_element_set_clock), (gst_element_clock_wait),
12374 (gst_element_wait), (gst_element_set_time_delay),
12375 (gst_element_is_indexable), (gst_element_add_pad),
12376 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12377 (pad_compare_name), (gst_element_get_static_pad),
12378 (gst_element_request_pad), (gst_element_get_request_pad),
12379 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12380 (gst_element_class_get_pad_template_list),
12381 (gst_element_class_get_pad_template), (gst_element_error_func),
12382 (gst_element_get_random_pad), (gst_element_get_event_masks),
12383 (gst_element_send_event), (gst_element_seek),
12384 (gst_element_get_query_types), (gst_element_query),
12385 (gst_element_get_formats), (gst_element_convert),
12386 (gst_element_is_locked_state), (gst_element_set_locked_state),
12387 (gst_element_sync_state_with_parent), (gst_element_change_state),
12388 (gst_element_finalize), (gst_element_yield),
12389 (gst_element_interrupt), (gst_element_set_scheduler),
12390 (gst_element_get_scheduler), (gst_element_set_loop_function):
12391 * gst/gstelement.h:
12393 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12394 (gst_format_get_by_nick), (gst_format_get_details),
12395 (gst_format_iterate_definitions):
12397 * gst/gstindex.c: (gst_index_gtype_resolver):
12400 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12401 (gst_mem_chunk_free):
12402 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12403 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12404 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12405 (gst_object_dispatch_properties_changed),
12406 (gst_object_set_name_default), (gst_object_set_name),
12407 (gst_object_get_name), (gst_object_set_name_prefix),
12408 (gst_object_get_name_prefix), (gst_object_set_parent),
12409 (gst_object_get_parent), (gst_object_unparent),
12410 (gst_object_check_uniqueness), (gst_object_save_thyself),
12411 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12412 (gst_object_set_property), (gst_object_get_property),
12413 (gst_object_get_path_string):
12415 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12416 (gst_real_pad_init), (gst_real_pad_get_property),
12417 (gst_pad_custom_new), (gst_pad_get_direction),
12418 (gst_pad_set_active), (gst_pad_is_active),
12419 (gst_pad_set_event_function), (gst_pad_is_linked),
12420 (gst_pad_link_free), (gst_pad_link_intersect),
12421 (gst_pad_link_fixate), (gst_pad_set_caps),
12422 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12423 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12424 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12425 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12426 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12427 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12428 (gst_pad_realize), (gst_pad_get_allowed_caps),
12429 (gst_real_pad_dispose), (gst_real_pad_finalize),
12430 (gst_pad_collectv), (gst_pad_collect_valist),
12431 (gst_pad_template_dispose), (gst_pad_template_new),
12432 (gst_pad_get_internal_links):
12434 * gst/gstpipeline.c: (gst_pipeline_dispose),
12435 (gst_pipeline_change_state):
12436 * gst/gstpipeline.h:
12438 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12439 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12440 * gst/gstpluginfeature.h:
12441 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12442 * gst/gstquery.c: (_gst_query_type_initialize),
12443 (gst_query_type_register), (gst_query_type_get_by_nick),
12444 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12446 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12447 * gst/gstscheduler.c: (gst_scheduler_add_element),
12448 (gst_scheduler_factory_create):
12449 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12450 (gst_structure_free), (gst_structure_set_name),
12451 (gst_structure_id_set_value), (gst_structure_set_value),
12452 (gst_structure_set_valist), (gst_structure_remove_field),
12453 (gst_structure_remove_fields),
12454 (gst_structure_remove_fields_valist),
12455 (gst_structure_remove_all_fields), (gst_structure_foreach),
12456 (gst_structure_map_in_place),
12457 (gst_caps_structure_fixate_field_nearest_int),
12458 (gst_caps_structure_fixate_field_nearest_double):
12459 * gst/gststructure.h:
12460 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12461 (gst_system_clock_init), (gst_system_clock_dispose),
12462 (gst_system_clock_async_thread),
12463 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12464 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12465 * gst/gstsystemclock.h:
12466 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12467 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12468 * gst/gsttaginterface.c:
12469 * gst/gstthread.c: (gst_thread_dispose),
12470 (gst_thread_release_children_locks), (gst_thread_change_state),
12471 (gst_thread_main_loop):
12472 * gst/gsttrashstack.h:
12473 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12475 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12476 (gst_element_request_pad), (gst_element_get_pad_from_template),
12477 (gst_element_request_compatible_pad),
12478 (gst_element_get_compatible_pad_filtered),
12479 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12480 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12481 (gst_element_link_many), (gst_element_link),
12482 (gst_element_link_pads), (gst_element_unlink_pads),
12483 (gst_element_unlink_many), (gst_element_unlink),
12484 (gst_pad_can_link_filtered), (gst_pad_can_link),
12485 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12486 (gst_object_default_error), (gst_bin_add_many),
12487 (gst_bin_remove_many), (gst_element_populate_std_props),
12488 (gst_element_class_install_std_props), (gst_buffer_merge),
12489 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12490 (link_fold_func), (gst_pad_proxy_setcaps):
12492 * gst/gstvalue.c: (gst_value_deserialize_string):
12493 * gst/parse/grammar.y:
12494 * gst/schedulers/gstbasicscheduler.c:
12495 (gst_basic_scheduler_cothreaded_chain),
12496 (gst_basic_scheduler_chain_recursive_add),
12497 (gst_basic_scheduler_pad_link):
12498 * gst/schedulers/gstoptimalscheduler.c:
12499 (get_group_schedule_function),
12500 (gst_opt_scheduler_state_transition),
12501 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12502 * libs/gst/bytestream/bytestream.c:
12503 * libs/gst/dataprotocol/dataprotocol.c:
12504 (gst_dp_header_from_buffer):
12507 * tests/threadstate/threadstate2.c: (eos):
12508 * tools/gst-compprep.c: (main):
12509 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12510 (print_pad_info), (print_children_info):
12511 * tools/gst-launch.c: (idle_func), (main):
12512 * tools/gst-md5sum.c: (idle_func), (main):
12513 * tools/gst-xmlinspect.c: (print_element_info):
12514 First THREADED backport attempt, focusing on adding locks and
12515 making sure the API is threadsafe. Needs more work. More docs
12518 2005-02-24 Andy Wingo <wingo@pobox.com>
12520 * tests/bench-complexity.scm:
12521 * tests/complexity.gnuplot: New files, good for running complexity
12524 * tests/Makefile.am:
12525 * tests/complexity.c: New test, sets up N elements, at each level
12526 teeing into M streams per element. Eeeenteresting.
12528 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12529 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12530 running bench-mass_elements.scm.
12532 * tests/bench-mass_elements.scm: New script, runs mass_elements
12533 for various numbers of identities, outputting the results to a
12534 file. Requires guile 1.6. Just for testing.
12536 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12538 * gst/schedulers/fairscheduler.c:
12539 compile with debug disabled
12541 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12544 hunting season on 0.9 is now OPEN