1 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9 * docs/gst/gstreamer-sections.txt:
10 * tests/sched/.cvsignore:
11 * tests/sched/Makefile.am:
12 * tests/sched/cases/(fs-fs).xml:
13 * tests/sched/cases/(fs-i-fs).xml:
14 * tests/sched/cases/(fs-i-i-fs).xml:
15 * tests/sched/cases/(fs-i-q[i-fs]).xml:
16 * tests/sched/dynamic-pipeline.c:
17 * tests/sched/interrupt1.c:
18 * tests/sched/interrupt2.c:
19 * tests/sched/interrupt3.c:
20 * tests/sched/runtestcases:
21 * tests/sched/runxml.c:
22 * tests/sched/sched-stress.c:
24 * tests/sched/testcases:
25 * tests/sched/testcases1.tc:
26 * tests/seeking/.cvsignore:
27 * tests/seeking/Makefile.am:
28 * tests/seeking/seeking1.c:
29 * tests/threadstate/.cvsignore:
30 * tests/threadstate/Makefile.am:
31 * tests/threadstate/test1.c:
32 * tests/threadstate/test2.c:
33 * tests/threadstate/threadstate1.c:
34 * tests/threadstate/threadstate2.c:
35 * tests/threadstate/threadstate3.c:
36 * tests/threadstate/threadstate4.c:
37 * tests/threadstate/threadstate5.c:
40 * tests/bench-complexity.scm:
41 * tests/bench-mass_elements.scm:
43 * tests/complexity.gnuplot:
44 * tests/instantiate/.cvsignore:
45 * tests/instantiate/Makefile.am:
46 * tests/instantiate/caps.c:
47 * tests/mass_elements.c:
48 * tests/network-clock-utils.scm:
49 * tests/network-clock.scm:
51 First pass at cleaning up tests/ dir before moving the rest
52 Combined with CVS surgery
54 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
57 queue has moved, update
59 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
61 * docs/gst/gstreamer-sections.txt:
62 remove double entries from the docs
64 * gst/gstinfo.c: (_gst_debug_init):
65 remove the THREAD debug category
69 * docs/gst/gstreamer.types:
70 * plugins/elements/gstqueue.c: (gst_queue_get_type),
71 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
72 completely move queue and fix up debugging categories
74 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
76 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
77 make initialization portable, using LL is not
79 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
81 * win32/common/gstconfig.h:
84 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
86 * win32/common/libgstreamer.def:
87 rename symbols; sort base section
89 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
91 * gst/gstclock.c: (do_linear_regression):
92 remove crack non-portable handrolled DEBUG macro
94 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
96 * docs/random/release:
98 * win32/common/gstenumtypes.c: (register_gst_object_flags),
99 (gst_object_flags_get_type), (register_gst_bin_flags),
100 (gst_bin_flags_get_type), (register_gst_buffer_flag),
101 (gst_buffer_flag_get_type), (register_gst_bus_flags),
102 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
103 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
104 (gst_caps_flags_get_type), (register_gst_clock_return),
105 (gst_clock_return_get_type), (register_gst_clock_entry_type),
106 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
107 (gst_clock_flags_get_type), (register_gst_state),
108 (gst_state_get_type), (register_gst_state_change_return),
109 (gst_state_change_return_get_type), (register_gst_state_change),
110 (gst_state_change_get_type), (register_gst_element_flags),
111 (gst_element_flags_get_type), (register_gst_core_error),
112 (gst_core_error_get_type), (register_gst_library_error),
113 (gst_library_error_get_type), (register_gst_resource_error),
114 (gst_resource_error_get_type), (register_gst_stream_error),
115 (gst_stream_error_get_type), (register_gst_event_type_flags),
116 (gst_event_type_flags_get_type), (register_gst_event_type),
117 (gst_event_type_get_type), (register_gst_seek_type),
118 (gst_seek_type_get_type), (register_gst_seek_flags),
119 (gst_seek_flags_get_type), (register_gst_format),
120 (gst_format_get_type), (register_gst_index_certainty),
121 (gst_index_certainty_get_type), (register_gst_index_entry_type),
122 (gst_index_entry_type_get_type),
123 (register_gst_index_lookup_method),
124 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
125 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
126 (gst_index_resolver_method_get_type), (register_gst_index_flags),
127 (gst_index_flags_get_type), (register_gst_debug_level),
128 (gst_debug_level_get_type), (register_gst_debug_color_flags),
129 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
130 (gst_iterator_result_get_type), (register_gst_iterator_item),
131 (gst_iterator_item_get_type), (register_gst_message_type),
132 (gst_message_type_get_type), (register_gst_mini_object_flags),
133 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
134 (gst_pad_link_return_get_type), (register_gst_flow_return),
135 (gst_flow_return_get_type), (register_gst_activate_mode),
136 (gst_activate_mode_get_type), (register_gst_pad_direction),
137 (gst_pad_direction_get_type), (register_gst_pad_flags),
138 (gst_pad_flags_get_type), (register_gst_pad_presence),
139 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
140 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
141 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
142 (gst_plugin_error_get_type), (register_gst_plugin_flags),
143 (gst_plugin_flags_get_type), (register_gst_rank),
144 (gst_rank_get_type), (register_gst_query_type),
145 (gst_query_type_get_type), (register_gst_tag_merge_mode),
146 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
147 (gst_tag_flag_get_type), (register_gst_task_state),
148 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
149 (gst_alloc_trace_flags_get_type),
150 (register_gst_type_find_probability),
151 (gst_type_find_probability_get_type), (register_gst_uri_type),
152 (gst_uri_type_get_type), (register_gst_parse_error),
153 (gst_parse_error_get_type):
154 * win32/common/gstenumtypes.h:
155 * win32/common/gstversion.h:
156 update visual studio generated files
158 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
160 * win32/vs6/libgstbase.dsp:
161 * win32/vs6/libgstelements.dsp:
162 update project files for new locations
164 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
174 * docs/random/LICENSE:
177 2005-11-30 Edward Hervey <edward@fluendo.com>
179 * gst/gsttypefind.c: (gst_type_find_register):
181 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
182 (gst_type_find_factory_dispose):
183 * gst/gsttypefindfactory.h:
184 Fix memory leak in GstTypeFindFactory.
186 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
189 * plugins/elements/Makefile.am:
190 * plugins/elements/gstelements.c:
191 * plugins/elements/gstqueue.c:
192 move queue from core to the elements plugin
194 2005-11-29 Andy Wingo <wingo@pobox.com>
196 * libs/gst/base/gstbasetransform.h:
197 * libs/gst/base/gstbasesrc.h:
198 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
200 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
201 of pointers by which to pad very extensible base classes (like the
202 ones in libs/gst/base).
204 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
206 * docs/gst/gstreamer-docs.sgml:
207 * docs/gst/gstreamer-sections.txt:
208 * docs/libs/gstreamer-libs-docs.sgml:
209 * docs/libs/gstreamer-libs-sections.txt:
210 moving documentation from core to lib
212 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
216 * docs/gst/Makefile.am:
218 * gst/base/.cvsignore:
219 * gst/base/Makefile.am:
221 * gst/base/gstadapter.c:
222 * gst/base/gstadapter.h:
223 * gst/base/gstbasesink.c:
224 * gst/base/gstbasesink.h:
225 * gst/base/gstbasesrc.c:
226 * gst/base/gstbasesrc.h:
227 * gst/base/gstbasetransform.c:
228 * gst/base/gstbasetransform.h:
229 * gst/base/gstcollectpads.c:
230 * gst/base/gstcollectpads.h:
231 * gst/base/gstpushsrc.c:
232 * gst/base/gstpushsrc.h:
233 * gst/base/gsttypefindhelper.c:
234 * gst/base/gsttypefindhelper.h:
235 * gst/check/Makefile.am:
236 * gst/check/gstcheck.c:
237 * gst/check/gstcheck.h:
238 * gst/net/Makefile.am:
240 * gst/net/gstnetclientclock.c:
241 * gst/net/gstnetclientclock.h:
242 * gst/net/gstnettimepacket.c:
243 * gst/net/gstnettimepacket.h:
244 * gst/net/gstnettimeprovider.c:
245 * gst/net/gstnettimeprovider.h:
246 * libs/gst/Makefile.am:
247 * libs/gst/base/Makefile.am:
248 * libs/gst/base/gstbasetransform.c:
249 * libs/gst/check/Makefile.am:
250 * plugins/elements/Makefile.am:
252 CVS surgery + support to move base, check, and net out of gst
255 2005-11-29 Andy Wingo <wingo@pobox.com>
257 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
259 * gst/gststructure.h (struct _GstStructure): Only one pointer of
262 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
264 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
266 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
268 * gst/gstobject.h: (struct _GstObject): Only one pointer of
269 padding; reduces object size by about 30%. We don't expect
270 anything else to go into gstobject.
272 * gst/gstminiobject.h (struct _GstMiniObject)
273 (struct _GstMiniObjectClass): Only one pointer of padding; the
274 payload is only a pointer and two ints anyway. For the class there
275 are only two methods as well.
277 * gst/gstelement.h (struct _GstElementClass): Removed
278 the state_changed signal callback, it is not used.
280 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
282 * docs/gst/gstreamer.types:
283 fix includes, though they are a little dinky
285 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
288 look in the right place for elements, a lot more chance of
291 remove indexers and elements subdirs
292 * plugins/Makefile.am:
293 make indexers conditional
295 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
299 * plugins/elements/Makefile.am:
300 * plugins/elements/gstcapsfilter.c:
301 * plugins/elements/gstfilesink.c:
302 * plugins/elements/gstfilesrc.c:
303 * plugins/elements/gstidentity.c:
304 * plugins/indexers/Makefile.am:
305 do CVS surgery and related build fixery to move elements
306 and indexers in a new gstreamer/plugins directory, out of the
309 2005-11-29 Andy Wingo <wingo@pobox.com>
312 * pkgconfig/gstreamer-net-uninstalled.pc.in:
313 * pkgconfig/gstreamer-net.pc.in:
314 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
317 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
320 * tools/gst-complete.1.in:
321 * tools/gst-complete.c:
322 * tools/gst-compprep.1.in:
323 * tools/gst-compprep.c:
324 removing -compprep and -complete
326 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
328 * gst/gstevent.c: (gst_event_new_new_segment),
329 (gst_event_parse_new_segment):
331 fix #320529 - clean up new_segment API and structure.
332 Let's hope everyone was using the methods, and not the structure.
334 2005-11-29 Edward Hervey <edward@fluendo.com>
336 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
337 (gst_base_sink_event), (gst_base_sink_do_sync),
338 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
339 Properly handle non GST_FORMAT_TIME segment
340 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
341 Properly handle non GST_FORMAT_TIME segment
343 This function is valid if the accumulator is 0 and the format
344 is different from the requested format.
346 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
348 * docs/gst/gstreamer-sections.txt:
349 Add gst_query_new_seeking and gst_query_parse_seeking to the
352 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
354 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
355 Treat a pad alloc with new caps the same as if we were not
356 negotiated, in order to allow a changing upstream output
357 to produce a new format of data.
359 2005-11-29 Edward Hervey <edward@fluendo.com>
361 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
362 (gst_base_transform_event), (gst_base_transform_eventfunc):
363 The event virtual method is now properly implemented, with a default
365 Sub classes should call the parent_class event method. They should
366 return FALSE if they had a problem handling the given event, or don't
367 want GstBaseTransform to send that even downstream
368 * gst/elements/gstidentity.c: (gst_identity_class_init),
369 (gst_identity_init), (gst_identity_event),
370 (gst_identity_transform_ip), (gst_identity_set_property),
371 (gst_identity_get_property):
372 * gst/elements/gstidentity.h:
373 Added the single-segment boolean property.
374 If set to TRUE, it will output a single segment of data, starting from
375 0, will eat up all incoming newsegment, and modify the timestamp of the
378 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
380 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
381 Don't ref NULL target pad (#322751). Improve docs.
383 2005-11-29 Michael Smith <msmith@fluendo.com>
385 * gst/gstregistryxml.c: (load_plugin):
386 Don't crash if we failed to load a feature from a plugin.
388 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
390 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
392 use more check API and less GLib API
394 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
397 don't run checks if we don't have check
399 remove the registry when running make torture
400 * docs/gst/gstreamer-sections.txt:
401 remove second multiply
402 * gst/gstqueue.c: (gst_queue_loop):
403 fix a compile warning when disabling debug
405 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
408 Hey! Let's print the pad name if the pointer != NULL instead
409 of when it == NULL :-)
411 2005-11-28 Wim Taymans <wim@fluendo.com>
413 * check/gst/gstutils.c: (GST_START_TEST):
414 Updated check, add some scaling accuracy checking code.
416 * gst/gstutils.c: (gst_util_div128_64),
417 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
418 (gst_util_uint64_scale_int):
419 Fix 6 times faster division code. Optimize for common
420 1/1 and less common X/1 cases.
422 2005-11-28 Wim Taymans <wim@fluendo.com>
424 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
427 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
428 (do_linear_regression), (gst_clock_add_observation):
430 Release lock when the clock cannot be slaved.
431 Catch the case where the regression returned an invalid denominator.
433 * gst/gstutils.c: (gst_util_div128_64_iterate),
434 (gst_util_div128_64), (gst_util_uint64_scale_int64),
435 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
436 Add protentially more performant non-iterative 128/64 divide function
437 that unfortunatly does not work yet.
438 Shortcut the trivial 0/X = 0 case.
439 Remove the warnings on overflow.
441 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
443 * gst/gstplugin.c: (gst_plugin_register_func):
444 everything causing a plugin not to load should be at least a WARNING
446 2005-11-28 Stefan Kost <ensonic@users.sf.net>
448 * docs/random/ensonic/dparams.txt:
449 some TODOs for the next dev cycle
450 * libs/gst/controller/gstcontroller.c:
451 (gst_controlled_property_set_interpolation_mode),
452 (gst_controlled_property_new):
453 * libs/gst/controller/gstcontroller.h:
454 use base type to assign acccessor functions
456 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
459 Oops, that should have been top_srcdir
461 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
464 * check/elements/fdsrc.c: (GST_START_TEST):
465 Use a cmdline define to specify the location of a file to use for
466 testing, to avoid breaking distcheck.
468 2005-11-28 Andy Wingo <wingo@pobox.com>
470 * gst/gstpad.c (fixate_value): Use array functions for arrays.
472 2005-11-28 Edward Hervey <edward@fluendo.com>
474 * tools/gst-launch.c: (main):
475 Clarify the output strings, makes it easier to translate.
478 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
481 don't try and build net if we don't even have <sys/socket.h>
483 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
486 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
487 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
488 Add tests for fdsrc seekability
490 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
491 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
492 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
493 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
494 * gst/elements/gstfdsrc.h:
495 fdsrc should not be a 'live' source.
496 Implement seeking on seekable fd's.
498 * gst/gstquery.c: (gst_query_new_seeking),
499 (gst_query_parse_seeking):
501 Implement SEEKING query functions:
502 *_new_seeking and *_parse_seeking
504 2005-11-27 Stefan Kost <ensonic@users.sf.net>
506 * gst/gstelement.c: (gst_element_dispose):
510 * gst/gststructure.c:
513 * libs/gst/controller/gstcontroller.c:
514 (gst_controlled_property_set_interpolation_mode):
515 * libs/gst/controller/gstcontroller.h:
516 * libs/gst/controller/gstinterpolation.c:
517 (interpolate_none_get_enum_value_array):
518 support controlling enums
520 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
523 Improve documentation for gst_value_union().
526 Change return value for union, intersect and subtract functions
527 from gint to gboolean.
529 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
531 * gst/gstvalue.c: (gst_value_serialize_any_list),
532 (gst_value_transform_any_list_string),
533 (gst_value_deserialize_list), (gst_value_deserialize_array),
534 (gst_value_set_int_range), (gst_value_deserialize_int_range),
535 (gst_value_set_double_range), (gst_value_deserialize_double_range),
536 (gst_value_set_fraction_range_full),
537 (gst_value_deserialize_fraction_range),
538 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
539 (gst_value_deserialize_boolean),
540 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
541 (gst_value_serialize_float), (gst_value_deserialize_float),
542 (gst_string_wrap), (gst_value_deserialize_string),
543 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
544 (gst_value_union_int_range_int_range),
545 (gst_value_intersect_int_range_int_range),
546 (gst_value_intersect_double_range_double_range),
547 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
548 (gst_value_subtract_int_range_int_range),
549 (gst_value_subtract_double_double_range),
550 (gst_value_subtract_double_range_double_range),
551 (gst_value_deserialize_fraction):
553 Use gint, gdouble and gchar in our API instead of int, double and
554 char (and make usage in gstvalue.c more consistent).
556 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
559 * libs/gst/controller/Makefile.am:
560 * libs/gst/dataprotocol/Makefile.am:
561 fix up Makefile.am and remove GST_ENABLE_NEW
563 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
567 * gst/base/Makefile.am:
568 * gst/check/Makefile.am:
569 * gst/elements/Makefile.am:
570 * gst/net/Makefile.am:
571 update LDFLAGS use some more
573 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
575 * common/m4/gst-doc.m4:
578 2005-11-26 Edward Hervey <edward@fluendo.com>
580 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
581 This shouldn't issue a g_warning since it returns NULL if it
582 couldn't find the plugin, and all functions using this behave
583 properly on a NULL return. Switching to a GST_WARNING.
585 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
587 * gst/gstbin.c: (gst_bin_handle_message_func):
588 Don't leak clock messages.
590 2005-11-25 Wim Taymans <wim@fluendo.com>
592 * gst/gstutils.c: (gst_util_uint64_scale_int64),
593 (gst_util_uint64_scale_int):
594 Optimisations, remove unneeded vars.
596 2005-11-25 Wim Taymans <wim@fluendo.com>
598 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
599 Added more checks for the high precision uint64 cases.
601 * gst/gstutils.c: (gst_util_uint64_scale_int64),
602 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
603 Implement high precission (guint64 * guint64) / guint64.
605 2005-11-24 Wim Taymans <wim@fluendo.com>
607 * gst/base/gstbasesrc.c: (gst_base_src_query):
608 Fix wrong percentage query.
610 * gst/gstutils.c: (gst_util_uint64_scale),
611 (gst_util_uint64_scale_int):
612 Add some more common cases that can be handled
613 efficiently to _scale.
615 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
617 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
618 (gst_mini_object_suite):
619 don't use check calls from threads; check probably isn't
620 threadsafe and using a lock to make it threadsafe would
621 defeat the purpose of this check
622 * gst/check/gstcheck.c:
623 * gst/check/gstcheck.h:
624 use GST_DEBUG some more
626 2005-11-24 Wim Taymans <wim@fluendo.com>
628 * gst/gstutils.c: (gst_util_uint64_scale),
629 (gst_util_uint64_scale_int):
630 Chain trivial case to _scale_int.
632 2005-11-24 Wim Taymans <wim@fluendo.com>
634 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
635 Added test for scaling.
640 * gst/gstutils.c: (gst_util_uint64_scale_int):
641 Implemented high precision scaling code.
643 2005-11-24 Stefan Kost <ensonic@users.sf.net>
646 do not crash on pad==NULL
648 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
650 Patch by: Stefan Kost
652 * common/gtk-doc.mak:
653 * docs/gst/Makefile.am:
654 * docs/libs/Makefile.am:
655 Fix distcheck issues for the libraries docs build
658 2005-11-24 Michael Smith <msmith@fluendo.com>
660 * docs/manual/basics-helloworld.xml:
661 Fix bug #315027: memory leak in example code in docs.
663 2005-11-24 Michael Smith <msmith@fluendo.com>
665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
666 Unlock the PREROLL_LOCK in a failure case.
668 2005-11-24 Wim Taymans <wim@fluendo.com>
670 * docs/gst/gstreamer-sections.txt:
671 * gst/base/gstadapter.h:
672 * gst/base/gstbasesink.h:
673 * gst/base/gstbasesrc.h:
674 * gst/base/gstbasetransform.h:
675 * gst/base/gstpushsrc.h:
676 * gst/elements/gstfakesink.h:
677 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
678 * gst/elements/gstfakesrc.h:
679 * gst/elements/gstfilesink.h:
680 * gst/elements/gstfilesrc.h:
683 * gst/gstbuffer.c: (_gst_buffer_copy):
686 * gst/gstchildproxy.c:
689 * gst/gstelementfactory.c:
690 * gst/gstelementfactory.h:
694 * gst/gstinterface.h:
695 * gst/gstminiobject.c:
696 * gst/gstminiobject.h:
699 * gst/gstpadtemplate.h:
701 * gst/gstpluginfeature.h:
706 * gst/gsttagsetter.c:
707 * gst/gsttagsetter.h:
713 * gst/net/gstnetclientclock.c:
714 * gst/net/gstnetclientclock.h:
715 * gst/net/gstnettimepacket.c:
716 * gst/net/gstnettimeprovider.c:
717 * gst/net/gstnettimeprovider.h:
720 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
722 * configure.ac: back to HEAD
724 === release 0.9.6 ===
726 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
729 releasing 0.9.6, "Always On Time"
731 2005-11-23 Wim Taymans <wim@fluendo.com>
733 * docs/gst/gstreamer-sections.txt:
735 * gst/gsttagsetter.c:
737 * gst/net/gstnetclientclock.c:
738 * gst/net/gstnettimepacket.h:
741 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
743 * docs/faq/using.xml:
744 * docs/libs/tmpl/gstcontrol.sgml:
745 * docs/manual/advanced-dparams.xml:
746 * docs/manual/appendix-checklist.xml:
747 * docs/manual/basics-elements.xml:
748 * docs/pwg/other-source.xml:
749 * docs/random/moving-plugins:
751 * tools/gst-launch.1.in:
752 remove mentions of sinesrc
754 2005-11-23 Michael Smith <msmith@fluendo.com>
756 * docs/gst/gstreamer-sections.txt:
757 Update for new API and API changes.
759 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
761 Documentation typo fix.
762 * gst/net/gstnettimepacket.c:
763 Documentation fixes for arguments.
765 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
767 * gst/gststructure.c: (gst_structure_get_fraction),
768 (gst_structure_parse_value),
769 (gst_structure_fixate_field_nearest_fraction):
770 * gst/gststructure.h:
771 * gst/gstutils.c: (gst_util_uint64_scale_int):
773 * scripts/update-funcnames:
775 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
776 Make gst_structure_fixate_field_nearest_fraction take a numerator
777 and denominator argument instead of a GValue
778 add gst_structure_get_fraction helper function.
780 2005-11-23 Wim Taymans <wim@fluendo.com>
782 * docs/design/part-TODO.txt:
785 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
786 * gst/net/gstnetclientclock.h:
787 Use parent fields for timeout and window_size.
789 2005-11-23 Andy Wingo <wingo@pobox.com>
791 * check/net/gstnetclientclock.c (test_functioning): Adjust to
792 rate_num/rate_denom change.
794 * gst/net/gstnetclientclock.c
795 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
796 OBJECT_LOCK. Don't call add_observation with the lock.
798 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
800 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
802 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
803 deal with rate as a fraction whose numerator and denominator are
805 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
806 master; the other fields are protected by the SLAVE_LOCK.
807 (do_linear_regression): Note that this must be called with the
809 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
810 OBJECT_LOCK. Call set_calibration instead of touching the
812 (gst_clock_set_property, gst_clock_get_property): Protect
813 master/slave parameters with the SLAVE_LOCK.
815 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
816 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
817 note that all of the instance variables that add_observation and
818 the set_master functions use are protected by that lock and not
820 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
822 * gst/gstclock.c (gst_clock_add_observation): No longer requires
823 the caller to take the object lock.
825 2005-11-23 Wim Taymans <wim@fluendo.com>
827 * gst/gsterror.c: (_gst_core_errors_init):
829 Add error for clock stuff.
831 * gst/gstpipeline.c: (gst_pipeline_change_state),
832 (gst_pipeline_set_clock):
833 Post clock error when clock cannot be used in a pipeline.
835 2005-11-23 Stefan Kost <ensonic@users.sf.net>
837 * docs/gst/gstreamer-sections.txt:
838 make two symbols from gstinfo private for the docs
839 * gst/base/gstcollectpads.h:
841 fix doc typos, update docs
843 2005-11-22 Wim Taymans <wim@fluendo.com>
845 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
846 (gst_base_sink_wait), (gst_base_sink_do_sync),
847 (gst_base_sink_handle_event):
848 * gst/base/gstbasesink.h:
849 No need to store the clock, the parent element class already
852 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
853 Updates for clock_set returning a gboolean
855 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
856 (gst_clock_id_wait_async), (gst_clock_class_init),
857 (gst_clock_init), (gst_clock_finalize),
858 (gst_clock_get_internal_time), (gst_clock_get_time),
859 (gst_clock_slave_callback), (gst_clock_set_master),
860 (gst_clock_get_master), (do_linear_regression),
861 (gst_clock_add_observation), (gst_clock_set_property),
862 (gst_clock_get_property):
864 Implement master/slave. When setting a clock as a slave, a
865 periodic timeout is scheduled to sample master and slave times.
866 Then the slave clock is recalibrated to match offset and rate
868 Update logging a bit.
869 Add flag so that a clock can state that is cannot be slaved to
872 * gst/gstelement.c: (gst_element_set_clock):
874 The set clock returns a gboolean for when an element cannot
875 deal with the selected clock in the pipeline.
877 * gst/gstpipeline.c: (gst_pipeline_change_state),
878 (gst_pipeline_set_clock):
880 Handle the case where the selected clock cannot be set on
883 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
884 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
885 (gst_net_client_clock_set_property),
886 (gst_net_client_clock_get_property),
887 (gst_net_client_clock_observe_times):
888 * gst/net/gstnetclientclock.h:
889 Use regression code in GstClock parent, remove duplicated
892 2005-11-22 Michael Smith <msmith@fluendo.com>
894 * gst/gstutils.c: (gst_util_clock_time_scale):
896 * docs/gst/gstreamer-sections.txt:
897 Rename method to have extra underscore.
899 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
901 * gst/elements/Makefile.am:
902 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
903 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
904 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
905 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
906 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
907 * gst/elements/gstfakesrc.h:
908 * gst/gstqueue.c: (queue_leaky_get_type):
909 correctly fix GEnumValues so that nick is the short lowercase
911 * tools/gst-inspect.c: (print_element_properties_info):
912 also show the nick, since it's useful to use from parse_launch
916 2005-11-22 Michael Smith <msmith@fluendo.com>
918 * gst/gstutils.c: (gst_util_clocktime_scale):
920 * docs/gst/gstreamer-sections.txt:
921 Add util method for scaling a clocktime by a fraction. Useful
922 implementation is left as an exercise for the reader.
924 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
926 * gst/gstvalue.c: (gst_value_collect_fraction_range):
927 If needed, allocate storage in the destination value during
930 2005-11-22 Edward Hervey <edward@fluendo.com>
932 * docs/gst/gstreamer-sections.txt:
937 * gst/gstutils.c: (gst_util_set_object_arg):
938 * tools/gst-compprep.c: (main):
939 * tools/gst-inspect.c: (print_element_properties_info):
940 Removed GstURI, closes bug #321061
942 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
944 * check/gst/gststructure.c: (GST_START_TEST):
945 * gst/gststructure.c: (gst_structure_parse_value):
946 Oops, broke automatic string type parsing.
947 Add a test to catch it in future.
949 2005-11-22 Andy Wingo <wingo@pobox.com>
951 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
952 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
953 Actually rename the function implementations. Grr.
955 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
957 * check/gst/capslist.h:
959 * check/gst/gststructure.c: (GST_START_TEST),
960 (gst_structure_suite):
961 Test automatic value type detection in gst_structure_from_string.
962 * gst/gststructure.c: (gst_structure_parse_value):
963 Add fraction as a type we try and guess automatically in
964 caps/structure strings.
966 2005-11-22 Andy Wingo <wingo@pobox.com>
968 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
970 * gst/gsttagsetter.h:
971 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
972 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
973 (gst_tag_setter_add_tag_valist)
974 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
975 _add_values, _add_valist, and _add_valist_values. Since this is an
976 interface the function suffixes should be more explicit so
977 language binding don't end up with element.add_valist ->
978 gst_tag_setter_add_valist, for example. Fixes #322069.
980 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
982 * check/gst/gstcaps.c: (GST_START_TEST):
983 Extend caps string tests to check that a caps to string
984 conversion is reversible and produces the same caps.
986 * gst/gststructure.c: (gst_structure_value_get_generic_type):
987 Output "fraction" as the generic type fraction range, so caps
988 serialisation and deserialisation works.
989 * check/gst/capslist.h:
990 * gst/gstvalue.c: (gst_value_deserialize_fraction):
991 Support 'MIN' and 'MAX' for deserialising fractions.
993 2005-11-22 Andy Wingo <wingo@pobox.com>
995 * gst/gstevent.h (gst_event_new_new_segment)
996 (gst_event_parse_new_segment, gst_event_new_buffer_size)
997 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
998 Renamed from *_newsegment, *_buffersize, *_notarget.
1000 * scripts/update-funcnames: New script, performs the changes
1003 2005-11-22 Wim Taymans <wim@fluendo.com>
1005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1006 Make sure the GstFlowReturn is returned.
1008 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1009 (gst_bus_add_signal_watch):
1011 add gst_bus_add_signal_watch_full.
1013 * gst/gstplugin.c: (gst_plugin_load_file):
1014 Small style cleanup.
1016 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1018 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1019 Block the fakesrc srcpad when we send an event, to avoid
1020 contention on the stream_lock causing random test failures.
1022 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1024 * check/gst/gstvalue.c: (GST_START_TEST):
1025 * gst/gstvalue.c: (gst_value_fraction_subtract):
1028 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1031 include "gstchildproxy.h"
1032 * gst/gstchildproxy.h:
1033 * libs/gst/controller/gstcontroller.h:
1034 use G_GNUC_NULL_TERMINATED
1036 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1038 * check/gst/capslist.h:
1039 * check/gst/gstcaps.c: (GST_START_TEST):
1040 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1041 * gst/gststructure.c: (gst_structure_parse_range),
1042 (gst_structure_fixate_field_nearest_fraction):
1043 * gst/gststructure.h:
1044 * gst/gstvalue.c: (gst_value_init_fraction_range),
1045 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1046 (gst_value_collect_fraction_range),
1047 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1048 (gst_value_set_fraction_range_full),
1049 (gst_value_get_fraction_range_min),
1050 (gst_value_get_fraction_range_max),
1051 (gst_value_serialize_fraction_range),
1052 (gst_value_transform_fraction_range_string),
1053 (gst_value_compare_fraction_range),
1054 (gst_value_deserialize_fraction_range),
1055 (gst_value_intersect_fraction_fraction_range),
1056 (gst_value_intersect_fraction_range_fraction_range),
1057 (gst_value_subtract_fraction_fraction_range),
1058 (gst_value_subtract_fraction_range_fraction),
1059 (gst_value_subtract_fraction_range_fraction_range),
1060 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1061 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1062 (gst_value_transform_string_fraction), (_gst_value_initialize):
1064 Implement fraction ranges and extend GstFraction to support
1065 arithmetic subtraction, as well as deserialization from integer
1066 strings such as "100"
1067 Add a testsuite as for int and double range set operations
1069 2005-11-21 Andy Wingo <wingo@pobox.com>
1073 * gst/gststructure.h: Add glib-compat.h.
1075 2005-11-21 Wim Taymans <wim@fluendo.com>
1077 * gst/gstbin.c: (gst_bin_change_state_func):
1080 2005-11-21 Wim Taymans <wim@fluendo.com>
1083 And add a nice define too.
1085 2005-11-21 Wim Taymans <wim@fluendo.com>
1087 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1088 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1089 (gst_segment_set_duration), (gst_segment_set_last_stop),
1090 (gst_segment_set_seek), (gst_segment_set_newsegment),
1091 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1094 Make binding friendly.
1096 2005-11-21 Andy Wingo <wingo@pobox.com>
1098 * gst/gsttagsetter.h:
1100 * gst/gststructure.h:
1102 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1105 * gst/gsterror.c (_gst_core_errors_init):
1106 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1109 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1110 (noinst_HEADERS): noinst the -private.
1112 2005-11-21 Michael Smith <msmith@fluendo.com>
1115 * gst/gstregistry.h:
1116 Remove unimplemented declarations for which we can see no sensible
1119 2005-11-21 Andy Wingo <wingo@pobox.com>
1121 * gst/gst.h: Include glib-compat.h.
1123 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1125 * gst/glib-compat.c: Include the public and the private header.
1127 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1131 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1133 * check/gst/gstevent.c (create_custom_events): Check that
1134 FLUSH_STOP is serialized.
1136 * check/elements/identity.c (event_func):
1137 * check/elements/fakesrc.c (event_func): No stream lock, the core
1140 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1141 stream lock taking, yay.
1143 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1144 ensure that core takes the stream lock.
1146 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1149 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1150 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1151 it already. For the flush start we do take it though so we get the
1152 right preroll state change messages.
1154 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1155 the stream lock here, the core does it for us.
1157 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1158 GST_STREAM_GET_LOCK.
1159 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1160 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1161 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1162 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1163 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1164 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1166 * gst/gstpad.c: Update for stream lock name change.
1168 * gst/base/gstbasesink.c: Update for preroll lock name change.
1170 2005-11-21 Wim Taymans <wim@fluendo.com>
1172 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1173 (gst_clock_get_master):
1175 * gst/gstsystemclock.c: (gst_system_clock_init):
1176 Convert Clock flags to object flags.
1177 Added methods to manage master/slave clocks.
1179 2005-11-21 Wim Taymans <wim@fluendo.com>
1181 * check/gst/gstsegment.c: (GST_START_TEST):
1182 * docs/design/part-TODO.txt:
1183 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1184 (gst_base_sink_event), (gst_base_sink_do_sync),
1185 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1186 (gst_base_sink_query), (gst_base_sink_change_state):
1187 * gst/base/gstbasesink.h:
1188 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1189 (gst_base_src_default_newsegment),
1190 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1191 (gst_base_src_get_range), (gst_base_src_loop),
1192 (gst_base_src_change_state):
1193 * gst/base/gstbasesrc.h:
1194 * gst/base/gstbasetransform.c:
1195 (gst_base_transform_prepare_output_buf),
1196 (gst_base_transform_event), (gst_base_transform_change_state):
1197 * gst/base/gstbasetransform.h:
1198 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1199 (gst_collect_pads_event):
1200 * gst/base/gstcollectpads.h:
1201 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1202 (gst_fake_src_create):
1203 * gst/elements/gstfakesrc.h:
1204 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1205 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1206 (gst_segment_set_last_stop), (gst_segment_set_seek),
1207 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1208 (gst_segment_to_running_time), (gst_segment_clip):
1210 More segment updates, replace code in plugins with segment
1213 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1215 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1216 Don't ignore sscanf results
1218 2005-11-21 Andy Wingo <wingo@pobox.com>
1220 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1223 * *.c: Ran scripts/update-macros. Oh yes.
1225 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1226 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1229 * scripts/update-macros: New script. Run it on your files to
1230 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1233 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1235 * docs/gst/Makefile.am:
1236 * docs/gst/gstreamer-docs.sgml:
1237 * docs/gst/gstreamer-sections.txt:
1238 * docs/gst/gstreamer.types:
1240 more docs fixes, add new api to the docs
1242 2005-11-21 Andy Wingo <wingo@pobox.com>
1244 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1245 state_broadcast call.
1247 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1249 2005-11-21 Julien MOUTTE <julien@moutte.net>
1251 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1252 function calls for arrays.
1254 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1256 * docs/random/ensonic/media-device-daemon.txt:
1257 wild idea, can this be done?
1258 * docs/gst/gstreamer-sections.txt:
1263 * gst/gstpluginfeature.c:
1267 doc fixes and additions
1269 2005-11-21 Andy Wingo <wingo@pobox.com>
1271 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1272 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1273 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1274 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1275 private to the basesrc implementation.
1277 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1278 behalf of event function if necessary. It should no longer be
1279 necessary to take the stream lock in pad's event functions. Fixes
1282 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1283 * docs/gst/gstreamer-sections.txt:
1284 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1285 (gst_structure_fixate_field_nearest_double),
1286 (gst_structure_fixate_field_boolean):
1287 * gst/gststructure.h:
1288 * win32/common/libgstreamer.def:
1289 * win32/gstreamer.def:
1291 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1294 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1296 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1297 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1298 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1299 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1300 (gst_fdsrc_uri_handler_init):
1301 * gst/elements/gstfdsrc.h:
1302 Port fd:// URI handler from 0.8 to fdsrc
1304 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1306 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1307 (gst_value_serialize_fourcc):
1309 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1310 consistent with our other format defines (#320324).
1312 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1314 * gst/gstvalue.c: (gst_value_is_fixed):
1315 Revert previous commit. Value lists are by definition
1316 not fixed, as they are a list of possible values.
1318 2005-11-21 Andy Wingo <wingo@pobox.com>
1320 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1321 during the stable series if we need it. Fixes #319178.
1323 * gst/gstevent.c (gst_event_new_filler): Removed.
1325 * check/gst/gstevent.c: Update comment about filler events.
1327 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1329 * gst/gstvalue.c: (gst_value_is_fixed):
1330 Should handle both value arrays and value lists.
1332 2005-11-21 Andy Wingo <wingo@pobox.com>
1334 patch by: Alessandro Dessina <alessandro nnva org>
1336 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1337 functions to access arrays. Fixes #321962.
1339 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1341 * docs/gst/gstreamer.types:
1342 gst_collectpads_get_type => gst_collect_pads_get_type.
1344 * gst/base/gstbasetransform.c:
1345 Remove unused SIGNAL_HANDOFF enum.
1347 2005-11-21 Andy Wingo <wingo@pobox.com>
1349 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1350 the event type (upstream, downstream, serialized). Renamed
1351 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1352 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1353 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1355 * gst/gstevent.c: Update for new CUSTOM event names.
1357 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1360 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1363 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1365 * docs/gst/gstreamer-sections.txt:
1366 * win32/common/libgstbase.def:
1367 * win32/libgstbase.def:
1368 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1369 (gst_collect_pads_class_init), (gst_collect_pads_init),
1370 (gst_collect_pads_finalize), (gst_collect_pads_new),
1371 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1372 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1373 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1374 (gst_collect_pads_start), (gst_collect_pads_stop),
1375 (gst_collect_pads_peek), (gst_collect_pads_pop),
1376 (gst_collect_pads_available), (gst_collect_pads_read),
1377 (gst_collect_pads_flush), (gst_collect_pads_event),
1378 (gst_collect_pads_chain):
1379 * gst/base/gstcollectpads.h:
1380 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1381 unimplemented functions as unimplemented. Add padding to
1382 GstCollectData. (#320766, #320423)
1384 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1387 Improve docs for DURATION message (usage of duration parameter)
1390 2005-11-20 Wim Taymans <wim@fluendo.com>
1392 * check/Makefile.am:
1393 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1397 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1398 (gst_segment_set_seek), (gst_segment_set_newsegment),
1399 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1402 Added segment helper structure and methods. Not fully implemented
1404 Added segment check.
1406 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1408 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1409 Add a deserialisation test for fractions
1410 * examples/metadata/read-metadata.c: (message_loop),
1411 (make_pipeline), (main):
1412 Fix up metadata reading sample.
1413 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1415 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1416 Don't try and fixate empty caps
1417 * gst/gst_private.h:
1418 Wrap in G_BEGIN_DECLS/G_END_DECLS
1419 * gst/gstvalue.c: (gst_value_collect_fraction),
1420 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1421 (gst_value_transform_string_fraction),
1422 (gst_value_compare_fraction):
1423 Add some extra guards to ensure that we don't end up
1424 with an invalid denominator of 0 in a gstfraction and
1425 that fractions always get reduced.
1427 2005-11-20 Wim Taymans <wim@fluendo.com>
1429 * docs/gst/gstreamer-sections.txt:
1440 2005-11-20 Wim Taymans <wim@fluendo.com>
1442 * docs/design/part-TODO.txt:
1444 Make a proper enum of the flag.
1446 2005-11-19 Wim Taymans <wim@fluendo.com>
1448 * docs/design/part-TODO.txt:
1449 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1450 (gst_format_to_quark), (gst_format_register):
1452 * gst/gstquery.c: (_gst_query_initialize),
1453 (gst_query_type_get_name), (gst_query_type_to_quark),
1454 (gst_query_type_register):
1456 Add type to quark and type to string conversions.
1458 2005-11-19 Andy Wingo <wingo@pobox.com>
1460 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1463 2005-11-19 Wim Taymans <wim@fluendo.com>
1465 * docs/design/part-TODO.txt:
1466 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1467 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1468 (gst_bin_handle_message_func):
1470 Make message handling overridable.
1472 2005-11-19 Andy Wingo <wingo@pobox.com>
1474 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1477 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1479 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1480 is a GstClockTime. Fixes #321710.
1482 * gst/gstclock.h (GstClock): Remove offset property. Add
1483 internal_calibration and external_calibration. Fix padding. Pad
1484 also by GstClockTime so we don't run into problems.
1486 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1487 (gst_clock_get_rate_offset): Remove.
1488 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1491 * gst/gstutils.c (g_static_rec_cond_wait)
1492 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1494 * gst/gstbin.c: Remove terrible continue_state prototype.
1496 * gst/gstelement.h (gst_element_continue_state): Make public.
1499 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1500 by continue_state. Fixes #319389.
1502 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1503 Really fixes #168438. However I don't see anywhere where the
1504 filter function is called... stupid GStreamer...
1506 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1507 don't have a dispose function, so it won't get called when the
1508 object is unreffed, but oh well!
1510 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1511 allows a destroy function to be set so user_data can be freed.
1513 (gst_index_set_filter): Call gst_index_set_filter_full.
1515 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1517 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1518 string should produce an error, given the lack of a way to
1519 represent NULL strings. Fixes #165650.
1522 * gst/gstvalue.c (gst_value_array_append_value)
1523 (gst_value_array_prepend_value, gst_value_array_get_size)
1524 (gst_value_array_get_value): New API, copied from
1525 gst_value_list_*, only operates on arrays.
1526 (gst_value_list_append_value, gst_value_list_prepend_value)
1527 (gst_value_list_concat, gst_value_list_get_size)
1528 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1530 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1531 init_list, because it works on both.
1532 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1533 (gst_value_copy_list_or_array): Renamed from copy_list.
1534 (gst_value_free_list_or_array): Renamed from free_list.
1535 (gst_value_collect_list_or_array): Renamed from collect_list.
1536 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1537 (gst_value_list_or_array_peek_pointer): Renamed from
1539 (_gst_value_array_value_table, _gst_value_list_value_table):
1540 Update value table functions.
1541 (gst_value_compare_list_or_array): Renamed from compare_list.
1543 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1547 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1548 GstTagList*. Fixes #143472.
1550 * gst/gststructure.h: Clarify what the foreach/map functions can
1551 or can't do to their arguments.
1553 2005-11-18 Wim Taymans <wim@fluendo.com>
1555 * gst/gstclock.c: (gst_clock_set_calibration),
1556 (gst_clock_get_calibration):
1558 Calibration can be set with internal time equal to current
1561 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1567 2005-11-18 Andy Wingo <wingo@pobox.com>
1570 * pkgconfig/gstreamer-net.pc.in:
1571 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1572 * pkgconfig/Makefile.am: Add net pkgconfig files.
1574 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1577 * gst/gstghostpad.c:
1583 2005-11-18 Andy Wingo <wingo@pobox.com>
1585 * gst/net/gstnetclientclock.c: Turn off debugging.
1587 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1588 times connverge somewhat. Can't make a real test.
1590 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1591 integer arithmetic. Return the minimum of the domain, which can be
1592 set as "internal" for gst_clock_set_calibration.
1593 (gst_net_client_clock_observe_times): Call _set_calibration.
1594 (gst_net_client_clock_new): Call _set_calibration instead of
1597 * check/net/gstnetclientclock.c (test_functioning): Use the right
1601 * gst/gstclock.c (gst_clock_get_calibration)
1602 (gst_clock_set_calibration): New functions, obsolete the ones I
1603 added yesterday. Doh. Precision issues mean we have to extrapolate
1604 from a point in the more recent past than 1970.
1605 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1607 (gst_clock_adjust_unlocked): Use the right calibration data.
1609 2005-11-18 Edward Hervey <edward@fluendo.com>
1611 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1612 Also reset the ->current_* values in READY->PAUSED
1614 2005-11-18 Andy Wingo <wingo@pobox.com>
1616 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1617 Whoops, check the right fd. Also add some debugging.
1618 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1619 (do_linear_regression): Add a crapload of debugging. Subtract off
1620 the minimum values from the input series to discard unneeded bits.
1621 Use only int arithmetic. There is still double arithmetic when
1622 calculating the intercept that needs fixing. Return boolean to
1623 indicate success; FALSE would mean the domain or range is too
1624 great. Still needs fixes.
1626 2005-11-18 Wim Taymans <wim@fluendo.com>
1628 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1629 For the current position in stream time, we need to subtract
1632 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1633 Release lock before calling the callback function of async
1636 2005-11-18 Andy Wingo <wingo@pobox.com>
1638 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1639 Port goes all the way to MAXUINT16.
1641 * gst/net/gstnettimeprovider.c: Make the port range the same as
1642 for the kernel: 0 assigns, otherwise ports are less than
1645 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1648 * check/net/gstnetclientclock.c (test_functioning): Add the start
1651 2005-11-18 Wim Taymans <wim@fluendo.com>
1653 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1654 (gst_bin_remove_func), (bin_bus_handler):
1656 Removing a clock provider from a bin, triggers a clock lost message
1657 so that a new clock will be selected.
1658 Adding a clock to a bin triggers a clock provider message.
1659 Make sure we reselect a clock when we received a clock lost message.
1660 Keep a reference to the element that provided the clock.
1662 2005-11-18 Andy Wingo <wingo@pobox.com>
1664 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1665 the clock initially so it produces values around the base time.
1666 (gst_net_client_clock_class_init): Typo fix.
1667 (gst_net_client_clock_thread): Add note on when the socket gets
1670 2005-11-17 Wim Taymans <wim@fluendo.com>
1672 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1673 Free remote and local time arrays.
1675 2005-11-17 Wim Taymans <wim@fluendo.com>
1677 * gst/net/gstnetclientclock.c: (do_linear_regression),
1678 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1679 Fix compilation, uninitialized vars and a forgotten continue.
1681 2005-11-17 Andy Wingo <wingo@pobox.com>
1683 * check/Makefile.am (check_PROGRAMS):
1684 * check/net/gstnetclientclock.c: Add a most minimal test for the
1685 net client clock. More to come later.
1688 * gst/net/Makefile.am: Add netclientclock.
1690 * gst/net/gstnetclientclock.h:
1691 * gst/net/gstnetclientclock.c: New files, implement an untested
1692 GstClock that takes its time from a network time provider.
1693 Implements the algorithm in network-clock.scm.
1695 * tests/network-clock.scm (*window-size*): Rename from
1697 * tests/network-clock.scm (network-time):
1698 * tests/network-clock-utils.scm (q-push): Update callers.
1700 2005-11-17 Wim Taymans <wim@fluendo.com>
1702 * gst/gstbin.c: (gst_bin_provide_clock_func),
1703 (gst_bin_sort_iterator_new):
1704 And unref the child too..
1706 2005-11-17 Wim Taymans <wim@fluendo.com>
1708 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1709 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1710 Refactor the sort iterator so it can be used while holding the
1712 Make clock selection select a clock closest to the source.
1714 2005-11-17 Michael Smith <msmith@fluendo.com>
1716 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1717 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1719 Anonymous structs are a gcc (and some other compilers) extension, so
1720 don't use them. Since this is only for ABI-compatibility, and our
1721 API/ABI freeze is over in a few days, this whole thing will only
1722 last a few days, so don't bother trying to think up a meaningful
1723 name for the struct.
1725 2005-11-17 Andy Wingo <wingo@pobox.com>
1727 * gst/gstclock.h (GstClock): Add rate and offset properties,
1728 preserving ABI stability. Add rate/offset accessors. Will file bug
1729 for the freeze break.
1731 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1732 and offset, trying to keep precision and avoiding
1734 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1735 functions. Make gst_clock_set_time_adjust obsolete.
1736 (gst_clock_set_time_adjust): Note that this function is obsolete.
1739 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1740 greppable by using GST_PADDING-1+1.
1742 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1744 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1746 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1747 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1749 * gst/gstpadtemplate.h:
1750 * gst/gstpluginfeature.h:
1751 Don't use c++ style comments in headers (#321638).
1753 2005-11-16 Andy Wingo <wingo@pobox.com>
1755 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1758 * check/net/gstnettimeprovider.c: Check to see that the time
1759 provider actually provides times. Works, yo!
1761 2005-11-16 Wim Taymans <wim@fluendo.com>
1763 * check/Makefile.am:
1766 * check/elements/fakesrc.c: (GST_START_TEST):
1767 Set element to NULL before disposing it.
1769 2005-11-16 Andy Wingo <wingo@pobox.com>
1771 * gst/net/Makefile.am:
1773 * gst/net/gstnettimeprovider.c:
1774 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1775 provider, include it from gstnet.h, and add it to the build.
1777 * gst/net/gstnettimepacket.h:
1778 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1779 sending and receiving.
1781 2005-11-16 Wim Taymans <wim@fluendo.com>
1783 * check/Makefile.am:
1784 Enable valgrind check.
1786 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1787 (gst_fake_src_alloc_buffer):
1790 2005-11-16 Wim Taymans <wim@fluendo.com>
1792 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1793 Call parent finalize too.
1795 2005-11-16 Wim Taymans <wim@fluendo.com>
1797 * check/Makefile.am:
1798 Enable valgrind check that should work fine now.
1800 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1801 * gst/gstqueue.c: (gst_queue_init):
1802 Fix memleaks in pad allocation.
1804 2005-11-16 Andy Wingo <wingo@pobox.com>
1806 * gst/net/Makefile.am:
1807 * gst/net/gstnet.h: New part of core to hold network elements and
1808 objects. Put in core because it exposes API that applications want
1809 to use. The library is named libgstnet-tempname right now because
1810 of the existing libgstnet in gst-plugins-base. Solution is
1811 probably to rename the one in plugins-base; will file a bug for
1814 * gst/net/gstnettimeprovider.c:
1815 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1816 get_time call over the network.
1819 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1821 * check/Makefile.am:
1822 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1823 get additions shortly.
1825 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1827 * gst/gstpad.c: (gst_pad_new_from_static_template):
1829 add gst_pad_new_from_static_template functions
1830 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1831 (gst_check_setup_sink_pad):
1832 * gst/elements/gsttee.c: (gst_tee_init):
1835 2005-11-16 Wim Taymans <wim@fluendo.com>
1837 * gst/gstpad.c: (gst_pad_pause_task):
1838 Removed warning, it's not really an error either.
1840 2005-11-16 Wim Taymans <wim@fluendo.com>
1842 * gst/base/gstbasetransform.c:
1843 (gst_base_transform_prepare_output_buf),
1844 (gst_base_transform_event):
1845 Check if the caps are NULL, this can happen if the element
1846 is shutting down and the pad caps are set to NULL.
1848 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1850 * gst/elements/gsttee.c: (gst_tee_init):
1851 fix pad template leak in tee
1853 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1855 * gst/glib-compat.c: (g_value_dup_gst_object):
1856 * gst/glib-compat.h:
1857 * gst/gstpad.c: (gst_pad_set_property):
1858 use gst_object_ref when setting the pad template; this will
1859 trigger the pad template leaks on GLib 2.6 and the slaves
1861 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1863 * gst/glib-compat.c: (gst_flags_get_first_value):
1864 * gst/glib-compat.h:
1865 * gst/gstregistryxml.c:
1866 remove functions copied from GLib 2.6
1868 2005-11-16 Michael Smith <msmith@fluendo.com>
1871 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1872 do, but only breaks with newer valgrind versions. We're not a
1873 valgrind tool, we have no link-time dependencies on libcoregrind.
1875 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1877 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1882 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1884 * gst/base/gstbasesrc.c: (gst_base_src_init):
1885 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1886 * gst/gstqueue.c: (gst_queue_init):
1887 * gst/gstregistryxml.c: (load_feature):
1888 Revert all these unrefs, they don't even pass make check !
1890 2005-11-15 Johan Dahlin <johan@gnome.org>
1892 * gst/base/gstbasesrc.c: (gst_base_src_init):
1893 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1894 * gst/gstqueue.c: (gst_queue_init):
1895 Free pad templates, fixes a couple of leaks.
1897 2005-11-15 Daniel Fischer <dan at f3c dot com>
1899 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1901 * gst/gstpad.c: (gst_pad_get_property):
1902 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1903 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1906 2005-11-15 Wim Taymans <wim@fluendo.com>
1911 2005-11-15 Andy Wingo <wingo@pobox.com>
1913 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1915 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1916 using GST_CLOCK_TIME_NONE to disable base time management.
1917 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1918 time if it was NONE before.
1919 (gst_pipeline_change_state): Only munge the base time if
1920 stream_time != GST_CLOCK_TIME_NONE.
1922 * check/gst/gstpipeline.c (test_base_time): Punt around the
1923 problem of the probe not being called, because that's not the
1924 issue I'm looking at. Add a check that setting stream_time to NONE
1925 disables base time management.
1927 2005-11-15 Wim Taymans <wim@fluendo.com>
1929 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1930 segment_stop == -1 at startup.
1932 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1933 (gst_base_transform_change_state):
1934 Init segment values at start.
1936 2005-11-15 Wim Taymans <wim@fluendo.com>
1938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1939 0 segment values are 0 in any format.
1941 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1942 * gst/base/gstbasetransform.h:
1943 Parse newsegment correctly in basetransform
1945 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1946 Sync to clock using updated segment values.
1948 2005-11-15 Andy Wingo <wingo@pobox.com>
1950 * check/gst/gstpipeline.c (test_base_time): Add check that the
1951 base time and stream time are reset correctly.
1953 2005-11-15 Wim Taymans <wim@fluendo.com>
1955 * docs/design/part-TODO.txt:
1956 Some more TODO items.
1958 2005-11-15 Andy Wingo <wingo@pobox.com>
1960 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1961 error if the user selected "no clock" as the clocking method.
1963 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1964 timestamps with live capture.
1966 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1967 is 0 but we are a live source, timestamp the buffers using the
1970 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1972 * docs/gst/gstreamer-sections.txt:
1974 * gst/gstghostpad.c:
1979 2005-11-14 Wim Taymans <wim@fluendo.com>
1982 add suppressions from Wim's Debian machine
1984 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1987 add suppressions from Andy's AMD64 Ubuntu machine
1989 2005-11-14 Andy Wingo <wingo@pobox.com>
1991 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1992 STATE_LOCK not necessary. Fixes #311489.
1994 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1997 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1998 this function is not implemented.
2000 2005-11-14 Julien MOUTTE <julien@moutte.net>
2002 * gst/base/gstbasetransform.c:
2003 (gst_base_transform_prepare_output_buf):
2004 Ref the source pad caps while we need them.
2007 2005-11-11 Wim Taymans <wim@fluendo.com>
2009 * docs/gst/gstreamer-sections.txt:
2010 Added some docs for GstCollectData.
2012 * gst/base/gstadapter.c:
2013 Some small code example fix.
2015 * gst/base/gstcollectpads.c:
2016 * gst/base/gstcollectpads.h:
2019 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2021 * configure.ac: back to HEAD
2023 === release 0.9.5 ===
2025 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2028 releasing 0.9.5, "Bike Lunch Day"
2030 2005-11-11 Wim Taymans <wim@fluendo.com>
2032 * gst/gstbuffer.c: (_gst_buffer_copy):
2035 * gst/gstcaps.c: (gst_caps_is_equal):
2037 Make _is_equal fast in the trivial cases.
2039 * gst/gstminiobject.c:
2040 * gst/gstminiobject.h:
2041 More docs. Spifify .h file.
2046 2005-11-11 Wim Taymans <wim@fluendo.com>
2048 * gst/base/gstbasetransform.c:
2049 (gst_base_transform_prepare_output_buf),
2050 (gst_base_transform_handle_buffer):
2052 If we're processing a buffer and need to allocate an output
2053 buffer, we cannot accept a format change. If we did get a
2054 format change, we have to alloc a buffer ourselves of the
2057 2005-11-11 Wim Taymans <wim@fluendo.com>
2059 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2060 While checking the flag for reentrancy in the gstcaps function
2061 is nice to detect recursive invocations, it also makes it
2062 impossible to call getcaps from multiple threads, which must be
2063 possible. So, checking for recursive calls has to go.
2065 2005-11-11 Michael Smith <msmith@fluendo.com>
2067 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2068 Don't sync on buffers that fall partially outside our current
2069 segment. Prevents an assertion failure/abort playing some files.
2071 2005-11-10 Andy Wingo <wingo@pobox.com>
2073 * check/gst/gstbin.c (test_message_state_changed_children): Style
2076 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2077 gst_bus_poll with the signal watch. Ensures that poll and a signal
2078 watch see the same messages.
2080 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2081 a poll and a watch at the same time get the same messages.
2083 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2085 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2086 * gst/gstcaps.c: (gst_caps_intersect):
2087 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2088 and it's not needed.
2090 2005-11-10 Wim Taymans <wim@fluendo.com>
2092 * docs/design/part-TODO.txt:
2095 2005-11-10 Wim Taymans <wim@fluendo.com>
2097 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2098 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2099 (gst_base_src_do_sync), (gst_base_src_get_range):
2100 Implement clock sync in base class.
2102 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2104 patch by: Tim-Philipp Müller <tim at centricular dot net>
2106 * gst/gststructure.c: (gst_structure_parse_field),
2107 (gst_structure_from_string):
2108 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2109 so that gst_parse_launch() can deal with spaces in filtered link
2110 caps (fixes #164479)
2111 * check/gst/capslist.h:
2112 * check/gst/gststructure.c: (GST_START_TEST):
2113 add unit tests for this change
2115 2005-11-10 Wim Taymans <wim@fluendo.com>
2117 * docs/gst/gstreamer-sections.txt:
2120 Fix docs, move some STATE macros to private.
2122 2005-11-10 Wim Taymans <wim@fluendo.com>
2124 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2125 Added check for bug #317341
2129 Some more spiffifying.
2131 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2132 Call peer linkfunction if we are a source pad. Totally fixes
2136 Update docs, source pads should call the peer linkfunction
2137 so they can atomically perform the pad link.
2139 2005-11-09 Wim Taymans <wim@fluendo.com>
2143 Uber-spiffy-spiffify some more.
2145 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2147 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2148 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2149 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2150 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2151 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2152 * gst/gstpad.c: (gst_pad_init):
2153 Use GST_DEBUG_FUNCPTR() more extensively.
2155 2005-11-09 Wim Taymans <wim@fluendo.com>
2157 * gst/gstobject.c: (gst_object_class_init):
2159 Documentation fixes.
2161 2005-11-09 Edward Hervey <edward@fluendo.com>
2163 * gst/gsttypefindfactory.c:
2166 2005-11-09 Edward Hervey <edward@fluendo.com>
2168 * gst/base/gsttypefindhelper.c:
2169 * gst/gsttypefind.c:
2170 * gst/gsttypefind.h:
2173 2005-11-09 Wim Taymans <wim@fluendo.com>
2175 * gst/gstiterator.c:
2182 2005-11-09 Wim Taymans <wim@fluendo.com>
2188 2005-11-09 Wim Taymans <wim@fluendo.com>
2190 * docs/gst/gstreamer-sections.txt:
2191 Moved the message async delivery private lock and cond
2192 to the private section.
2198 2005-11-09 Edward Hervey <edward@fluendo.com>
2200 * docs/gst/gstreamer-sections.txt:
2203 Document GstURIHandler
2205 2005-11-09 Wim Taymans <wim@fluendo.com>
2207 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2208 (gst_iterator_find_custom):
2209 * gst/gstiterator.h:
2212 2005-11-09 Wim Taymans <wim@fluendo.com>
2215 Document another field.
2217 * gst/gststructure.c:
2218 * gst/gststructure.h:
2221 2005-11-09 Wim Taymans <wim@fluendo.com>
2226 2005-11-09 Wim Taymans <wim@fluendo.com>
2228 * docs/gst/gstreamer-sections.txt:
2229 Added some new macros.
2236 2005-11-09 Wim Taymans <wim@fluendo.com>
2238 * docs/design/part-TODO.txt:
2239 Some more items for the TODO
2245 2005-11-09 Andy Wingo <wingo@pobox.com>
2247 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2248 to work on something else now tho...
2250 * gst/base/gstadapter.c: More adapter docs.
2252 * gst/elements/gstfilesink.c (gst_file_sink_start)
2253 (gst_file_sink_stop): New functions, replace the state change
2255 (gst_file_sink_class_init): Hook up the start and stop functions.
2256 (gst_file_sink_base_init): Don't set the state change handler any
2257 more. It was a bit ugly too, being set from here...
2258 (gst_file_sink_get_property, gst_file_sink_set_property):
2260 (gst_file_sink_set_location): More robust check that doesn't call
2263 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2265 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2266 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2268 2005-11-08 Wim Taymans <wim@fluendo.com>
2270 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2271 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2272 (gst_base_sink_chain), (gst_base_sink_change_state):
2273 * gst/base/gstbasesink.h:
2274 * gst/base/gstbasesrc.h:
2277 Avoid excessive typechecking in macros.
2279 * gst/gstminiobject.c: (gst_mini_object_get_type),
2280 (gst_mini_object_init), (gst_mini_object_new),
2281 (gst_mini_object_free):
2282 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2283 (gst_object_finalize):
2284 Remove cruft code, optimize alloc_trace.
2286 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2288 * docs/faq/gst-uninstalled:
2289 fix up PS1 for systems that try to reset it
2291 2005-11-07 Wim Taymans <wim@fluendo.com>
2293 * gst/base/gstbasesrc.c: (gst_base_src_init),
2294 (gst_base_src_get_range):
2295 Set the segment_end to -1 initially. Fixed typefind.
2297 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2299 * gst/base/gstadapter.c:
2300 Debug category should be 'adapter', not 'GstAdapter'.
2302 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2303 (gst_collectpads_class_init), (gst_collectpads_init),
2304 (gst_collectpads_peek), (gst_collectpads_pop),
2305 (gst_collectpads_event), (gst_collectpads_chain):
2306 Add debug category and some debugging output. Use boilerplate
2307 macros. Remove some extraneous words from docs.
2309 2005-11-05 Andy Wingo <wingo@pobox.com>
2311 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2314 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2316 * docs/gst/gstreamer-sections.txt:
2319 * gst/gstminiobject.h:
2324 2005-11-04 Wim Taymans <wim@fluendo.com>
2326 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2327 Small update to stop at the configured segment_end
2330 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2332 * gst/gstregistry.c:
2333 * gst/gstregistry.h:
2336 2005-11-04 Edward Hervey <edward@fluendo.com>
2338 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2339 Check if we are doing a segment seek and have arrived at the
2340 end of that segment.
2342 2005-11-04 Wim Taymans <wim@fluendo.com>
2344 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2345 Don't leak a mutex unlock in case of an error.
2350 2005-11-04 Wim Taymans <wim@fluendo.com>
2352 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2354 Get the context to wake up only once.
2356 2005-11-03 Wim Taymans <wim@fluendo.com>
2358 * check/states/sinks.c: (GST_START_TEST):
2359 Uncomment fixed check.
2361 * docs/design/part-TODO.txt:
2364 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2365 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2366 (gst_base_sink_get_position):
2367 If we are going to PLAYING, post the right pending state
2368 when we post the intermediate paused message.
2370 * gst/gstelement.c: (gst_element_continue_state),
2371 (gst_element_set_state_func), (gst_element_change_state):
2372 Don't post state changes that were between the same state
2375 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2377 * docs/gst/gstreamer-sections.txt:
2380 * gst/gstminiobject.h:
2383 more docs and doc style fixes
2385 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2387 * docs/gst/gstreamer-sections.txt:
2389 * gst/gstminiobject.c:
2392 2005-11-03 Andy Wingo <wingo@pobox.com>
2394 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2395 state-changed messages actually have the right order and the right
2398 2005-11-03 Wim Taymans <wim@fluendo.com>
2400 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2401 Added some more checks. Specifically the case where NO_PREROLL
2402 elements are in the pipeline.
2404 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2405 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2406 (gst_base_sink_get_position):
2407 Post READY->PAUSED state change messages too.
2408 Fix bug where VOID was posted as pending state...
2410 * gst/gstbin.c: (gst_bin_recalc_state):
2411 use _element_continue_state() to continue the state change.
2413 * gst/gstelement.c: (gst_element_continue_state),
2414 (gst_element_commit_state), (gst_element_set_state_func),
2415 (gst_element_change_state), (gst_element_change_state_func):
2416 Lots of state change cleanups, assign the STATE_RETURN in
2417 a new continue_state() function that also propagates the
2418 last return value from a state change to the app.
2419 Update some debug statements with proper category.
2421 2005-11-03 Wim Taymans <wim@fluendo.com>
2423 * docs/design/part-events.txt:
2424 * docs/design/part-gstpipeline.txt:
2425 * docs/design/part-messages.txt:
2426 * docs/design/part-overview.txt:
2427 * docs/design/part-seeking.txt:
2428 * docs/design/part-states.txt:
2429 * docs/design/part-trickmodes.txt:
2430 * docs/manual/advanced-position.xml:
2434 People think !! is ugly, this looks better.
2436 * gst/gstpad.c: (gst_pad_set_blocked_async):
2437 Remove !! since it's fixed elsewhere now.
2439 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2441 * gst/gstminiobject.h:
2443 Add !! to _FLAG_IS_SET macros to make the result boolean.
2445 2005-11-03 Edward Hervey <edward@fluendo.com>
2447 * gst/gstpad.c: (gst_pad_set_blocked_async):
2448 comparing a flag and a gboolean rarely returns coherent results...
2449 Added two characters (!!) to make that work correctly.
2451 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2453 * gst/gstbus.c: (gst_bus_class_init):
2456 * gst/gstqueue.c: (gst_queue_loop):
2457 Don't assume a miniobject that isn't a buffer is an
2458 event (it could be that there is a refcounting
2459 problem somewhere and the pointer is stale and
2460 refers to an already destroyed miniobject).
2462 2005-11-03 Julien MOUTTE <julien@moutte.net>
2464 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2466 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2468 * docs/manual/advanced-position.xml:
2469 Update seek example and explanations to current 0.9 API.
2471 * gst/elements/gsttypefindelement.c:
2472 (gst_type_find_element_activate):
2473 Remove FIXME comment now that the found caps
2476 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2478 * gst/gstregistryxml.c: (load_feature):
2479 Add another GST_STR_NULL instance
2481 2005-11-02 Edward Hervey <edward@fluendo.com>
2483 * gst/gstpad.c: (handle_pad_block):
2484 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2486 2005-11-02 Wim Taymans <wim@fluendo.com>
2491 * gst/gstelement.c: (gst_element_commit_state):
2492 Remove unused value.
2494 * gst/gstiterator.c:
2495 Mention that the returned element is reffed in the docs.
2497 2005-11-02 Wim Taymans <wim@fluendo.com>
2499 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2500 (gst_pad_push), (gst_pad_push_event):
2501 Unlock blocked pads when they are flushed.
2503 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2506 * docs/gst/gstreamer-sections.txt:
2509 * gst/gstregistry.c: (gst_registry_scan_path_level):
2510 fix for a nasty little missed situation where an installed plug-in
2511 which was in the cache did not get overridden by an uninstalled one
2512 which was earlier in the plugin path because the newly created plugin
2513 for the uninstalled one (not in the registry) didn't get its
2514 ->registered set to TRUE
2516 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2518 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2519 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2520 (gst_collectpads_is_active), (gst_collectpads_collect),
2521 (gst_collectpads_collect_range), (gst_collectpads_start),
2522 (gst_collectpads_stop), (gst_collectpads_peek),
2523 (gst_collectpads_pop), (gst_collectpads_available),
2524 (gst_collectpads_read), (gst_collectpads_flush):
2525 Guard public API with assertions.
2528 Fix docs for gst_pad_set_link_function().
2530 2005-11-02 Johan Dahlin <johan@gnome.org>
2532 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2533 Unref found_caps after we used it.
2535 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2537 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2538 Don't try to ref NULL.
2540 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2542 * win32/common/config.h.in:
2543 provide a GST_FUNCTION that just gives a string for now
2545 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2547 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2548 (gst_object_flags_get_type), (register_gst_bin_flags),
2549 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2550 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2551 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2552 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2553 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2554 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2555 (gst_clock_flags_get_type), (register_gst_state),
2556 (gst_state_get_type), (register_gst_state_change_return),
2557 (gst_state_change_return_get_type), (register_gst_state_change),
2558 (gst_state_change_get_type), (register_gst_element_flags),
2559 (gst_element_flags_get_type), (register_gst_core_error),
2560 (gst_core_error_get_type), (register_gst_library_error),
2561 (gst_library_error_get_type), (register_gst_resource_error),
2562 (gst_resource_error_get_type), (register_gst_stream_error),
2563 (gst_stream_error_get_type), (register_gst_event_type),
2564 (gst_event_type_get_type), (register_gst_seek_type),
2565 (gst_seek_type_get_type), (register_gst_seek_flags),
2566 (gst_seek_flags_get_type), (register_gst_format),
2567 (gst_format_get_type), (register_gst_index_certainty),
2568 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2569 (gst_index_entry_type_get_type),
2570 (register_gst_index_lookup_method),
2571 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2572 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2573 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2574 (gst_index_flags_get_type), (register_gst_debug_level),
2575 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2576 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2577 (gst_iterator_result_get_type), (register_gst_iterator_item),
2578 (gst_iterator_item_get_type), (register_gst_message_type),
2579 (gst_message_type_get_type), (register_gst_mini_object_flags),
2580 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2581 (gst_pad_link_return_get_type), (register_gst_flow_return),
2582 (gst_flow_return_get_type), (register_gst_activate_mode),
2583 (gst_activate_mode_get_type), (register_gst_pad_direction),
2584 (gst_pad_direction_get_type), (register_gst_pad_flags),
2585 (gst_pad_flags_get_type), (register_gst_pad_presence),
2586 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2587 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2588 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2589 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2590 (gst_plugin_flags_get_type), (register_gst_rank),
2591 (gst_rank_get_type), (register_gst_query_type),
2592 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2593 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2594 (gst_tag_flag_get_type), (register_gst_task_state),
2595 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2596 (gst_alloc_trace_flags_get_type),
2597 (register_gst_type_find_probability),
2598 (gst_type_find_probability_get_type), (register_gst_uri_type),
2599 (gst_uri_type_get_type), (register_gst_parse_error),
2600 (gst_parse_error_get_type):
2601 * win32/common/gstversion.h:
2604 2005-11-01 Luca Ognibene <luogni@tin.it>
2607 fix docs. popt is dead, long live GOption.
2609 2005-10-31 Wim Taymans <wim@fluendo.com>
2614 2005-10-31 Andy Wingo <wingo@pobox.com>
2618 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2620 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2621 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2622 the possibility of deadlocks here if code calling notify() or
2623 set() has a lock that can be taken in another notify handler (ABBA
2624 with class lock and e.g. python GIL state lock).
2626 2005-10-28 Julien MOUTTE <julien@moutte.net>
2628 * gst/gstbus.c: Doc updates.
2630 2005-10-28 Wim Taymans <wim@fluendo.com>
2632 * docs/design/part-TODO.txt:
2633 * gst/gstiterator.c:
2634 * gst/gstsystemclock.c:
2635 * gst/gstsystemclock.h:
2638 2005-10-28 Edward Hervey <edward@fluendo.com>
2640 * docs/gst/gstreamer-docs.sgml:
2641 * docs/gst/gstreamer-sections.txt:
2642 the GstURIType documentation page is private, it only defines GstURIType
2643 which should be defined in the GstURIHandler page
2645 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2647 * gst/gstbin.c: (gst_bin_class_init):
2650 Documentation updates.
2652 2005-10-28 Wim Taymans <wim@fluendo.com>
2654 * docs/gst/gstreamer-sections.txt:
2657 Documented the clocks.
2659 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2661 * docs/gst/gstreamer-sections.txt:
2662 move some macros to private sections
2663 * gst/gstminiobject.c:
2664 * gst/gstminiobject.h:
2665 add descriptions provided by ds and some more
2667 mark macro as to be removed
2669 2005-10-28 Wim Taymans <wim@fluendo.com>
2671 * docs/design/part-TODO.txt:
2672 Add an item to TODO.
2674 * gst/gstiterator.c: (gst_iterator_fold),
2675 (gst_iterator_find_custom):
2676 * gst/gstiterator.h:
2679 2005-10-28 Wim Taymans <wim@fluendo.com>
2681 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2682 (gst_base_transform_init):
2685 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2686 An EOS event marks the queue as completely filled.
2688 2005-10-27 Wim Taymans <wim@fluendo.com>
2690 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2691 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2692 Some more debugging.
2694 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2695 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2696 (gst_base_transform_event), (gst_base_transform_getrange),
2697 (gst_base_transform_chain):
2698 * gst/base/gstbasetransform.h:
2700 Protect transform and concurrent buffer alloc with a new lock.
2701 Try not to break ABI/API.
2703 2005-10-27 Wim Taymans <wim@fluendo.com>
2705 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2706 (gst_base_src_init), (gst_base_src_query),
2707 (gst_base_src_default_newsegment),
2708 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2709 (gst_base_src_send_event), (gst_base_src_event_handler),
2710 (gst_base_src_pad_get_range), (gst_base_src_loop),
2711 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2712 (gst_base_src_start), (gst_base_src_deactivate),
2713 (gst_base_src_activate_push), (gst_base_src_change_state):
2714 Move some stuff around and cleanup things.
2716 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2718 * gst/base/gstbasesrc.c: (gst_base_src_query):
2719 Add missing break statements.
2721 2005-10-27 Wim Taymans <wim@fluendo.com>
2723 * check/gst/gstbin.c: (GST_START_TEST):
2724 An extra refcount is taken in basesrc.
2726 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2727 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2728 (gst_base_src_loop):
2729 Small cleanups, check for flushing after being unlocked from the
2730 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2731 Don't send out EOS when going to READY.
2733 2005-10-27 Wim Taymans <wim@fluendo.com>
2735 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2736 (gst_base_sink_get_position):
2739 * gst/gstbin.c: (message_check), (bin_replace_message),
2740 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2741 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2742 (bin_query_duration_init), (bin_query_duration_fold),
2743 (bin_query_duration_done), (bin_query_generic_fold),
2745 * tools/gst-launch.c: (main):
2748 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2750 * examples/controller/audio-example.c: (main):
2751 * examples/queue/queue.c: (event_loop):
2752 * gst/base/gstbasetransform.h:
2753 * gst/gstelement.c: (gst_element_send_event):
2755 * gst/gstpad.c: (gst_pad_send_event):
2758 changing log priority in error situations
2760 2005-10-25 Wim Taymans <wim@fluendo.com>
2762 * gst/gstbin.c: (message_check), (bin_replace_message),
2763 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2764 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2765 (bin_query_duration_init), (bin_query_duration_fold),
2766 (bin_query_duration_done), (bin_query_generic_fold),
2768 Some doc and debug updates.
2769 Cache previously requested query DURATION for speed. invalidate
2770 cached duration if element posts a DURATION message.
2772 2005-10-25 Wim Taymans <wim@fluendo.com>
2774 * docs/design/part-TODO.txt:
2777 * gst/gstbin.c: (message_check), (bin_replace_message),
2778 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2779 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2780 (bin_query_duration_init), (bin_query_duration_fold),
2781 (bin_query_duration_done), (bin_query_generic_fold),
2783 Handle SEGMENT_START/DONE messages correctly.
2784 More evolved query algorithm that handles duration queries
2787 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2788 (gst_element_get_state_func), (gst_element_abort_state),
2789 (gst_element_commit_state), (gst_element_lost_state):
2790 Some more debugging.
2795 2005-10-25 Wim Taymans <wim@fluendo.com>
2797 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2798 Don't use invalid stream_time.
2800 * gst/gstevent.c: (gst_event_new_newsegment):
2801 stream_time in newsegment cannot be undefined.
2803 2005-10-24 Wim Taymans <wim@fluendo.com>
2808 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2810 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2812 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2814 * docs/libs/tmpl/gstdparam.sgml:
2815 * docs/libs/tmpl/gstdplinint.sgml:
2816 * docs/libs/tmpl/gstdpman.sgml:
2817 * docs/libs/tmpl/gstdpsmooth.sgml:
2818 * docs/libs/tmpl/gstunitconvert.sgml:
2821 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2826 === release 0.9.4 ===
2828 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2831 releasing 0.9.4, "Tyrannosaurus Rex"
2833 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2835 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2836 (gst_file_sink_get_current_offset):
2837 Use fseeko() and ftello() if available. When falling back on
2838 lseek() to get the current offset, fflush() first to make sure
2839 everything is up-to-date and we get the right offset.
2841 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2844 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2845 * gst/gsterror.c: (_gst_stream_errors_init):
2847 * gst/gstqueue.c: (gst_queue_loop):
2849 remove prematurely added error category and clean up the instances
2851 2005-10-21 Wim Taymans <wim@fluendo.com>
2853 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2854 (gst_base_sink_get_position), (gst_base_sink_query),
2855 (gst_base_sink_change_state):
2856 Simply set the right flag when going to playing, that's all
2857 we need to do instead of calling a function inside the object
2858 lock (that could take the lock as well and deadlock)
2860 2005-10-21 Wim Taymans <wim@fluendo.com>
2862 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2863 (gst_base_src_loop):
2864 Don't warn, the peer element knows what to do best when
2865 the seek failed, it might try something else.
2867 2005-10-21 Wim Taymans <wim@fluendo.com>
2869 * gst/base/gstbasesrc.c: (gst_base_src_init),
2870 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2873 2005-10-21 Wim Taymans <wim@fluendo.com>
2875 * docs/design/part-segments.txt:
2878 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2879 Correctly set caps, even on the subbufer.
2881 2005-10-21 Wim Taymans <wim@fluendo.com>
2883 * docs/gst/gstreamer-docs.sgml:
2884 * docs/gst/gstreamer-sections.txt:
2891 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2895 And 2% more doc coverage.
2897 2005-10-21 Andy Wingo <wingo@pobox.com>
2899 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2902 2005-10-20 Wim Taymans <wim@fluendo.com>
2904 * gst/gsterror.c: (gst_error_get_message):
2907 * gst/gststructure.c:
2912 2005-10-20 Wim Taymans <wim@fluendo.com>
2917 Another 1% more coverage.
2919 2005-10-20 Wim Taymans <wim@fluendo.com>
2921 * docs/gst/gstreamer-sections.txt:
2922 * gst/gstelement.c: (gst_element_get_state_func),
2923 (gst_element_abort_state), (gst_element_commit_state),
2924 (gst_element_lost_state):
2926 * gst/gstquery.c: (gst_query_set_position),
2927 (gst_query_parse_position), (gst_query_set_duration),
2928 (gst_query_parse_duration), (gst_query_new_convert):
2930 Yay! 1% more docs coverage.
2932 2005-10-20 Wim Taymans <wim@fluendo.com>
2935 * gst/gstquery.c: (gst_query_set_position),
2936 (gst_query_parse_position), (gst_query_set_duration),
2937 (gst_query_parse_duration), (gst_query_new_convert):
2939 * gst/gstutils.c: (gst_element_query_convert):
2941 Docs and consistency fixes.
2943 2005-10-20 Wim Taymans <wim@fluendo.com>
2949 2005-10-20 Wim Taymans <wim@fluendo.com>
2951 * gst/gstbin.c: (message_check), (bin_replace_message),
2952 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2953 (update_degree), (gst_bin_sort_iterator_next),
2954 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2955 Reworked the message handling a bit, cache the messages instead of
2956 only the senders. alows us to do more in the future.
2958 2005-10-20 Wim Taymans <wim@fluendo.com>
2960 * docs/design/part-TODO.txt:
2963 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2964 (gst_base_sink_query):
2965 Don't use clock time to report position when in EOS.
2967 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2969 * tools/gst-inspect.c: (print_interfaces),
2970 (print_element_properties_info), (print_element_info):
2971 Fix interface output with gst-inspect -a; don't print
2972 newlines after double/float properties.
2974 2005-10-20 Wim Taymans <wim@fluendo.com>
2976 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2977 (gst_base_sink_query):
2978 Speed up current position calculation.
2980 * gst/base/gstbasesrc.c: (gst_base_src_query),
2981 (gst_base_src_default_newsegment):
2982 Correctly set stream position in newsegment.
2984 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2985 (update_degree), (gst_bin_sort_iterator_next),
2986 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2987 * gst/gstmessage.c: (gst_message_new_custom):
2988 Clean up debugging info
2990 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2991 (gst_queue_loop), (gst_queue_handle_src_query):
2994 2005-10-19 Wim Taymans <wim@fluendo.com>
2996 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2997 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2998 Fix query handling again.
3000 2005-10-19 Wim Taymans <wim@fluendo.com>
3002 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3003 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3004 * gst/base/gstbasesrc.c: (gst_base_src_query):
3005 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3006 * gst/elements/gsttypefindelement.c:
3007 (gst_type_find_handle_src_query), (find_element_get_length),
3008 (gst_type_find_element_activate):
3011 * gst/gstquery.c: (gst_query_new_position),
3012 (gst_query_set_position), (gst_query_parse_position),
3013 (gst_query_new_duration), (gst_query_set_duration),
3014 (gst_query_parse_duration), (gst_query_set_segment),
3015 (gst_query_parse_segment):
3017 Bundling query position/duration is not a good idea since duration
3018 does not change much and we don't want to recalculate it for every
3019 position query, so they are separated again..
3020 Base value in segment query is not needed.
3022 * gst/gstqueue.c: (gst_queue_handle_src_query):
3023 * gst/gstutils.c: (gst_element_query_position),
3024 (gst_element_query_duration), (gst_pad_query_position),
3025 (gst_pad_query_duration):
3027 Updates for query API change.
3028 Added some docs here and there.
3030 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3032 * check/gst/gstbin.c: (GST_START_TEST):
3033 * check/gst/gstghostpad.c: (GST_START_TEST):
3034 * check/pipelines/cleanup.c: (GST_START_TEST):
3035 wait on thread to die so we can check refcount correctly
3037 2005-10-18 Wim Taymans <wim@fluendo.com>
3039 * check/pipelines/stress.c: (GST_START_TEST):
3040 Make check a little more time consuming.
3042 2005-10-18 Wim Taymans <wim@fluendo.com>
3044 * check/Makefile.am:
3045 * check/pipelines/stress.c: (GST_START_TEST),
3046 (simple_launch_lines_suite), (main):
3047 Small state change torture test.
3049 * docs/design/part-states.txt:
3050 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3051 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3052 (gst_base_sink_change_state):
3053 Never take state lock from streaming thread, clean up ugly
3054 hacks. Unfortunatly core does not yet support nice ways to
3057 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3059 Start state recalc if a STATE_DIRTY message is posted, but only
3060 on the toplevel bin.
3062 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3063 (gst_element_get_state_func), (gst_element_abort_state),
3064 (gst_element_commit_state), (gst_element_lost_state),
3065 (gst_element_set_state_func), (gst_element_change_state):
3067 State variables are now protected with the LOCK, the state
3068 lock is only used to serialize _set_state().
3070 2005-10-18 Wim Taymans <wim@fluendo.com>
3072 * check/gst/gstbin.c: (GST_START_TEST):
3073 * check/gst/gstmessage.c: (GST_START_TEST):
3074 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3075 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3077 * gst/gstelement.c: (gst_element_abort_state),
3078 (gst_element_commit_state), (gst_element_lost_state):
3079 * gst/gstmessage.c: (gst_message_new_state_changed),
3080 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3081 (gst_message_new_segment_done), (gst_message_new_duration),
3082 (gst_message_parse_state_changed),
3083 (gst_message_parse_segment_start),
3084 (gst_message_parse_segment_done), (gst_message_parse_duration):
3086 * tools/gst-launch.c: (event_loop):
3087 Seriously, this is better than a previous commit as we only need
3088 to notify the fact that an element changed state in a streaming
3089 thread, marking the state of the parents dirty, hence the
3090 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3093 2005-10-18 Wim Taymans <wim@fluendo.com>
3095 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3096 (gst_bin_recalc_func):
3097 * gst/gstelement.c: (gst_element_set_clock),
3098 (gst_element_abort_state), (gst_element_lost_state):
3099 Cleanups, prepare for state change fixes.
3101 2005-10-18 Wim Taymans <wim@fluendo.com>
3104 * gst/gstelement.c: (gst_element_class_init),
3105 (gst_element_set_state), (gst_element_set_state_func):
3107 Pending ABI changes.
3108 GThreadPool in GstBinClass to monitor async state changes.
3109 state_cookie in GstElement to detect concurrent gst/set state.
3110 set_state is now virtual too in case a very complicated element
3111 has to be constructed.
3113 2005-10-18 Wim Taymans <wim@fluendo.com>
3115 * check/gst/gstbin.c: (GST_START_TEST):
3116 * check/gst/gstmessage.c: (GST_START_TEST):
3117 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3118 * gst/gstbin.c: (bin_bus_handler):
3119 * gst/gstelement.c: (gst_element_commit_state),
3120 (gst_element_lost_state):
3121 * gst/gstmessage.c: (gst_message_new_state_changed),
3122 (gst_message_new_segment_start), (gst_message_new_segment_done),
3123 (gst_message_new_duration), (gst_message_parse_state_changed),
3124 (gst_message_parse_segment_start),
3125 (gst_message_parse_segment_done), (gst_message_parse_duration):
3127 * tools/gst-launch.c: (event_loop):
3128 Make messages future proof.
3129 state-change gets a flag if it was a message comming from the
3131 segment-start/stop can also be specified in other formats.
3132 A message to notify an app that a pipeline changed playback
3134 Also fix a GstMessage leak in -launch
3136 2005-10-18 Andy Wingo <wingo@pobox.com>
3138 * gst/gstelement.c (gst_element_dispose): More helpful message.
3140 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3142 reviewed by: <delete if not using a buddy>
3144 * common/gtk-doc.mak:
3146 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3148 * gst/gstregistry.c: (gst_registry_scan_path_level):
3149 unref a plug-in we get that was already initialized
3151 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3153 * docs/gst/gstreamer-sections.txt:
3154 * docs/libs/gstreamer-libs-sections.txt:
3159 2005-10-17 Andy Wingo <wingo@pobox.com>
3161 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3164 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3166 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3168 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3169 (gst_element_get_state_func): Better debug message.
3170 (gst_element_commit_state): s/INFO/DEBUG/.
3171 (gst_element_lost_state, gst_element_change_state):
3173 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3174 (gst_message_new_custom): s/INFO/LOG/.
3176 2005-10-17 Michael Smith <msmith@fluendo.com>
3178 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3179 Check if end time is valid using end time, not start time.
3181 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3183 * check/gst-libs/controller.c: (GST_START_TEST),
3184 (gst_controller_suite):
3185 * libs/gst/controller/gstcontroller.c:
3186 (gst_controlled_property_set_interpolation_mode):
3187 * libs/gst/controller/gstcontroller.h:
3188 * libs/gst/controller/gstinterpolation.c:
3189 * testsuite/controller/.cvsignore:
3190 * testsuite/controller/Makefile.am:
3191 * testsuite/controller/interpolator.c:
3192 merge controller testsuites
3194 remove mem-chunk from docs
3196 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3198 * gst/gstmemchunk.c:
3199 * gst/gstmemchunk.h:
3200 * gst/gsttrashstack.c:
3201 * gst/gsttrashstack.h:
3202 out. get out. you're fired. to the Attic !
3204 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3206 * gst/gstcaps.c: (gst_caps_intersect):
3207 fix signedness issues in a (hopefully) correct way
3208 * gst/gstelement.c: (gst_element_pads_activate):
3210 * gst/gstobject.c: (gst_object_set_parent):
3213 2005-10-17 Julien MOUTTE <julien@moutte.net>
3215 * gst/gstvalue.h: Fix prototypes.
3217 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3219 * docs/gst/gstreamer-sections.txt:
3220 * gst/gst.c: (gst_version_string):
3222 * gst/gstversion.h.in:
3223 * win32/common/libgstreamer.def:
3224 add gst_version_string ()
3226 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3230 * gst/gst.c: (init_post):
3231 * win32/common/config.h.in:
3233 * gst/gstcaps.c: (gst_caps_intersect):
3234 use gint64, the range could be bigger than a guint
3236 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3239 document potential problem in 2038
3241 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3243 * gst/gstcaps.c: (gst_caps_intersect):
3244 Fix guint j diving under 0
3246 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3249 * win32/common/config.h:
3250 * win32/common/config.h.in:
3251 check for process.h, declares getpid() on Windows
3253 include process.h if we have it
3254 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3255 * gst/gstmemchunk.h:
3256 fix signedness issues
3257 * win32/common/libgstreamer.def:
3260 2005-10-16 Julien MOUTTE <julien@moutte.net>
3262 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3263 fix. Because of unsigned ints, caps intersection was going nuts and
3264 trying to access structures with G_MAXUINT index. That fixes
3265 videotestsrc ! ffmpegcolorspace ! fakesink
3266 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3269 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3272 use the gettext macro
3273 * gst/elements/gstelements.c:
3275 * gst/indexers/gstindexers.c:
3276 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3277 * win32/common/config.h:
3279 * win32/common/config.h.in:
3280 add the template to generate config.h
3281 * win32/common/gstenumtypes.c:
3282 * win32/common/gstversion.h:
3285 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3287 * gst/gst.c: (gst_version):
3288 * gst/gstversion.h.in:
3291 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3294 Oops, add missing closing bracket.
3296 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3299 use common m4's for argument checking
3301 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3303 * docs/gst/gstreamer-sections.txt:
3305 Add GST_EVENT_TYPE_NAME() macro.
3307 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3310 * gst/gstpluginfeature.c:
3312 privatize more symbols
3314 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3317 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3318 everything that uses GStreamer API should have the includes
3320 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3322 * docs/gst/gstreamer-sections.txt:
3323 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3325 give each value a _get_type, removes the DATA exports
3327 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3331 remove _gst_registry_auto_load, not used anymore
3332 * gst/gstbin.c: (gst_bin_get_type):
3334 * gst/gstelement.c: (gst_element_get_type):
3336 * gst/gstobject.c: (gst_object_get_type):
3338 * gst/gstpad.c: (gst_pad_get_type):
3340 make _get_type functions similar, fixes data export from library
3342 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3345 correctly make conditionals
3346 * gst/elements/Makefile.am:
3347 * gst/elements/gstelements.c:
3348 fix typo causing fdsrc not to build
3350 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3352 * testsuite/Makefile.am:
3353 * testsuite/bytestream/.cvsignore:
3354 * testsuite/bytestream/Makefile.am:
3355 * testsuite/bytestream/filepadsink.c:
3356 * testsuite/bytestream/gstbstest.c:
3357 * testsuite/bytestream/test1.c:
3358 * testsuite/bytestream/testfile1:
3359 * testsuite/caps/normalisation.c:
3360 * testsuite/caps/random.c: (main):
3361 * testsuite/cleanup/.cvsignore:
3362 * testsuite/cleanup/Makefile.am:
3363 * testsuite/cleanup/cleanup1.c:
3364 * testsuite/cleanup/cleanup2.c:
3365 * testsuite/cleanup/cleanup3.c:
3366 * testsuite/cleanup/cleanup4.c:
3367 * testsuite/cleanup/cleanup5.c:
3368 * testsuite/controller/interpolator.c:
3369 * testsuite/debug/printf_extension.c: (main):
3370 * testsuite/elements/tee.c:
3371 * testsuite/negotiation/.cvsignore:
3372 * testsuite/negotiation/Makefile.am:
3373 * testsuite/negotiation/pad_link.c:
3374 * testsuite/pad/Makefile.am:
3375 * testsuite/pad/chainnopull.c:
3376 * testsuite/pad/getnopush.c:
3377 * testsuite/pad/link.c:
3378 * testsuite/refcounting/sched.c: (create_pipeline):
3379 * testsuite/registry/Makefile.am:
3380 * testsuite/registry/gst-print-formats.c:
3381 * testsuite/schedulers/.cvsignore:
3382 * testsuite/schedulers/142183-2.c:
3383 * testsuite/schedulers/142183.c:
3384 * testsuite/schedulers/143777-2.c:
3385 * testsuite/schedulers/143777.c:
3386 * testsuite/schedulers/147713.c:
3387 * testsuite/schedulers/147819.c:
3388 * testsuite/schedulers/147894-2.c:
3389 * testsuite/schedulers/147894.c:
3390 * testsuite/schedulers/Makefile.am:
3391 * testsuite/schedulers/group_link.c:
3392 * testsuite/schedulers/queue_link.c:
3393 * testsuite/schedulers/relink.c:
3394 * testsuite/schedulers/unlink.c:
3395 * testsuite/schedulers/unref.c:
3396 * testsuite/schedulers/useless_iteration.c:
3397 * testsuite/states/bin.c:
3398 clean out/remove some stuff from the testsuite directories
3400 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3403 check for some headers
3404 * gst/elements/Makefile.am:
3405 * gst/elements/gstelements.c:
3406 don't compile fdsrc without sys/socket.h
3407 * gst/indexers/Makefile.am:
3408 * gst/indexers/gstindexers.c: (plugin_init):
3409 don't compile fileindex without mmap
3411 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3418 * check/Makefile.am:
3419 * docs/gst/Makefile.am:
3420 * examples/helloworld/Makefile.am:
3422 * gst/base/Makefile.am:
3423 * gst/check/Makefile.am:
3424 * gst/elements/Makefile.am:
3425 * gst/indexers/Makefile.am:
3426 * gst/parse/Makefile.am:
3427 * libs/gst/controller/Makefile.am:
3428 * libs/gst/dataprotocol/Makefile.am:
3429 * examples/helloworld/helloworld.c: (event_loop):
3430 compile fixes, though it's not being compiled currently
3432 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3434 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3435 Add some simple tests for the new taglist date API.
3437 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3439 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3440 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3441 Beautify 'last-message' output: print 'none' for buffer timestamps
3442 and durations if none is set; improve alignment with next messages.
3444 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3446 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3447 * gst/gstpluginfeature.h:
3448 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3449 * gst/gstregistry.h:
3450 * docs/gst/gstreamer-sections.txt:
3451 Add new API to check plugin feature version requirements.
3453 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3454 Some basic tests for the above.
3456 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3458 * gst/gststructure.c: (gst_structure_to_string):
3459 guard against NULL printf - happens when for example
3460 a message structure with GstClock gets serialized
3462 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3464 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3465 Fix presumable copy'n'pasto.
3467 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3469 * gst/elements/gstfakesrc.h:
3470 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3471 * gst/elements/gsttypefindelement.c:
3473 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3474 I wonder if this could actually write +2GB files before
3476 2005-10-13 Andy Wingo <wingo@pobox.com>
3478 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3479 Fix Timmeke Waymans bug.
3480 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3481 string of the proper length to gst_caps_from_string. There's a
3482 potential for, before this fix, that this could cause someone
3483 connecting over the network to cause a segfault if the payload is
3486 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3488 * docs/design/draft-push-pull.txt:
3489 * docs/design/part-overview.txt:
3490 * docs/random/TODO-pre-0.9:
3491 * docs/random/old/ChangeLog.gstreamer:
3492 * gst/base/gstpushsrc.c:
3496 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3498 * gst/glib-compat.c: (gst_flags_get_first_value):
3499 * gst/glib-compat.h:
3500 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3501 (gst_value_compare_double), (gst_value_serialize_flags):
3502 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3505 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3508 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3510 * tools/gst-launch.c: (event_loop):
3511 print out clock nicely
3513 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3515 * docs/gst/gstreamer-sections.txt:
3517 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3518 (gst_tag_list_get_date_index):
3519 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3520 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3522 2005-10-13 Julien MOUTTE <julien@moutte.net>
3524 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3525 (gst_collectpads_chain):
3526 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3529 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3531 * docs/gst/gstreamer-sections.txt:
3534 * tools/gst-inspect.c: (main):
3535 * tools/gst-launch.c: (main):
3536 * tools/gst-run.c: (main):
3537 * tools/gst-xmlinspect.c: (main):
3538 fix GOption context leaks
3541 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3545 * win32/common/config.h:
3547 * win32/vs6/grammar.dsp:
3548 * win32/vs6/libgstelements.dsp:
3549 * win32/vs6/libgstreamer.dsp:
3552 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3554 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3555 * gst/base/gstbasesrc.c: (gst_base_src_query):
3556 fix more guint64<->gdouble conversions
3558 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3561 add win32-update target
3562 * win32/common/gstconfig.h:
3563 * win32/common/gstenumtypes.c:
3564 * win32/common/gstenumtypes.h:
3565 * win32/common/gstversion.h:
3566 add files that visual studio can't generate
3568 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3571 add a win32-update target
3574 2005-10-12 Wim Taymans <wim@fluendo.com>
3576 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3577 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3578 * gst/gstelement.c: (gst_element_commit_state),
3579 (gst_element_set_state):
3580 Protect flags with proper lock.
3581 unref provided cached clock in dispose.
3583 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3586 * gst/gstminiobject.h:
3588 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3589 removed unused flags from miniobject
3592 2005-10-12 Wim Taymans <wim@fluendo.com>
3594 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3595 (gst_file_sink_event), (gst_file_sink_render):
3596 Flush before seeking.
3598 2005-10-12 Andy Wingo <wingo@pobox.com>
3600 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3601 always been the case.
3603 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3605 * check/gst/gstbin.c: (GST_START_TEST):
3606 * docs/gst/gstreamer-sections.txt:
3607 * gst/base/gstbasesink.c: (gst_base_sink_init):
3608 * gst/base/gstbasesrc.c: (gst_base_src_init),
3609 (gst_base_src_get_range), (gst_base_src_check_get_range),
3610 (gst_base_src_start), (gst_base_src_stop):
3611 * gst/base/gstbasesrc.h:
3612 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3613 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3614 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3618 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3620 * gst/gstelement.c: (gst_element_is_locked_state),
3621 (gst_element_set_locked_state), (gst_element_commit_state),
3622 (gst_element_set_state):
3624 * gst/gstindex.c: (gst_index_init):
3626 * gst/gstminiobject.h:
3627 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3628 (gst_object_set_parent):
3630 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3631 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3633 * gst/gstpadtemplate.h:
3634 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3635 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3636 * gst/gstpipeline.h:
3637 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3638 (gst_file_index_commit):
3639 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3640 * testsuite/pad/link.c: (gst_test_src_init),
3641 (gst_test_filter_init), (gst_test_sink_init):
3642 * testsuite/states/locked.c: (main):
3643 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3644 moved bitshift from macro to enum definition
3646 2005-10-12 Wim Taymans <wim@fluendo.com>
3648 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3649 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3650 (gst_file_sink_render):
3651 Some more debugging info.
3653 2005-10-12 Wim Taymans <wim@fluendo.com>
3655 * docs/design/part-states.txt:
3656 * tools/gst-launch.c: (main):
3658 Revert non-intentional change.
3660 2005-10-12 Wim Taymans <wim@fluendo.com>
3662 * check/gst/gstbin.c: (GST_START_TEST):
3663 * check/gst/gstelement.c: (GST_START_TEST):
3664 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3665 * check/gst/gstghostpad.c: (GST_START_TEST):
3666 * check/gst/gstpipeline.c: (GST_START_TEST):
3667 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3668 * check/states/sinks.c: (GST_START_TEST):
3669 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3670 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3671 (gst_bin_remove_func), (gst_bin_get_state_func),
3672 (gst_bin_recalc_state), (gst_bin_change_state_func),
3674 * gst/gstelement.c: (gst_element_get_state_func),
3675 (gst_element_get_state), (gst_element_abort_state),
3676 (gst_element_commit_state), (gst_element_set_state),
3677 (gst_element_change_state), (gst_element_change_state_func):
3679 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3680 (gst_pipeline_provide_clock_func):
3681 * gst/gstutils.c: (gst_element_link_pads_filtered):
3682 * tools/gst-launch.c: (main):
3683 * tools/gst-typefind.c: (main):
3684 Use GstClockTime in _get_state() instead of GTimeVal.
3685 Remove old code in gstutils.c
3687 2005-10-12 Andy Wingo <wingo@pobox.com>
3689 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3692 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3693 there is no task. Shouldn't affect any code, as nothing in our
3694 plugins checks this return value.
3695 (gst_pad_stop_task): Also take the stream lock if the pad has no
3698 2005-10-12 Wim Taymans <wim@fluendo.com>
3700 * gst/gstpad.c: (pre_activate), (post_activate),
3701 (gst_pad_activate_pull), (gst_pad_activate_push):
3702 Cleanup activation code. Reset old state if
3705 2005-10-12 Wim Taymans <wim@fluendo.com>
3707 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3708 (gst_base_sink_change_state):
3709 No need to prerol after receiving EOS.
3711 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3712 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3713 * gst/elements/gstidentity.c: (gst_identity_event):
3714 Print events more verbosely.
3716 2005-10-12 Wim Taymans <wim@fluendo.com>
3718 * check/Makefile.am:
3719 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3720 * check/states/sinks2.c:
3721 Moved sinks2 testcode in sinks check.
3723 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3724 (gst_bin_remove_func), (gst_bin_recalc_state),
3725 (gst_bin_change_state_func), (bin_bus_handler):
3726 Fix potential race condition when _get_state() iterated over an
3727 ASYNC element right before it posted a state completion.
3730 Do proper cast here.
3732 * gst/gstevent.c: (gst_event_new_newsegment),
3733 (gst_event_parse_newsegment):
3734 A playback rate of 0.0 is not allowed.
3736 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3738 * win32/common/config.h:
3739 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3740 (_trewinddir), (_ttelldir), (_tseekdir):
3741 * win32/common/dirent.h:
3742 * win32/common/gtchar.h:
3743 * win32/common/libgstbase.def:
3744 * win32/common/libgstreamer.def:
3745 * win32/vs6/grammar.dsp:
3746 * win32/vs6/gst_inspect.dsp:
3747 * win32/vs6/gst_launch.dsp:
3748 * win32/vs6/gstreamer.dsw:
3749 * win32/vs6/libgstbase.dsp:
3750 * win32/vs6/libgstelements.dsp:
3751 * win32/vs6/libgstreamer.dsp:
3752 Visual Studio 6 project files, and a new common directory.
3755 2005-10-11 Wim Taymans <wim@fluendo.com>
3757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3758 (gst_base_sink_do_sync), (gst_base_sink_query),
3759 (gst_base_sink_change_state):
3760 * gst/base/gstbasesink.h:
3761 Correctly parse newsegment info.
3763 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3765 * gst/gst.c: (init_post):
3766 split plugin paths correctly
3768 2005-10-11 Wim Taymans <wim@fluendo.com>
3770 * check/gst/gstevent.c: (GST_START_TEST):
3771 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3772 (gst_base_sink_change_state):
3773 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3774 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3775 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3776 * gst/gstevent.c: (gst_event_new_newsegment),
3777 (gst_event_parse_newsegment):
3779 Added extra flag to newsegment for future API freeze.
3780 Updated check and base elements.
3782 2005-10-11 Julien MOUTTE <julien@moutte.net>
3784 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3785 (gst_collectpads_add_pad), (gst_collectpads_pop),
3786 (gst_collectpads_event), (gst_collectpads_chain):
3787 * gst/base/gstcollectpads.h: Handle EOS correctly.
3789 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3791 * tools/gst-launch.c: (main):
3792 more null protecting
3794 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3796 * gst/gst-i18n-lib.h:
3797 check for ENABLE_NLS, not GETTEXT_PACKAGE
3798 * gst/gstregistry.c: (gst_registry_add_plugin),
3799 (gst_registry_scan_path_level),
3800 (_gst_registry_remove_cache_plugins):
3801 protect possibly NULL strings
3802 * gst/parse/types.h:
3803 config.h already included before
3804 * tools/gst-inspect.c: (main):
3805 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3806 check for ENABLE_NLS, not GETTEXT_PACKAGE
3807 * tools/gst-launch.c: (main):
3808 check for ENABLE_NLS, not GETTEXT_PACKAGE
3810 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3813 if we don't have glib, fail before testing 2.8
3814 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3815 fix a leak, should fix plugins-base testsuite
3817 2005-10-11 Andy Wingo <wingo@pobox.com>
3819 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3820 take the mode we're going to as an arg. Go head and set the mode
3821 and flushing flags now, so that if the activate function starts a
3822 thread all the flags will be in the right state.
3823 (post_activate): Renamed also. Just handle making sure streaming
3824 finishes for the deactivation case, and setting the deactivated
3826 (gst_pad_set_active): Complain loudly if deactivation fails.
3827 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3828 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3829 remove the terrible hack.
3831 2005-10-11 Wim Taymans <wim@fluendo.com>
3833 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3834 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3835 (gst_bin_recalc_state), (gst_bin_change_state_func),
3836 (gst_bin_dispose), (bin_bus_handler):
3838 Prepare to make current EOS message queue more generic.
3841 * gst/gstevent.c: (gst_event_new_newsegment),
3842 (gst_event_parse_newsegment):
3844 Rename base to stream_time.
3849 2005-10-11 Wim Taymans <wim@fluendo.com>
3851 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3852 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3853 (gst_bin_change_state_func), (bin_bus_handler):
3855 Work on proper clock selection.
3857 2005-10-11 Edward Hervey <edward@fluendo.com>
3859 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3860 * libs/gst/controller/gstcontroller.h:
3861 Added GList* version of _remove_properties() in order to be able to wrap
3864 2005-10-11 Wim Taymans <wim@fluendo.com>
3866 * docs/design/part-states.txt:
3869 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3870 (gst_bin_change_state_func), (bin_bus_handler):
3871 Doc updates. Don't distribute the same clock over and over again.
3877 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3878 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3879 (gst_pad_send_event):
3881 Make probe emission threadsafe again.
3882 Register quarks and move _get_name() from utils.
3885 * gst/gstpipeline.c: (gst_pipeline_class_init),
3886 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3887 Only redistribute the clock of it changed.
3889 * gst/gstsystemclock.h:
3894 Moved the _flow_get_name() to GstPad.
3896 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3898 * check/gst-libs/gdp.c: (GST_START_TEST):
3899 * check/gst/gstcaps.c: (GST_START_TEST):
3900 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3901 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3902 (gst_dp_packet_from_caps):
3903 fix more valgrind warnings before turning up the heat
3905 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3907 * gst/parse/grammar.y:
3908 some cleanup before the hacking
3910 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3912 * gst/base/gstbasesrc.c: (gst_base_src_query):
3914 * gst/gstutils.c: (gst_guint64_to_gdouble),
3915 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3917 externalize, basesrc uses it
3918 obviously the implementation needs testing
3920 2005-10-10 Wim Taymans <wim@fluendo.com>
3922 * tests/sched/Makefile.am:
3923 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3924 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3926 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3928 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3929 apparently converting from guint64 to double is not implemented
3932 2005-10-10 Wim Taymans <wim@fluendo.com>
3934 * check/Makefile.am:
3935 * check/generic/states.c: (GST_START_TEST):
3936 * check/gst/gstbin.c: (GST_START_TEST):
3937 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3938 * check/states/sinks.c: (GST_START_TEST):
3939 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3941 Check fixes, use API as stated in design docs, remove hacks.
3943 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3944 (gst_base_sink_change_state):
3945 Catch stopping our task while we're shutting down.
3947 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3948 (gst_bin_remove_func), (gst_bin_get_state_func),
3949 (gst_bin_recalc_state), (gst_bin_change_state_func),
3952 * gst/gstelement.c: (gst_element_init),
3953 (gst_element_get_state_func), (gst_element_abort_state),
3954 (gst_element_commit_state), (gst_element_lost_state),
3955 (gst_element_set_state), (gst_element_change_state),
3956 (gst_element_change_state_func):
3958 New state change algorithm (see #318116)
3960 * gst/gstpipeline.c: (gst_pipeline_class_init),
3961 (gst_pipeline_init), (gst_pipeline_set_property),
3962 (gst_pipeline_get_property), (do_pipeline_seek),
3963 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3964 * gst/gstpipeline.h:
3965 Remove crude state change hacks.
3970 * tools/gst-launch.c: (main):
3971 Fixes for state change. Needs some more work to fully use the
3974 2005-10-10 Andy Wingo <wingo@pobox.com>
3976 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3978 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3979 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3982 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3984 * gst/gstiterator.c: (gst_iterator_new):
3985 Fix my previous commit: GTypes passed to gst_iterator_new()
3986 can be fundamental types.
3988 2005-10-10 Wim Taymans <wim@fluendo.com>
3990 * gst/gstelement.c: (gst_element_iterate_pad_list),
3991 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3992 (gst_element_iterate_sink_pads):
3993 Use src/sink pads lists for the respective iterators instead
3996 2005-10-10 Andy Wingo <wingo@pobox.com>
3998 Merged in popt removal + GOption addition patch from Ronald, bug
4001 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4002 GstElement macros around, remove popt-related symbols, add goption
4005 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4007 * docs/gst/Makefile.am:
4008 * docs/libs/Makefile.am: No POPT_CFLAGS.
4010 * examples/manual/Makefile.am:
4011 * docs/manual/basics-init.xml: Doc updates with an example.
4013 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4014 (gst_init), (parse_one_option), (parse_goption_arg):
4015 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4016 bit of hand merging and debugging to get the GOption stuff working
4019 * tests/Makefile.am:
4020 * tools/Makefile.am:
4021 * tools/gst-inspect.c: (main):
4022 * tools/gst-launch.c: (main):
4023 * tools/gst-run.c: (main):
4024 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4026 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4028 * gst/gstiterator.c: (gst_iterator_new):
4029 Add assertions to make sure passed GType is likely to really
4030 be a GType (as the compiler won't catch it if the size and
4031 GType arguments get mixed up, see #318447).
4033 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4035 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4037 * gst/gstbin.c: (gst_bin_iterate_sorted):
4038 Pass GType and size arguments to gst_iterator_new() in the right
4039 order (maybe we should make _new() take the GType as first argument
4040 just like _new_list()?) (#318447).
4043 2005-10-10 Wim Taymans <wim@fluendo.com>
4045 * gst/gstelement.c: (gst_element_finalize):
4046 And free the GStaticRecMutex too
4048 2005-10-10 Andy Wingo <wingo@pobox.com>
4050 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4051 Allocate and free the mutex properly.
4053 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4055 (GstElement): The state_lock is now recursive. Rebuild your
4056 plugins, suckers. Old macros adapted.
4058 * docs/gst/gstreamer-sections.txt: Doc updates.
4061 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4062 (g_static_rec_cond_wait): Ported from state changes patch, while
4063 we wait on bug #317802 to be solved in a well-distributed GLib.
4065 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4066 gst_element_change_state, variable name changes.
4067 (gst_element_change_state): Split out of gst_element_set_state in
4068 preparation for the state change merge. Doesn't pay attention to
4069 the 'transition' argument.
4070 (gst_element_set_state): Updates, hopefully purely cosmetic.
4071 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4073 (gst_element_get_state_func): Renamed from get_state, cosmetic
4076 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4078 * gst/elements/gstelements.c:
4079 * win32/GStreamer.vcproj:
4081 * win32/dirent.c: (_tseekdir):
4082 * win32/gst-inspect.vcproj:
4083 * win32/gst-launch.vcproj:
4084 * win32/gstconfig.h:
4085 * win32/gstelements.vcproj:
4086 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4087 * win32/gstreamer.def:
4089 updates for the win32 build (patch from Sebastien Moutte)
4091 2005-10-10 Andy Wingo <wingo@pobox.com>
4093 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4094 gst_bin_get_state, cleaned up (but no logic changes).
4095 (bin_element_is_sink): Comment updates.
4096 (sink_iterator_filter): Remove needless cast.
4097 (gst_bin_iterate_sinks): Doc update.
4098 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4099 cleaned up (but no logic changes).
4101 * check/states/sinks.c (test_src_sink): Cleanups from the state
4103 (test_livesrc_sink): Sync on the state.
4105 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4106 the state change patch.
4108 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4111 * check/gst/gstbin.c: Merge in some style fixes and additional
4112 checks from Wim's state change patch.
4114 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4116 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4117 (gst_type_find_helper):
4118 Check whether we have the requested data already in our list of
4119 cached buffers before pulling a new buffer; also make the buffer
4120 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4122 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4127 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4128 don't use long long, it's not portable. Replacing with
4129 gint64 seems to work; let's hope no skeletons fall out of the closet.
4131 2005-10-10 Andy Wingo <wingo@pobox.com>
4133 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4135 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4137 * docs/gst/gstreamer-sections.txt:
4142 * gst/gstmessage.c: (gst_message_parse_state_changed):
4145 more docs, fix compilation
4147 2005-10-09 Philippe Khalaf <burger@speedy.org>
4149 Fixed a few forgotten variables on previous commit
4151 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4153 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4154 Fix evil typefind crasher: getrange() might return a short
4155 buffer at the end of a file, but gst_type_find_peek() must
4156 either return the full data as requested or NULL, but
4157 never a short buffer.
4159 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4161 * gst/gstmessage.c: (gst_message_new_state_changed),
4162 (gst_message_parse_state_changed):
4164 don't use "new", it's a C++ keyword
4166 2005-10-08 Wim Taymans <wim@fluendo.com>
4168 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4169 * gst/gstelement.c: (gst_element_post_message):
4170 * gst/gstpipeline.c: (gst_pipeline_change_state):
4171 Small docs and debug updates.
4173 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4175 * docs/gst/gstreamer-sections.txt:
4176 * gst/gstelementfactory.c:
4181 2005-10-08 Wim Taymans <wim@fluendo.com>
4183 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4184 (gst_bin_dispose), (bin_bus_handler):
4185 Fix typos, add comments.
4186 Clear EOS list when going to PAUSED from any direction and do it
4187 in a threadsafe way.
4188 Get base time in a threadsafe way too.
4189 Fix confusing debug in the change_state function.
4190 Various other small cleanups.
4192 * gst/gstelement.c: (gst_element_post_message):
4193 Fix very verbose bus posting code.
4195 * gst/gstpipeline.c: (gst_pipeline_class_init),
4196 (gst_pipeline_set_property), (gst_pipeline_get_property),
4197 (gst_pipeline_change_state):
4198 Small ARG_ -> PROP_ cleanup
4200 2005-10-08 Wim Taymans <wim@fluendo.com>
4202 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4203 Do a less CPU demanding EOS check because we can.
4205 2005-10-08 Wim Taymans <wim@fluendo.com>
4207 * libs/gst/dataprotocol/dataprotocol.c:
4208 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4209 (gst_dp_packet_from_event):
4210 * libs/gst/dataprotocol/dataprotocol.h:
4211 * libs/gst/dataprotocol/dp-private.h:
4212 It's about time we bump the version number.
4213 Since event types don't fit in the guint8 anymore describing
4214 the payload type, make payload type 16 bits wide.
4216 2005-10-08 Wim Taymans <wim@fluendo.com>
4218 * docs/design/part-TODO.txt:
4219 * docs/design/part-clocks.txt:
4220 * docs/design/part-events.txt:
4221 * docs/design/part-gstbin.txt:
4222 * docs/design/part-gstelement.txt:
4223 * docs/design/part-gstpipeline.txt:
4224 * docs/design/part-live-source.txt:
4225 * docs/design/part-messages.txt:
4226 * docs/design/part-overview.txt:
4227 * docs/design/part-states.txt:
4230 2005-10-08 Wim Taymans <wim@fluendo.com>
4234 Fix event quark registration.
4235 Add some space between events so we can insert them in the
4238 2005-10-08 Wim Taymans <wim@fluendo.com>
4240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4241 (gst_base_sink_handle_buffer):
4248 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4249 (gst_queue_set_property), (gst_queue_get_property):
4251 Remove old unused properties.
4253 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4254 * docs/gst/gstreamer-sections.txt:
4257 * gst/gstminiobject.c:
4258 * gst/gstminiobject.h:
4262 lots of new docs and doc fixes
4264 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4266 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4268 * gst/gstregistry.c: (gst_registry_lookup_locked),
4269 (gst_registry_scan_path_level):
4270 * gst/gstregistryxml.c: (load_plugin):
4271 Only ever load one plugin for a given plugin basename.
4272 This ensures correct overriding of GST_PLUGIN_PATH over
4273 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4274 system installed plugins.
4276 2005-10-08 Wim Taymans <wim@fluendo.com>
4278 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4279 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4280 Prepare for doing QOS.
4282 2005-10-08 Wim Taymans <wim@fluendo.com>
4284 * check/gst/gstbin.c: (GST_START_TEST):
4285 * check/pipelines/cleanup.c: (GST_START_TEST):
4286 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4287 Allow new clock message too.
4289 2005-10-08 Wim Taymans <wim@fluendo.com>
4291 * gst/gstmessage.c: (gst_message_new_error),
4292 (gst_message_new_warning), (gst_message_new_tag),
4293 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4294 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4295 (gst_message_new_segment_start), (gst_message_new_segment_done),
4296 (gst_message_parse_state_changed),
4297 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4298 (gst_message_parse_new_clock):
4300 Also carry the clock in question.
4302 2005-10-08 Wim Taymans <wim@fluendo.com>
4304 * gst/gstmessage.c: (gst_message_new_custom),
4305 (gst_message_new_eos), (gst_message_new_error),
4306 (gst_message_new_warning), (gst_message_new_tag),
4307 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4308 (gst_message_new_new_clock), (gst_message_new_segment_start),
4309 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4310 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4313 Added clock related messages.
4315 * gst/gstpipeline.c: (gst_pipeline_change_state):
4316 Post message when the clock changed.
4318 * tools/gst-launch.c: (event_loop):
4321 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4323 * tools/gst-inspect.c: (print_element_properties_info):
4324 Can't pass NULL strings to g_print() on windows.
4326 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4329 * docs/gst/Makefile.am:
4330 * docs/gst/gstreamer-docs.sgml:
4331 * docs/gst/running.xml:
4332 * docs/version.entities.in:
4333 add a chapter on running GStreamer.
4334 document GST_DEBUG and GST_PLUGIN* env vars
4336 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4341 remove PLUGINS_BUILDDIR stuff
4342 * gst/gst.c: (init_post):
4343 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4345 remove, it was condescending and not needed
4347 2005-10-08 Wim Taymans <wim@fluendo.com>
4349 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4350 (gst_base_sink_handle_object), (gst_base_sink_event),
4351 (gst_base_sink_wait), (gst_base_sink_handle_event),
4352 (gst_base_sink_change_state):
4353 * gst/base/gstbasesink.h:
4354 Repost EOS message while going to PLAYING if still EOS.
4355 Make sure that when receiving a FLUSH_START we don't attempt
4356 to sync on the clock anymore.
4358 2005-10-08 Wim Taymans <wim@fluendo.com>
4360 * tools/gst-launch.c: (event_loop):
4361 Better message printout.
4363 2005-10-08 Wim Taymans <wim@fluendo.com>
4365 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4366 (gst_bin_child_proxy_get_children_count):
4367 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4368 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4369 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4370 (gst_child_proxy_set_valist):
4371 * gst/parse/grammar.y:
4372 Make ChildProxy threadsafe and fix mem leaks.
4374 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4376 * gst/gst.c: (init_post):
4377 debug the GST_PLUGIN_ env vars
4379 2005-10-08 Wim Taymans <wim@fluendo.com>
4381 * check/gst/gstbin.c: (GST_START_TEST):
4382 * check/gst/gstmessage.c: (GST_START_TEST):
4383 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4384 * gst/gstelement.c: (gst_element_commit_state),
4385 (gst_element_lost_state):
4386 * gst/gstmessage.c: (gst_message_new_state_changed),
4387 (gst_message_parse_state_changed):
4389 * tools/gst-launch.c: (event_loop):
4390 Added extra field to STATE_CHANGE message with the pending
4391 state, which will be different from the new state soon.
4393 2005-10-08 Wim Taymans <wim@fluendo.com>
4395 * gst/gstbus.c: (gst_bus_pop):
4397 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4398 Small cleanups and doc updates.
4400 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4402 * gst/gst.c: (init_pre):
4403 * gst/gstbin.c: (gst_bin_add_func):
4404 log distributing clocks and base time
4405 * gst/gstregistry.c: (gst_registry_add_plugin),
4406 (gst_registry_scan_path_level), (gst_registry_scan_path):
4407 clean up the debugging output a little
4408 * gst/gstutils.c: (gst_element_state_get_name):
4409 warn about a memleak (I've actually seen this be used, though
4410 it was probably a bug)
4412 2005-10-07 Wim Taymans <wim@fluendo.com>
4414 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4415 (gst_base_src_init), (gst_base_src_default_newsegment),
4416 (gst_base_src_newsegment), (gst_base_src_do_seek),
4417 (gst_base_src_loop), (gst_base_src_start):
4418 * gst/base/gstbasesrc.h:
4419 Make the newsegment event customizable by subclasses.
4421 2005-10-07 Wim Taymans <wim@fluendo.com>
4423 * gst/gstevent.c: (gst_event_new_buffersize),
4424 (gst_event_parse_buffersize):
4426 New event for future idea.
4428 2005-10-07 Andy Wingo <wingo@pobox.com>
4430 * gst/gstelement.c (gst_element_post_message): Doc update.
4432 * docs/gst/gstreamer-sections.txt: Update.
4434 * gst/gstmessage.c (gst_message_new_application): Made into a
4435 function like honest API calls.
4436 (gst_message_new_element): New message type.
4438 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4440 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4441 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4444 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4445 NO_PREROLL from gst_element_change_state to fall through.
4447 2005-10-07 Wim Taymans <wim@fluendo.com>
4449 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4450 (gst_ghost_pad_do_activate_push):
4451 Activating a ghostpad with no internal pad in push mode
4454 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4457 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4458 Fixes compilation on Windows.
4460 2005-10-07 Michael Smith <msmith@fluendo.com>
4462 * tools/gst-inspect.c:
4463 Print out feature and plugin count at the end when printing out
4466 2005-10-04 Michael Smith <msmith@fluendo.com>
4468 * gst/gsterror.c: (_gst_stream_errors_init):
4469 Add another error string used in a few existing plugins.
4472 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4473 * tools/gst-inspect.c: (print_element_info):
4474 When a feature disappears from a plugin (and the feature exists in
4475 the cached registry file), things went horribly wrong. This isn't a
4476 complete fix, we should actually be removing the 'missing' features
4477 from the features list when we load the actual plugin. That's not
4480 2005-10-04 Johan Dahlin <johan@gnome.org>
4482 * check/gst/gstiterator.c: (GST_START_TEST):
4483 * gst/gstbin.c: (gst_bin_iterate_elements),
4484 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4485 * gst/gstelement.c: (gst_element_iterate_pads):
4486 * gst/gstformat.c: (gst_format_iterate_definitions):
4487 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4488 (gst_iterator_new_list), (gst_iterator_filter):
4489 * gst/gstiterator.h:
4490 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4491 Add a GType to GstIterator, update callsites and tests.
4493 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4495 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4496 give events a chance to be handled by event probes when the pad
4499 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4501 * gst/gstevent.c: (gst_event_type_get_name),
4502 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4504 add string representations for event types
4506 2005-10-06 Wim Taymans <wim@fluendo.com>
4508 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4509 Don't use NULL pointers.
4511 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4513 * gst/gst_private.h:
4517 * gst/gstpluginfeature.c:
4518 widen the debug category in output to fit the biggest one we have
4519 add a bus category and use it
4520 play with the colors
4521 fix up some categories
4523 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4525 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4526 add push activation of sink ghost pads.
4527 Andye, please verify
4529 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4531 * gst/gstutils.c: (gst_element_link_pads):
4532 fix a bug in the case where neither element has a pad
4533 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4534 add a test for that case
4536 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4538 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4539 emit have-data before checking for peers. This allows
4540 for probe handlers to connect elements. This helps autopluggers.
4541 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4543 add six checks, linked/unlinked with no/true/false probe
4545 2005-10-04 Wim Taymans <wim@fluendo.com>
4547 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4548 (gst_fake_sink_event), (gst_fake_sink_preroll),
4549 (gst_fake_sink_render), (gst_fake_sink_change_state):
4550 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4551 (gst_fake_src_get_property), (gst_fake_src_create),
4552 (gst_fake_src_stop):
4553 * gst/elements/gstidentity.c: (gst_identity_stop):
4554 Protect last_message with lock.
4556 2005-10-04 Edward Hervey <edward@fluendo.com>
4559 Added precision in the comments for GST_FORMAT_DEFAULT
4561 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4563 * tools/gst-launch.c: (main):
4564 Don't try to run erroneous pipelines.
4566 2005-10-04 Julien MOUTTE <julien@moutte.net>
4568 * gst/gstbus.c: We don't need this header.
4570 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4575 === release 0.9.3 ===
4577 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4581 Releasing 0.9.3, "Unregistered"
4583 2005-10-03 Andy Wingo <wingo@pobox.com>
4585 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4586 whereby calling a pad's activatepush() function can start a thread
4587 that starts to push or pull before the pad gets the FLUSHING flag
4588 unset. Hack around it by holding the stream lock until the flag is
4589 set. Need to replace this with a proper solution. Together with
4590 the ghost pad fixes, this fixes mp3 playing/tagreading.
4592 * docs/design/part-gstghostpad.txt: Add a note about activation of
4593 proxy pads outside of ghost pads.
4595 * gst/gstghostpad.c: Implement the ghost pad activation design.
4597 2005-10-02 Andy Wingo <wingo@pobox.com>
4599 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4600 It is volatile, after all.
4602 * docs/design/part-gstghostpad.txt: Flesh out activation with
4605 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4608 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4611 Fix (unused) AM_CONDITIONAL tests.
4613 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4615 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4617 * gst/gstutils.c: (gst_pad_query_convert):
4618 Add assertion that makes sure src_val is >=0, just like
4619 gst_query_new_convert() has. (#315895)
4621 2005-09-30 Edward Hervey <edward@fluendo.com>
4623 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4624 Let's not iterate pads we're not interested in, it avoids getting
4625 sky-high refcounts on sinkpad.
4627 2005-09-30 Wim Taymans <wim@fluendo.com>
4629 * gst/gstelement.c: (gst_element_set_state),
4630 (gst_element_change_state):
4631 Small tweak, element in ASYNC remains ASYNC.
4633 2005-09-30 Wim Taymans <wim@fluendo.com>
4635 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4636 Only error is an error.
4638 * gst/gstbin.c: (gst_bin_change_state):
4641 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4642 Also call pad_block in pad alloc.
4644 * gst/gstutils.c: (gst_flow_get_name):
4647 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4649 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4650 (gst_base_src_get_range):
4651 Fix documentation typos. Add some more debug info.
4653 2005-09-29 David Schleef <ds@schleef.org>
4655 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4656 more end-user friendly.
4657 * tools/gst-inspect.c: (main): Check if command-line argument is
4658 a file and attempt to load that file as a plugin.
4660 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4662 * check/gst/gstbin.c:
4663 * check/states/sinks.c:
4664 fix tests for the new warning
4665 * check/gst/gstpipeline.c:
4666 add a test for pipeline and bus interaction
4668 elements should be NULL if they get disposed; add a warning if not
4670 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4673 for 2.6 refcounting, make debug log more correct by printing
4674 the actual refcounts at the time of swap (Wim)
4676 2005-09-29 Andy Wingo <wingo@pobox.com>
4678 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4679 removes signal watches previously added via
4680 gst_bus_add_signal_watch.
4681 (gst_bus_add_signal_watch): Don't return the source id, just store
4682 it on the bus if there wasn't an id already.
4684 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4685 add_signal_watch and remove_signal_watch.
4687 2005-09-29 Edward Hervey <edward@fluendo.com>
4689 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4690 Better if we actually iterate the list :)
4692 2005-09-29 Wim Taymans <wim@fluendo.com>
4694 * check/gst/gstbin.c: (GST_START_TEST):
4695 Change for new bus API.
4697 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4698 (send_messages), (GST_START_TEST), (gstbus_suite):
4699 Change for new bus signal API.
4701 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4702 (gst_bus_source_prepare), (gst_bus_source_check),
4703 (gst_bus_create_watch), (gst_bus_add_watch_full),
4704 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4705 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4707 Remove support for multiple GSources operating on different
4708 message types as it is too complex and unneeded when using
4710 Added support for receiving signals from the bus.
4712 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4714 * docs/libs/tmpl/gstdataprotocol.sgml:
4715 * docs/manual/advanced-dataaccess.xml:
4716 * gst/elements/gstcapsfilter.c:
4718 rename filter-caps to caps property
4720 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4722 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4723 More robust fraction string parsing.
4725 * docs/pwg/appendix-porting.xml:
4726 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4728 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4730 * gst/gstcaps.c: (gst_caps_do_simplify):
4731 Thou shalt not free a structure and then continue using it
4732 in the next loop iteration.
4734 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4736 Add test case for caps simplification.
4738 2005-09-29 Wim Taymans <wim@fluendo.com>
4740 * check/gst/gstbin.c: (GST_START_TEST):
4743 2005-09-29 Wim Taymans <wim@fluendo.com>
4745 * check/gst/gstbin.c: (GST_START_TEST):
4748 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4749 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4750 (find_element), (gst_bin_sort_iterator_next),
4751 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4752 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4753 (gst_bin_change_state), (gst_bin_dispose):
4754 A bin does not have a bus, it gets the bus from the parent.
4756 * gst/gstelement.c: (gst_element_requires_clock),
4757 (gst_element_provides_clock), (gst_element_is_indexable),
4758 (gst_element_is_locked_state), (gst_element_change_state),
4759 (gst_element_set_bus_func):
4762 * gst/gstpipeline.c: (gst_pipeline_class_init),
4763 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4764 The pipeline provides a bus.
4766 2005-09-28 Johan Dahlin <johan@gnome.org>
4768 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4769 gst_structure_get_enum instead of gst_structure_get_int
4771 * gst/gststructure.c (gst_structure_get_enum): Impl.
4773 * gst/gststructure.h (gst_structure_get_enum): Add
4775 * docs/gst/gstreamer-sections.txt: Ditto
4777 * gst/gstmessage.c (gst_message_new_state_changed): Use
4778 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4779 which does introspection.
4780 Reviewed by Christian Schaller
4782 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4784 * gst/gstinfo.c: (gst_debug_log_default):
4785 don't do dummy g_strdup()s
4786 * libs/gst/controller/gstcontroller.c:
4787 (on_object_controlled_property_changed),
4788 (gst_controlled_property_new), (gst_controller_new_valist),
4789 (gst_controller_new_list),
4790 (gst_controller_remove_properties_valist), (gst_controller_set),
4791 (gst_controller_get), (gst_controller_sync_values),
4792 (gst_controller_get_value_array), (_gst_controller_class_init),
4793 (gst_controller_get_type):
4794 * libs/gst/controller/gstcontroller.h:
4795 * libs/gst/controller/gstinterpolation.c:
4796 (gst_controlled_property_find_timed_value_node):
4797 convert // to /**/ comments
4799 2005-09-28 Wim Taymans <wim@fluendo.com>
4801 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4802 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4803 (gst_bus_sync_signal_handler):
4805 Added async-message and sync-message signals to the bus.
4806 Added helper BusFunc to emit signals for all posted messages.
4808 * gst/gstmessage.c: (gst_message_type_get_name),
4809 (gst_message_type_to_quark), (gst_message_get_type):
4811 Register quarks for message names.
4813 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4815 * docs/libs/gstreamer-libs-sections.txt:
4816 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4817 (gst_controller_new_list):
4818 * libs/gst/controller/gstcontroller.h:
4819 added another constructor for language bindings
4821 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4823 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4827 * gst/gstinfo.c: (_gst_debug_init):
4828 slightly more readable color for refcount debugging
4830 2005-09-28 Wim Taymans <wim@fluendo.com>
4832 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4833 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4834 (find_element), (gst_bin_sort_iterator_next),
4835 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4836 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4837 (gst_bin_change_state), (gst_bin_dispose):
4838 Small doc fixes. get_clock -> provide_clock.
4840 * gst/gstelement.c: (gst_element_class_init),
4841 (gst_element_provides_clock), (gst_element_provide_clock),
4842 (gst_element_get_clock), (gst_element_commit_state),
4843 (gst_element_lost_state):
4845 Make get/set_clock() symetric. Add provide_clock vmethod since
4846 that is actually what this function does.
4848 * gst/gstpipeline.c: (gst_pipeline_class_init),
4849 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4850 (gst_pipeline_get_clock):
4851 get_clock -> provide_clock.
4853 2005-09-28 Andy Wingo <wingo@pobox.com>
4855 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4856 lieu of real docs...
4858 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4860 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4862 * gst/elements/gstcapsfilter.c:
4863 * gst/elements/gstfakesink.c:
4864 * gst/elements/gstfakesrc.c:
4865 * gst/elements/gstfdsink.c:
4866 * gst/elements/gstfdsrc.c:
4867 * gst/elements/gstfilesink.c:
4868 * gst/elements/gstfilesrc.c:
4869 * gst/elements/gstidentity.c:
4870 * gst/elements/gsttee.c:
4871 * gst/elements/gsttypefindelement.c:
4872 Make element details static.
4874 2005-09-28 Wim Taymans <wim@fluendo.com>
4876 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4877 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4878 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4879 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4880 (gst_bin_change_state), (gst_bin_dispose):
4881 Some documentation updates.
4882 Clean up dispose handlers.
4884 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4885 * gst/gstpad.c: (gst_pad_dispose):
4886 Clean up dispose handler.
4888 * gst/gstpipeline.c: (gst_pipeline_change_state):
4889 Removed spurious UNLOCK.
4891 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4893 * docs/gst/gstreamer-sections.txt:
4894 * gst/base/gstbasesrc.h:
4899 * gst/gstpipeline.c:
4900 * gst/gstpipeline.h:
4903 added two new functions to the docs
4904 documents all undocumented GstXXXFlags
4905 completed some incomplete docs
4907 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4909 * gst/gstbin.c: (gst_bin_dispose):
4910 * gst/gstelement.c: (gst_element_dispose):
4911 remove now useless and leaky resurrection code in dispose
4912 * gst/base/gstbasesrc.c: (gst_base_src_init):
4913 * gst/gstelementfactory.c: (gst_element_factory_create):
4914 * gst/gstobject.c: (gst_object_set_parent):
4917 2005-09-27 Wim Taymans <wim@fluendo.com>
4919 * docs/design/part-TODO.txt:
4922 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4923 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4924 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4925 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4926 (gst_bin_change_state):
4928 Remove element variable, we keep element info in the iterator now.
4930 2005-09-27 Andy Wingo <wingo@pobox.com>
4932 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4935 2005-09-27 Wim Taymans <wim@fluendo.com>
4937 * check/gst/gstbin.c: (GST_START_TEST):
4938 Enable check that works now.
4940 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4941 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4942 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4943 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4944 (gst_bin_change_state):
4946 Redid the state change algorithm using a topological sort algo.
4947 Handles all cases correctly.
4948 Exposed iterator for state change order.
4951 Temp storage for state changes. Need to get rid of this soon.
4953 2005-09-27 Wim Taymans <wim@fluendo.com>
4955 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4956 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4957 (link_fold_func), (gst_pad_proxy_setcaps):
4958 Leak fixes, the fold functions need to unref the passed object and
4959 _get_parent_*() returns ref to parent.
4961 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4963 * check/gst/gstbuffer.c: (test_make_writable):
4964 Plug leak in test case and fix 'make check-valgrind'
4966 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4968 * gst/gstbuffer.c: (gst_subbuffer_init):
4969 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4970 works correctly in all circumstances (we could have just copied
4971 the parent buffer's readonly flag, but conceptually it seems
4972 cleaner to mark all subbuffers as read-only). (based on patch
4973 by Alessandro Decina, #314710).
4975 * check/gst/gstbuffer.c: (create_read_only_buffer),
4976 (test_make_writable), (test_subbuffer_make_writable),
4978 Add some tests for gst_buffer_make_writable().
4980 2005-09-27 Wim Taymans <wim@fluendo.com>
4982 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4983 use gst_object_has_ancestor().
4985 * gst/gstobject.c: (gst_object_has_ancestor):
4987 gst_object_has_ancestor() copied from gstbin.c as it is a
4990 * tests/instantiate/create.c: (create_all_elements):
4991 * tests/lat.c: (handoff_src), (handoff_sink):
4992 * tests/sched/runxml.c: (main):
4993 * tests/seeking/seeking1.c: (main):
4994 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4996 Fix compilation of some tests.
4998 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5001 Remove comment. GST_TYPE_G_ERROR is here to stay,
5002 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5005 2005-09-26 Wim Taymans <wim@fluendo.com>
5007 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5008 Added check that shows error in state change order.
5010 2005-09-26 Wim Taymans <wim@fluendo.com>
5012 * gst/gstbin.c: (gst_bin_change_state):
5013 Make state change function use 3 queues again, we were
5014 adding elements in the wrong order.
5016 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5019 * gst/gstpad.c: (gst_pad_dispose):
5020 Added some debug info first.
5022 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5024 * docs/design/draft-push-pull.txt:
5025 * docs/design/part-events.txt:
5026 * docs/design/part-overview.txt:
5027 * docs/design/part-scheduling.txt:
5028 Replace all _pull_region() with _pull_range()
5030 2005-09-26 Andy Wingo <wingo@pobox.com>
5032 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5034 * check/gst-libs/controller.c: Update for controller api change.
5037 * tests/Makefile.am:
5038 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5039 over by GLib bug 118439.
5041 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5042 routines to a function.
5044 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5046 * libs/gst/controller/gsthelper.c:
5047 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5048 (gst_object_sync_values): Renamed from sink_values. Ugh.
5050 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5052 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5053 Renamed from controller_key, as it is exported.
5055 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5057 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5062 * gst/gstpadtemplate.h:
5065 * gst/gstqueryutils.c:
5066 * gst/gstqueryutils.h:
5067 remove queryutils headers after moving the two used functions
5068 to gstquery. also fixes build problem for gstsiddec
5070 2005-09-26 Michael Smith <msmith@fluendo.com>
5072 * tools/gst-launch.1.in:
5073 Correct documentation in manpage of debug syntax
5075 2005-09-26 Wim Taymans <wim@fluendo.com>
5077 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5078 (gst_base_src_is_seekable), (gst_base_src_change_state):
5079 Some more debugging info.
5081 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5083 * docs/gst/gstreamer-sections.txt:
5084 * gst/base/gstbasetransform.h:
5088 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5090 * docs/gst/.cvsignore:
5091 * docs/gst/tmpl/.cvsignore:
5092 * docs/gst/tmpl/gstpipeline.sgml:
5093 * docs/gst/tmpl/gstplugin.sgml:
5094 * gst/gstpipeline.c:
5097 inlined the last two docs files
5098 removed the tmpl directory from cvs (no more conflicts here!)
5100 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5102 * docs/gst/gstreamer-sections.txt:
5103 * docs/gst/tmpl/.cvsignore:
5104 * docs/gst/tmpl/gstpad.sgml:
5105 * docs/gst/tmpl/gstpadtemplate.sgml:
5107 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5108 (gst_pad_finalize), (gst_pad_set_pad_template):
5110 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5111 (gst_pad_template_class_init), (gst_pad_template_init),
5112 (gst_pad_template_dispose), (name_is_valid),
5113 (gst_static_pad_template_get), (gst_pad_template_new),
5114 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5115 (gst_pad_template_pad_created):
5116 * gst/gstpadtemplate.h:
5117 inlined two more docs
5118 factored gstpadtemplate out of gstpad
5120 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5122 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5123 (test_children_state_change_order_semi_sink):
5124 Fix test case: we can't rely on a fixed state change order when
5125 going from READY => PAUSED because the sink might commit its
5126 new state first when the first buffer created by the source
5127 reaches the sink before the source has finished its change state.
5128 (Test case still fails at times, see #316856, comment 5 onwards)
5130 2005-09-24 Wim Taymans <wim@fluendo.com>
5132 * docs/design/part-events.txt:
5133 * docs/design/part-gstbus.txt:
5134 * docs/design/part-gstpipeline.txt:
5135 * docs/design/part-messages.txt:
5136 * docs/design/part-overview.txt:
5137 * docs/design/part-segments.txt:
5144 * gst/gstiterator.c:
5145 Various documentation updates.
5147 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5150 Well, that's embarassing. Luckily we weren't using
5151 GST_CLOCK_DIFF anywhere.
5153 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5155 * common/gtk-doc.mak:
5156 don't fail on building XML, FC4 slave shows a bunch of doc
5157 missing bits that I don't get
5159 * gst/gstpipeline.c:
5160 * gst/gststructure.c:
5163 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5165 * docs/design/part-gstbin.txt:
5166 * docs/design/part-gstbus.txt:
5168 Add blurb about how the bus goes into flushing mode and
5169 drops all messages when its bin goes from READY into NULL
5172 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5174 * docs/gst/gstreamer-sections.txt:
5175 * gst/gststructure.c: (gst_structure_get_clock_time):
5176 * gst/gststructure.h:
5177 add a method to get a GstClockTime out of a structure
5179 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5181 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5182 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5183 Added test to check state change order in bins (can still be made
5184 to fail here under heavy disk load; bails out with 'Push on pad
5185 fakesink:sink0, but it was not activated in push mode').
5187 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5188 Fix state change order when there is only a semi sink (#316856)
5190 * gst/gstbus.c: (gst_bus_class_init):
5191 Use _class_peek_parent(), not _class_ref(); fix docs to say
5192 'default main context' instead of 'mainloop' where that is
5195 * gst/gstelement.c: (gst_element_commit_state),
5196 (gst_element_set_state):
5197 Fix typos in debug messages
5199 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5202 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5203 * gst/gstpluginfeature.c:
5206 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5207 change an assert into an error until it gets fixed properly
5209 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5211 * docs/gst/gstreamer-sections.txt:
5212 * docs/gst/tmpl/.cvsignore:
5213 * docs/gst/tmpl/gstelement.sgml:
5214 * docs/gst/tmpl/gstinfo.sgml:
5215 * docs/gst/tmpl/gstobject.sgml:
5220 * gst/gstobject.c: (gst_object_class_init):
5222 inlined 3 more biiiig doc files and added some missing docs on the fly
5224 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5226 * check/gst/.cvsignore:
5227 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5228 * gst/gstregistryxml.c: (load_plugin),
5229 (gst_registry_xml_save_plugin):
5230 put back source in registry. add checks for find_plugin.
5231 * testsuite/states/bin.c: (assert_state), (empty_bin),
5232 (test_adding_one_element), (main):
5233 * testsuite/states/locked.c: (main):
5234 some compile/run fixes
5236 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5238 * check/gst/gstvalue.c: (GST_START_TEST):
5239 fix leaks in the test itself
5241 2005-09-22 Wim Taymans <wim@fluendo.com>
5243 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5244 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5245 (gst_base_sink_query):
5246 Prepare for more accurate position reporting and query
5249 * gst/gstelement.c: (gst_element_send_event),
5250 (gst_element_set_state):
5253 2005-09-22 Wim Taymans <wim@fluendo.com>
5255 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5256 (gst_query_parse_segment):
5259 Add segment query for future use.
5261 2005-09-22 Wim Taymans <wim@fluendo.com>
5263 * gst/gstbin.c: (gst_bin_add_func):
5264 Some more debug info.
5266 * gst/gstelement.c: (gst_element_send_event):
5270 Don't know how flags got broken.
5275 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5277 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5278 Add simplistic test suite for GST_TYPE_DATE serialisation and
5281 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5283 * docs/gst/gstreamer-sections.txt:
5284 * gst/gststructure.c: (gst_structure_set_valist),
5285 (gst_structure_get_date):
5286 * gst/gststructure.h:
5287 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5288 (gst_date_copy), (gst_value_compare_date),
5289 (gst_value_serialize_date), (gst_value_deserialize_date),
5290 (gst_value_transform_date_string),
5291 (gst_value_transform_string_date), (_gst_value_initialize):
5293 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5294 bunch of utility functions along with a hack that checks that
5295 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5296 is required. Part of the grand scheme in #170777.
5298 2005-09-22 Andy Wingo <wingo@pobox.com>
5300 * gst/gstconfig.h.in: Psych out gtk-doc.
5302 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5304 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5306 * tools/gst-inspect.c (print_element_list): Plug some
5307 inconsequential leaks.
5309 * gst/gstregistry.c (gst_registry_get_default): Doc.
5311 * check/gst/gstplugin.c:
5312 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5313 * gst/gstelementfactory.c (gst_element_factory_create):
5314 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5317 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5318 (gst_plugin_feature_load): Doc, don't eat refs.
5320 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5321 (gst_plugin_list_free): Doc.
5322 (gst_plugin_load_file): Doc updates.
5324 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5325 accessors returning refcounted objects, return a ref.
5327 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5328 accessor for caps. IDEMPOTENCE. Oh yes.
5330 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5332 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5334 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5335 (_gst_debug_register_funcptr):
5336 Add mutex to serialise access to the hash table with
5337 the function pointer => function name string mapping;
5338 make that hash table static scope (#316809).
5340 * gst/registries/.cvsignore:
5341 Remove left-over file.
5343 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5345 * docs/pwg/appendix-porting.xml:
5346 And something about newsegment events and caps-on-buffers to
5347 the porting guide (feel free to improve).
5349 2005-09-21 Andy Wingo <wingo@pobox.com>
5351 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5352 data and event probes on the same pad.
5353 (test_buffer_probe_once): Test that removing probes from within
5354 the probe functions works.
5356 2005-09-21 Andy Wingo <wingo@pobox.com>
5358 * check/gst/gstutils.c: New file.
5359 (test_buffer_probe_n_times): A simple buffer probe test. More to
5362 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5363 have-data::buffer, not have-data.
5364 (gst_pad_add_event_probe): Likewise for have-data::event.
5365 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5366 peer' isn't quite right yet though.
5367 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5368 (gst_pad_remove_data_probe): Change to take the guint handler_id
5369 as their arg, not the function+data, which is more glib-like.
5371 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5372 the signal emission to indicate if the data is a buffer or an
5374 (gst_pad_get_type): Initialize buffer and event quarks.
5375 (gst_pad_class_init): have-data is now a detailed signal, yes it
5378 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5380 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5381 * gst/gstutils.c: (gst_util_set_value_from_string),
5382 (gst_util_set_object_arg):
5383 Don't put functional code in g_return_if_fail() or
5384 g_return_val_if_fail() statements, otherwise things will
5385 break when G_DISABLE_CHECKS is defined during compilation.
5387 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5389 * docs/gst/tmpl/.cvsignore:
5390 * docs/gst/tmpl/gstvalue.sgml:
5393 inlied another one and added some obvious docs
5395 2005-09-21 Wim Taymans <wim@fluendo.com>
5397 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5398 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5399 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5400 (gst_fdsrc_get_property), (gst_fdsrc_create):
5401 * gst/elements/gstfdsrc.h:
5402 Properly implement fdsrc. Removed signal and timeout,
5403 better implemented somewhere else.
5405 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5407 * docs/gst/tmpl/.cvsignore:
5408 * docs/gst/tmpl/gstimplementsinterface.sgml:
5409 * gst/gstinterface.c:
5412 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5414 * docs/gst/gstreamer-sections.txt:
5415 * docs/gst/tmpl/.cvsignore:
5416 * docs/gst/tmpl/gstenumtypes.sgml:
5417 remove obsolete doc file
5419 2005-09-21 David Schleef <ds@schleef.org>
5421 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5422 little beer, fix a little leak.
5424 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5426 * docs/gst/gstreamer-docs.sgml:
5427 * docs/gst/gstreamer-sections.txt:
5428 * docs/gst/tmpl/.cvsignore:
5433 * gst/gstindex.c: (gst_index_class_init):
5435 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5436 (gst_index_factory_class_init), (gst_index_factory_init),
5437 (gst_index_factory_finalize), (gst_index_factory_new),
5438 (gst_index_factory_destroy), (gst_index_factory_find),
5439 (gst_index_factory_create), (gst_index_factory_make):
5440 * gst/gstindexfactory.h:
5441 * gst/gstpluginfeature.c:
5442 * gst/gstpluginfeature.h:
5443 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5444 more docs inlined, splitted gstindex.{c,h}
5446 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5448 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5451 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5453 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5454 Set sync to FALSE by default.
5456 2005-09-20 Wim Taymans <wim@fluendo.com>
5458 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5459 (gst_base_sink_init):
5460 Make sync property settable from subclass.
5462 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5463 (gst_fake_sink_change_state):
5464 Set sync to FALSE by default.
5466 2005-09-20 Wim Taymans <wim@fluendo.com>
5468 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5469 * tools/gst-launch.c: (main):
5470 The timeout handler should have lower priority than the source
5471 so we don't timeout before popping a message with 0 timeout.
5472 Dump error messages after failed state change.
5474 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5476 * tools/gst-inspect.c: (print_element_properties_info):
5479 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5481 * check/gst/gstevent.c:
5482 * gst/elements/gstfakesink.c:
5483 * gst/elements/gstfakesink.h:
5484 remove the sync property from fakesink.
5485 has the side effect of setting sync TRUE
5486 for fakesink, which is a change. Anyone who knows how
5487 to fix this nicely in a GObject-y way, feel free.
5489 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5491 * docs/gst/gstreamer-docs.sgml:
5492 remove probe refsection
5494 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5496 * check/Makefile.am:
5497 disable valgrinding the controller test again
5498 * docs/gst/gstreamer-sections.txt:
5499 update for api-changes
5501 2005-09-20 Wim Taymans <wim@fluendo.com>
5503 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5504 (gst_base_sink_set_property), (gst_base_sink_get_property),
5505 (gst_base_sink_do_sync):
5506 * gst/base/gstbasesink.h:
5507 Added sync property to basesink to disable clock sync.
5509 2005-09-20 Andy Wingo <wingo@pobox.com>
5511 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5512 eating the caller's refcount.
5514 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5515 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5518 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5519 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5520 of GLib 2.8 public, so we can know which refcount to check in
5523 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5524 (gst_object_init): Only set the gst refcount if we're going ahead
5525 with the refcount hack.
5527 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5529 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5530 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5531 more leaks plumbed, added more debug-logging
5535 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5538 remove include of gstmemchunk.h
5540 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5542 * gst/gstclock.c: (_gst_clock_id_free):
5543 Commit from the Political Party For More Atomic CVS Commits,
5544 so that people don't waste too much of their day fishing
5545 out obvious leaks out of massive commits.
5546 Oh, and fix a pretty damn obvious leak in the memchunk
5549 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5551 * check/Makefile.am:
5552 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5553 plug mem-leak, re-add to valgrindable tests
5555 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5558 unbreak the build for those who have chronic arthritis
5559 and typing "make check" is just too taxing on the hands
5561 2005-09-20 Andy Wingo <wingo@pobox.com>
5563 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5564 really want it out, you should fix plugins at the same time.
5566 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5569 * docs/gst/gstreamer-sections.txt:
5571 added missing symbols to api docs
5572 disable ref-count hack if we have glib >= 2.8
5574 2005-09-19 David Schleef <ds@schleef.org>
5576 * docs/gst/Makefile.am: Ignore a few more internal headers
5577 * docs/gst/gstreamer-docs.sgml: Remove old sections
5578 * docs/gst/gstreamer-sections.txt: Remove old sections
5579 * docs/gst/tmpl/gstobject.sgml: update
5580 * docs/gst/tmpl/gstplugin.sgml: update
5581 * docs/gst/tmpl/gstpluginfeature.sgml: update
5582 * docs/random/ds/0.9-suggested-changes: update.
5583 * gst/Makefile.am: remove memchunk and trashstack, since they're
5585 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5586 * gst/gst.h: don't include some headers
5587 * gst/gstchildproxy.c: add gstmarshal.h
5588 * gst/gstclock.c: Don't use memchunks
5589 * gst/gstminiobject.c: Add some docs
5590 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5591 * gst/gstobject.h: same
5592 * gst/gstplugin.c: include gstmacros.h
5593 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5594 * gst/gstquery.c: don't use memchunks
5595 * gst/gstregistry.c: rename gst_registry_deinit()
5596 * gst/gstregistry.h: same
5598 2005-09-19 David Schleef <ds@schleef.org>
5600 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5601 * docs/libs/gstreamer-libs-sections.txt:
5602 * docs/libs/tmpl/gstgetbits.sgml:
5603 * docs/libs/tmpl/gstputbits.sgml:
5605 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5607 * win32/gstenumtypes.c:
5608 * win32/gstenumtypes.h:
5611 2005-09-19 Wim Taymans <wim@fluendo.com>
5613 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5614 Automatically PAUSE and RESUME a pipeline when a flushing seek
5617 2005-09-19 Andy Wingo <wingo@pobox.com>
5619 * gst/gstregistry.h: Spacing fixen.
5621 2005-09-19 Wim Taymans <wim@fluendo.com>
5623 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5624 Handle state change failure more correctly.
5626 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5628 * check/Makefile.am:
5629 * check/pipelines/cleanup.c: (run_pipeline):
5630 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5632 enable cleanup again after fixing the leak
5634 some more info on docs
5636 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5638 * check/Makefile.am:
5639 re-enable tests now that leaks are plugged
5641 * check/gst/gstbin.c:
5642 * check/gst/gstpipeline.c:
5643 add some more tests while fixing leaks
5645 make sure binaries are uptodate when valgrinding/gdbing
5647 * gst/gstelementfactory.c:
5648 remove a ref too many, and add a FIXME for when we get
5649 round to disposing of classes
5651 fix the refcounting when loading a plugin from a file and
5652 the code pretends that the pointer is the same even though
5653 of course it can change
5654 * gst/gstpluginfeature.c:
5655 unref plugins marked cached (a bit confusing as a name)
5656 as the docs state should be done
5657 various doc additions to explain refcounting
5658 * gst/gstregistry.c:
5659 * gst/gstregistryxml.c:
5662 2005-09-19 Wim Taymans <wim@fluendo.com>
5664 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5665 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5666 (send_messages), (GST_START_TEST), (gstbus_suite):
5667 * check/gst/gstpipeline.c: (GST_START_TEST):
5668 * check/pipelines/cleanup.c: (run_pipeline):
5669 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5671 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5672 (gst_bus_source_check), (gst_bus_source_dispatch),
5673 (gst_bus_create_watch), (gst_bus_add_watch_full),
5674 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5676 * tools/gst-launch.c: (event_loop):
5677 * tools/gst-md5sum.c: (event_loop):
5678 GstBusHandler -> GstBusFunc, return value has the same meaning as
5679 any other GSource (FALSE == remove source).
5680 _add_watch() and _add_watch_full() now take a MessageType mask to
5681 only handle specific types of messages.
5682 _poll() returns the GstMessage instead of the message type to avoid
5684 _have_pending() takes a MessageType mask now too.
5685 Added testsuite for multiple bus watches.
5686 Fix testsuites and applications for new bus API.
5688 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5690 * check/Makefile.am:
5691 mark a bunch of the tests as to fix until we fix them
5693 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5696 use GST_PLUGIN settings for valgrind tests as well, so we're
5697 valgrinding the correct thing
5698 * gst/gst.c: (init_post):
5701 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5703 * gst/gst.c: (init_post), (gst_deinit):
5704 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5705 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5706 * gst/gstindex.c: (gst_index_factory_class_init),
5707 (gst_index_factory_finalize):
5708 * gst/gstobject.c: (gst_object_dispose):
5709 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5710 (gst_plugin_load_file), (gst_plugin_desc_free):
5711 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5712 (gst_plugin_feature_finalize):
5713 * gst/gstregistry.c: (gst_registry_class_init),
5714 (gst_registry_init), (gst_registry_finalize),
5715 (gst_registry_get_default), (gst_registry_deinit):
5716 * gst/gstregistry.h:
5717 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5718 various cleanups and memleak plugging. make valgrind is happy now.
5720 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5723 add a check-valgrind target
5725 2005-09-18 David Schleef <ds@schleef.org>
5727 * tools/gst-inspect.c: Revert the GOption code.
5729 2005-09-17 David Schleef <ds@schleef.org>
5731 * check/Makefile.am: Fix environment variables.
5732 * check/gst/gstplugin.c: Fix for API changes.
5733 * tools/gst-inspect.c: Fix for API changes.
5734 * tools/gst-xmlinspect.c: Fix for API changes.
5735 * gst/gstelementfactory.c:
5738 * gst/gstpluginfeature.c:
5739 * gst/gstpluginfeature.h:
5740 * gst/gstregistry.c:
5741 * gst/gstregistry.h:
5742 * gst/gstregistryxml.c:
5743 * gst/gsttypefind.c:
5744 * gst/gsttypefindfactory.c:
5745 * gst/indexers/gstfileindex.c:
5746 * gst/indexers/gstmemindex.c:
5747 * gst/schedulers/Makefile.am:
5748 Change registry to keep track of both plugins and features,
5749 removing the feature tracking from plugins themselves.
5751 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5753 * check/Makefile.am:
5754 * tools/gst-register.1.in:
5757 2005-09-15 David Schleef <ds@schleef.org>
5759 * check/gst/gstplugin.c:
5760 * gst/gstelementfactory.c:
5762 * gst/gstpluginfeature.c:
5763 * gst/gstregistry.c:
5764 Getting tired of debugging. Disabled all the unreffing of
5765 plugins and features, which fixes the segfaults, but of
5766 course leaks like crazy. At least playbin works.
5768 2005-09-15 David Schleef <ds@schleef.org>
5770 * check/gst/gstplugin.c: (register_check_elements),
5771 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5773 * gst/elements/gsttypefindelement.c: Fix refcounting.
5774 * gst/gsttypefind.c:
5775 * gst/gsttypefindfactory.c:
5776 * gst/gsttypefindfactory.h:
5778 2005-09-15 David Schleef <ds@schleef.org>
5780 * gst/gstindex.c: get refcounting correct.
5781 * gst/gstregistry.c: Handle the case where a feature/plugin is
5784 2005-09-15 David Schleef <ds@schleef.org>
5786 * check/Makefile.am:
5787 * check/gst/gstplugin.c: Add test
5788 * gst/gstplugin.c: Fix problems noticed by testsuite
5790 * gst/gstregistry.c:
5791 * gst/gstregistry.h:
5793 2005-09-15 David Schleef <ds@schleef.org>
5795 * gst/gstplugin.c: Implement semi-decent recounting and locking
5796 in plugins and plugin features.
5798 * gst/gstpluginfeature.c:
5799 * gst/gstpluginfeature.h:
5800 * gst/gstregistry.c:
5802 2005-09-15 Michael Smith <msmith@fluendo.com>
5804 * gst/gstregistry.c: (gst_registry_get_feature_list):
5805 Implement this. Makes oggdemux work; decodebin still broken.
5807 2005-09-14 David Schleef <ds@schleef.org>
5809 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5811 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5812 * gst/check/Makefile.am:
5813 * libs/gst/controller/Makefile.am:
5814 * libs/gst/dataprotocol/Makefile.am:
5816 2005-09-14 David Schleef <ds@schleef.org>
5818 * configure.ac: Remove getbits library. Nothing uses it, and
5819 it should be in something like liboil if someone did want
5821 * libs/gst/Makefile.am:
5822 * libs/gst/getbits/Makefile.am:
5823 * libs/gst/getbits/gbtest.c:
5824 * libs/gst/getbits/getbits.c:
5825 * libs/gst/getbits/getbits.h:
5826 * libs/gst/getbits/gstgetbits_generic.c:
5827 * libs/gst/getbits/gstgetbits_i386.s:
5828 * libs/gst/getbits/gstgetbits_inl.h:
5830 2005-09-14 David Schleef <ds@schleef.org>
5832 * gst/Makefile.am: Dist glib-compat.h
5834 2005-09-14 David Schleef <ds@schleef.org>
5836 * configure.ac: Remove gst/registries, since it's no longer used.
5837 * gst/registries/Makefile.am:
5838 * gst/registries/gstlibxmlregistry.c:
5839 * gst/registries/gstlibxmlregistry.h:
5840 * gst/registries/gstxmlregistry.c:
5841 * gst/registries/gstxmlregistry.h:
5842 * gst/registries/registrytest.c:
5844 2005-09-14 David Schleef <ds@schleef.org>
5846 * gst/glib-compat.h:
5847 * gst/gstregistryxml.c:
5848 Convergence is near. Seriously.
5850 2005-09-14 David Schleef <ds@schleef.org>
5852 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5853 * gst/glib-compat.h:
5854 Attempt #4 to appease the buildbots.
5856 2005-09-14 David Schleef <ds@schleef.org>
5858 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5861 2005-09-14 David Schleef <ds@schleef.org>
5863 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5866 2005-09-14 David Schleef <ds@schleef.org>
5868 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5871 2005-09-14 David Schleef <ds@schleef.org>
5873 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5874 * gst/glib-compat.h: Add some functions that are in newer versions
5875 of glib than we care to require.
5876 * gst/gstregistryxml.c: Use them.
5878 2005-09-14 David Schleef <ds@schleef.org>
5880 * po/POTFILES.in: remove gst-register.c
5882 2005-09-14 David Schleef <ds@schleef.org>
5884 * docs/gst/gstreamer-docs.sgml:
5885 * docs/gst/gstreamer-sections.txt:
5886 * docs/gst/gstreamer.types:
5887 * docs/gst/tmpl/gstelement.sgml:
5888 * docs/gst/tmpl/gstplugin.sgml:
5889 * docs/gst/tmpl/gstpluginfeature.sgml:
5890 Documentation updates for registry changes.
5892 2005-09-14 David Schleef <ds@schleef.org>
5894 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5895 because we don't require glib-2.8.
5897 2005-09-14 David Schleef <ds@schleef.org>
5899 * gst/gstregistryxml.c: Added. Essentially moved out of the
5900 registries directory.
5902 2005-09-14 David Schleef <ds@schleef.org>
5904 * check/Makefile.am:
5905 * check/generic/states.c:
5909 * gst/gst_private.h:
5910 * gst/gstelementfactory.c:
5915 * gst/gstpluginfeature.c:
5916 * gst/gstpluginfeature.h:
5917 * gst/gstregistry.c:
5918 * gst/gstregistry.h:
5919 * gst/gstregistrypool.c: remove
5920 * gst/gstregistrypool.h: remove
5921 * gst/gsttypefind.c:
5922 * gst/gsttypefindfactory.c:
5924 * tools/Makefile.am:
5925 * tools/gst-compprep.c:
5926 * tools/gst-inspect.c:
5927 * tools/gst-register.c: remove
5928 * tools/gst-xmlinspect.c:
5929 Registry rewrite. Changes registry from being a file created
5930 by a tool into a simple cache file created automatically by
5931 libgstreamer. Removed gst-register (because it's no longer
5932 needed). Remove registry pools, because we only have one
5933 registry implementation (XML). Fix up other subsystems as
5936 2005-09-13 Michael Smith <msmith@fluendo.com>
5938 * gst/gstconfig.h.in:
5939 Don't Use windows linking attributes for MinGW. Fixes #316157
5941 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5943 * gst/gstutils.c: (set_state_async_thread_func),
5944 (gst_element_set_state_async):
5945 Apparently people think it's better if this function doesn't
5946 try to set the state to whatever state was asked for on the first
5947 call to this function for any object. Seriously.
5949 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5951 * check/gst/gstpipeline.c: (GST_START_TEST):
5952 * docs/gst/gstreamer-sections.txt:
5953 * gst/gstutils.c: (set_state_async_thread_func),
5954 (gst_element_set_state_async):
5956 add a "gst_element_set_state_async" method that
5957 sets the state and starts a thread to make sure the state
5958 change completes as best as it can
5960 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5962 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5963 codify design+behaviour in testsuite after discussion
5965 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5967 * docs/gst/tmpl/gstelement.sgml:
5968 * docs/manual/appendix-quotes.xml:
5970 * gst/gstelement.c: (gst_element_set_state):
5973 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5975 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5976 (gst_base_transform_prepare_output_buf),
5977 (gst_base_transform_handle_buffer):
5978 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5979 (gst_capsfilter_prepare_buf):
5980 Remove the requirement for sub-classes to call the parent
5981 implementation of prepare_output_buffer with a wrapper function.
5984 * gst/gsttagsetter.h:
5987 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5989 * docs/gst/gstreamer-sections.txt:
5992 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5994 * docs/gst/gstreamer-sections.txt:
5995 * docs/gst/tmpl/gstelement.sgml:
5996 * docs/gst/tmpl/gstplugin.sgml:
5997 * gst/gstminiobject.c:
5999 docs now stop throwing warnings
6001 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6003 * docs/gst/gstreamer-sections.txt:
6004 * docs/gst/gstreamer.types:
6005 * docs/gst/tmpl/gstpad.sgml:
6006 * docs/gst/tmpl/gsttypes.sgml:
6007 * gst/base/gstadapter.h:
6008 * gst/base/gstbasesink.h:
6009 * gst/base/gstbasesrc.h:
6019 * gst/gststructure.c:
6020 * gst/registries/gstlibxmlregistry.h:
6021 various documentation fixes
6023 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6025 * docs/gst/gstreamer-sections.txt:
6026 * docs/gst/tmpl/gstvalue.sgml:
6027 rearrange gstvalue section
6028 * gst/gstutils.c: (gst_element_state_get_name):
6030 * gst/gstvalue.c: (_gst_value_initialize):
6034 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6036 * check/gst-libs/controller.c:
6038 * gst/base/gstbasetransform.c:
6039 (gst_base_transform_default_prepare_buf),
6040 (gst_base_transform_handle_buffer):
6041 * gst/base/gstbasetransform.h:
6042 Some more basetransform changes and fixes to enable sub-classes
6043 that modify buffer metadata only.
6044 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6045 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6046 (gst_capsfilter_prepare_buf):
6047 If the output pad has fixed allowed caps and input buffers
6048 don't have any, set the fixed caps on outgoing buffers.
6050 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6051 * check/elements/identity.c: (GST_START_TEST):
6052 Make the error a little clearer when the test fails because
6053 identity made a copy of the buffer.
6054 * docs/gst/gstreamer-sections.txt:
6055 New symbols in gstbasetransform.h
6056 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6057 (gst_base_transform_init), (gst_base_transform_transform_size),
6058 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6059 (gst_base_transform_default_prepare_buf),
6060 (gst_base_transform_get_unit_size),
6061 (gst_base_transform_buffer_alloc),
6062 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6063 (gst_base_transform_change_state),
6064 (gst_base_transform_set_passthrough),
6065 (gst_base_transform_set_in_place),
6066 (gst_base_transform_is_in_place):
6067 * gst/base/gstbasetransform.h:
6068 Change BaseTransform to separate in_place operate from same_caps
6069 output. in_place implies that the element can perform the transform
6070 on incoming buffers in-place, even if the caps on the output are
6072 Sub-class elements can now implement special buffer allocation
6073 methods for outgoing buffers if they wish to.
6074 Big documentation addition.
6075 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6076 * gst/elements/gstelements.c:
6077 Changes for basetransform modifications.
6078 * gst/elements/Makefile.am:
6079 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6080 Compile fix. Extra debug output.
6082 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6084 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6086 add tests for valid pad naming
6087 * gst/check/gstcheck.c: (gst_check_log_message_func),
6088 (gst_check_log_critical_func):
6090 remove printing of code, it is fragile when the code contains
6091 % and the line number is enough info
6092 * gst/check/gstcheck.h:
6093 * gst/gstpad.c: (gst_pad_template_new):
6096 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6099 say what CHECK flags we use
6100 * docs/libs/gstreamer-libs.types:
6101 * libs/gst/controller/Makefile.am:
6102 * libs/gst/controller/gst-controller.c:
6103 * libs/gst/controller/gst-controller.h:
6104 * libs/gst/controller/gst-helper.c:
6105 * libs/gst/controller/gst-interpolation.c:
6106 * libs/gst/controller/gstcontroller.c:
6107 * libs/gst/controller/gsthelper.c:
6108 * libs/gst/controller/gstinterpolation.c:
6109 * tools/gst-inspect.c: (print_plugin_info):
6110 we don't use dashes in header names
6112 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6114 * check/Makefile.am:
6115 * check/gst/.cvsignore:
6116 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6117 (gst_pipeline_suite), (main):
6118 adding a test for pipelines and state changes
6119 * gst/gstutils.c: (get_state_func):
6121 * gstreamer.spec.in:
6124 2005-09-08 Michael Smith <msmith@fluendo.com>
6126 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6127 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6128 (gst_file_src_is_seekable), (gst_file_src_get_size),
6129 (gst_file_src_start):
6130 * gst/elements/gstfilesrc.h:
6131 Various fixes for unseekable, unmmapable, and non-normal files, so
6132 that fallback to read() rather than mmap() works.
6133 * gst/gstevent.c: (gst_event_new_newsegment):
6134 Allow newsegment events with segment_start == segment_end, as will
6135 correctly happen if you use filesrc on a zero-size file, for
6138 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6140 * gst/gstplugin.c: (gst_plugin_load_file):
6141 Call g_module_close when we don't load the module
6143 * gst/registries/gstlibxmlregistry.c:
6144 (gst_xml_registry_get_property):
6145 Port leak fix from 0.8
6147 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6149 * docs/gst/gstreamer-docs.sgml:
6150 * docs/gst/tmpl/.cvsignore:
6151 * docs/gst/tmpl/gsttrace.sgml:
6152 * docs/gst/tmpl/gsttrashstack.sgml:
6161 * gst/gsttaginterface.c:
6162 * gst/gsttaginterface.h:
6165 * gst/gsttagsetter.c:
6166 * gst/gsttagsetter.h:
6169 * gst/gsttrashstack.c:
6170 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6171 inlined docs for gsttrace, gsttrashstack
6173 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6176 * gst/elements/gstbufferstore.h:
6177 * gst/elements/gsttypefindelement.c:
6178 * gst/elements/gsttypefindelement.h:
6180 * gst/gsttypefind.c:
6181 * gst/gsttypefind.h:
6182 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6183 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6184 (gst_type_find_factory_dispose),
6185 (gst_type_find_factory_unload_thyself),
6186 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6187 (gst_type_find_factory_get_caps),
6188 (gst_type_find_factory_get_extensions),
6189 (gst_type_find_factory_call_function):
6190 * gst/gsttypefindfactory.h:
6191 * gst/registries/gstlibxmlregistry.c:
6192 * gst/registries/gstxmlregistry.c:
6193 splitted gsttypefind into gsttypefind, gsttypefindfactory
6195 2005-09-07 Andy Wingo <wingo@pobox.com>
6197 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6198 condition whereby the pad's task function is entered before the
6199 pad_mode variable was set.
6201 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6203 * gst/gstpad.c: (gst_pad_alloc_buffer):
6204 Catch misbehaving pad_alloc functions that don't
6205 set up caps and do it for them.
6207 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6209 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6211 * docs/gst/tmpl/.cvsignore:
6212 * docs/gst/tmpl/gstmemchunk.sgml:
6213 * docs/gst/tmpl/gstparse.sgml:
6214 * docs/gst/tmpl/gsttaglist.sgml:
6215 * docs/gst/tmpl/gsttagsetter.sgml:
6216 * docs/gst/tmpl/gsttypefind.sgml:
6217 * docs/gst/tmpl/gsttypefindfactory.sgml:
6218 * gst/gstmemchunk.c:
6221 * gst/gsttaginterface.c:
6222 * gst/gsttypefind.c:
6223 * gst/gsttypefind.h:
6226 === release 0.9.2 ===
6228 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6233 releasing 0.9.2, "South"
6235 2005-09-05 Andy Wingo <wingo@pobox.com>
6237 * gst/registries/gstxmlregistry.h:
6238 * gst/registries/gstxmlregistry.c: Um... resurrect...
6240 * gst/registries/gstxmlregistry.h:
6241 * gst/registries/gstxmlregistry.c: and update to newer API.
6242 Incidentally they should be a bit faster now that they don't have
6245 2005-09-05 Andy Wingo <wingo@pobox.com>
6247 * gst/registries/gstxmlregistry.h:
6248 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6249 replaced by the libxml registry a while back
6251 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6253 * docs/gst/tmpl/gstplugin.sgml:
6254 * gst/elements/gstelements.c:
6256 * gst/gstplugin.c: (gst_plugin_register_func),
6257 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6258 (gst_plugin_get_source):
6260 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6261 (gst_xml_registry_save_plugin):
6262 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6263 (gst_xml_registry_save_plugin):
6264 * tools/gst-inspect.c: (print_plugin_info):
6265 add a "source" plugin description field, to represent the source
6266 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6267 will set it to PACKAGE, which is automake's idea of the name of
6270 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6276 * docs/faq/Makefile.am:
6277 * docs/gst/tmpl/gstelement.sgml:
6278 * docs/gst/tmpl/gsttypes.sgml:
6279 * docs/htmlinstall.mak:
6280 * docs/manual/Makefile.am:
6281 * docs/pwg/Makefile.am:
6282 reorganize doc build a little
6283 split out docbook and gtk-doc stuff
6284 have two separate --enable's and enable them through autogen
6285 but disable by default in configure (to be similar to other
6287 * gstreamer.spec.in:
6288 clean up docs install
6308 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6310 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6313 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6314 (gst_fake_sink_change_state):
6315 Make state change function thread-safe.
6317 * gst/gstpad.c: (gst_pad_alloc_buffer):
6318 Set offset on generic buffer allocated by fallback.
6320 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6322 * docs/gst/gstreamer-sections.txt:
6323 * docs/gst/tmpl/gstelement.sgml:
6325 * libs/gst/controller/gst-controller.c:
6326 (gst_controlled_property_set_interpolation_mode),
6327 (gst_controlled_property_new),
6328 (gst_controller_find_controlled_property):
6329 run the wingo-magic script against the docs
6331 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6333 * docs/gst/gstreamer-docs.sgml:
6334 * docs/gst/gstreamer-sections.txt:
6335 * docs/gst/tmpl/.cvsignore:
6336 * docs/gst/tmpl/gstelementdetails.sgml:
6337 * docs/gst/tmpl/gstelementfactory.sgml:
6340 * gst/gstelementfactory.c:
6341 * gst/gstelementfactory.h:
6342 merged elementdetails docs into elementfactory docs
6345 2005-09-02 Andy Wingo <wingo@pobox.com>
6347 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6348 consider this enum an enum and not a flags.
6350 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6352 * docs/gst/gstreamer-docs.sgml:
6353 * docs/gst/tmpl/.cvsignore:
6354 * docs/gst/tmpl/gstghostpad.sgml:
6355 * docs/gst/tmpl/gstiterator.sgml:
6356 * docs/gst/tmpl/gstmacros.sgml:
6357 * docs/gst/tmpl/gstrealpad.sgml:
6358 * docs/gst/tmpl/gstregistry.sgml:
6359 * docs/gst/tmpl/gstregistrypool.sgml:
6360 * docs/gst/tmpl/gststructure.sgml:
6361 * docs/gst/tmpl/gstsystemclock.sgml:
6362 * docs/gst/tmpl/gsttrace.sgml:
6363 * gst/gstghostpad.c:
6365 * gst/gstmemchunk.c:
6366 * gst/gstmemchunk.h:
6368 * gst/gstregistry.c:
6369 * gst/gstregistrypool.c:
6370 * gst/gststructure.c:
6371 * gst/gstsystemclock.c:
6374 2005-09-02 Andy Wingo <wingo@pobox.com>
6376 * gst/gstelement.h (GstState): Renamed from GstElementState,
6377 changed to be a normal enum instead of flags.
6378 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6379 munged to be GST_STATE_CHANGE_*.
6380 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6381 work with the new state representation.
6382 (GstStateChange): New enumeration of possible state transitions.
6383 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6384 (GstElementClass::change_state): Pass the GstStateChange along as
6385 an argument. Helps language bindings, so they don't have to use
6386 tricky lock-needing macros like GST_STATE_CHANGE ().
6388 * scripts/update-states (file): New script. Run it on a file to
6389 update it for state naming and API changes. Updates files in
6392 * All files updated for the new API.
6394 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6396 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6397 * gst/gstutils.c: (gst_util_set_value_from_string),
6398 (gst_util_set_object_arg):
6399 fix a bunch of unchecked return values
6400 * tools/gst-complete.c: (main):
6401 * gstreamer.spec.in:
6404 2005-09-01 Wim Taymans <wim@fluendo.com>
6406 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6407 (gst_base_sink_event), (gst_base_sink_do_sync),
6408 (gst_base_sink_handle_event):
6409 * gst/base/gstbasesink.h:
6410 Handle newsegments more correctly.
6415 * gst/gstevent.c: (gst_event_new_newsegment):
6416 A newsegment cannot have a start_time of -1
6418 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6420 * win32/gstenumtypes.c:
6421 * win32/gstenumtypes.h:
6424 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6426 * libs/gst/controller/gst-controller.c:
6427 (gst_controlled_property_set_interpolation_mode),
6428 (gst_controlled_property_new):
6431 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6433 * docs/faq/gst-uninstalled:
6438 * gst/gstutils.c: (gst_element_link_filtered):
6440 add gst_element_link_filtered
6442 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6444 * docs/gst/gstreamer-docs.sgml:
6445 * docs/gst/gstreamer-sections.txt:
6446 * docs/gst/tmpl/.cvsignore:
6447 * docs/gst/tmpl/gsterror.sgml:
6448 * docs/gst/tmpl/gstfilter.sgml:
6449 * docs/gst/tmpl/gsturihandler.sgml:
6450 * docs/gst/tmpl/gsturitype.sgml:
6451 * docs/gst/tmpl/gstutils.sgml:
6452 * docs/gst/tmpl/gstxml.sgml:
6460 inlined more docs, fixed double id-ref
6462 2005-08-31 Wim Taymans <wim@fluendo.com>
6464 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6465 (gst_base_transform_handle_buffer):
6466 Passthrough elements don't need the caps as they don't care.
6468 2005-08-31 Wim Taymans <wim@fluendo.com>
6470 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6471 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6472 Don't leak refcounts on buffers.
6474 2005-08-31 Wim Taymans <wim@fluendo.com>
6476 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6477 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6478 (gst_base_transform_chain), (gst_base_transform_change_state):
6479 * gst/base/gstbasetransform.h:
6480 Handle the case where we are not negotiated more gracefully.
6482 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6484 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6485 (gst_file_src_map_region):
6486 Set READONLY flag on mmap'ed buffers, otherwise
6487 gst_buffer_make_writable() won't work properly (#314708).
6489 2005-08-31 Wim Taymans <wim@fluendo.com>
6491 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6492 passthrough elements can even do inplace on non writable
6493 buffers (as they don't touch them).
6495 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6497 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6498 (gst_test_mono_source_set_property),
6499 (gst_test_mono_source_class_init), (GST_START_TEST),
6500 (gst_controller_suite):
6501 more tests (hehe I have the most)
6503 describe popping messages whenusing mulltiple sources
6504 * libs/gst/controller/gst-controller.c:
6505 (gst_controlled_property_set_interpolation_mode),
6506 (gst_controlled_property_new):
6507 * libs/gst/controller/gst-controller.h:
6508 * libs/gst/controller/gst-interpolation.c:
6509 implement boolean properties
6511 2005-08-31 Wim Taymans <wim@fluendo.com>
6513 * gst/gstminiobject.c: (gst_mini_object_ref):
6514 Cannot assert that the refcount has to be positive
6515 since a disposed object can be resurrected.
6517 2005-08-31 Wim Taymans <wim@fluendo.com>
6519 * gst/gstpad.c: (gst_pad_init):
6520 Revert change, need to first fix badly behaving
6523 2005-08-30 Wim Taymans <wim@fluendo.com>
6525 * check/elements/fakesrc.c: (setup_fakesrc):
6526 * check/elements/identity.c: (setup_identity):
6527 Activate pads before using them.
6529 2005-08-30 Wim Taymans <wim@fluendo.com>
6531 * gst/base/gstadapter.c: (gst_adapter_flush):
6532 Flushing out 0 bytes is ok for this function.
6534 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6535 no newsegment gives a warning and sets the start/stop to
6538 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6539 (gst_base_transform_set_passthrough):
6542 * gst/gstminiobject.c: (gst_mini_object_ref):
6543 Check refcount here too.
6545 * gst/gstpad.c: (gst_pad_init):
6546 Pads are initially flushing and refusing data.
6548 * gst/gstutils.c: (gst_element_link_pads_filtered):
6549 When adding a capsfilter element make sure it has the
6550 same state as the parent bin.
6552 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6554 * docs/gst/tmpl/.cvsignore:
6555 * docs/gst/tmpl/gstformat.sgml:
6556 * docs/gst/tmpl/gstversion.sgml:
6560 * gst/gstversion.h.in:
6561 more docs and two more inlined
6563 2005-08-30 Wim Taymans <wim@fluendo.com>
6565 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6566 Don't sync to clock.
6568 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6570 * docs/gst/gstreamer-sections.txt:
6571 ultral33t func10ns deserve to appear in the docs actually
6572 * docs/gst/tmpl/.cvsignore:
6573 * docs/gst/tmpl/gstcompat.sgml:
6574 * docs/gst/tmpl/gstconfig.sgml:
6575 * gst/check/gstcheck.c:
6577 * gst/gstconfig.h.in:
6580 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6582 * docs/gst/tmpl/.cvsignore:
6583 * docs/gst/tmpl/gstquery.sgml:
6584 * docs/gst/tmpl/gstutils.sgml:
6587 inlined and extended docs
6589 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6591 * check/gst-libs/controller.c: (GST_START_TEST),
6592 (gst_controller_suite):
6594 * docs/gst/tmpl/gstutils.sgml:
6595 * docs/libs/gstreamer-libs-sections.txt:
6596 * docs/libs/tmpl/gstdataprotocol.sgml:
6598 * examples/controller/audio-example.c: (main):
6599 controller example works now
6602 * tools/gst-inspect.c: (print_element_properties_info):
6603 show param spec flags
6605 2005-08-29 Andy Wingo <wingo@pobox.com>
6607 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6609 2005-08-28 Andy Wingo <wingo@pobox.com>
6611 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6612 as having two arguments instead of just one. Allows superclasses
6613 to access information on subclasses -- see the terrible for() loop
6614 in gtype.c:g_type_create_instance for the reason why. All callers
6617 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6619 * docs/design/part-messages.txt:
6621 * docs/gst/tmpl/.cvsignore:
6622 * docs/gst/tmpl/gstcaps.sgml:
6623 * docs/gst/tmpl/gstclock.sgml:
6630 added descriptions for bus and message
6631 inline caps and clock docs
6633 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6639 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6641 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6644 2005-08-26 Andy Wingo <wingo@pobox.com>
6646 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6647 element_set_state's return val.
6648 (test_2_elements): Add test that's been disabled for months.
6650 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6651 can-activate-pull properties.
6653 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6654 can-activate-pull properties. Implement is_seekable so fakesrc can
6655 operate in pull mode.
6657 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6659 (gst_base_sink_activate, gst_base_sink_activate_pull)
6660 (gst_base_sink_activate_push): Make activation mode choosing work.
6662 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6663 is right. Make pull mode work. Post an eos before pausing in pull
6665 (gst_base_sink_change_state): Pay attention to the core's
6666 change_state() return val.
6668 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6669 has-getrange properties. Cleanups.
6671 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6672 has_getrange and replace with can_activate_pull and
6675 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6676 locking comments. Remove has_loop, has_chain and replace with
6677 can_activate_pull and can_activate_push.
6679 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6682 * examples/Makefile.am:
6683 * examples/metadata/Makefile.am:
6684 * examples/metadata/read-metadata.c: (message_loop),
6685 (have_pad_handler), (make_pipeline), (print_tag), (main):
6686 Add metadata reading example that loops over a list of filenames,
6687 dumping any tags found.
6689 * gst/gstbus.c: (gst_bus_dispose):
6690 * gst/gstelement.c: (gst_element_dispose):
6691 Release a few potentially-held references in dispose.
6693 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6695 * docs/gst/tmpl/gstminiobject.sgml:
6696 do *not* add tmpl/*.sgml files to CVS!
6698 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6700 * libs/gst/bytestream/.cvsignore:
6701 * libs/gst/bytestream/Makefile.am:
6702 * libs/gst/bytestream/adapter.c:
6703 * libs/gst/bytestream/adapter.h:
6704 * libs/gst/bytestream/bytestream.c:
6705 * libs/gst/bytestream/bytestream.h:
6706 * libs/gst/bytestream/filepad.c:
6707 * libs/gst/bytestream/filepad.h:
6708 removing obsolete files
6710 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6712 * docs/gst/gstreamer-docs.sgml:
6713 * docs/libs/gstreamer-libs-docs.sgml:
6714 disabed additional index entries again, as this makes docs-gen just
6715 slow and they aren't useful yet
6716 * docs/libs/gstreamer-libs-sections.txt:
6717 little -section.txt cleanup for libs
6719 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6721 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6722 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6723 fix up some debugging
6724 (gst_base_transform_get_unit_size),
6725 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6726 (gst_base_transform_handle_buffer):
6727 * gst/base/gstbasetransform.h:
6728 handle and store timed NEWSEGMENT events so that subclasses that
6729 calculate time by counting samples have a segment_start time they
6730 need to add to their timestamps - see audioresample
6732 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6735 removed ';' from the end of macro defs
6736 * docs/gst/gstreamer-docs.sgml:
6737 * docs/gst/gstreamer-sections.txt:
6738 * docs/gst/tmpl/.cvsignore:
6740 * gst/gstelement.c: (gst_element_class_init),
6741 (gst_element_set_state), (activate_pads),
6742 (gst_element_save_thyself):
6743 * gst/gstevent.c: (gst_event_new_newsegment):
6745 * gst/gstiterator.c:
6746 * gst/gstiterator.h:
6749 * gst/gstutils.c: (gst_pad_query_convert):
6751 fixed parameter name mismatches between source, header and docs
6752 added some more docs, resolved the last batch of unused elements in
6753 docs (now someone needs to doc them)
6755 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6757 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6758 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6759 don't walk through the plugins backwards. Where is all this
6760 reversed logic coming from ?
6762 2005-08-25 Wim Taymans <wim@fluendo.com>
6764 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6765 (gst_base_transform_transform_size),
6766 (gst_base_transform_configure_caps),
6767 (gst_base_transform_get_unit_size),
6768 (gst_base_transform_buffer_alloc),
6769 (gst_base_transform_change_state):
6770 * gst/base/gstbasetransform.h:
6771 Cache caps unit_size.
6772 Make sure we cannot negotiate up and downstream at the
6775 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6777 * gst/gst.c: (init_pre), (init_post):
6778 register the installed plugin path after the env var
6779 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6780 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6781 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6782 directories, so the tests can prefer uninstalled over installed
6784 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6786 * gst/base/gstbasetransform.h:
6791 2005-08-25 Wim Taymans <wim@fluendo.com>
6793 * gst/gstbin.c: (bin_bus_handler):
6794 Be a bit more conservative about the posted message.
6796 * gst/gstbus.c: (gst_bus_post):
6797 Some cleanups, warn wrong return values.
6799 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6801 * check/gst/gstbin.c: (GST_START_TEST):
6802 * gst/gstbin.c: (bin_bus_handler):
6803 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6804 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6805 (gst_message_new_warning), (gst_message_new_tag),
6806 (gst_message_new_state_changed), (gst_message_new_segment_start),
6807 (gst_message_new_segment_done), (gst_message_new_custom):
6809 * tools/gst-launch.c: (event_loop):
6810 * tools/gst-md5sum.c: (event_loop):
6811 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6813 2005-08-25 Wim Taymans <wim@fluendo.com>
6815 * check/generic/states.c: (GST_START_TEST):
6816 Cleanup can be done at the end.
6818 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6819 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6820 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6821 Oh boy.. Thanks for finding this, Thomas.
6823 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6825 * docs/gst/gstreamer.types:
6828 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6830 * docs/gst/gstreamer-docs.sgml:
6831 * docs/gst/gstreamer-sections.txt:
6832 * docs/gst/tmpl/.cvsignore:
6834 * gst/gstiterator.c:
6836 * gst/registries/gstxmlregistry.h:
6837 added missing classes and symbols (123 more to go)
6838 removed removed symbols from section file
6839 fixed many doc-comments
6841 2005-08-24 Wim Taymans <wim@fluendo.com>
6843 * check/generic/states.c: (GST_START_TEST):
6844 Make sure all tasks are stopped.
6846 * check/gst/gstbin.c: (GST_START_TEST):
6847 Unref after usage for proper valgrinding.
6849 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6850 Really wait for the task to stop before destroying the
6853 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6854 (gst_queue_src_activate_push):
6855 Small cleanups. Don't stop the task when we did not start
6858 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6859 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6860 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6863 Protect the stream lock with the object lock.
6864 Disallow setting the stream lock when running.
6865 Add cleanup_all to wait for the threadpool to finish.
6866 Remove code to autoallocate a mutex if none was provided.
6867 Add _join() to wait for a task to stop.
6868 Protect the thread pool with a global lock.
6870 2005-08-24 Wim Taymans <wim@fluendo.com>
6872 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6873 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6874 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6875 * gst/base/gstbasesink.h:
6876 Handle newsegment events correctly.
6877 Drop buffers out of the segment range.
6879 2005-08-22 Andy Wingo <wingo@pobox.com>
6881 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6882 macro, implements an interface and gstimplementsinterface for a
6885 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6887 * check/Makefile.am:
6888 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6889 add a test that does a bunch of state changes on elements
6890 needs some fixing for valgrind
6891 * check/states/sinks.c: (gst_object_suite):
6894 add prototype for gst_caps_is_equal_fixed
6896 * gst/gstregistrypool.c:
6899 2005-08-24 Andy Wingo <wingo@pobox.com>
6901 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6902 convert a negative value. Doesn't make much sense. Mostly this is
6903 here to force callers to ensure -1 maps to -1.
6905 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6907 * docs/pwg/advanced-types.xml:
6908 Well done to Michael for catching my deliberate introduction
6909 of this spelling mistake.
6910 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6912 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6913 unlink pads before removing the element from the bin.
6915 2005-08-24 Andy Wingo <wingo@pobox.com>
6917 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6918 the same thing as GST_DEBUG=*:4.
6919 (parse_debug_level, parse_debug_category): New helper parsers.
6921 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6923 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6924 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6925 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6926 (gst_base_transform_buffer_alloc),
6927 (gst_base_transform_handle_buffer):
6928 use gboolean return values and pointers to size so we can use the
6929 full GST_BUFFER_SIZE range (guint) for buffer sizes
6930 use GstPadDirection for transform_caps
6931 * gst/base/gstbasetransform.h:
6932 rename get_size to get_unit_size since that's what it is
6933 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6934 use GstPadDirection for transform_caps
6935 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6937 cleanup and debugging
6939 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6941 * gst/gstelement.c: (gst_element_class_init),
6942 (gst_element_set_state), (activate_pads),
6943 (gst_element_save_thyself):
6944 * tools/gst-compprep.c: (main):
6945 * tools/gst-inspect.c: (print_element_properties_info):
6946 * tools/gst-xmlinspect.c: (print_element_properties):
6947 Fixed long standing mem-leak
6949 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6951 * check/gst/gstbin.c: (GST_START_TEST):
6952 * gst/gstbin.c: (bin_bus_handler):
6953 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6954 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6955 (gst_message_new_warning), (gst_message_new_tag),
6956 (gst_message_new_state_changed), (gst_message_new_segment_start),
6957 (gst_message_new_segment_done), (gst_message_new_custom):
6959 * tools/gst-launch.c: (event_loop):
6960 * tools/gst-md5sum.c: (event_loop):
6961 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6962 that applications can sensibly post custom messages with references
6963 to their own objects.
6965 2005-08-24 Andy Wingo <wingo@pobox.com>
6967 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6970 2005-08-24 Wim Taymans <wim@fluendo.com>
6972 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6973 (gst_base_transform_transform_caps),
6974 (gst_base_transform_transform_size),
6975 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6976 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6977 (gst_base_transform_handle_buffer):
6978 * gst/base/gstbasetransform.h:
6979 Many fixes and new features added by Thomas. Can now also do
6980 transforms with variable sizes and a custom fixate_caps function.
6982 2005-08-24 Wim Taymans <wim@fluendo.com>
6984 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6988 Cast to ClockTime before formatting to time.
6993 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6995 * check/gst-libs/controller.c: (GST_START_TEST),
6996 (gst_controller_suite):
6997 * docs/gst/tmpl/gstcaps.sgml:
6998 * docs/gst/tmpl/gstghostpad.sgml:
6999 * docs/gst/tmpl/gstquery.sgml:
7000 * docs/gst/tmpl/gstutils.sgml:
7001 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7002 (gst_object_sink_values), (gst_object_get_value_arrays),
7003 (gst_object_get_value_array):
7004 gracefully handle helper method calls to objects that are not beeing
7005 controlled, added test case for that
7007 2005-08-23 Wim Taymans <wim@fluendo.com>
7009 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7010 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7011 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7012 (gst_event_parse_qos), (gst_event_new_seek),
7013 (gst_event_parse_seek):
7015 Some more debugging output and doc cleanups.
7017 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7018 Fix possible deadlock.
7020 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7022 * docs/gst/gstreamer-docs.sgml:
7023 * docs/gst/gstreamer-sections.txt:
7024 * docs/gst/gstreamer.types:
7025 * docs/gst/tmpl/.cvsignore:
7030 added 100 symbols from gstreamer-unused.txt to the right sections
7031 fixed more broken comments
7032 added GstBus to docs
7034 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7036 * docs/gst/gstreamer-sections.txt:
7037 * docs/gst/tmpl/.cvsignore:
7038 * docs/gst/tmpl/gstbin.sgml:
7039 * docs/gst/tmpl/gstbuffer.sgml:
7040 * gst/base/gstbasesrc.c:
7041 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7044 * tools/gst-launch.1.in:
7045 inlined more doc comments, added missing comments and fixed comments
7048 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7050 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7054 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7056 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7057 * gst/gststructure.h:
7058 add a fixate function for booleans; add a FIXME that these func
7059 names should probably be gst_structure_fixate_*
7061 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7063 * docs/gst/gstreamer-docs.sgml:
7064 * docs/gst/gstreamer-sections.txt:
7066 * gst/gstbin.c: (gst_bin_get_type),
7067 (gst_bin_child_proxy_get_child_by_index),
7068 (gst_bin_child_proxy_get_children_count),
7069 (gst_bin_child_proxy_init):
7070 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7071 (gst_child_proxy_get_child_by_index),
7072 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7073 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7074 (gst_child_proxy_get), (gst_child_proxy_set_property),
7075 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7076 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7077 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7078 * gst/gstchildproxy.h:
7079 * gst/parse/grammar.y:
7080 * tools/gst-inspect.c: (print_interfaces),
7081 (print_element_properties_info), (print_element_info):
7082 ported gstchildproxy over from 0.8
7083 ported gst-inspect fixes and enhancements over from 0.8
7085 2005-08-22 Wim Taymans <wim@fluendo.com>
7087 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7088 (gst_base_transform_handle_buffer):
7089 Also call the transform function if we have ANY caps.
7091 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7094 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7096 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7097 Don't pretend to handle seek events if the source is not seekable
7099 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7102 Remove extra parameter to debug output
7104 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7105 (gst_base_src_do_seek), (gst_base_src_activate_push):
7106 Fix seek event handling.
7108 * gst/gstpipeline.c: (gst_pipeline_change_state):
7109 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7110 (gst_queue_src_activate_push):
7111 Don't start the src pad task on FLUSH_STOP if the pad
7115 2005-08-22 Wim Taymans <wim@fluendo.com>
7117 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7118 Added check for gst_static_caps_get() refcounting.
7120 2005-08-22 Wim Taymans <wim@fluendo.com>
7122 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7123 Make _static_caps_get() refcounting sane.
7125 * gst/gstelement.c: (gst_element_set_state):
7126 Add g_return_val_if_fail() to protect against segfaults.
7128 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7130 * docs/gst/tmpl/gstevent.sgml:
7133 inlined remaining docs, added missing doc comments
7135 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7137 * check/gst/gstbin.c: (GST_START_TEST):
7138 since we don't know when preroll is done, use refcount range
7140 * gst/check/gstcheck.h:
7141 add macro for checking refcount range
7143 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7145 * check/Makefile.am:
7146 clean up environment for when registry gets built versus
7147 when actual tests are run; valgrind seems to not report
7148 leaks if GST_PLUGIN_PATH is set to some specific values
7149 * check/gst/gstbin.c: (GST_START_TEST):
7150 add more refcounting checks; maybe this exposes a
7153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7154 * gst/check/gstcheck.h:
7155 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7156 (gst_bin_change_state):
7157 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7158 add/fix debugging/whitespace
7160 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7162 * check/gst/gstevent.c: (event_probe), (test_event),
7164 Er, don't call gst_bin_watch_for_state_change you idiot.
7166 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7168 * check/Makefile.am:
7169 Use CHECK_CFLAGS and CHECK_LIBS
7170 * check/gst/gstevent.c: (event_probe), (test_event),
7173 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7174 (gst_base_src_start), (gst_base_src_stop),
7175 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7176 (gst_base_src_change_state):
7177 Sprinkle gst_base_src_stop liberally around error paths to fix
7178 problems reusing a source after failed state changes.
7179 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7180 (helper_find_suggest), (gst_type_find_helper):
7181 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7183 * docs/gst/tmpl/gstevent.sgml:
7184 Migrate part of the docs from the SGML file. Wait for ensonic to
7185 tell me how I did it wrong ;)
7186 * tools/gst-typefind.c: (main):
7187 Extra robustness to state changes between files.
7189 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7191 * check/Makefile.am:
7192 don't valgrind the controller test - it's leaking - Stefan, HELP
7193 * gst/check/gstcheck.c: (gst_check_message_error),
7194 (gst_check_chain_func), (gst_check_setup_element),
7195 (gst_check_teardown_element), (gst_check_setup_src_pad),
7196 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7197 (gst_check_teardown_sink_pad):
7198 * gst/check/gstcheck.h:
7199 add a bunch of methods to set up elements, and src and sink pads
7200 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7201 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7206 whitespace/doc fixes
7208 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7211 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7212 be handled by the application and not always printed as well
7214 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7216 * check/Makefile.am:
7218 * gst/check/gstcheck.c: (gst_check_message_error):
7219 * gst/check/gstcheck.h:
7220 add a fail_unless_equals_int
7221 add fail_unless for error messages
7223 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7225 * check/Makefile.am:
7227 * common/Makefile.am:
7230 factor out some of the common stuff so we can use it
7232 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7234 * check/Makefile.am:
7235 * check/gst/gstiterator.c: (GST_START_TEST):
7236 * check/gst/gstsystemclock.c: (GST_START_TEST),
7237 (gst_systemclock_suite):
7238 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7242 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7244 * check/elements/.cvsignore:
7245 * check/elements/gstfakesrc.c:
7246 rename to name of element
7247 * check/elements/identity.c: (chain_func), (event_func),
7248 (setup_identity), (cleanup_identity), (GST_START_TEST),
7249 (identity_suite), (main):
7250 add a test for identity
7251 * check/Makefile.am:
7252 * pkgconfig/Makefile.am:
7253 * pkgconfig/gstreamer-check.pc.in:
7254 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7258 move the check stuff to a library that gets installed
7259 * check/gst-libs/controller.c: (GST_START_TEST):
7260 * check/gst-libs/gdp.c:
7261 * check/gst/gst.c: (GST_START_TEST):
7262 * check/gst/gstbin.c:
7263 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7264 * check/gst/gstbus.c:
7265 * check/gst/gstcaps.c: (GST_START_TEST):
7266 * check/gst/gstelement.c:
7267 * check/gst/gstghostpad.c:
7268 * check/gst/gstiterator.c:
7269 * check/gst/gstmessage.c:
7270 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7271 * check/gst/gstobject.c:
7272 * check/gst/gstpad.c: (GST_START_TEST):
7273 * check/gst/gststructure.c: (GST_START_TEST):
7274 * check/gst/gstsystemclock.c: (GST_START_TEST),
7275 (gst_systemclock_suite):
7276 * check/gst/gsttag.c: (gst_tag_suite):
7277 * check/gst/gstvalue.c:
7278 * check/pipelines/cleanup.c:
7279 * check/pipelines/simple_launch_lines.c:
7280 * check/states/sinks.c:
7281 change include statement
7283 * docs/gst/gstreamer-sections.txt:
7284 * docs/gst/tmpl/gstpad.sgml:
7285 document more pad stuff
7286 * gst/gstminiobject.c: (gst_mini_object_ref),
7287 (gst_mini_object_unref):
7290 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7292 * docs/gst/tmpl/gst.sgml:
7294 eliminate another tmpl file, fix spelling in the long-description
7296 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7298 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7299 (test_event), (timediff), (gstevents_suite):
7300 Should fix build on 64-bit arch's
7302 2005-08-18 Andy Wingo <wingo@pobox.com>
7304 Make sure that when a pipeline goes to PLAYING, that data has
7305 actually hit the sink.
7307 * check/states/sinks.c (test_sink): A sink that doesn't get any
7308 data shouldn't return SUCCESS for going to either PLAYING or
7309 PAUSED. Test also the return values on the way back down.
7311 * gst/gstelement.c (gst_element_set_state): When changing the
7312 state of an element currently changing state asynchronously, go to
7313 lost-state after commiting the pending state. Makes future calls
7314 to get_state continue to return ASYNC.
7316 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7317 ASYNC when going to PLAYING if we still don't have preroll, as can
7318 happen with live sources.
7320 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7322 * docs/pwg/advanced-types.xml:
7323 Hack long paragraph into 2 chunks as a workaround for buggy
7324 jadetex version in sid and breezy that loops infinitely and
7327 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7329 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7330 (test_event), (timediff), (gstevents_suite):
7331 Provide more error margin in clock measurements to allow for
7332 g_get_current_time inaccuracies.
7334 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7336 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7337 (test_event), (timediff), (gstevents_suite):
7338 Fix error message output so I might be able to tell why the
7339 test works here but fails on the build farm.
7341 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7343 * check/Makefile.am:
7344 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7345 (test_event), (timediff), (gstevents_suite), (main):
7348 * docs/design/part-seeking.txt:
7351 * docs/gst/tmpl/gstevent.sgml:
7352 * docs/gst/tmpl/gstfakesrc.sgml:
7355 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7356 Treat a buffer-without-newsegment the same as a receiving
7357 a newsegment not in time format, and disable syncing to the clock
7360 * gst/gstbus.c: (gst_bus_set_sync_handler):
7361 Assert if anyone tries to replace the existing sync_handler for bus,
7362 as only the owner should be setting it.
7365 Have a fixed set of custom event enums with events identified by
7366 their structure name (as in 0.8), rather than a free-for-all
7367 allowing collisions between enum values from different plugins.
7369 * gst/gstpad.c: (gst_pad_class_init):
7372 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7373 Handle out-of-band downstream events from the sending thread.
7375 2005-08-17 Andy Wingo <wingo@pobox.com>
7377 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7378 play-timeout==0 to mean no timeout at all. In that case, don't
7379 bother with a get_state or a warning, just return directly, even
7382 * gst/base/gstbasetransform.c: Debug changes.
7385 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7386 ensure bins post state change messages. A bit of a hack but I can't
7387 think of a way to avoid it.
7389 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7391 2005-08-16 Andy Wingo <wingo@pobox.com>
7393 * gst/base/gstadapter.h:
7394 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7395 peek() but you own the data. Not terribly efficient atm.
7397 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7399 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7400 (gst_element_found_tags):
7402 Add two utility functions for tag handling.
7404 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7406 * docs/manual/advanced-dataaccess.xml:
7407 * docs/manual/basics-helloworld.xml:
7408 Fix docs to use _bin_add() before _link(), which fixes the examples
7409 with recent core versions (reported by Madhan Raj M
7410 <raj_madan@rediffmail.com>, #313199).
7412 2005-08-16 Wim Taymans <wim@fluendo.com>
7414 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7415 Added subtract checks.
7417 * docs/design/part-events.txt:
7418 Some more docs about newsegment
7420 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7423 * gst/gstcaps.c: (gst_caps_to_string):
7424 Add comments, cleanups.
7426 * gst/gstelement.c: (gst_element_save_thyself):
7429 * gst/gstvalue.c: (gst_value_collect_int_range),
7430 (gst_string_unwrap), (gst_value_union_int_int_range),
7431 (gst_value_union_int_range_int_range),
7432 (gst_value_intersect_int_int_range),
7433 (gst_value_intersect_int_range_int_range),
7434 (gst_value_intersect_double_double_range),
7435 (gst_value_intersect_double_range_double_range),
7436 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7437 (gst_value_subtract_int_range_int),
7438 (gst_value_subtract_double_range_double),
7439 (gst_value_subtract_double_range_double_range),
7440 (gst_value_subtract_from_list), (gst_value_subtract_list),
7441 (gst_value_can_compare), (gst_value_compare_fraction):
7442 Cleanups, add comments, remove unneeded asserts.
7444 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7446 * tools/gst-launch.c: (event_loop):
7447 don't convert NULL structures to strings
7449 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7451 * docs/gst/gstreamer-sections.txt:
7452 made some defines private
7453 * docs/gst/tmpl/gstconfig.sgml:
7454 * docs/gst/tmpl/gstqueue.sgml:
7455 * docs/gst/tmpl/gsttaglist.sgml:
7456 * docs/gst/tmpl/gsttypes.sgml:
7457 * docs/gst/tmpl/gstutils.sgml:
7458 * docs/pwg/appendix-porting.xml:
7459 * gst/base/gstbasesink.h:
7460 * gst/base/gstbasesrc.c:
7461 * gst/base/gstbasesrc.h:
7462 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7463 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7464 * gst/gstelement.c: (gst_element_class_init):
7465 * gst/gstpad.c: (gst_pad_class_init):
7466 * gst/gstqueue.c: (gst_queue_class_init):
7467 * gst/gstxml.c: (gst_xml_class_init):
7468 documented all undocumented signal inline
7469 * libs/gst/controller/gst-controller.h:
7472 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7474 * docs/pwg/appendix-porting.xml:
7475 Document _set_link_function -> _set_setcaps_function.
7477 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7479 * check/Makefile.am:
7480 add a .check target for running the check
7481 * check/gst-libs/controller.c: (GST_START_TEST):
7483 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7484 complete checks for gstbuffer; would be nice if I could get the
7485 gcov stuff to work so I can see if I actually completed gstbuffer.c
7487 add ASSERT_BUFFER_REFCOUNT
7489 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7491 * docs/gst/gstreamer-sections.txt:
7492 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7494 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7495 spew out a warning if a tag that is already registered
7496 is re-registered, unless it is re-registered with a
7497 different type (#308438).
7499 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7501 * docs/pwg/appendix-porting.xml:
7502 * docs/pwg/building-state.xml:
7503 Add some paragraphs about state changes in 0.9 to the PWG
7504 and the porting guide, in particular about the new meaning
7505 of GST_STATE_PAUSED and how to write state change functions
7506 with concurrent access by multiple threads in mind.
7508 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7510 * docs/gst/gstreamer-docs.sgml:
7511 * docs/libs/gstreamer-libs-docs.sgml:
7512 added deprecation and since indexes
7513 * libs/gst/controller/gst-controller.c:
7514 * libs/gst/controller/gst-helper.c:
7518 2005-08-11 Wim Taymans <wim@fluendo.com>
7520 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7521 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7522 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7523 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7524 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7525 (gst_ghost_pad_set_target):
7526 Actually implement (re)setting the target on a ghostpad
7527 as described in the docs.
7529 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7531 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7532 Check whether GST_DEBUG_NO_COLOR environment variable is
7533 set and disable coloured debug output if that is the case.
7535 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7537 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7538 (gst_type_find_helper):
7539 The memory returned by gst_type_find_peek() needs to
7540 stay valid until the end of a typefind function, and
7541 typefind functions may keep results from different
7542 offsets around, so we can't just unref the buffer from
7543 the previous _peek(), but have to save all buffers
7544 returned by _peek() until typefinding is done and only
7547 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7549 * docs/gst/gstreamer-sections.txt:
7551 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7553 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7555 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7556 Fix a pretty good memleak.
7558 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7560 * gst/gstiterator.h:
7561 Fix wrong include and 'make distcheck'.
7563 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7565 * gst/gstbin.c: (bin_bus_handler):
7566 Use gst_element_post_message() instead.
7568 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7570 * gst/base/gstadapter.h:
7571 * gst/base/gstbasesink.h:
7572 * gst/base/gstbasesrc.h:
7573 * gst/base/gstbasetransform.h:
7574 * gst/base/gstcollectpads.h:
7575 * gst/base/gstpushsrc.h:
7576 * gst/gstiterator.h:
7577 Add padding to our base elements' class and instance structs and
7578 to GstIterator (you will need to rebuild all plugins and apps!)
7580 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7582 * gst/gstbin.c: (bin_bus_handler):
7583 Make default message forwarding from child->bus to bin->bus
7584 threadsafe and make it not emit warnings if the parent has no bus.
7586 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7588 * gst/gstelement.c: (activate_pads):
7589 On paused->ready, set pad->caps to NULL, as is the documented
7590 behaviour in this state change. Fixes playback of series of
7591 media files when visualization is enabled in Totem.
7593 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7595 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7596 Allow NULL as filter-caps (which means "any").
7598 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7600 * docs/libs/gstreamer-libs-sections.txt:
7601 * libs/gst/controller/gst-controller.c:
7602 * libs/gst/controller/gst-controller.h:
7603 * libs/gst/controller/gst-helper.c:
7604 adding more entries to the docs and fix small doc-bugs
7606 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7608 * docs/gst/gstreamer-docs.sgml:
7609 * docs/gst/gstreamer-sections.txt:
7610 * docs/gst/gstreamer.types:
7611 * docs/gst/tmpl/gstbasesink.sgml:
7612 * docs/gst/tmpl/gstbasesrc.sgml:
7613 * docs/gst/tmpl/gstbasetransform.sgml:
7614 * docs/gst/tmpl/gstfakesrc.sgml:
7615 * gst/base/gstcollectpads.c:
7616 * gst/base/gstcollectpads.h:
7617 * libs/gst/controller/gst-controller.c:
7618 * libs/gst/controller/gst-controller.h:
7619 * libs/gst/controller/gst-helper.c:
7620 * libs/gst/controller/gst-interpolation.c:
7621 * libs/gst/controller/lib.c:
7622 added long/short desc for controller docs
7623 added collectpads base class docs
7624 added correct includes to base-class docs
7626 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7628 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7629 (gst_test_mono_source_set_property),
7630 (gst_test_mono_source_class_init), (GST_START_TEST),
7631 (gst_controller_suite):
7632 * docs/gst/gstreamer-docs.sgml:
7633 * docs/gst/gstreamer-sections.txt:
7634 * docs/gst/gstreamer.types:
7635 * docs/libs/gstreamer-libs-docs.sgml:
7636 * docs/libs/gstreamer-libs-sections.txt:
7637 * gst/base/gstadapter.c:
7638 * libs/gst/controller/gst-controller.c:
7639 (gst_controlled_property_new), (gst_controlled_property_free),
7640 (gst_controller_new_valist),
7641 (gst_controller_remove_properties_valist),
7642 (gst_controller_sink_values), (_gst_controller_finalize):
7643 * libs/gst/controller/gst-controller.h:
7644 * libs/gst/controller/gst-helper.c:
7645 (gst_object_control_properties), (gst_object_uncontrol_properties),
7646 (gst_object_get_controller), (gst_object_set_controller),
7647 (gst_object_sink_values), (gst_object_get_value_arrays),
7648 (gst_object_get_value_array):
7649 more tests (and fixes) for the controller
7650 more docs for the controller
7651 integrated companies docs for the adapter
7653 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7655 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7656 (GST_START_TEST), (fakesrc_suite):
7657 add tests for sizetype
7659 2005-08-04 Andy Wingo <wingo@pobox.com>
7661 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7662 fixes buffer_alloc proxying among other things.
7664 * gst/base/gstbasetransform.c:
7665 * gst/base/gstbasetransform.h:
7666 Revert patch to gstbasetransform from 7-28 removing
7669 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7670 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7671 Semantics changed, should return not the size of the output buffer
7672 but the byte size of a buffer with a given caps.
7674 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7676 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7677 out) are not the pad caps until setcaps finishes.
7678 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7679 not-in-place case as well. Deal with changing from in-place to
7680 not-in-place within calling pad_alloc_buffer. Still a bit
7681 concerned about the overhead here...
7683 2005-08-03 Andy Wingo <wingo@pobox.com>
7685 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7686 fixating is an error.
7688 2005-08-04 Edward Hervey <edward@fluendo.com>
7690 * gst/base/gstadapter.h:
7691 Added gst_adapter_get_type() to the header
7693 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7695 * check/Makefile.am:
7696 * check/gst-libs/controller.c:
7697 * libs/gst/controller/gst-controller.c:
7698 (gst_controller_new_valist):
7699 added check test suite for the controller
7700 * gst/base/gstpushsrc.c:
7703 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7705 * docs/gst/Makefile.am:
7706 * docs/gst/gstreamer-docs.sgml:
7707 * docs/gst/gstreamer-sections.txt:
7708 * docs/gst/gstreamer.types:
7709 * docs/gst/tmpl/gstfakesrc.sgml:
7711 * gst/base/gstbasesink.c:
7712 * gst/base/gstbasesink.h:
7713 * gst/base/gstbasesrc.c:
7714 * gst/base/gstbasesrc.h:
7715 * gst/base/gstbasetransform.c:
7716 * gst/base/gstpushsrc.c:
7717 * gst/base/gstpushsrc.h:
7718 add short/long description docs to base classes
7719 add pushsrc to the docs
7720 remove consolidated doc fragments
7722 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7725 * docs/libs/Makefile.am:
7726 * docs/libs/gstreamer-libs-docs.sgml:
7727 * docs/libs/gstreamer-libs-sections.txt:
7728 * docs/libs/gstreamer-libs.types:
7729 * examples/Makefile.am:
7730 * examples/controller/.cvsignore:
7731 * examples/controller/Makefile.am:
7732 * examples/controller/audio-example.c: (main):
7733 * libs/gst/Makefile.am:
7734 * libs/gst/controller/.cvsignore:
7735 * libs/gst/controller/Makefile.am:
7736 * libs/gst/controller/gst-controller.c:
7737 (on_object_controlled_property_changed), (gst_timed_value_compare),
7738 (gst_timed_value_find),
7739 (gst_controlled_property_set_interpolation_mode),
7740 (gst_controlled_property_new), (gst_controlled_property_free),
7741 (gst_controller_find_controlled_property),
7742 (gst_controller_new_valist), (gst_controller_new),
7743 (gst_controller_remove_properties_valist),
7744 (gst_controller_remove_properties), (gst_controller_set),
7745 (gst_controller_set_from_list), (gst_controller_unset),
7746 (gst_controller_get), (gst_controller_get_all),
7747 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7748 (gst_controller_get_value_array),
7749 (gst_controller_set_interpolation_mode),
7750 (_gst_controller_finalize), (_gst_controller_init),
7751 (_gst_controller_class_init), (gst_controller_get_type):
7752 * libs/gst/controller/gst-controller.h:
7753 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7754 (g_object_uncontrol_properties), (g_object_get_controller),
7755 (g_object_set_controller), (g_object_sink_values),
7756 (g_object_get_value_arrays), (g_object_get_value_array):
7757 * libs/gst/controller/gst-interpolation.c:
7758 (gst_controlled_property_find_timed_value_node),
7759 (interpolate_none_get), (interpolate_trigger_get),
7760 (interpolate_trigger_get_value_array):
7761 * libs/gst/controller/lib.c: (gst_controller_init):
7762 * pkgconfig/Makefile.am:
7763 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7764 * pkgconfig/gstreamer-control.pc.in:
7765 * testsuite/Makefile.am:
7766 * testsuite/controller/.cvsignore:
7767 * testsuite/controller/Makefile.am:
7768 * testsuite/controller/interpolator.c: (main):
7769 added controller code
7770 removed dparam pc files
7772 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7773 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7774 (gst_collectpads_stop):
7775 Broadcast the condition when shutting down, to make sure we wake all
7776 threads up. Shut down pads on finalize, for safety.
7778 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7779 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7780 (gst_base_transform_handle_buffer),
7781 (gst_base_transform_change_state):
7782 Handle PAUSED->READY->PAUSED transition after negotiation
7784 * gst/gstmessage.c: (gst_message_init):
7785 Extra piece of debug for new messages.
7787 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7790 * docs/gst/tmpl/gstbasesrc.sgml:
7791 * docs/gst/tmpl/gstelement.sgml:
7792 * docs/gst/tmpl/gstevent.sgml:
7793 * docs/gst/tmpl/gstfakesrc.sgml:
7794 * docs/gst/tmpl/gstformat.sgml:
7795 * docs/gst/tmpl/gstghostpad.sgml:
7796 * docs/gst/tmpl/gstpad.sgml:
7797 * docs/gst/tmpl/gstquery.sgml:
7798 * docs/gst/tmpl/gststructure.sgml:
7799 * docs/gst/tmpl/gsttaglist.sgml:
7800 * docs/gst/tmpl/gstvalue.sgml:
7801 * docs/libs/gstreamer-libs-docs.sgml:
7802 * docs/libs/gstreamer-libs-sections.txt:
7803 * docs/libs/gstreamer-libs.types:
7804 * libs/gst/Makefile.am:
7805 * libs/gst/control/.cvsignore:
7806 * libs/gst/control/Makefile.am:
7807 * libs/gst/control/control.c:
7808 * libs/gst/control/control.h:
7809 * libs/gst/control/dparam.c:
7810 * libs/gst/control/dparam.h:
7811 * libs/gst/control/dparam_smooth.c:
7812 * libs/gst/control/dparam_smooth.h:
7813 * libs/gst/control/dparamcommon.h:
7814 * libs/gst/control/dparammanager.c:
7815 * libs/gst/control/dparammanager.h:
7816 * libs/gst/control/dplinearinterp.c:
7817 * libs/gst/control/dplinearinterp.h:
7818 * libs/gst/control/unitconvert.c:
7819 * libs/gst/control/unitconvert.h:
7820 * testsuite/Makefile.am:
7821 * testsuite/dynparams/.cvsignore:
7822 * testsuite/dynparams/Makefile.am:
7823 * testsuite/dynparams/dparamstest.c:
7824 * tools/Makefile.am:
7825 * tools/gst-inspect.c: (print_element_info), (main):
7826 * tools/gst-xmlinspect.c: (print_element_info), (main):
7827 deactivate and remove dparams (libgstcontrol)
7829 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7831 * gst/elements/gsttypefindelement.c:
7832 (gst_type_find_element_have_type), (gst_type_find_element_init),
7833 (stop_typefinding), (gst_type_find_element_handle_event),
7834 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7835 * gst/elements/gsttypefindelement.h:
7836 Set caps on all outgoing buffers, not just the first one.
7838 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7840 * gst/elements/gsttypefindelement.c:
7841 (gst_type_find_element_have_type),
7842 (gst_type_find_element_check_set_buffer_caps),
7843 (gst_type_find_element_init), (stop_typefinding),
7844 (gst_type_find_element_handle_event),
7845 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7846 * gst/elements/gsttypefindelement.h:
7847 Set caps on first outgoing buffer when we've found the type.
7849 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7851 * docs/gst/gstreamer-docs.sgml:
7852 * docs/gst/gstreamer-sections.txt:
7853 * docs/gst/tmpl/gstscheduler.sgml:
7854 * docs/gst/tmpl/gstschedulerfactory.sgml:
7855 Remove some old cruft from docs.
7857 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7860 Fix inline docs for GstPadLinkReturn.
7862 * gst/gststructure.c: (gst_structure_has_name):
7863 * gst/gststructure.h:
7864 * docs/gst/gstreamer-sections.txt:
7865 New API: gst_structure_has_name().
7867 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7870 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7871 and _LARGEFILE_SOURCE in config.h as required. Do not
7872 export those flags in our .pc files any longer (#142209).
7874 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7876 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7877 (gst_file_sink_do_seek), (gst_file_sink_event),
7878 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7879 Redo seek/tell calls with large file support in mind; add some
7880 debugging messages; add log message that tells us when large
7881 file support is unavailable or not enabled for some reason.
7883 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7884 Add log message that tells us when large file support
7885 is unavailable or not enabled for some reason.
7887 2005-07-29 Wim Taymans <wim@fluendo.com>
7889 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7890 Added test for removing an element with ghostpad from a bin.
7891 Fixed test as current implementation does the right thing.
7893 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7894 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7895 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7896 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7897 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7898 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7899 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7900 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7901 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7902 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7903 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7904 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7905 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7906 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7907 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7908 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7909 * gst/gstghostpad.h:
7910 Clean up ghostpads, remove properties for internal stuff.
7913 Prepare for switching targets, not all use cases work yet.
7915 2005-07-29 Wim Taymans <wim@fluendo.com>
7917 * docs/design/part-gstghostpad.txt:
7920 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7921 (gst_bin_remove_func):
7922 Unlinking pads while holding the bin LOCK is not a good
7925 * gst/gstpad.c: (gst_pad_class_init),
7926 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7927 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7928 No prob setting template after creating the pad.
7930 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7932 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7933 (gst_bus_peek), (gst_bus_source_dispatch),
7934 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7935 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7936 gst_bus_poll may be called from other threads. Handle
7937 this nicely by not making poll_data disappear off the
7938 stack once gst_bus_poll returns.
7939 gst_bus_peek now increments the refcount on the returned
7942 2005-07-29 Wim Taymans <wim@fluendo.com>
7944 * docs/design/part-gstghostpad.txt:
7945 Overview of current GhostPad datastructures and use
7946 cases for changing the target.
7948 2005-07-28 Wim Taymans <wim@fluendo.com>
7950 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7951 Added checks for hierarchy consistency whan adding linked
7954 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7955 Added check to test element scheduling without bin/pipeline.
7957 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7958 First add elements to bin, then link.
7960 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7961 (gst_bin_remove_func):
7962 Unlink pads from elements added/removed from bin to maintain
7963 hierarchy consistency.
7965 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7967 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7968 (gst_base_transform_handle_buffer):
7969 * gst/base/gstbasetransform.h:
7970 Remove broken delay_configure (fixes renegotiation of software
7971 scaling pipelines); remove some leftover printf()s.
7973 2005-07-28 Wim Taymans <wim@fluendo.com>
7975 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7976 Added some more tests for wrong hierarchy
7978 * docs/design/part-overview.txt:
7981 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7984 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7985 (gst_element_dispose):
7988 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7989 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7990 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7991 (gst_pad_set_caps), (gst_pad_send_event):
7992 Check for correct hierarchy when linking pads. Moving to
7993 strict requirement for ghostpads when linking elements in
7997 Clean ups. Added WRONG_HIERARCHY return value.
7999 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8001 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8002 Better debug if no transform is possible.
8004 2005-07-27 Wim Taymans <wim@fluendo.com>
8006 * docs/random/wtay/network-transp:
8009 2005-07-27 Wim Taymans <wim@fluendo.com>
8011 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8012 (gst_dp_event_from_packet):
8013 Fix serialization of seek events.
8015 2005-07-27 Wim Taymans <wim@fluendo.com>
8017 * check/gst-libs/gdp.c: (GST_START_TEST):
8018 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8019 Fix compilation and fix event serialization.
8021 2005-07-27 Wim Taymans <wim@fluendo.com>
8024 * docs/design/part-TODO.txt:
8025 * docs/design/part-events.txt:
8028 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8029 (gst_base_sink_event), (gst_base_sink_do_sync),
8030 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8031 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8032 (gst_base_src_do_seek), (gst_base_src_event_handler),
8033 (gst_base_src_loop):
8034 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8035 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8036 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8037 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8038 (gst_base_transform_set_passthrough),
8039 (gst_base_transform_is_passthrough):
8040 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8041 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8047 * gst/gstelement.c: (gst_element_seek):
8049 Update gst_element_seek.
8051 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8052 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8053 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8054 (gst_event_new_eos), (gst_event_new_newsegment),
8055 (gst_event_parse_newsegment), (gst_event_new_tag),
8056 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8057 (gst_event_parse_qos), (gst_event_new_seek),
8058 (gst_event_parse_seek), (gst_event_new_navigation):
8060 Make GstEvent use GstStructure. Add parsing code, make sure the
8061 API is sufficiently generic.
8062 Mark possible directions of events and serialization.
8064 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8065 (_gst_message_copy), (gst_message_new_segment_start),
8066 (gst_message_new_segment_done), (gst_message_new_custom),
8067 (gst_message_parse_segment_start),
8068 (gst_message_parse_segment_done):
8071 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8072 (gst_pad_set_caps), (gst_pad_send_event):
8073 Update for new events.
8074 Catch events sent in wrong directions.
8076 * gst/gstqueue.c: (gst_queue_link_src),
8077 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8078 (gst_queue_handle_src_query):
8083 Remove event code from this file.
8085 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8086 (gst_dp_event_from_packet):
8089 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8091 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8092 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8093 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8094 Make debugging actually useful.
8096 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8098 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8099 (gst_pad_fixate_caps):
8100 Implement default fixation once again, so that gst_pad_fixate()
8101 actually does anything at all. This probably needs to be some
8102 sort of a last resort, and use profile-based fixation first, but
8103 since that doesn't exist yet, this is the best we have. Fixes
8104 visualization in Totem.
8106 2005-07-22 Wim Taymans <wim@fluendo.com>
8108 * docs/design/part-events.txt:
8111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8112 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8113 (gst_base_sink_activate_pull):
8116 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8117 (gst_fake_src_create):
8118 Fix handoff marshall.
8120 * gst/elements/gstidentity.c: (gst_identity_class_init),
8121 (gst_identity_transform_ip):
8122 We're a real inplace element.
8124 * gst/gstbus.c: (gst_bus_post):
8125 Added some comments.
8127 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8128 * tests/muxing/case1.c: (main):
8129 * tests/sched/dynamic-pipeline.c: (main):
8130 * tests/sched/interrupt1.c: (main):
8131 * tests/sched/interrupt2.c: (main):
8132 * tests/sched/interrupt3.c: (main):
8133 * tests/sched/runxml.c: (main):
8134 * tests/sched/sched-stress.c: (main):
8135 * tests/seeking/seeking1.c: (event_received), (main):
8136 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8138 * tests/threadstate/threadstate3.c: (main):
8139 * tests/threadstate/threadstate4.c: (main):
8140 * tests/threadstate/threadstate5.c: (main):
8143 2005-07-21 Wim Taymans <wim@fluendo.com>
8145 * docs/design/part-seeking.txt:
8146 Some small additions.
8148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8149 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8150 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8151 * gst/base/gstbasesink.h:
8152 discont values are gint64, handle the math correctly.
8154 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8155 Make the basesrc report error if the source pad is not linked.
8157 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8158 (gst_queue_loop), (gst_queue_handle_src_query),
8159 (gst_queue_src_activate_push):
8160 Make queue collect data even if the srcpad is not linked.
8161 Start pushing out data as soon as it is linked.
8163 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8165 Added gst_flow_get_name() to ease error reporting.
8167 2005-07-20 Wim Taymans <wim@fluendo.com>
8169 * gst/gstmessage.c: (gst_message_new_segment_start),
8170 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8171 (gst_message_parse_segment_done):
8173 Added a bunch of messages for advanced seeking.
8175 * gst/parse/grammar.y:
8176 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8177 (gst_dpman_state_changed):
8178 Fix some new-pad -> pad-added signals
8180 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8182 * docs/manual/appendix-porting.xml:
8183 * docs/pwg/appendix-porting.xml:
8184 Document new-pad/state-change signal renames and the FixedList
8187 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8189 * docs/manual/advanced-autoplugging.xml:
8190 * docs/manual/basics-helloworld.xml:
8191 * docs/manual/basics-pads.xml:
8192 * docs/random/ds/0.9-suggested-changes:
8193 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8198 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8199 (gst_structure_parse_array), (gst_structure_parse_value):
8200 * gst/gstvalue.c: (gst_type_is_fixed),
8201 (gst_value_list_prepend_value), (gst_value_list_append_value),
8202 (gst_value_list_get_size), (gst_value_list_get_value),
8203 (gst_value_transform_array_string), (gst_value_serialize_array),
8204 (gst_value_deserialize_array), (gst_value_intersect_array),
8205 (gst_value_is_fixed), (_gst_value_initialize):
8207 GstElement::new-pad -> pad-added, GstElement::state-change ->
8208 state-changed, GstValueFixedList -> GstValueArray, add format and
8209 flags as their own arguments in gst_element_seek() (should improve
8210 "bindeability"), remove function generators since they don't work
8211 under a whole bunch of compilers (they were deprecated already
8214 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8216 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8217 (_gst_debug_register_funcptr):
8219 Fix illegal cast on some platforms (#309253).
8221 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8223 * gst/gstmessage.c: (gst_message_new_custom):
8225 Add _new_custom, make _new_application a macro to _new_custom.
8227 2005-07-20 Wim Taymans <wim@fluendo.com>
8229 * gst/base/gstbasesrc.c: (gst_base_src_init),
8230 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8231 * gst/base/gstbasesrc.h:
8232 Add a gboolean to decide when to push out a discont.
8234 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8235 (gst_queue_loop), (gst_queue_handle_src_query),
8236 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8237 (gst_queue_set_property), (gst_queue_get_property):
8240 * tests/threadstate/threadstate1.c: (main):
8241 Make a thread test compile and run... very silly..
8244 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8246 * docs/manual/appendix-porting.xml:
8247 Mention removal of libgstgconf-0.9.la and existence of gconf
8250 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8252 * docs/pwg/advanced-clock.xml:
8253 * docs/pwg/appendix-porting.xml:
8254 * docs/pwg/intro-preface.xml:
8255 * docs/pwg/other-base.xml:
8256 * docs/pwg/other-manager.xml:
8257 * docs/pwg/other-nton.xml:
8258 * docs/pwg/other-ntoone.xml:
8259 * docs/pwg/other-oneton.xml:
8261 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8262 demuxer), remove n-to-n (was never written), fix some code examples
8263 and links and update the porting section to include all this.
8265 2005-07-19 Wim Taymans <wim@fluendo.com>
8267 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8268 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8269 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8270 (gst_queue_src_activate_push), (gst_queue_change_state),
8271 (gst_queue_get_property):
8273 Propagate GstFlowReturn more intelligently upstream and output
8274 an ERROR/EOS when streaming stopped due to fatal error.
8276 2005-07-19 Wim Taymans <wim@fluendo.com>
8278 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8279 Don't block forever for the state change to complete, the
8280 pipeline already did with a sensible timeout.
8282 2005-07-19 Wim Taymans <wim@fluendo.com>
8284 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8285 Make sure we never call the create function is we
8288 2005-07-19 Andy Wingo <wingo@pobox.com>
8290 * gst/parse/parse.l: Attempt to solve bug #172815.
8292 2005-07-19 Wim Taymans <wim@fluendo.com>
8294 * docs/design/part-clocks.txt:
8295 * docs/design/part-events.txt:
8296 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8298 Only update the seeking values when we are not
8301 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8303 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8304 Oops, ignore the result of gst_pad_push_event here.
8306 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8308 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8309 (gst_base_src_activate_push):
8310 Send discont event from the loop function, as pads
8311 aren't activated yet in the activate_push handler.
8313 * gst/gstbin.c: (bin_bus_handler):
8314 Don't leak element name.
8316 2005-07-18 Andy Wingo <wingo@pobox.com>
8318 * configure.ac: Use AS_LIBTOOL_TAGS.
8320 2005-07-18 Wim Taymans <wim@fluendo.com>
8322 * docs/gst/gstreamer.types:
8323 Remove deleted types.
8325 2005-07-18 Wim Taymans <wim@fluendo.com>
8327 * check/elements/gstfakesrc.c: (GST_START_TEST):
8330 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8331 (init_popt_callback):
8333 * gst/gst_private.h:
8334 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8335 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8338 * gst/gstconfig.h.in:
8339 * gst/gstelement.c: (gst_element_class_init),
8340 (gst_element_set_base_time), (gst_element_get_base_time),
8341 (iterator_fold_with_resync), (gst_element_change_state),
8342 (gst_element_dispose), (gst_element_get_bus):
8344 * gst/gstelementfactory.h:
8345 * gst/gsterror.c: (_gst_core_errors_init):
8348 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8350 * gst/gstinfo.c: (_gst_debug_init):
8351 * gst/gstmessage.c: (_gst_message_copy):
8353 * gst/gstminiobject.h:
8356 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8357 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8360 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8361 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8362 (gst_pipeline_get_last_stream_time):
8363 * gst/gstpipeline.h:
8364 * gst/gstpluginfeature.h:
8366 * gst/gstscheduler.c:
8367 * gst/gstscheduler.h:
8368 * gst/gststructure.h:
8369 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8370 (gst_task_finalize), (gst_task_func), (gst_task_create),
8371 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8372 (gst_task_stop), (gst_task_pause):
8374 * gst/gsttypefind.h:
8376 * gst/registries/gstlibxmlregistry.c: (load_feature),
8377 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8378 * gst/registries/gstxmlregistry.c:
8379 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8380 * gst/schedulers/threadscheduler.c:
8381 * libs/gst/control/dparammanager.h:
8382 * tools/gst-inspect.c: (print_element_list),
8383 (print_plugin_features), (print_element_features):
8384 * tools/gst-xmlinspect.c: (print_element_list),
8385 (print_plugin_info), (main):
8386 Removed plugable schedulers.
8387 Removed Scheduler/Manager from elements.
8388 Removed gsttypes.h, rearranged includes.
8389 Removed dependency pad<->element, element<>pipeline, and
8390 various others, fix includes.
8391 implement gst_pad_get_parent() with gst_object_get_parent()
8392 Make GstTask sefcontained.
8393 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8395 Fix endless loop in iterator_fold_with_resync.
8398 2005-07-18 Wim Taymans <wim@fluendo.com>
8404 2005-07-18 Wim Taymans <wim@fluendo.com>
8409 2005-07-18 Wim Taymans <wim@fluendo.com>
8415 2005-07-18 Wim Taymans <wim@fluendo.com>
8417 * docs/design/part-dynamic.txt:
8418 * docs/design/part-events.txt:
8419 * docs/design/part-seeking.txt:
8420 Some more docs in the works.
8422 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8423 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8424 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8425 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8426 (gst_base_transform_handle_buffer),
8427 (gst_base_transform_sink_activate_push),
8428 (gst_base_transform_src_activate_pull),
8429 (gst_base_transform_set_passthrough),
8430 (gst_base_transform_is_passthrough):
8433 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8436 * gst/gstevent.c: (gst_event_finalize):
8439 * gst/gstutils.c: (gst_element_unlink),
8440 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8441 (gst_pad_proxy_setcaps):
8443 Add _get_parent_element() to get a pads parent as an element.
8445 2005-07-18 Wim Taymans <wim@fluendo.com>
8447 * check/gst/gstbin.c: (GST_START_TEST):
8450 2005-07-18 Wim Taymans <wim@fluendo.com>
8452 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8453 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8454 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8455 (gst_base_sink_event), (gst_base_sink_do_sync),
8456 (gst_base_sink_chain), (gst_base_sink_loop),
8457 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8458 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8460 Fix logic for returning ASYNC when not prerolled.
8462 2005-07-18 Wim Taymans <wim@fluendo.com>
8464 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8465 Fix nasty refcount bug.
8467 2005-07-16 Philippe Khalaf <burger@speedy.org>
8469 * gst/elements/gstfdsrc.c:
8470 * gst/elements/gstfdsrc.h:
8471 * gst/elements/gstelements.c:
8472 * gst/elements/Makefile.am:
8473 Ported fdsrc to 0.9.
8475 2005-07-16 Wim Taymans <wim@fluendo.com>
8477 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8478 (gst_base_sink_do_sync):
8481 2005-07-16 Wim Taymans <wim@fluendo.com>
8483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8484 (gst_base_sink_event), (gst_base_sink_get_times),
8485 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8486 * gst/base/gstbasesink.h:
8487 Store and use discont values when syncing buffers as described
8490 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8491 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8492 (gst_base_src_activate_push):
8493 Push discont event when starting.
8495 * gst/elements/gstidentity.c: (gst_identity_transform):
8498 * gst/gstbin.c: (gst_bin_change_state):
8499 Small cleanups in base_time distribution.
8501 * gst/gstelement.c: (gst_element_set_base_time),
8502 (gst_element_get_base_time), (gst_element_change_state):
8504 Added methods for the base_time of the element.
8507 * gst/gstpipeline.c: (gst_pipeline_send_event),
8508 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8509 (gst_pipeline_get_last_stream_time):
8510 * gst/gstpipeline.h:
8512 Handle seeking as described in design doc, remove stream_time
8514 Cleanups clock and stream_time selection code. Added accessors
8515 for the stream_time.
8518 2005-07-16 Andy Wingo <wingo@pobox.com>
8520 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8523 2005-07-16 Wim Taymans <wim@fluendo.com>
8525 * check/gst/gstbin.c: (GST_START_TEST):
8526 Make elements silent as the deep_notify refs the
8527 parent, which might make the test fail.
8529 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8530 Don't hold the lock for too long.
8532 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8534 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8535 Don't unref the caps we passed to gst_caps_make_writable() after
8536 passing them. gst_caps_make_writable() will do that for us.
8538 2005-07-15 Andy Wingo <wingo@pobox.com>
8540 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8543 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8544 own marshalling function for the handoff signal. Properly type the
8545 buffer as a buffer. Fixes some warnings. Should do a more general
8547 (gst_identity_class_init): Plug into the right marshaller.
8549 2005-07-15 Wim Taymans <wim@fluendo.com>
8551 * docs/design/part-TODO.txt:
8552 * docs/design/part-clocks.txt:
8553 * docs/design/part-element-sink.txt:
8554 * docs/design/part-events.txt:
8555 * docs/design/part-gstpipeline.txt:
8556 Updated docs, mostly DISCONT related.
8558 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8560 * docs/pwg/building-pads.xml:
8561 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8563 2005-07-15 Andy Wingo <wingo@pobox.com>
8565 * tools/gst-typefind.c: Update, add copyright block.
8567 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8568 Normalize and truncate caps before fixation.
8571 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8572 discards all but the first structure from its argument.
8574 2005-07-15 Wim Taymans <wim@fluendo.com>
8576 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8577 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8578 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8579 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8580 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8581 (gst_base_transform_chain), (gst_base_transform_change_state),
8582 (gst_base_transform_set_passthrough),
8583 (gst_base_transform_is_passthrough):
8584 * gst/base/gstbasetransform.h:
8585 Make passthrough work using the bufferpools.
8586 Changed API a bit, subclasses have to write into a buffer
8587 provided by the base class.
8588 More debug info in nego functions.
8590 * gst/elements/gstidentity.c: (gst_identity_init),
8591 (gst_identity_transform):
8592 Port to new base class.
8594 2005-07-15 Wim Taymans <wim@fluendo.com>
8596 * gst/gstmessage.c: (gst_message_new_state_changed):
8597 * tools/gst-launch.c: (event_loop), (main):
8598 Totally dump messages in -launch with the -m option.
8599 Fix message name for State messages,
8601 2005-07-14 Wim Taymans <wim@fluendo.com>
8603 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8604 Post error messages on errors.
8606 2005-07-14 Wim Taymans <wim@fluendo.com>
8608 * gst/gstcaps.c: (gst_caps_do_simplify):
8612 Define error for stream stopped.
8614 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8615 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8616 Do proper return values.
8618 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8619 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8620 (gst_pad_get_range):
8621 Better return values.
8624 Reorganise return values, add macro to check for fatal errors.
8626 * gst/gstqueue.c: (gst_queue_chain):
8627 Return proper GstFlowReturn values,
8629 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8631 * docs/gst/gstreamer-sections.txt:
8632 * docs/gst/gstreamer.types:
8633 * docs/gst/tmpl/gst.sgml:
8634 * docs/gst/tmpl/gstbasesink.sgml:
8635 * docs/gst/tmpl/gstbasesrc.sgml:
8636 * docs/gst/tmpl/gstbasetransform.sgml:
8637 * docs/gst/tmpl/gstbin.sgml:
8638 * docs/gst/tmpl/gstbuffer.sgml:
8639 * docs/gst/tmpl/gstcaps.sgml:
8640 * docs/gst/tmpl/gstclock.sgml:
8641 * docs/gst/tmpl/gstcompat.sgml:
8642 * docs/gst/tmpl/gstconfig.sgml:
8643 * docs/gst/tmpl/gstelement.sgml:
8644 * docs/gst/tmpl/gstelementdetails.sgml:
8645 * docs/gst/tmpl/gstelementfactory.sgml:
8646 * docs/gst/tmpl/gstenumtypes.sgml:
8647 * docs/gst/tmpl/gsterror.sgml:
8648 * docs/gst/tmpl/gstevent.sgml:
8649 * docs/gst/tmpl/gstfakesink.sgml:
8650 * docs/gst/tmpl/gstfakesrc.sgml:
8651 * docs/gst/tmpl/gstfilesink.sgml:
8652 * docs/gst/tmpl/gstfilesrc.sgml:
8653 * docs/gst/tmpl/gstfilter.sgml:
8654 * docs/gst/tmpl/gstformat.sgml:
8655 * docs/gst/tmpl/gstghostpad.sgml:
8656 * docs/gst/tmpl/gstimplementsinterface.sgml:
8657 * docs/gst/tmpl/gstindex.sgml:
8658 * docs/gst/tmpl/gstindexfactory.sgml:
8659 * docs/gst/tmpl/gstinfo.sgml:
8660 * docs/gst/tmpl/gstiterator.sgml:
8661 * docs/gst/tmpl/gstmacros.sgml:
8662 * docs/gst/tmpl/gstmemchunk.sgml:
8663 * docs/gst/tmpl/gstminiobject.sgml:
8664 * docs/gst/tmpl/gstobject.sgml:
8665 * docs/gst/tmpl/gstpad.sgml:
8666 * docs/gst/tmpl/gstpadtemplate.sgml:
8667 * docs/gst/tmpl/gstparse.sgml:
8668 * docs/gst/tmpl/gstpipeline.sgml:
8669 * docs/gst/tmpl/gstplugin.sgml:
8670 * docs/gst/tmpl/gstpluginfeature.sgml:
8671 * docs/gst/tmpl/gstquery.sgml:
8672 * docs/gst/tmpl/gstqueue.sgml:
8673 * docs/gst/tmpl/gstregistry.sgml:
8674 * docs/gst/tmpl/gstregistrypool.sgml:
8675 * docs/gst/tmpl/gstscheduler.sgml:
8676 * docs/gst/tmpl/gstschedulerfactory.sgml:
8677 * docs/gst/tmpl/gststructure.sgml:
8678 * docs/gst/tmpl/gstsystemclock.sgml:
8679 * docs/gst/tmpl/gsttaglist.sgml:
8680 * docs/gst/tmpl/gsttagsetter.sgml:
8681 * docs/gst/tmpl/gsttrace.sgml:
8682 * docs/gst/tmpl/gsttrashstack.sgml:
8683 * docs/gst/tmpl/gsttypefind.sgml:
8684 * docs/gst/tmpl/gsttypefindfactory.sgml:
8685 * docs/gst/tmpl/gsttypes.sgml:
8686 * docs/gst/tmpl/gsturihandler.sgml:
8687 * docs/gst/tmpl/gsturitype.sgml:
8688 * docs/gst/tmpl/gstutils.sgml:
8689 * docs/gst/tmpl/gstvalue.sgml:
8690 * docs/gst/tmpl/gstversion.sgml:
8691 * docs/gst/tmpl/gstxml.sgml:
8692 * docs/libs/tmpl/gstcontrol.sgml:
8693 * docs/libs/tmpl/gstdataprotocol.sgml:
8694 * docs/libs/tmpl/gstdparam.sgml:
8695 * docs/libs/tmpl/gstdplinint.sgml:
8696 * docs/libs/tmpl/gstdpman.sgml:
8697 * docs/libs/tmpl/gstdpsmooth.sgml:
8698 * docs/libs/tmpl/gstgetbits.sgml:
8699 * docs/libs/tmpl/gstunitconvert.sgml:
8700 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8701 (gst_push_src_base_init), (gst_push_src_class_init),
8702 (gst_push_src_init), (gst_push_src_create):
8703 * gst/base/gstpushsrc.h:
8704 * gst/elements/gstelements.c:
8705 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8706 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8707 (gst_fake_sink_init), (gst_fake_sink_set_property),
8708 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8709 (gst_fake_sink_event), (gst_fake_sink_preroll),
8710 (gst_fake_sink_render), (gst_fake_sink_change_state):
8711 * gst/elements/gstfakesink.h:
8712 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8713 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8714 (gst_fake_src_base_init), (gst_fake_src_class_init),
8715 (gst_fake_src_init), (gst_fake_src_event_handler),
8716 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8717 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8718 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8719 (gst_fake_src_create_buffer), (gst_fake_src_create),
8720 (gst_fake_src_start), (gst_fake_src_stop):
8721 * gst/elements/gstfakesrc.h:
8722 * gst/elements/gstfilesink.c: (_do_init),
8723 (gst_file_sink_base_init), (gst_file_sink_class_init),
8724 (gst_file_sink_init), (gst_file_sink_dispose),
8725 (gst_file_sink_set_location), (gst_file_sink_set_property),
8726 (gst_file_sink_get_property), (gst_file_sink_open_file),
8727 (gst_file_sink_close_file), (gst_file_sink_query),
8728 (gst_file_sink_event), (gst_file_sink_render),
8729 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8730 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8731 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8732 * gst/elements/gstfilesink.h:
8733 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8734 (gst_file_src_class_init), (gst_file_src_init),
8735 (gst_file_src_finalize), (gst_file_src_set_location),
8736 (gst_file_src_set_property), (gst_file_src_get_property),
8737 (gst_file_src_map_region), (gst_file_src_map_small_region),
8738 (gst_file_src_create_mmap), (gst_file_src_create_read),
8739 (gst_file_src_create), (gst_file_src_is_seekable),
8740 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8741 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8742 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8743 (gst_file_src_uri_handler_init):
8744 * gst/elements/gstfilesrc.h:
8745 more autistic cleanliness in functions/names/defines
8747 2005-07-13 Andy Wingo <wingo@pobox.com>
8749 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8750 source couldn't negotiate.
8752 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8756 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8757 function. I am channeling Hades. Put your boots on suckers!!!
8759 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8761 * testsuite/caps/Makefile.am:
8762 * testsuite/caps/value_compare.c:
8763 * testsuite/caps/value_intersect.c:
8764 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8765 move two testsuite apps over to the check dir
8767 2005-07-12 Wim Taymans <wim@fluendo.com>
8769 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8770 Added more debug info in the negotiate process.
8773 Prepare for segment playback.
8775 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8781 * tools/gst-launch.c: (main):
8782 NULL pipeline on errors.
8784 2005-07-12 Andy Wingo <wingo@pobox.com>
8786 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8787 not it comes from a malloc region. Make sure our copy gets freed.
8789 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8791 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8792 * check/gst/gstmessage.c: (GST_START_TEST):
8793 * check/gst/gststructure.c: (GST_START_TEST),
8794 (gst_structure_suite), (main):
8796 * gst/gstelement.c: (gst_element_message_full):
8797 clean up GError and debug string now that they get copied
8798 * gst/gstmessage.c: (gst_message_new_error),
8799 (gst_message_new_warning), (gst_message_parse_error),
8800 (gst_message_parse_warning):
8801 use GST_TYPE_G_ERROR for structure_new, and take copies of
8802 arguments, so that we don't mess up refcounting
8804 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8806 * check/Makefile.am:
8807 add per-test valgrind targets
8808 * check/gst-libs/gdp.c: (GST_START_TEST),
8809 (gst_data_protocol_suite), (main):
8812 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8814 * check/Makefile.am:
8815 instate more valgrindable tests
8816 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8817 (GST_START_TEST), (fakesrc_suite):
8818 * check/gst/gstpad.c: (GST_START_TEST):
8819 * check/gst/gststructure.c: (GST_START_TEST):
8821 * docs/gst/tmpl/gstminiobject.sgml:
8822 * gst/gstpad.c: (gst_pad_finalize):
8823 fix the static mutex leak
8825 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8827 * check/Makefile.am:
8828 add two more tests for valgrinding
8829 * check/gst/gstvalue.c: (GST_START_TEST):
8830 test refcount of deserialized buffer, found a leak
8831 * docs/gst/gstreamer-docs.sgml:
8832 * docs/gst/gstreamer-sections.txt:
8833 * docs/gst/gstreamer.types:
8834 * docs/gst/tmpl/gstminiobject.sgml:
8835 add miniobject to docs
8836 * gst/gstminiobject.c:
8838 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8839 (gst_string_unwrap):
8840 fix a hard-to-find invalid write for one of the tests
8841 fix a leak for deserialized buffers
8843 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8845 * docs/pwg/advanced-events.xml:
8846 * docs/pwg/advanced-request.xml:
8847 * docs/pwg/advanced-scheduling.xml:
8848 * docs/pwg/appendix-porting.xml:
8849 * docs/pwg/building-boiler.xml:
8850 * docs/pwg/intro-preface.xml:
8851 * docs/pwg/other-ntoone.xml:
8852 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8853 of example code and explanation for pad activation, loop() and
8854 getrange() functions and a bit more. Remove old comments pointing
8856 * examples/pwg/Makefile.am:
8857 Add loop/getrange examples.
8859 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8862 check for valgrind binary + some fixes
8864 valgrind suppressions for the tests
8865 * check/Makefile.am:
8866 add a valgrind: target that valgrinds the unit tests
8867 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8868 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8869 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8870 * check/gst/gstghostpad.c:
8872 * check/gst/gstdata.c:
8874 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8875 (thread_unref), (gst_mini_object_suite), (main):
8877 * gst/gst.c: (gst_deinit):
8879 add a method to clean up.
8880 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8881 (gst_system_clock_obtain):
8882 allow for disposing the system clock.
8883 * tools/gst-launch.c: (main):
8886 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8888 * docs/gst/tmpl/gstbasesrc.sgml:
8889 * docs/gst/tmpl/gstfakesrc.sgml:
8890 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8891 (gst_base_src_init), (gst_base_src_set_property),
8892 (gst_base_src_get_property), (gst_base_src_get_range),
8893 (gst_base_src_start):
8894 * gst/base/gstbasesrc.h:
8895 add num-buffers property
8896 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8897 (gst_fakesrc_init), (gst_fakesrc_set_property),
8898 (gst_fakesrc_get_property), (gst_fakesrc_create),
8899 (gst_fakesrc_start):
8900 remove num-buffers property
8902 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8904 * docs/gst/gstreamer-sections.txt:
8905 * docs/gst/tmpl/gstbasesink.sgml:
8906 * docs/gst/tmpl/gstbasesrc.sgml:
8907 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8908 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8909 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8910 (gst_base_sink_set_property), (gst_base_sink_get_property),
8911 (gst_base_sink_handle_object), (gst_base_sink_event),
8912 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8913 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8914 (gst_base_sink_loop), (gst_base_sink_deactivate),
8915 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8916 (gst_base_sink_change_state):
8917 * gst/base/gstbasesink.h:
8918 * gst/base/gstbasesrc.h:
8919 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8920 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8921 (gst_filesink_init):
8922 more macro splitting
8924 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8926 * gst/gstelement.c: (gst_element_get_bus):
8928 * tools/gst-launch.c: (check_intr), (event_loop):
8931 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8933 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8936 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8938 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8939 (gst_base_src_finalize):
8940 add finalize method and clean up properly
8941 * gst/gstpipeline.c: (gst_pipeline_dispose):
8944 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8946 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8948 add more things to check
8949 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8953 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8955 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8956 (GST_START_TEST), (fakesrc_suite):
8957 * check/gst-libs/gdp.c: (GST_START_TEST):
8958 * check/gst/gst.c: (GST_START_TEST):
8959 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8960 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8961 * check/gst/gstbus.c: (GST_START_TEST):
8962 * check/gst/gstcaps.c: (GST_START_TEST):
8963 * check/gst/gstdata.c: (GST_START_TEST):
8964 * check/gst/gstelement.c: (GST_START_TEST):
8965 * check/gst/gstghostpad.c: (GST_START_TEST):
8966 * check/gst/gstiterator.c: (GST_START_TEST):
8967 * check/gst/gstmessage.c: (GST_START_TEST):
8968 * check/gst/gstobject.c: (GST_START_TEST):
8969 * check/gst/gstpad.c: (GST_START_TEST):
8970 * check/gst/gststructure.c: (GST_START_TEST):
8971 * check/gst/gstsystemclock.c: (GST_START_TEST),
8972 (gst_systemclock_suite):
8973 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8974 * check/gst/gstvalue.c: (GST_START_TEST):
8975 * check/pipelines/cleanup.c: (GST_START_TEST):
8976 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8977 * check/states/sinks.c: (GST_START_TEST):
8978 * check/gstcheck.c: (gst_check_init):
8980 add debugging category
8981 use GST_START_TEST now, so we add a debug line
8983 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8985 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8986 add test for state change message on a bin
8987 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8989 * gst/gstbin.c: (gst_bin_init):
8990 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8991 * gst/gstelement.c: (gst_element_post_message),
8992 (gst_element_set_state):
8993 * gst/gstelementfactory.c: (gst_element_factory_create):
8994 * gst/gstmessage.c: (gst_message_new):
8995 * gst/gstscheduler.c:
8996 various debugging additions and cleanups
8998 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9000 * check/Makefile.am:
9001 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9003 adding tests for elements
9004 * gst/gstelement.c: (gst_element_dispose):
9006 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9008 * gst/registries/gstlibxmlregistry.c: (load_feature):
9009 plug more leaks. A simple gst_init() now is leakfree, yay.
9011 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9013 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9014 (gst_xml_registry_load):
9015 plug another memleak
9017 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9020 use GST_SET_ERROR_CFLAGS
9022 change to ERROR_CFLAGS
9024 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9027 make GST_ERROR_CFLAGS overridable and re-enable Werror
9029 add a note about error CFLAGS
9030 * docs/gst/tmpl/gstfakesrc.sgml:
9031 * gst/elements/gstfakesrc.c:
9032 comment out some unused code
9033 * gst/gst.c: (split_and_iterate):
9034 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9038 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9040 * common/Makefile.am:
9041 * common/gtk-doc.mak:
9042 * docs/gst/Makefile.am:
9043 factor out gtk-doc.mak
9045 2005-07-07 Wim Taymans <wim@fluendo.com>
9047 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9048 (gst_thread_scheduler_dispose):
9049 Unlock the STREAM_LOCK completely.
9051 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9053 * check/Makefile.am:
9054 * check/elements/.cvsignore:
9055 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9056 (START_TEST), (fakesrc_suite), (main):
9057 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9058 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9059 (gst_fakesrc_create), (gst_fakesrc_start):
9060 * gst/elements/gstfakesrc.h:
9061 adding a first element test
9063 2005-07-07 Andy Wingo <wingo@pobox.com>
9065 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9068 2005-07-07 Wim Taymans <wim@fluendo.com>
9074 2005-07-07 Wim Taymans <wim@fluendo.com>
9076 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9077 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9078 Allow subclasses to implement their own negotiation.
9080 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9082 * docs/design/part-gstbin.txt:
9083 * docs/design/part-gstpipeline.txt:
9084 Update design notes to reflect the movement of
9085 responsibility for bus handling from GstPipeline to
9088 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9091 Remove unnecessary queue2/3/4 examples.
9093 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9095 * examples/Makefile.am:
9096 * examples/helloworld/helloworld.c: (event_loop), (main):
9097 * examples/queue/queue.c: (event_loop), (main):
9098 * examples/queue2/queue2.c: (main):
9099 Update a couple of the examples to work again.
9101 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9102 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9103 Spelling corrections and extra debug.
9105 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9106 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9107 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9109 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9110 (gst_pipeline_change_state):
9111 * gst/gstpipeline.h:
9112 Move the bus handler for children to the GstBin, and create a
9113 separate bus for receiving messages from children to the one the
9114 bus sends 'upwards' on.
9116 2005-07-06 Wim Taymans <wim@fluendo.com>
9119 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9120 (gst_base_sink_handle_object), (gst_base_sink_loop),
9121 (gst_base_sink_change_state):
9122 * gst/base/gstbasesink.h:
9123 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9124 (gst_base_src_init), (gst_base_src_setcaps),
9125 (gst_base_src_getcaps), (gst_base_src_loop),
9126 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9127 (gst_base_src_start), (gst_base_src_change_state):
9128 * gst/base/gstbasesrc.h:
9129 Make basesrc negotiate.
9130 Handle the case where preroll fails in basesink.
9133 2005-07-06 Wim Taymans <wim@fluendo.com>
9135 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9136 Implement the fixate function.
9137 Clean up acceptcaps.
9139 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9141 * docs/pwg/building-filterfactory.xml:
9143 Remove never-written filter-factory chapter; I'll add the various
9144 base classes to part 4 ("other element types") later on.
9146 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9148 * docs/pwg/advanced-negotiation.xml:
9149 * docs/pwg/building-boiler.xml:
9150 * docs/pwg/building-pads.xml:
9152 * examples/pwg/Makefile.am:
9153 Add a chapter on caps negotiation, simplify the original code
9154 samples a bit w.r.t. caps negotiation, add link to the advanced
9155 section. Add a bunch of examples showing different use cases of
9156 different types of caps negotiation. Upstream renegotiation isn't
9157 fully documented yet since nobody knows how that works.
9159 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9161 * check/gst/gstpad.c:
9163 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9164 if pad has no parent, return NULL as list of internal links
9166 2005-07-05 Andy Wingo <wingo@pobox.com>
9168 * gst/elements/gstfilesrc.c:
9169 * gst/elements/gstfakesrc.c:
9170 * gst/base/gstpushsrc.c:
9171 * gst/base/gstbasesrc.h:
9172 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9174 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9177 better report generation target (lcov needs a patch)
9179 2005-07-05 Andy Wingo <wingo@pobox.com>
9181 * gst/elements, testsuite: Null if we got it...
9183 2005-07-05 Wim Taymans <wim@fluendo.com>
9186 * libs/gst/dataprotocol/Makefile.am:
9187 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9188 * libs/gst/dataprotocol/dataprotocol.h:
9189 * pkgconfig/Makefile.am:
9190 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9191 * pkgconfig/gstreamer-dataprotocol.pc.in:
9192 Ported dataprotol to 0.9.
9193 Added pkgconfig files.
9195 2005-07-05 Andy Wingo <wingo@pobox.com>
9197 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9198 Default to returning TRUE for the case when tranform_caps returns
9199 a fixed caps, like for identity or volume.
9201 * check/gst/gstbus.c (pound_bus_with_messages):
9202 * check/gst/gstmessage.c (START_TEST):
9203 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9206 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9207 logic weaks here: always run transform_caps, trying passthrough
9208 operation only if the original caps intersects with the transform.
9210 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9211 source and sink caps.
9213 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9214 Intersect the peer caps with the pad template before going into
9216 (gst_base_transform_transform_caps): More debugging.
9218 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9221 2005-07-04 Edward Hervey <edward@fluendo.com>
9225 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9228 2005-07-04 Andy Wingo <wingo@pobox.com>
9230 * check/gst/gstpad.c: Only set explicit caps on pads.
9232 2005-07-01 Andy Wingo <wingo@pobox.com>
9234 * tests/network-clock.scm: Commentary update.
9236 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9237 Didn't really make sense, not implementable with basetransform,
9239 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9240 attempt at implementing the sync property, needs an unlock method.
9242 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9243 New func, by default returns the same caps (the identity
9245 (gst_base_transform_getcaps): Uses transform_caps to return
9247 (gst_base_transform_setcaps): Complicated logic to get caps on
9248 both pads, even if they are different, and to call set_caps once
9249 for every time both pads get their caps set.
9250 (gst_base_transform_handle_buffer): Give the ref to the transform
9251 function. Allows in-place modification of the buffer.
9253 * gst/base/gstbasetransform.h (transform_caps): New class method.
9254 Given caps on one side, what can I do on the other.
9255 (set_caps): Take two caps, one for each side of the element.
9258 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9259 caps in place. This is safe because we can check the mutability of
9260 the caps, and a good idea because fixate functions are just called
9261 as a matter of last resort. (Not actually implemented.)
9262 (gst_pad_set_caps): If the caps we're setting is actually the same
9263 as the existing pad caps, just update the pointer without calling
9264 setcaps. Assert that caps is either NULL or fixed, as per the
9267 * gst/gstghostpad.c: Update for fixate changes.
9269 2005-07-02 Andy Wingo <wingo@pobox.com>
9272 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9273 two refcounts makes it immutable, which is enough. Doc more.
9275 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9277 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9278 Put the mini_object into GValue as a mini_object,
9279 not a gpointer, since that's how we declared
9282 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9284 * examples/pwg/Makefile.am:
9287 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9289 * docs/pwg/building-testapp.xml:
9291 * examples/pwg/Makefile.am:
9294 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9297 * examples/Makefile.am:
9298 * examples/pwg/Makefile.am:
9299 * examples/pwg/extract.pl:
9300 Enable building the PWG examples.
9301 * docs/pwg/advanced-interfaces.xml:
9302 Add URI interface stub.
9303 * docs/pwg/advanced-types.xml:
9304 * docs/pwg/other-autoplugger.xml:
9305 * docs/pwg/appendix-porting.xml:
9307 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9308 * docs/pwg/building-boiler.xml:
9309 * docs/pwg/building-chainfn.xml:
9310 * docs/pwg/building-pads.xml:
9311 * docs/pwg/building-props.xml:
9312 * docs/pwg/building-state.xml:
9313 * docs/pwg/building-testapp.xml:
9314 Update the building-*.xml parts for 0.9 changes. All examples
9315 code blocks compile in examples/pwg/*.
9317 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9319 * docs/manual/advanced-autoplugging.xml:
9320 * docs/manual/appendix-checklist.xml:
9321 * docs/manual/appendix-integration.xml:
9322 * docs/manual/highlevel-components.xml:
9323 Fix playbin/decodebin examples, update docs a bit, mention bus
9324 instead of signals in various places, mention kmplayer and
9325 kaffeine since they have a working GStreamer backend in the KDE
9328 2005-06-30 Wim Taymans <wim@fluendo.com>
9331 * docs/design/draft-ghostpads.txt:
9332 * docs/design/draft-push-pull.txt:
9333 * docs/design/draft-query.txt:
9334 * docs/design/part-TODO.txt:
9335 * docs/design/part-query.txt:
9336 Added CHANGES-0.9 doc, updated status of other docs.
9341 2005-06-30 Wim Taymans <wim@fluendo.com>
9343 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9344 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9345 (gst_base_sink_change_state):
9346 * gst/base/gstbasesink.h:
9347 Some tweaks, only EOS and a buffer complete a preroll.
9349 2005-06-30 Andy Wingo <wingo@pobox.com>
9351 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9352 activate_push down to the internal pad as well.
9354 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9356 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9358 * gst/gsttaginterface.c:
9359 Some documentation fixes (#307394 and #307397).
9361 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9363 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9365 * gst/gstvalue.c: (gst_value_intersect_list):
9366 Fix memleak (#309125).
9368 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9370 * docs/manual/advanced-dataaccess.xml:
9371 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9372 * docs/manual/basics-pads.xml:
9373 Add reference for filtered caps to above chapter.
9375 2005-06-30 Wim Taymans <wim@fluendo.com>
9377 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9378 (gst_bin_change_state):
9380 Lame attempt at making the state change function a bit
9383 2005-06-30 Wim Taymans <wim@fluendo.com>
9385 * docs/design/part-clocks.txt:
9386 * docs/design/part-element-sink.txt:
9387 * docs/design/part-events.txt:
9388 * docs/design/part-preroll.txt:
9389 * docs/design/part-states.txt:
9390 Some more tweeks and additions to the docs.
9392 2005-06-30 Wim Taymans <wim@fluendo.com>
9394 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9395 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9396 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9397 (gst_pad_check_pull_range), (gst_pad_get_range),
9398 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9400 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9401 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9402 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9403 (gst_pad_remove_buffer_probe):
9404 Removed atomic operations, use existing LOCK.
9405 Move exception handling out of main code path.
9407 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9409 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9410 (silly_return_true_function), (gst_pad_class_init),
9411 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9412 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9413 (gst_pad_send_event):
9414 Fix accumulator, add default value by using _emitv() instead
9415 of _emit() for signal emission.
9417 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9419 * docs/manual/advanced-dataaccess.xml:
9420 * examples/manual/Makefile.am:
9422 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9425 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9427 * gst/elements/gstfilesink.c: (gst_filesink_render):
9428 Simplify code so that we don't have to handle short
9429 writes and return GST_FLOW_ERROR if an error occured.
9431 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9433 * docs/gst/gstreamer-docs.sgml:
9436 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9438 * docs/gst/gstreamer-sections.txt:
9439 * docs/gst/tmpl/gstpad.sgml:
9440 * docs/gst/tmpl/gstprobe.sgml:
9442 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9443 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9444 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9445 (gst_pad_push_event), (gst_pad_send_event):
9447 * gst/gstutils.c: (gst_pad_add_data_probe),
9448 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9449 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9450 (gst_pad_remove_buffer_probe):
9452 Remove old probes, add new g-signal-based probes and some utility
9455 2005-06-29 Edward Hervey <edward@fluendo.com>
9457 * gst/gstelementfactory.c:
9460 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9461 the definition to the header file.
9463 2005-06-29 Andy Wingo <wingo@pobox.com>
9465 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9466 plugins from the source directory.
9468 2005-06-29 Wim Taymans <wim@fluendo.com>
9470 * docs/gst/tmpl/gstbuffer.sgml:
9471 * docs/gst/tmpl/gstclock.sgml:
9472 Some fixings for blantently wrong text.
9474 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9476 * check/Makefile.am:
9477 * gst/gst.c: (add_path_func), (init_pre):
9478 * gst/gstregistry.c: (gst_registry_add_path):
9479 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9480 only scan the GST_PLUGIN_PATH locations, and not add
9483 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9485 * docs/gst/gstreamer-sections.txt:
9486 * docs/gst/tmpl/gstbasesrc.sgml:
9493 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9495 * docs/manual/advanced-autoplugging.xml:
9496 Fix autoplugging example.
9498 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9500 * docs/manual/advanced-autoplugging.xml:
9501 * docs/manual/mime-world.fig:
9502 Try to get autoplugging working, fix type detection. Fix text
9503 in hello-world image.
9505 2005-06-29 Wim Taymans <wim@fluendo.com>
9507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9508 (gst_base_sink_change_state):
9512 map SIGNAL and BROADCAST to the right function.
9515 Remove redundant braces.
9517 * gst/gstpad.c: (gst_pad_set_caps):
9518 Don't call setcaps function when reseting caps to NULL.
9520 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9521 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9522 (gst_system_clock_id_unschedule):
9523 Use BROADCAST as this is what we do.
9525 2005-06-29 Wim Taymans <wim@fluendo.com>
9527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9528 We are actually prerolling before commiting the state
9531 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9533 * docs/manual/advanced-clocks.xml:
9534 * docs/manual/advanced-interfaces.xml:
9535 * docs/manual/advanced-metadata.xml:
9536 * docs/manual/advanced-position.xml:
9537 * docs/manual/advanced-schedulers.xml:
9538 * docs/manual/advanced-threads.xml:
9539 * docs/manual/appendix-porting.xml:
9540 * docs/manual/basics-bins.xml:
9541 * docs/manual/basics-bus.xml:
9542 * docs/manual/basics-elements.xml:
9543 * docs/manual/basics-helloworld.xml:
9544 * docs/manual/basics-pads.xml:
9545 * docs/manual/highlevel-components.xml:
9546 * docs/manual/manual.xml:
9547 * docs/manual/thread.fig:
9548 Update (until threads/scheduling) Application Development Manual;
9549 remove GstThread, add GstBus, add simple porting checklist, add
9550 documentation for tag writing, clocks, make all examples until this
9551 part compile and run.
9552 * examples/manual/Makefile.am:
9553 Update from changes to Application Development Manual; add bus
9554 example, remove thread example.
9556 2005-06-28 Wim Taymans <wim@fluendo.com>
9558 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9559 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9560 (gst_bus_source_dispatch):
9561 Add debugging messages.
9562 Make internal methods static.
9563 Handle the case where the bus is flushed in the handler.
9565 * gst/gstelement.c: (gst_element_get_bus):
9566 Fix refcount in _get_bus();
9568 * gst/gstpipeline.c: (gst_pipeline_change_state),
9569 (gst_pipeline_get_clock_func):
9570 Clock refcounting fixes.
9571 Handle the case where preroll timed out more gracefully.
9573 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9574 Clean up the internal thread in dispose. This is needed
9575 for subclasses that actually get disposed.
9577 * gst/schedulers/threadscheduler.c:
9578 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9579 (gst_thread_scheduler_dispose):
9580 Free thread pool in dispose.
9582 2005-06-28 Andy Wingo <wingo@pobox.com>
9584 * tests/network-clock-utils.scm (debug, print-event): New utils.
9586 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9587 (*packet-loss*): Unified loss probability.
9588 (network-time): Report out-of-band events.
9590 * tests/plot-data: Add support for out-of-band events. Hack it
9591 into this script instead of passing it down the pipe; should fix
9594 2005-06-28 Wim Taymans <wim@fluendo.com>
9596 * docs/gst/gstreamer.types:
9597 * docs/gst/tmpl/gstbasesrc.sgml:
9598 * docs/gst/tmpl/gstpad.sgml:
9601 2005-06-28 Wim Taymans <wim@fluendo.com>
9603 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9604 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9605 (gst_proxy_pad_do_fixatecaps):
9606 Correctly proxy the check_pull_range function.
9608 2005-06-28 Andy Wingo <wingo@pobox.com>
9610 * tests/network-clock.scm: Removed need for slib.
9612 2005-06-28 Wim Taymans <wim@fluendo.com>
9614 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9615 (gst_basesink_preroll_queue_flush):
9616 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9617 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9618 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9619 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9620 (gst_proxy_pad_set_property):
9623 * gst/gstqueue.c: (gst_queue_init):
9624 The deprecated pad loop function is removed now.
9626 2005-06-28 Andy Wingo <wingo@pobox.com>
9628 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9629 New parameters, simulate network packet loss.
9631 * tests/network-clock-utils.scm: Initialize the RNG.
9633 2005-06-28 Wim Taymans <wim@fluendo.com>
9635 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9636 (gst_basesink_event), (gst_basesink_deactivate):
9637 Flushing the preroll queue always needs to unlock the waiters.
9639 2005-06-28 Edward Hervey <edward@fluendo.com>
9641 * gst/gstpipeline.c: (gst_pipeline_send_event):
9642 Wheen a seek was successful on a pipeline, set the stream_time to the
9643 seek offset in order to have a synchronized stream_time.
9645 2005-06-28 Wim Taymans <wim@fluendo.com>
9647 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9648 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9649 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9650 (gst_proxy_pad_do_fixatecaps):
9651 Call wrapper function instead of just calling the function
9652 pointers. This takes care of any locking and whatmore.
9654 2005-06-28 Wim Taymans <wim@fluendo.com>
9656 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9657 (gst_pad_pull_range):
9659 CONNECTED -> LINKED.
9661 2005-06-28 Andy Wingo <wingo@pobox.com>
9663 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9664 source-munging commit!!!
9666 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9667 (gst_object_sink): Take gpointer arguments, not GstObject --
9668 avoids casts. Like GLib.
9670 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9673 2005-06-27 Andy Wingo <wingo@pobox.com>
9675 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9678 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9679 returns a sorted copy of the trace list.
9680 (gst_alloc_trace_print_live): New API, only prints traces with
9681 live objects. Sort the list.
9682 (gst_alloc_trace_print_all): Sort the list.
9683 (gst_alloc_trace_print): Align columns.
9685 * gst/elements/gstttypefindelement.c:
9686 * gst/elements/gsttee.c:
9687 * gst/base/gstbasesrc.c:
9688 * gst/base/gstbasesink.c:
9689 * gst/base/gstbasetransform.c:
9690 * gst/gstqueue.c: Adapt for pad activation changes.
9692 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9694 (gst_pipeline_dispose): Drop ref on sched.
9696 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9697 (gst_pad_activate_default): Push mode by default.
9698 (pre_activate_switch, post_activate_switch): New stubs, things to
9699 do before and after switching activation modes on pads.
9700 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9701 the pad's activate function to choose which mode to activate.
9702 Shortcut on deactivation and call the right function directly.
9703 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9705 (gst_pad_activate_push): New API, same for push mode.
9706 (gst_pad_set_activate_function)
9707 (gst_pad_set_activatepull_function)
9708 (gst_pad_set_activatepush_function): Setters for new API.
9710 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9711 Trace all miniobjects.
9712 (gst_mini_object_make_writable): Unref the arg if we copy, like
9713 gst_caps_make_writable.
9715 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9717 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9718 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9719 Adapt for new pad API.
9721 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9724 * gst/gstelement.c (gst_element_iterate_src_pads)
9725 (gst_element_iterate_sink_pads): New API functions.
9727 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9728 should fold into gstiterator.c in some form.
9729 (gst_element_pads_activate): Simplified via use of fold and
9730 delegation of decisions to gstpad->activate.
9732 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9735 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9736 class once in init, like gstmessage. Didn't run into this issue
9737 but it seems correct. Don't initialize a trace, gstminiobject does
9740 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9741 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9743 (assert_live_count): New util function, uses alloc traces to check
9746 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9747 To be modified when unlink drops the internal pad.
9749 2005-06-27 Wim Taymans <wim@fluendo.com>
9751 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9752 (gst_bin_change_state):
9753 Cleanup the get_state() function a little, make sure it
9754 iterates the same set of elements.
9755 Added stub iterate_state_order().
9757 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9759 * docs/gst/gstreamer-docs.sgml:
9760 * docs/gst/gstreamer-sections.txt:
9761 * docs/gst/gstreamer.types:
9762 * docs/gst/tmpl/gstbasesink.sgml:
9763 * docs/gst/tmpl/gstbasesrc.sgml:
9764 * docs/gst/tmpl/gstbasetransform.sgml:
9765 * docs/gst/tmpl/gstelement.sgml:
9766 * docs/gst/tmpl/gstiterator.sgml:
9767 * gst/base/gstbasesrc.c:
9768 * gst/base/gstbasesrc.h:
9769 * gst/base/gstbasetransform.h:
9771 * gst/gstiterator.h:
9772 adding basetransform and iterator docs
9774 2005-06-27 Andy Wingo <wingo@pobox.com>
9776 * docs/design/part-activation.txt: Notes on how activation should
9777 work -- not quite implemented yet.
9779 2005-06-25 Wim Taymans <wim@fluendo.com>
9781 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9782 At least get the chain function correct, needs more
9785 2005-06-25 Wim Taymans <wim@fluendo.com>
9787 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9788 (gst_basesink_handle_object), (gst_basesink_event),
9789 (gst_basesink_do_sync), (gst_basesink_handle_event),
9790 (gst_basesink_change_state):
9792 Right, two problems here: ghostpads don't take locks and
9793 glib _rec_mutex_lock_full() with depth==0 still locks.
9794 Catch illegal locking and g_warn them.
9796 2005-06-25 Wim Taymans <wim@fluendo.com>
9798 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9799 Have to check for completion now...
9801 2005-06-25 Wim Taymans <wim@fluendo.com>
9803 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9804 (gst_basesink_handle_object), (gst_basesink_event),
9805 (gst_basesink_do_sync), (gst_basesink_handle_event),
9806 (gst_basesink_change_state):
9808 Unlock STREAM_LOCK whatever the recursion was.
9810 2005-06-25 Wim Taymans <wim@fluendo.com>
9812 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9813 (gst_basesink_preroll_queue_empty),
9814 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9815 (gst_basesink_event), (gst_basesink_do_sync),
9816 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9817 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9818 (gst_basesink_change_state):
9819 Reworked the base sink, handle event and buffer serialisation
9820 correctly and removed possible deadlock.
9821 Handle EOS correctly.
9823 2005-06-25 Wim Taymans <wim@fluendo.com>
9825 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9826 (gst_pipeline_change_state):
9827 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9828 Allow elements to post EOS in the state change function.
9829 Fix up -launch, make it exit the poll loop when the
9830 pipeline actually changed state.
9831 Fix up warning parsing in -launch.
9833 2005-06-25 Wim Taymans <wim@fluendo.com>
9835 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9836 (gst_tee_sink_activate):
9837 Core takes STREAM_LOCK for us now.
9839 2005-06-25 Wim Taymans <wim@fluendo.com>
9841 * gst/gstelement.c: (gst_element_get_state_func),
9842 (gst_element_set_state):
9844 * gst/gstmessage.c: (gst_message_parse_error),
9845 (gst_message_parse_warning):
9846 Keep track of current target state while performing a state
9847 change so that subclasses can do something interesting.
9848 Fix parsing of warning/error messages when GError is NULL.
9850 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9852 * docs/gst/Makefile.am:
9853 * docs/gst/gstreamer-docs.sgml:
9854 * docs/gst/gstreamer-sections.txt:
9855 * docs/gst/gstreamer.types:
9856 * docs/gst/tmpl/gstbasesink.sgml:
9857 * docs/gst/tmpl/gstbasesrc.sgml:
9858 * docs/gst/tmpl/gstbin.sgml:
9859 * docs/gst/tmpl/gstcompat.sgml:
9860 * docs/gst/tmpl/gstfakesink.sgml:
9861 * docs/gst/tmpl/gstfakesrc.sgml:
9862 * docs/gst/tmpl/gstfilesink.sgml:
9863 * docs/gst/tmpl/gstfilesrc.sgml:
9864 * docs/gst/tmpl/gstindex.sgml:
9865 * docs/manual/appendix-quotes.xml:
9866 * gst/base/gstbasesrc.h:
9867 * gst/elements/gstfakesrc.h:
9869 start pulling in base classes and elements in our docs
9871 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9873 * docs/gst/Makefile.am:
9874 * docs/libs/Makefile.am:
9875 fixed make distcheck with gtk-doc 1.3
9877 2005-06-23 Wim Taymans <wim@fluendo.com>
9879 * gst/gstelement.c: (gst_element_get_state_func),
9880 (gst_element_set_state), (gst_element_change_state):
9881 When the state did not change, also report NO_PREROLL
9884 2005-06-23 Wim Taymans <wim@fluendo.com>
9886 * gst/gstpad.c: (gst_pad_event_default):
9887 * gst/gstqueue.c: (gst_queue_loop):
9888 No unsafe task pausing please.
9890 2005-06-23 Wim Taymans <wim@fluendo.com>
9892 * gst/schedulers/threadscheduler.c:
9893 (gst_thread_scheduler_task_start),
9894 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9895 Ref the task before pushing it on the threadpool. This
9896 makes sure that we have a ref when the threadfunction is
9899 2005-06-23 Andy Wingo <wingo@pobox.com>
9901 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9902 offset is greater than the file's size.
9904 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9905 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9906 * gst/gstobject.c (gst_object_class_init): Make the class lock
9907 recursive. Wim won't let me drop deep_notify. Decodebin works
9910 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9911 internal pad, and hacks accordingly. Doesn't do it on the target
9912 pad because we change its caps. Probably catches all cases of
9914 (gst_ghost_pad_set_property): Connect to notify::caps as
9917 * tests/network-clock.scm (plot-simulation): Pipe data to the
9918 elite python skript.
9920 * tests/network-clock-utils.scm (define-parameter): New macro,
9921 defines a parameter that can be set via the command line.
9922 (set-parameter!, parse-parameter-arguments): Command line args
9925 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9928 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9930 * gst/elements/gsttypefindelement.c:
9931 (gst_type_find_element_handle_event):
9932 Don't restart typefinding on a discont.
9933 * gst/gstelement.c: (gst_element_set_state):
9935 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9936 Allow changing mode of an active pad.
9938 * gst/registries/gstlibxmlregistry.c: (load_feature):
9939 Don't cast a static pad template to a normal pad template.
9941 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9943 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9944 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9945 remove gst_strtoll completely, since it didn't actually do
9946 anything more than what g_ascii_strtoull already does.
9947 check for range errors when deserializing
9948 do a cast for the unsigned cases; but further fixing needs
9949 a decision on what the interpretation of "(int)" and
9950 deserialization should be for values that fall outside the
9951 type's boundaries (ie, refuse, or interpret as casting)
9953 2005-06-23 Wim Taymans <wim@fluendo.com>
9955 * check/Makefile.am:
9956 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9957 * docs/design/part-live-source.txt:
9958 * docs/design/part-states.txt:
9959 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9960 (gst_basesrc_set_live), (gst_basesrc_is_live),
9961 (gst_basesrc_get_range), (gst_basesrc_activate),
9962 (gst_basesrc_change_state):
9963 * gst/base/gstbasesrc.h:
9964 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9965 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9966 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9967 * gst/gstelement.c: (gst_element_get_state_func),
9968 (gst_element_set_state):
9971 * tools/gst-launch.c: (event_loop), (main):
9972 Added support for live sources and other elements that
9974 Updated design docs, added live-source design doc.
9975 Implemented live source functionality in basesrc
9976 Fix error condition in _bin_get_state()
9977 Implement live source handling in -launch.
9978 Added check for live sources.
9979 Fixed case in GstBin where elements were changed state
9983 2005-06-23 Andy Wingo <wingo@pobox.com>
9985 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9988 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9989 gst_caps_replace takes care of this for us.
9991 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9992 gst_pad_set_caps on the target, not just its setcaps() function.
9994 * tests/network-clock.scm:
9995 * tests/network-clock-utils.scm: A network clock simulator.
9996 Something of an algorithmic testbed before doing something in C.
9998 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10000 * check/Makefile.am:
10001 * check/gst/capslist.h:
10002 copy over from 0.8, and add two with bitmasks specified with
10004 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10005 add test to parse everything from capslist.h
10006 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10008 add test for structure deserialization
10009 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10010 add tests for deserialization of strings to int types
10011 * gst/gststructure.c: (gst_structure_nth_field_name):
10012 * gst/gststructure.h:
10013 add a way to get the name of a field referenced by index
10014 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10015 instead of checking if the resulting long long lies between
10016 min and max, we check if the long long would fit into
10017 a number of bytes for the final type.
10018 This fixes cases where a string represents 2^32 - 1, which
10019 when cast to int would be the (valid) -1, but is bigger than
10022 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10024 * gst/parse/grammar.y:
10025 add a log line for type deserialization
10027 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10029 * check/gst/gstvalue.c: (START_TEST):
10030 * gst/gstvalue.c: (gst_value_deserialize):
10031 return long long, not int, so gint64 deserialization actually
10032 works. Is there any flag that makes the compiler check this ?
10035 2005-06-22 Wim Taymans <wim@fluendo.com>
10038 Added convenience macros for setting buffers in GValue.
10040 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10042 * check/gst/.cvsignore:
10043 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10044 add a test deserializing int64, and comment part out because
10047 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10049 * check/Makefile.am:
10050 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10051 * testsuite/Makefile.am:
10052 * testsuite/caps/Makefile.am:
10053 * testsuite/caps/value_serialize.c:
10054 * testsuite/test_gst_init.c:
10055 move a value_serialize test over
10057 2005-06-20 Wim Taymans <wim@fluendo.com>
10062 * gst/gstvalue.c: (gst_value_compare_buffer),
10063 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10064 (gst_value_compare_flags), (gst_value_serialize_flags),
10065 (gst_value_deserialize_flags), (_gst_value_initialize):
10066 Fix serialisation of buffers, they are not boxed types anymore
10068 2005-06-20 Wim Taymans <wim@fluendo.com>
10070 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10071 Testcase to show error in buffer-on-caps serialisation.
10073 2005-06-20 Andy Wingo <wingo@pobox.com>
10075 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10076 will be adding to later.
10078 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10079 if its socks fill with rocks.
10080 (gst_system_clock_obtain): Set the name on object construction.
10081 Avoid double-checked locking.
10083 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10085 * gst/gsturi.c: (gst_element_make_from_uri):
10086 Fix potential endless loop.
10088 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10090 * check/Makefile.am:
10092 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10094 move over from testsuite dir and clean up
10097 * testsuite/Makefile.am:
10098 * testsuite/tags/.cvsignore:
10099 * testsuite/tags/Makefile.am:
10100 * testsuite/tags/merge.c:
10101 remove testsuite/tags
10103 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10105 * docs/gst/gstreamer-sections.txt:
10106 * docs/gst/tmpl/gstenumtypes.sgml:
10107 * win32/gstenumtypes.c:
10108 clean up documentation build a little
10110 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10112 * check/gstcheck.h:
10113 add macros for checking refcounts on objects and caps
10114 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10115 add some more unit tests
10116 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10117 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10118 fix leaked refcounts (I hope :)) so unittest works
10122 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10124 * configure.ac: back to HEAD
10126 === release 0.9.1 ===
10128 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10134 2005-06-17 Andy Wingo <wingo@pobox.com>
10136 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10137 assert; it's always possible that the pad gets deactivated in
10138 between the checks in gstpad.c and the implementation. Rely on
10139 finish_preroll() to return a FLUSHING or similar instead of on the
10142 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10143 clock and post an EOS message if we come out of finish_preroll in
10146 2005-06-16 David Schleef <ds@schleef.org>
10148 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10149 (gst_capsfilter_set_property): Allow NULL as possible value
10150 for filter_caps property, indicating GST_CAPS_ANY.
10152 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10154 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10156 * gst/schedulers/Makefile.am:
10158 * gstreamer.spec.in:
10161 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10163 * gstreamer.spec.in:
10166 2005-06-08 Andy Wingo <wingo@pobox.com>
10168 * gst/gstutils.c: RPAD fixes all around.
10169 (gst_element_link_pads): Refcounting fixes.
10171 * tools/gst-inspect.c:
10172 * tools/gst-xmlinspect.c:
10174 * gst/base/gsttypefindhelper.c:
10175 * gst/base/gstbasesink.c:
10176 * gst/gstqueue.c: RPAD fixes.
10178 * gst/gstghostpad.h:
10179 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10180 pads. The tricky thing is they provide both source and sink
10181 interfaces, since they proxy the internal pad for the external
10182 pad, and vice versa. Implement with lower-level ProxyPad objects,
10183 with the interior proxy pad as a child of the exterior ghost pad.
10184 Should write a doc on this.
10186 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10187 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10190 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10191 pads are real pads. No ghost pads in this file. Not documenting
10192 the myriad s/RPAD/PAD/ and REALIZE fixes.
10193 (gst_pad_class_init): Add properties for "direction" and
10194 "template". Both are construct-only, so they can't change during
10195 the life of the pad. Fixes properly deriving from GstPad.
10196 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10197 derived objects, just set properties when creating the objects via
10199 (gst_pad_get_parent): Implement as a function, return NULL if the
10200 parent is not an element.
10201 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10202 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10204 * gst/gstobject.c (gst_object_class_init): Make name a construct
10205 property. Don't set it in the object init.
10207 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10208 with UNKNOWN direction.
10209 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10210 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10211 (gst_element_remove_pad): Remove ghost-pad special cases.
10212 (gst_element_pads_activate): Remove rpad cruft.
10214 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10215 catch the pad's-parent-not-an-element case.
10217 * gst/gst.h: Include gstghostpad.h.
10219 * gst/gst.c (init_post): No more real, ghost pads.
10221 * gst/Makefile.am: Add gstghostpad.[ch].
10223 * check/Makefile.am:
10224 * check/gst/gstbin.c:
10225 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10226 into a bin creates ghost pads, and that the refcounts are right.
10227 Partly moved from gstbin.c.
10229 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10231 * check/gst-libs/.cvsignore:
10232 * check/gst/.cvsignore:
10233 * check/pipelines/.cvsignore:
10235 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10236 (START_TEST), (cleanup_suite), (main):
10237 add some tests related to cleanup after running pipelines
10239 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10241 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10242 add a testsuite for GstBuffer
10244 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10246 * gst/gstminiobject.h:
10247 add defines for accessing the refcount
10249 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10251 * Makefile.am: added support for html unit test coverage reports
10253 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10255 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10256 Free existing caps if the capsfilter changes. Add a FIXME about
10257 setting those caps on the pads.
10259 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10260 Before adding a ghost pad to a parent bin, check that there isn't
10261 already one for the element on the bin. Prevents infinite recursion
10262 when using decodebin in parse pipelines. Andy says he'll rewrite the
10263 way this works anyway, so ignore the hack.
10265 2005-06-02 Andy Wingo <wingo@pobox.com>
10267 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10268 file size, pass it on to the type find helper.
10270 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10271 segment_start and segment_end properly according to the seek
10272 method. Segment_end is still a bit flaky because offset can be
10273 negative for CUR and END cases, but it takes -1 as an "unset"
10276 2005-06-02 Wim Taymans <wim@fluendo.com>
10278 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10279 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10280 (gst_basesink_activate):
10281 * gst/base/gstbasesink.h:
10282 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10283 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10284 (gst_pad_query), (gst_pad_start_task):
10286 * gst/gstqueue.c: (gst_queue_bufferalloc),
10287 (gst_queue_handle_sink_event), (gst_queue_chain):
10288 Bufferalloc: return GstFlowReturn to more accuratly report
10289 why allocation failed.
10291 2005-06-02 Wim Taymans <wim@fluendo.com>
10293 * gst/gstpipeline.c: (gst_pipeline_send_event):
10294 Take snapshot of state without blocking.
10296 2005-06-02 Wim Taymans <wim@fluendo.com>
10298 * docs/design/part-TODO.txt:
10299 * docs/design/part-caps.txt:
10300 * docs/design/part-clocks.txt:
10301 * docs/design/part-negotiation.txt:
10302 * docs/design/part-preroll.txt:
10305 2005-05-30 Wim Taymans <wim@fluendo.com>
10307 * gst/elements/gstidentity.c: (gst_identity_event),
10308 (gst_identity_transform), (gst_identity_get_property):
10309 Protect last_message property as it is accessed from
10312 2005-05-30 Wim Taymans <wim@fluendo.com>
10314 * gst/gstelement.c: (gst_element_init),
10315 (gst_element_pads_activate), (gst_element_change_state):
10316 Slicker pad activation code.
10318 2005-05-30 Wim Taymans <wim@fluendo.com>
10321 * gst/gstelement.h:
10322 * gst/gstelementfactory.h:
10324 Move elementfactory methods to separate .h file.
10326 2005-05-30 Wim Taymans <wim@fluendo.com>
10328 * docs/design/part-overview.txt:
10329 * gst/gstsystemclock.h:
10330 Small typo fixes, doc updates.
10332 2005-05-30 Wim Taymans <wim@fluendo.com>
10334 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10335 (init_popt_callback):
10336 Remove cpu-opt flag.
10338 2005-05-30 Wim Taymans <wim@fluendo.com>
10340 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10341 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10343 Avoid typechecking in places where not needed.
10344 Added accessor for malloc_data.
10346 2005-05-30 Wim Taymans <wim@fluendo.com>
10348 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10349 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10350 (gst_pad_configure_sink), (gst_pad_configure_src),
10351 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10352 (gst_pad_start_task):
10353 Propagate errors from _set_caps() in configure_src/sink
10354 functions instead of returning TRUE.
10355 FLUSH events can travel up and downstream
10358 2005-05-30 Wim Taymans <wim@fluendo.com>
10360 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10361 (gst_basesink_activate):
10362 Handle EOS in preroll.
10364 2005-05-30 Wim Taymans <wim@fluendo.com>
10366 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10367 (gst_queue_loop), (gst_queue_handle_src_event):
10368 Remove old pieces of code
10369 Flushing the queue in an upstream event is a very bad idea.
10371 2005-05-26 Andy Wingo <wingo@pobox.com>
10373 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10374 gst_value_set_mini_object so as to add a ref on the object (which
10375 will be removed when the value is unset).
10377 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10378 arg type in ::handoff.
10380 * gst/gstelement.c (gst_element_change_state): Also deactivate
10381 pads in READY->NULL, just in case the element didn't make it to
10382 PAUSED. Wingo tested, Wim approved.
10384 2005-05-26 Wim Taymans <wim@fluendo.com>
10386 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10387 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10388 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10389 A flushing pad cannot be used to alloc_buffer from.
10391 2005-05-26 Wim Taymans <wim@fluendo.com>
10393 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10394 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10395 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10396 (gst_bus_create_watch), (gst_bus_add_watch_full):
10398 Implement a real GSource and use g_main_context_wakeup() to
10399 signal new messages instead of the socketpair.
10401 2005-05-25 Wim Taymans <wim@fluendo.com>
10403 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10404 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10405 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10406 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10407 (gst_pad_send_event), (gst_pad_start_task):
10408 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10409 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10410 (gst_queue_sink_activate), (gst_queue_src_activate),
10411 (gst_queue_change_state):
10413 Fix state changes for non sinks. We now change sinks, then elements
10414 with unconnected srcpads, then the rest.
10415 More efficient queue unlocking in flush and state changes.
10416 Set the pad activate mode even if it does not have an activate
10419 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10421 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10422 Don't go in pull mode for non-seekable sources.
10423 * gst/elements/gsttypefindelement.h:
10424 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10425 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10426 (free_entry), (stop_typefinding),
10427 (gst_type_find_element_handle_event), (find_peek),
10428 (gst_type_find_element_chain), (do_pull_typefind),
10429 (gst_type_find_element_change_state):
10430 Allow typefinding (w/o seeking) in push-mode, simplified version
10431 of what was in 0.8.
10432 * gst/gstutils.c: (gst_buffer_join):
10434 gst_buffer_join() from 0.8.
10436 2005-05-25 Wim Taymans <wim@fluendo.com>
10438 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10439 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10440 (gst_pad_send_event), (gst_pad_start_task):
10441 Disable attempt at mode switching until it is figured out.
10443 2005-05-25 Wim Taymans <wim@fluendo.com>
10445 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10446 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10447 (gst_basesink_finish_preroll), (gst_basesink_chain),
10448 (gst_basesink_loop), (gst_basesink_activate),
10449 (gst_basesink_change_state):
10450 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10451 (gst_basesrc_get_range), (gst_basesrc_loop),
10452 (gst_basesrc_activate):
10453 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10454 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10455 (gst_real_pad_init), (gst_real_pad_set_property),
10456 (gst_real_pad_get_property), (gst_pad_set_active),
10457 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10458 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10459 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10460 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10461 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10462 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10463 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10464 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10465 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10466 (gst_pad_stop_task):
10468 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10469 (gst_queue_loop), (gst_queue_src_activate):
10470 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10471 (gst_task_get_state):
10473 * gst/schedulers/threadscheduler.c:
10474 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10475 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10477 Remove ACTIVE pad flag, use FLUSHING everywhere
10478 Added _pad_chain(), _pad_get_range() to call chain/getrange
10480 Add locks around IS_FLUSHING when reading.
10481 Take STREAM lock in chain(), get_range() functions so plugins
10482 don't need to take it anymore.
10486 2005-05-25 Wim Taymans <wim@fluendo.com>
10488 * tools/gst-launch.c: (event_loop):
10489 Unref message after using its contents instead of
10492 2005-05-24 Wim Taymans <wim@fluendo.com>
10494 * docs/design/draft-ghostpads.txt:
10495 * docs/design/draft-push-pull.txt:
10496 * docs/design/draft-query.txt:
10497 * docs/design/part-overview.txt:
10498 Docs updates, added general overview doc.
10500 2005-05-21 David Schleef <ds@schleef.org>
10502 * docs/gst/tmpl/old/GstBin.sgml:
10503 * docs/gst/tmpl/old/GstBuffer.sgml:
10504 * docs/gst/tmpl/old/GstCaps.sgml:
10505 * docs/gst/tmpl/old/GstClock.sgml:
10506 * docs/gst/tmpl/old/GstCompat.sgml:
10507 * docs/gst/tmpl/old/GstData.sgml:
10508 * docs/gst/tmpl/old/GstElement.sgml:
10509 * docs/gst/tmpl/old/GstEvent.sgml:
10510 * docs/gst/tmpl/old/GstIndex.sgml:
10511 * docs/gst/tmpl/old/GstStructure.sgml:
10512 * docs/gst/tmpl/old/GstTag.sgml:
10513 * docs/gst/tmpl/old/cothreads.sgml:
10514 * docs/gst/tmpl/old/cothreads_compat.sgml:
10515 * docs/gst/tmpl/old/gettext.sgml:
10516 * docs/gst/tmpl/old/gobject2gtk.sgml:
10517 * docs/gst/tmpl/old/grammar.tab.sgml:
10518 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10519 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10520 * docs/gst/tmpl/old/gst_private.sgml:
10521 * docs/gst/tmpl/old/gstaggregator.sgml:
10522 * docs/gst/tmpl/old/gstarch.sgml:
10523 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10524 * docs/gst/tmpl/old/gstbufferstore.sgml:
10525 * docs/gst/tmpl/old/gstdata_private.sgml:
10526 * docs/gst/tmpl/old/gstdisksink.sgml:
10527 * docs/gst/tmpl/old/gstdisksrc.sgml:
10528 * docs/gst/tmpl/old/gstelementfactory.sgml:
10529 * docs/gst/tmpl/old/gstextratypes.sgml:
10530 * docs/gst/tmpl/old/gstfakesink.sgml:
10531 * docs/gst/tmpl/old/gstfakesrc.sgml:
10532 * docs/gst/tmpl/old/gstfdsink.sgml:
10533 * docs/gst/tmpl/old/gstfdsrc.sgml:
10534 * docs/gst/tmpl/old/gstfilesink.sgml:
10535 * docs/gst/tmpl/old/gstfilesrc.sgml:
10536 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10537 * docs/gst/tmpl/old/gstidentity.sgml:
10538 * docs/gst/tmpl/old/gstindexfactory.sgml:
10539 * docs/gst/tmpl/old/gstmarshal.sgml:
10540 * docs/gst/tmpl/old/gstmd5sink.sgml:
10541 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10542 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10543 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10544 * docs/gst/tmpl/old/gstpipefilter.sgml:
10545 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10546 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10547 * docs/gst/tmpl/old/gstshaper.sgml:
10548 * docs/gst/tmpl/old/gstspider.sgml:
10549 * docs/gst/tmpl/old/gstspideridentity.sgml:
10550 * docs/gst/tmpl/old/gststatistics.sgml:
10551 * docs/gst/tmpl/old/gsttee.sgml:
10552 * docs/gst/tmpl/old/gsttimecache.sgml:
10553 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10554 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10555 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10556 * docs/gst/tmpl/old/types.sgml:
10557 I didn't intend to add these or check them in.
10559 2005-05-19 David Schleef <ds@schleef.org>
10561 * configure.ac: Use -no-common everywhere. In a sane world, it
10562 would be the default in libtool, because without it, you can't
10563 build DLLs on Windows.
10564 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10565 * docs/gst/gstreamer-sections.txt:
10566 * docs/gst/tmpl/gstcpu.sgml:
10567 * docs/gst/tmpl/gstdata.sgml:
10568 * docs/gst/tmpl/gstthread.sgml:
10570 2005-05-19 David Schleef <ds@schleef.org>
10572 * gst/gstminiobject.c: (gst_value_set_mini_object),
10573 (gst_value_take_mini_object), (gst_value_get_mini_object):
10574 * gst/gstminiobject.h: Add GValue set/get functions.
10576 2005-05-19 Wim Taymans <wim@fluendo.com>
10578 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10579 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10580 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10582 * gst/gstbus.c: (gst_bus_post):
10583 * gst/gstelement.c: (gst_element_get_random_pad):
10584 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10585 Make subbufer unref the parent in finalize.
10586 some more debugging info.
10589 2005-05-19 Wim Taymans <wim@fluendo.com>
10591 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10592 (gst_basesink_init), (gst_basesink_finalize),
10593 (gst_basesink_activate), (gst_basesink_change_state):
10594 Don't free preroll queue too early.
10596 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10600 Hi, I'm outdated. Please shoot me.
10602 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10604 * gst/gstpipeline.c: (gst_pipeline_send_event):
10605 Do not access variables after they have been deleted.
10607 2005-05-19 Wim Taymans <wim@fluendo.com>
10609 * tools/gst-inspect.c: (print_plugin_features):
10610 A plugin feature does unfortunatly not use the
10613 2005-05-18 Wim Taymans <wim@fluendo.com>
10615 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10616 Port _span() functions to new subbuffers.
10618 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10620 * gst/gstbin.c: (gst_bin_add_func):
10621 Fix clock settery in bins when adding kids after the clock has
10624 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10626 * gst/elements/gstidentity.c: (gst_identity_class_init):
10627 Workaround until signals support GstMiniObject.
10629 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10632 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10634 2005-05-18 Wim Taymans <wim@fluendo.com>
10636 * gst/base/Makefile.am:
10637 * gst/base/gstadapter.c: (gst_adapter_base_init),
10638 (gst_adapter_class_init), (gst_adapter_init),
10639 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10640 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10641 (gst_adapter_flush), (gst_adapter_available),
10642 (gst_adapter_available_fast):
10643 * gst/base/gstadapter.h:
10644 Ported and added adapter to the base classes.
10646 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10649 * gst/gstmessage.c:
10650 Make sure the class is reffed/unreffed once before threads can be
10651 used. Fixes #304551.
10653 2005-05-17 Wim Taymans <wim@fluendo.com>
10655 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10656 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10657 * gst/gstminiobject.c: (gst_mini_object_get_type),
10658 (gst_mini_object_free):
10659 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10660 (gst_pad_push), (gst_pad_push_event):
10661 * gst/gstqueue.c: (gst_queue_change_state):
10662 Don't queue buffers in basesink when we are flushing.
10663 Unref buffer when flushing in basesink.
10664 Flush queue when going to READY
10665 Unref buffer when _push() returns an error.
10666 Don't free MiniObject instance when refcount is incremented
10667 in _finalize() so that we can recover objects.
10669 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10671 * docs/manual/advanced-schedulers.xml:
10672 * docs/manual/appendix-checklist.xml:
10673 * docs/pwg/advanced-clock.xml:
10674 * docs/pwg/advanced-interfaces.xml:
10675 * docs/pwg/advanced-request.xml:
10676 * docs/pwg/advanced-types.xml:
10677 * docs/pwg/intro-preface.xml:
10678 * examples/plugins/example.c: (gst_example_get_type),
10679 (gst_example_class_init), (gst_example_chain),
10680 (gst_example_set_property), (gst_example_get_property),
10681 (gst_example_change_state), (plugin_init):
10682 * examples/plugins/example.h:
10685 2005-05-17 Wim Taymans <wim@fluendo.com>
10687 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10688 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10689 * gst/gstqueue.c: (gst_queue_change_state):
10690 Clear queue when going to READY.
10691 Remove IN_SETCAPS flag too.
10693 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10695 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10696 Remove implicit cast from gboolean to GstElementStateReturn;
10697 make sure we still return failure in paused => ready case if
10698 the parent class fails to change state and our own stop
10701 2005-05-17 Wim Taymans <wim@fluendo.com>
10703 * tools/gst-launch.c: (event_loop):
10704 Message was unreffed too soon.
10706 2005-05-16 Andy Wingo <wingo@pobox.com>
10708 * gst/gstbin.c (sink_iterator_filter): Err... um...
10710 * check/gst/gstbin.c (test_ghost_pads): New test for the
10711 ghosting-if-elements-not-in-same-bin behavior.
10713 2005-05-16 David Schleef <ds@schleef.org>
10715 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10716 accessing refcount directly.
10718 2005-05-15 David Schleef <ds@schleef.org>
10720 * check/Makefile.am: remove GstData checks
10721 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10722 * gst/Makefile.am: add miniobject, remove data
10723 * gst/gst.h: add miniobject, remove data
10724 * gst/gstdata.c: remove
10725 * gst/gstdata.h: remove
10726 * gst/gstdata_private.h: remove
10727 * gst/gsttypes.h: remove GstEvent and GstMessage
10728 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10729 * gst/gstmarshal.list: change BOXED -> OBJECT
10731 Implement GstMiniObject.
10732 * gst/gstminiobject.c:
10733 * gst/gstminiobject.h:
10735 Modify to be subclasses of GstMiniObject.
10736 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10737 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10738 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10739 (gst_subbuffer_get_type), (gst_subbuffer_init),
10740 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10743 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10744 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10745 (_gst_event_copy), (gst_event_new):
10747 * gst/gstmessage.c: (_gst_message_initialize),
10748 (gst_message_get_type), (gst_message_class_init),
10749 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10750 (gst_message_new), (gst_message_new_error),
10751 (gst_message_new_warning), (gst_message_new_tag),
10752 (gst_message_new_state_changed), (gst_message_new_application):
10753 * gst/gstmessage.h:
10754 * gst/gstprobe.c: (gst_probe_perform),
10755 (gst_probe_dispatcher_dispatch):
10757 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10758 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10759 (_gst_query_copy), (gst_query_new):
10761 Update elements for GstData -> GstMiniObject changes
10763 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10764 (gst_queue_chain), (gst_queue_loop):
10765 * gst/elements/gstbufferstore.c:
10766 (gst_buffer_store_add_buffer_func),
10767 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10768 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10769 (gst_fakesink_render):
10770 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10771 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10772 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10773 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10774 (gst_filesrc_create_read):
10775 * gst/elements/gstidentity.c: (gst_identity_class_init):
10776 * gst/elements/gsttypefindelement.c:
10777 (gst_type_find_element_src_event), (free_entry_buffers),
10778 (gst_type_find_element_handle_event):
10779 * libs/gst/dataprotocol/dataprotocol.c:
10780 (gst_dp_header_from_buffer):
10781 * libs/gst/dataprotocol/dataprotocol.h:
10782 * libs/gst/dataprotocol/dp-private.h:
10784 2005-05-15 David Schleef <ds@schleef.org>
10786 * gst/elements/gstelements.c: Don't include headers that were
10789 2005-05-15 David Schleef <ds@schleef.org>
10791 * gst/elements/Makefile.am: Remove some elements that don't
10792 need to be in the core (or even exist at all).
10793 * gst/elements/gstaggregator.c:
10794 * gst/elements/gstaggregator.h:
10795 * gst/elements/gstmd5sink.c:
10796 * gst/elements/gstmd5sink.h:
10797 * gst/elements/gstmultifilesrc.c:
10798 * gst/elements/gstmultifilesrc.h:
10799 * gst/elements/gstpipefilter.c:
10800 * gst/elements/gstpipefilter.h:
10801 * gst/elements/gstshaper.c:
10802 * gst/elements/gstshaper.h:
10803 * gst/elements/gststatistics.c:
10804 * gst/elements/gststatistics.h:
10805 * po/POTFILES.in: Remove above files.
10807 2005-05-14 Andy Wingo <wingo@pobox.com>
10809 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10810 so as to get the refs right.
10811 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10812 unreffing objects that don't pass the filter.
10814 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10815 gst_element_set_bus.
10816 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10817 normal cases, this will destroy the bus.
10819 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10822 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10825 2005-05-13 Andy Wingo <wingo@pobox.com>
10827 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10828 gst_pad_link, call pad_link_maybe_ghosting,
10829 (pad_link_maybe_ghosting): Links pads, making sure that the
10830 elements being linked are in the same bin.
10831 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10832 Helpers for pad_link_maybe_ghosting.
10834 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10837 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10839 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10841 * docs/design/part-element-source.txt:
10844 2005-05-12 Wim Taymans <wim@fluendo.com>
10846 * gst/base/gstbasesink.c: (gst_basesink_init),
10847 (gst_basesink_activate):
10848 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10849 (gst_basesrc_is_seekable):
10850 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10851 (bin_element_is_sink), (gst_bin_change_state):
10852 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10853 * gst/gstelement.h:
10854 Identify sinks by their flag to avoid overly complicated
10856 Do state changes even for elements not reachable from the
10858 BaseSink is a sink now :)
10859 Some more debugging info in the basesrc.
10862 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10864 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10865 Implement _query on a bin, similar to _send_event.
10867 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10869 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10870 Discont event offset format should be GST_FORMAT_BYTES,
10871 not GST_FORMAT_TIME.
10873 2005-05-12 Wim Taymans <wim@fluendo.com>
10875 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10876 Same fix as Ronald's but without the signal.
10878 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10880 * gst/gstutils.c: (gst_element_query_position):
10881 No, an element is not a pad.
10883 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10885 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10886 (gst_bin_get_state):
10887 If a child is removed from a bin while we remove the child from
10888 the bin and while we're retrieving its state, signal this to the
10889 get_state function so we abort the wait (instead of waiting for
10890 a timeout) and can immediately re-iterate over all other elements.
10892 2005-05-12 Wim Taymans <wim@fluendo.com>
10894 * gst/base/Makefile.am:
10895 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10896 (gst_basesrc_start):
10897 * gst/base/gstbasesrc.h:
10898 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10899 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10900 (gst_pushsrc_init), (gst_pushsrc_create):
10901 * gst/base/gstpushsrc.h:
10902 Added is_seekable to BaseSrc
10903 Added simple PushSrc.
10905 2005-05-11 Wim Taymans <wim@fluendo.com>
10907 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10908 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10909 (gst_element_link_pads), (gst_element_query_position),
10910 (gst_element_query_convert), (intersect_caps_func),
10911 (gst_pad_query_position), (gst_pad_query_convert):
10912 Fix refcounting in utils function.
10913 No point in trying to activate a pad when it's added, it could
10914 be added from the state change function and then we deadlock, the
10915 element has to decide what to do.
10917 2005-05-10 Andy Wingo <wingo@pobox.com>
10919 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10920 *all* the arguments.
10922 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10923 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10924 lock (according to the docs -- if this is wrong change the docs).
10926 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10927 flush messages in the NULL state.
10929 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10930 message immediately and return.
10931 (gst_bus_set_flushing): New function. If a bus is flushing, it
10932 flushes out any queued messages and immediately unrefs new
10933 messages. This is so when an element goes to NULL, all of the
10934 unhandled messages coming from it can be freed, and their
10935 references to the element dropped. In other words: message source
10936 ref considered harmful :P
10938 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10939 we're finished with it.
10941 * gst/gstmessage.c (gst_message_new_state_changed):
10943 2005-05-10 Wim Taymans <wim@fluendo.com>
10945 * gst/gstvalue.c: (gst_value_compare_flags),
10946 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10947 (_gst_value_initialize):
10948 Added flags serialize/deserialize/compare code.
10950 2005-05-09 Andy Wingo <wingo@pobox.com>
10952 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10953 Intersect the peer's caps with our caps.
10955 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10957 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10958 * gst/elements/gsttypefindelement.c: (find_peek):
10959 Handle negative offsets better. Fixes decodebin.
10961 2005-05-09 Wim Taymans <wim@fluendo.com>
10963 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10964 (gst_base_transform_event):
10965 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10966 Implement accept_caps.
10967 Fix silly lock/unlock mismatch in base class.
10969 2005-05-09 Wim Taymans <wim@fluendo.com>
10971 * docs/design/draft-push-pull.txt:
10972 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10973 * gst/elements/gstfilesink.c: (gst_filesink_init),
10974 (gst_filesink_query):
10975 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10976 (gst_type_find_handle_src_query), (find_element_get_length):
10977 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10978 * gst/gstelement.h:
10979 * gst/gstmessage.c:
10980 * gst/gstmessage.h:
10981 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10982 (gst_real_pad_get_caps_unlocked),
10983 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10984 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10985 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10986 (gst_real_pad_dispose), (gst_real_pad_finalize),
10987 (gst_pad_load_and_link), (gst_pad_save_thyself),
10988 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10989 (gst_pad_check_pull_range), (gst_pad_pull_range),
10990 (gst_pad_template_get_type), (gst_pad_template_class_init),
10991 (gst_pad_template_init), (gst_pad_template_dispose),
10992 (name_is_valid), (gst_static_pad_template_get),
10993 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10994 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10995 (gst_pad_get_element_private), (gst_pad_start_task),
10996 (gst_pad_pause_task), (gst_pad_stop_task),
10997 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10998 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10999 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11000 (gst_ghost_pad_new):
11002 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11003 (gst_query_new_position), (gst_query_set_position),
11004 (gst_query_parse_position), (gst_query_new_convert),
11005 (gst_query_set_convert), (gst_query_parse_convert):
11007 * gst/gstqueryutils.c:
11008 * gst/gstqueryutils.h:
11009 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11010 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11011 (gst_queue_handle_src_query):
11012 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11013 (gst_element_query_position), (gst_element_query_convert),
11014 (intersect_caps_func), (gst_pad_query_position),
11015 (gst_pad_query_convert):
11017 * tools/gst-inspect.c: (print_pad_info):
11018 * tools/gst-xmlinspect.c: (print_element_info):
11019 Remove old query functions. Ported old code.
11020 Added position/convert helper functions to gstutils.
11021 Reordered gstpad.c code, grouping relevant things.
11022 Remove gst_message_new(), always need to speficy a specific
11026 2005-05-09 Andy Wingo <wingo@pobox.com>
11028 * gst/gstiterator.h: Add some includes.
11030 * gst/gstqueryutils.h: Include more headers.
11033 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11034 some uses of gst_pad_query.
11036 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11037 NULL out parameters.
11038 (gst_query_new_position): New proc, allocates a new position
11041 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11042 gstqueryutils.c to the build.
11044 * gst/gststructure.c (gst_structure_set_valist): Implement with
11045 the generic G_VALUE_COLLECT.
11047 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11049 * gst/Makefile.am: (gst_headers):
11050 Added gstqueryutils.h to the list of headers to install, that was
11051 a 'nachty' move wingo :)
11053 2005-05-06 Andy Wingo <wingo@pobox.com>
11056 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11057 GstData, init a memchunk.
11058 (standard_definitions): Add a few query types, deprecate a few.
11059 (gst_query_get_type): New proc.
11060 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11062 (gst_query_new_application, gst_query_get_structure): New public
11065 * docs/design/draft-query.txt: Removed LINKS from the query types,
11066 because all the rest can be dispatched to other pads -- seemed
11067 ugly to have a query that couldn't be dispatched. internal_links
11068 is fine as a pad method.
11070 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11071 in gstpad.c, but maintain binary compatibility for the moment.
11072 Will fix before 0.9 is out.
11074 * gst/gstqueryutils.c:
11075 * gst/gstqueryutils.h: New files, implement 3 methods for each
11076 query type: parse_query, parse_response, and set. Probably need an
11079 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11081 * gst/elements/gstfilesink.c (gst_filesink_query2):
11082 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11083 query_types, and formats methods.
11085 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11086 (gst_pad_set_query2_function): New functions.
11087 (gst_real_pad_init): Set query2_default as the default query2
11088 function. Basically just dispatches to internally linked pads.
11092 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11093 without using the atomic operations. Only one thread can possibly
11094 be accessing the data at this point. Changed so as to avoid
11095 gst_atomic operations.
11097 2005-05-06 Wim Taymans <wim@fluendo.com>
11099 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11100 Also set caps if we use the fallback buffer alloc.
11102 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11104 * docs/gst/Makefile.am:
11105 * docs/gst/gstreamer-docs.sgml:
11106 * docs/gst/gstreamer-sections.txt:
11107 * docs/gst/tmpl/gstatomic.sgml:
11108 * docs/gst/tmpl/gstmemchunk.sgml:
11109 * testsuite/elements/struct_i386.h:
11110 * win32/GStreamer.vcproj:
11112 Purge GstAtomic stuff from docs and win32 makefiles as well
11114 2005-05-06 Wim Taymans <wim@fluendo.com>
11116 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11117 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11118 * gst/gstpad.c: (gst_pad_peer_get_caps):
11119 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11120 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11121 (gst_queue_src_activate), (gst_queue_change_state):
11123 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11124 (intersect_caps_func):
11125 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11126 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11127 Some fixes for the peer_get_caps() change.
11129 2005-05-06 Wim Taymans <wim@fluendo.com>
11131 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11132 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11133 (gst_basesink_activate):
11134 Actually do something with error codes returned from the push
11137 2005-05-06 Wim Taymans <wim@fluendo.com>
11139 * docs/design/part-element-sink.txt:
11140 * docs/design/part-element-source.txt:
11141 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11142 (gst_basesink_event), (gst_basesink_activate):
11143 * gst/base/gstbasesink.h:
11144 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11145 (gst_basesrc_activate):
11146 * gst/base/gstbasesrc.h:
11147 * gst/gstelement.c: (gst_element_pads_activate):
11148 Some more documentation.
11149 Fixed scheduling decision in _pads_activate().
11151 2005-05-05 Andy Wingo <wingo@pobox.com>
11153 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11156 2005-05-05 Wim Taymans <wim@fluendo.com>
11158 * gst/base/Makefile.am:
11159 * gst/base/gstbasesink.h:
11160 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11161 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11162 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11163 (gst_collectpads_class_init), (gst_collectpads_init),
11164 (gst_collectpads_finalize), (gst_collectpads_new),
11165 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11166 (find_pad), (gst_collectpads_remove_pad),
11167 (gst_collectpads_is_active), (gst_collectpads_collect),
11168 (gst_collectpads_collect_range), (gst_collectpads_start),
11169 (gst_collectpads_stop), (gst_collectpads_peek),
11170 (gst_collectpads_pop), (gst_collectpads_available),
11171 (gst_collectpads_read), (gst_collectpads_flush),
11172 (gst_collectpads_chain):
11173 * gst/base/gstcollectpads.h:
11174 * gst/elements/Makefile.am:
11175 * gst/elements/gstelements.c:
11176 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11177 (gst_fakesink_get_times), (gst_fakesink_event),
11178 (gst_fakesink_preroll), (gst_fakesink_render):
11179 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11180 (gst_filesink_init), (gst_filesink_set_location),
11181 (gst_filesink_open_file), (gst_filesink_close_file),
11182 (gst_filesink_pad_query), (gst_filesink_event),
11183 (gst_filesink_render), (gst_filesink_change_state):
11184 * gst/elements/gstfilesink.h:
11185 Added object to help in making collect pad based elements.
11187 Make event function in sink baseclass return gboolean.
11189 2005-05-05 Wim Taymans <wim@fluendo.com>
11191 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11192 (gst_bin_get_by_name):
11194 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11195 (gst_clock_finalize):
11196 * gst/gstdata.c: (gst_data_replace):
11198 * gst/gstelement.c: (gst_element_request_pad),
11199 (gst_element_pads_activate):
11200 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11201 (gst_object_unref):
11202 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11203 (gst_pad_set_checkgetrange_function),
11204 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11205 (gst_pad_check_pull_range), (gst_pad_pull_range),
11206 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11207 (gst_pad_pause_task), (gst_pad_stop_task):
11208 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11209 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11210 Fix name lookup in GstBin.
11211 Added _data_replace() function and _buffer_replace()
11212 Use finalize method to clean up clock.
11213 Fix refcounting on request pads.
11214 Fix pad schedule mode error.
11215 Some more object refcounting debug info,
11218 2005-05-04 Andy Wingo <wingo@pobox.com>
11220 * check/Makefile.am:
11221 * docs/gst/tmpl/gstatomic.sgml:
11222 * docs/gst/tmpl/gstplugin.sgml:
11223 * gst/base/gstbasesink.c: (gst_basesink_activate):
11224 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11225 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11226 (gst_basesrc_query), (gst_basesrc_set_property),
11227 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11228 (gst_basesrc_activate):
11229 * gst/base/gstbasesrc.h:
11230 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11231 (gst_base_transform_src_activate):
11232 * gst/elements/gstelements.c:
11233 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11234 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11235 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11236 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11237 (gst_type_find_element_checkgetrange),
11238 (gst_type_find_element_activate):
11239 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11240 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11241 (gst_caps_load_thyself):
11242 * gst/gstelement.c: (gst_element_pads_activate),
11243 (gst_element_save_thyself), (gst_element_restore_thyself):
11244 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11245 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11247 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11248 (gst_xml_parse_file), (gst_xml_parse_memory),
11249 (gst_xml_get_element), (gst_xml_make_element):
11250 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11251 (_file_index_id_save_xml), (gst_file_index_commit):
11252 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11253 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11255 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11256 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11257 * tools/gst-complete.c: (main):
11258 * tools/gst-compprep.c: (main):
11259 * tools/gst-inspect.c: (print_element_properties_info):
11260 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11261 * tools/gst-xmlinspect.c: (print_element_properties):
11264 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11266 * gst/gstplugin.c: (gst_plugin_check_module),
11267 (gst_plugin_check_file), (gst_plugin_load_file):
11268 apply patch from #172526 to make register work on MacOSX
11270 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11272 * docs/gst/tmpl/gstconfig.sgml:
11273 * gst/gstconfig.h.in:
11274 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11275 * testsuite/debug/printf_extension.c: (main):
11276 Do not use GST_PTR_FORMAT on pointers to types with
11277 sizeof < sizeof(gpointer). Fixes test on 64-bit
11278 * testsuite/elements/property.h:
11279 use correct printf format
11281 2005-05-02 Wim Taymans <wim@fluendo.com>
11283 * docs/design/draft-push-pull.txt:
11284 * docs/design/draft-query.txt:
11285 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11286 (gst_basesrc_start):
11287 Added draft for new query API.
11288 Added draft for better selecting scheduling methods.
11289 Make basesrc ignore length if the subclass does not support
11292 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11295 possible fixes for automake-1.5 - _LIBADD is reserved
11297 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11299 * docs/faq/Makefile.am:
11300 * docs/manual/Makefile.am:
11301 * docs/manuals.mak:
11302 * docs/pwg/Makefile.am:
11304 possible fixes for automake-1.5
11306 2005-04-28 Wim Taymans <wim@fluendo.com>
11308 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11309 (gst_basesink_pad_getcaps), (gst_basesink_init),
11310 (gst_basesink_do_sync):
11311 * gst/gstclock.c: (gst_clock_entry_new):
11312 * gst/gstevent.c: (gst_event_discont_get_value):
11313 * gst/gstpipeline.c: (pipeline_bus_handler),
11314 (gst_pipeline_change_state):
11315 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11316 Better debugging of clocking info.
11317 Allow NULL values when getting discont values.
11319 2005-04-27 Wim Taymans <wim@fluendo.com>
11321 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11322 * check/gst/gstpad.c: (gst_pad_suite):
11323 Increase timeout for checks.
11325 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11327 * check/Makefile.am:
11328 fix the broken rule for cleanup. Apparently this rule is
11329 only needed on FC2, so maybe this warrants further autotool
11332 2005-04-26 Wim Taymans <wim@fluendo.com>
11334 * gst/gsttrashstack.h:
11335 Ooohh. a nasty one! After having a failed pop() from the stack,
11336 it's possible that the stack is empty. In that case, don't
11337 follow the NULL pointer.
11339 2005-04-25 Wim Taymans <wim@fluendo.com>
11341 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11342 (gst_pad_set_checkgetrange_function),
11343 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11344 (gst_pad_check_pull_range), (gst_pad_pull_range),
11345 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11346 (gst_pad_pause_task), (gst_pad_stop_task):
11347 * gst/gstplugin.c: (gst_plugin_load):
11349 Remove gst_library_load as it does more harm than good with
11350 the new g_module flags.
11351 Revert bogus caps template check in pad linking, pad caps
11352 are important when linking not the template, which is more
11353 general than the current caps.
11355 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11357 * gst/autoplug/.cvsignore:
11358 * gst/autoplug/Makefile.am:
11359 * gst/autoplug/gstsearchfuncs.c:
11360 * gst/autoplug/gstsearchfuncs.h:
11361 * gst/autoplug/gstspider.c:
11362 * gst/autoplug/gstspider.h:
11363 * gst/autoplug/gstspideridentity.c:
11364 * gst/autoplug/gstspideridentity.h:
11365 * gst/autoplug/spidertest.c:
11368 2005-04-25 Wim Taymans <wim@fluendo.com>
11370 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11371 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11372 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11373 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11375 Added stubs for unimplemented functions.
11377 2005-04-24 David Schleef <ds@schleef.org>
11379 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11382 2005-04-24 David Schleef <ds@schleef.org>
11384 Convert everything from GstAtomicInt to g_atomic_int_*, and
11389 * gst/gstatomic_impl.h:
11397 * gst/gstdata_private.h:
11401 * gst/gstmessage.c:
11404 * gst/gststructure.c:
11405 * gst/gststructure.h:
11406 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11409 2005-04-24 David Schleef <ds@schleef.org>
11411 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11412 make the regressions tests work. Remove some code that is no
11414 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11415 Disable warning for pads without templates.
11417 2005-04-24 David Schleef <ds@schleef.org>
11419 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11420 functions that handle filtered links.
11421 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11423 * gst/gstutils.c: Fix/remove utility functions that handle
11426 * gst/gstvalue.c: Add serialization/deserialization of caps
11427 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11428 requires fixing so that the filter caps notation creates
11429 a capsfilter element and sets the filter_caps property. I
11430 think everyone probably wants to keep the shorthand notation.
11431 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11432 * docs/gst/tmpl/gstpad.sgml:
11434 * gst/elements/gstelements.c: Register capsfilter element.
11435 * gst/Makefile.am: fix spacing
11436 * docs/random/ds/0.9-suggested-changes: random
11438 2005-04-23 David Schleef <ds@schleef.org>
11440 * gst/elements/Makefile.am:
11441 * gst/elements/gstcapsfilter.c: New element that acts like an
11442 identity, but filters caps. Will eventually replace filtered
11443 caps in pad linking.
11444 * gst/gstutils.c: (gst_element_create_all_pads): New function
11445 to create all the ALWAYS pads that are registered with an
11446 element class. This functionality should eventually be
11447 merged in with GstElement initialization.
11449 * testsuite/trigger/README: part of trigger test code that should
11450 have been checked in a long time ago.
11452 2005-04-23 David Schleef <ds@schleef.org>
11454 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11455 needed with new versions of libtool (nobody will confirm this),
11456 and hard to carry around.
11457 * gst/autoplug/Makefile.am:
11458 * gst/base/Makefile.am:
11459 * gst/elements/Makefile.am:
11460 * gst/indexers/Makefile.am:
11461 * gst/schedulers/Makefile.am:
11462 * libs/gst/bytestream/Makefile.am:
11463 * libs/gst/control/Makefile.am:
11464 * libs/gst/dataprotocol/Makefile.am:
11465 * libs/gst/getbits/Makefile.am:
11467 2005-04-21 Wim Taymans <wim@fluendo.com>
11469 * docs/design/draft-push-pull.txt:
11470 * docs/design/part-MT-refcounting.txt:
11471 * docs/design/part-TODO.txt:
11472 * docs/design/part-caps.txt:
11473 * docs/design/part-events.txt:
11474 * docs/design/part-gstbus.txt:
11475 * docs/design/part-gstpipeline.txt:
11476 * docs/design/part-messages.txt:
11477 * docs/design/part-push-pull.txt:
11478 * docs/design/part-query.txt:
11481 2005-04-21 Wim Taymans <wim@fluendo.com>
11483 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11484 (gst_message_new), (gst_message_new_error),
11485 (gst_message_new_warning), (gst_message_new_tag),
11486 (gst_message_new_state_changed), (gst_message_new_application),
11487 (gst_message_get_structure):
11488 * gst/gstmessage.h:
11489 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11490 (gst_structure_copy_conditional):
11491 Use parent refcount in GstMessage to ensure GstStructure
11493 Cleaned up headers a bit.
11496 2005-04-20 Wim Taymans <wim@fluendo.com>
11498 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11499 (gst_basesink_pad_getcaps), (gst_basesink_init),
11500 (gst_basesink_chain_unlocked):
11501 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11502 (gst_type_find_helper):
11503 * gst/elements/gsttypefindelement.c:
11504 (gst_type_find_element_have_type), (gst_type_find_element_init),
11505 (stop_typefinding), (gst_type_find_element_handle_event),
11506 (find_suggest), (gst_type_find_element_chain),
11507 (gst_type_find_element_checkgetrange),
11508 (gst_type_find_element_getrange), (do_typefind),
11509 (gst_type_find_element_activate):
11510 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11511 (gst_buffer_default_free), (gst_buffer_default_copy),
11512 (gst_buffer_set_caps):
11513 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11514 (gst_caps_replace):
11515 * gst/gstmessage.c: (gst_message_new),
11516 (gst_message_new_state_changed):
11517 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11518 (gst_pad_set_checkgetrange_function),
11519 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11520 (gst_pad_set_caps), (gst_pad_check_pull_range),
11521 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11523 * gst/gsttypefind.c: (gst_type_find_register):
11524 Make gst_caps_replace() work like other _replace() functions.
11525 Use _caps_replace() where possible.
11526 Make sure _message_new() initialises its field.
11527 Add gst_static_pad_template_get_caps()
11530 2005-04-18 Andy Wingo <wingo@pobox.com>
11532 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11533 on the peer, not the pad. I think that was a typo. Pass an extra
11534 arg to see if random access is possible. Activate the pads as
11535 PULL_RANGE if possible.
11537 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11539 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11540 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11543 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11545 * docs/faq/using.xml:
11546 Add note on gstreamer-properties (#154996).
11548 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11550 * docs/random/bbb/optional-properties:
11551 Some analysis on optional properties.
11553 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11555 * docs/gst/tmpl/gstelementfactory.sgml:
11556 * gst/gstelement.h:
11557 * gst/gstelementfactory.c: (gst_element_factory_init),
11558 (gst_element_factory_cleanup), (gst_element_register),
11559 (__gst_element_factory_add_static_pad_template),
11560 (gst_element_factory_get_static_pad_templates),
11561 (gst_element_factory_can_src_caps),
11562 (gst_element_factory_can_sink_caps):
11563 * gst/registries/Makefile.am:
11564 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11565 (gst_xml_registry_class_init), (gst_xml_registry_init),
11566 (gst_xml_registry_new), (gst_xml_registry_set_property),
11567 (gst_xml_registry_get_property), (get_time), (make_dir),
11568 (gst_xml_registry_get_perms_func),
11569 (plugin_times_older_than_recurse), (plugin_times_older_than),
11570 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11571 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11572 (add_to_char_array), (read_string), (read_uint), (read_enum),
11573 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11574 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11575 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11576 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11577 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11578 (gst_xml_registry_rebuild):
11579 * gst/registries/gstlibxmlregistry.h:
11580 * tools/gst-compprep.c: (main):
11581 * tools/gst-inspect.c: (print_pad_templates_info):
11582 * tools/gst-xmlinspect.c: (print_element_info):
11583 Use libxml2 for registry parsing, use staticpadtemplates in
11584 elementfactories. Makes gst_init() +/- 10x faster.
11586 2005-04-12 Wim Taymans <wim@fluendo.com>
11588 * gst/base/Makefile.am:
11589 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11590 (gst_basesink_pad_getcaps), (gst_basesink_init),
11591 (gst_basesink_event), (gst_basesink_change_state):
11592 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11593 (gst_basesrc_init), (gst_basesrc_query),
11594 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11595 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11596 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11597 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11598 (gst_basesrc_stop), (gst_basesrc_activate),
11599 (gst_basesrc_change_state):
11600 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11601 (helper_find_suggest), (gst_type_find_helper):
11602 * gst/base/gsttypefindhelper.h:
11603 * gst/elements/Makefile.am:
11604 * gst/elements/gstelements.c:
11605 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11606 (gst_fakesink_get_times), (gst_fakesink_event),
11607 (gst_fakesink_preroll), (gst_fakesink_render):
11608 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11609 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11610 (gst_fakesrc_get_property), (gst_fakesrc_create),
11611 (gst_fakesrc_start), (gst_fakesrc_stop):
11612 * gst/elements/gstfakesrc.h:
11613 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11614 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11615 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11616 (gst_filesrc_create_read), (gst_filesrc_create),
11617 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11618 (gst_filesrc_start):
11619 * gst/elements/gsttypefindelement.c:
11620 (gst_type_find_element_have_type), (gst_type_find_element_init),
11621 (start_typefinding), (stop_typefinding), (push_buffer_store),
11622 (gst_type_find_element_handle_event),
11623 (gst_type_find_element_chain),
11624 (gst_type_find_element_checkgetrange),
11625 (gst_type_find_element_getrange), (do_typefind),
11626 (gst_type_find_element_activate),
11627 (gst_type_find_element_change_state):
11628 * gst/elements/gsttypefindelement.h:
11629 * gst/gstpipeline.c: (pipeline_bus_handler):
11630 Added typefind helper.
11631 Small preroll fix in the base sink.
11632 Disable typefind code in basesrc.
11633 Crude port of typefindelement.
11637 2005-04-11 Wim Taymans <wim@fluendo.com>
11639 * check/gst/gstbus.c: (gstbus_suite):
11640 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11641 * check/gstcheck.h:
11642 Fix up the timeout so that the test does not fail.
11644 2005-04-06 Wim Taymans <wim@fluendo.com>
11647 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11648 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11649 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11650 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11651 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11652 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11653 (gst_basesrc_stop), (gst_basesrc_activate),
11654 (gst_basesrc_change_state), (basesrc_find_peek),
11655 (basesrc_find_suggest), (gst_basesrc_type_find):
11656 * gst/base/gstbasesrc.h:
11657 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11658 (gst_filesrc_class_init), (gst_filesrc_init),
11659 (gst_filesrc_finalize), (gst_filesrc_set_location),
11660 (gst_filesrc_set_property), (gst_filesrc_get_property),
11661 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11662 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11663 (gst_filesrc_create_read), (gst_filesrc_create),
11664 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11665 * gst/elements/gstfilesrc.h:
11666 * gst/gstelement.c: (gst_element_get_state_func),
11667 (gst_element_lost_state), (gst_element_pads_activate):
11668 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11669 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11670 (gst_pad_pull_range):
11672 More work on the generic source base class, implement seeking,
11674 Make filesrc extend the base source class.
11675 Added gst_pad_set_checkgetrange_function to GstPad.
11677 2005-04-06 Andy Wingo <wingo@pobox.com>
11679 * pkgconfig/gstreamer-base.pc.in:
11680 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11682 * pkgconfig/Makefile.am:
11683 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11685 2005-04-04 Wim Taymans <wim@fluendo.com>
11687 * gst/base/Makefile.am:
11689 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11690 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11691 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11692 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11693 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11694 (gst_basesrc_base_init), (gst_basesrc_class_init),
11695 (gst_basesrc_init), (gst_basesrc_get_formats),
11696 (gst_basesrc_get_query_types), (gst_basesrc_query),
11697 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11698 (gst_basesrc_set_property), (gst_basesrc_get_property),
11699 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11700 (gst_basesrc_loop), (gst_basesrc_activate),
11701 (gst_basesrc_change_state):
11702 * gst/base/gstbasesrc.h:
11703 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11704 (gst_fakesrc_class_init), (gst_fakesrc_init),
11705 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11706 (gst_fakesrc_get_property), (gst_fakesrc_create):
11707 * gst/elements/gstfakesrc.h:
11708 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11709 (gst_filesrc_open_file), (gst_filesrc_loop),
11710 (gst_filesrc_activate), (filesrc_find_peek),
11711 (gst_filesrc_type_find):
11712 Made base source class, make fakesrc extend it.
11713 Add comments to basesink class.
11714 Some filesrc cleanup.
11716 2005-03-31 David Schleef <ds@schleef.org>
11718 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11719 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11720 expected to link against libgstreamer.
11721 * gst/base/Makefile.am: link against libgstreamer
11722 * gst/elements/Makefile.am: same
11724 2005-03-31 Andy Wingo <wingo@pobox.com>
11726 * tests/instantiate/Makefile.am:
11727 * tests/instantiate/caps.c: Add test to test speed of caps copy
11730 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11731 GMemChunk to be fair.
11733 * gst/gsttrashstack.h: Remove warning about using the fallback
11734 trash stack implementation, it's still faster than malloc.
11736 2005-03-30 Andy Wingo <wingo@pobox.com>
11738 * tests/complexity.c: Add a copyright.
11740 2005-03-31 Wim Taymans <wim@fluendo.com>
11742 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11743 (gst_base_transform_class_init), (gst_base_transform_init),
11744 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11745 (gst_base_transform_get_property),
11746 (gst_base_transform_sink_activate),
11747 (gst_base_transform_src_activate),
11748 (gst_base_transform_change_state):
11749 * gst/base/gstbasetransform.h:
11750 * gst/elements/gstidentity.c: (gst_identity_class_init),
11751 (gst_identity_event), (gst_identity_check_perfect),
11752 (gst_identity_transform), (gst_identity_start),
11753 (gst_identity_stop):
11754 Added start/stop methods to transform base class so subclasses
11755 don't need to deal with state changes even.
11757 2005-03-31 Wim Taymans <wim@fluendo.com>
11759 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11760 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11762 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11763 (gst_pad_pull_range):
11764 Added rate to the discont event to prepare for variable speed
11765 and reverse playback.
11767 2005-03-29 David Schleef <ds@schleef.org>
11770 * testsuite/trigger/Makefile.am:
11771 * testsuite/trigger/trigger.c: A little example program to show
11772 how trigger-based elements can work.
11774 2005-03-29 Wim Taymans <wim@fluendo.com>
11776 * gst/base/Makefile.am:
11778 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11779 (gst_basesink_base_init), (gst_basesink_class_init),
11780 (gst_basesink_pad_getcaps), (gst_basesink_init),
11781 (gst_basesink_activate), (gst_basesink_change_state):
11782 * gst/base/gstbasesink.h:
11783 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11784 (gst_base_transform_base_init), (gst_base_transform_finalize),
11785 (gst_base_transform_class_init), (gst_base_transform_init),
11786 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11787 (gst_base_transform_event), (gst_base_transform_getrange),
11788 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11789 (gst_base_transform_set_property),
11790 (gst_base_transform_get_property),
11791 (gst_base_transform_sink_activate),
11792 (gst_base_transform_src_activate),
11793 (gst_base_transform_change_state):
11794 * gst/base/gstbasetransform.h:
11795 * gst/elements/gstidentity.c: (gst_identity_finalize),
11796 (gst_identity_class_init), (gst_identity_init),
11797 (gst_identity_event), (gst_identity_check_perfect),
11798 (gst_identity_transform), (gst_identity_set_property),
11799 (gst_identity_get_property), (gst_identity_change_state):
11800 * gst/elements/gstidentity.h:
11801 * gst/gstelement.c: (gst_element_get_state_func),
11802 (gst_element_lost_state), (gst_element_pads_activate):
11803 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11804 (gst_pad_check_pull_range), (gst_pad_pull_range):
11806 Simplify pad activation.
11807 Added function to check if pull_range can be performed.
11808 Error out when pulling inactive or flushing pads.
11809 Removed const from refcounted types as it does not make sense.
11810 Simplify pad templates in basesink
11811 Added base class for simple 1-to-1 transforms.
11812 Make identity subclass the base transform.
11814 2005-03-29 Andy Wingo <wingo@pobox.com>
11816 * docs/libs/gstreamer-libs-overrides.txt:
11817 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11818 really don't understand what's going on, but like whatever. I want
11821 * docs/gst/Makefile.am:
11822 * docs/libs/Makefile.am: Dist the overrides files.
11824 * check/Makefile.am (clean-local): Remove .libs directories.
11826 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11827 elements to EXTRA_DIST, so po/ files are happy.
11829 * po/POTFILES.in: Er, remove it here.
11831 * po/POTFILES: Remove gstspider.c.
11833 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11835 * docs/libs/gstreamer-libs-docs.sgml:
11836 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11839 * tests/complexity.c (main): Set the length of the preroll queue
11840 on the sinks to prevent a lockup.
11842 * libs/gst/dataprotocol/Makefile.am:
11843 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11844 the same as the one in check/gst-libs/gdp.c.
11846 * po/, docs/gst/: Commit automatic changes to docs and po files.
11848 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11849 the versioned libgstbase.
11851 * check/Makefile.am: Depend on an unversioned gst-register, seems
11852 to make autoconf happier.
11854 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11856 2005-03-28 Wim Taymans <wim@fluendo.com>
11859 * docs/design/part-gstelement.txt:
11860 * docs/design/part-negotiation.txt:
11861 * docs/design/part-preroll.txt:
11862 * docs/design/part-scheduling.txt:
11863 * docs/design/part-states.txt:
11865 * gst/base/Makefile.am:
11867 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11868 (gst_basesink_base_init), (gst_basesink_class_init),
11869 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11870 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11871 (gst_basesink_set_pad_functions),
11872 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11873 (gst_basesink_set_property), (gst_basesink_get_property),
11874 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11875 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11876 (gst_basesink_preroll_queue_push),
11877 (gst_basesink_preroll_queue_empty),
11878 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11879 (gst_basesink_event), (gst_basesink_get_times),
11880 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11881 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11882 (gst_basesink_loop), (gst_basesink_activate),
11883 (gst_basesink_change_state):
11884 * gst/base/gstbasesink.h:
11885 * gst/elements/Makefile.am:
11886 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11887 (gst_fakesink_class_init), (gst_fakesink_init),
11888 (gst_fakesink_set_property), (gst_fakesink_get_property),
11889 (gst_fakesink_get_times), (gst_fakesink_event),
11890 (gst_fakesink_preroll), (gst_fakesink_render),
11891 (gst_fakesink_change_state):
11892 * gst/elements/gstfakesink.h:
11893 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11894 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11895 * gst/gstelement.c: (gst_element_add_pad),
11896 (gst_element_get_state_func), (gst_element_abort_state),
11897 (gst_element_commit_state), (gst_element_lost_state),
11898 (gst_element_set_state), (gst_element_pads_activate):
11899 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11900 * gst/gstpipeline.c: (gst_pipeline_send_event),
11901 (gst_pipeline_change_state):
11902 Added state change code.
11903 Added/updated docs.
11904 Added sink base class, make fakesink extend the base class.
11905 Small cleanups in GstPipeline.
11907 2005-03-26 David Schleef <ds@schleef.org>
11909 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11910 is broken and should be implemented in a different library.
11911 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11912 * gst/gst.h: remove gstcpu.h
11913 * gst/gstcpu.c: remove
11914 * gst/gstcpu.h: remove
11915 * gst/Makefile.am.future: Remove this file. It's ancient.
11917 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11919 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11920 (gst_bin_send_event):
11921 Add default event/set_manager handlers. The set_manager handler
11922 takes care that the manager is distributed over kids that were
11923 already in the bin before the manager was set. The event handler
11924 is a utility virtual function that sends the event over all sinks,
11925 so that gst_element_send_event (bin, event); has the expected
11927 * gst/gstpad.c: (gst_pad_event_default):
11928 Re-install default event handling for discontinuities, so that
11929 seeking works without requiring hacks in applications or extra
11931 * gst/gstpipeline.c: (gst_pipeline_class_init),
11932 (gst_pipeline_send_event):
11933 Half hack, half utility: set a pipeline to PAUSED for seek events,
11934 since that is the only way we can guarantee a/v sync. Means that
11935 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11936 and it "just works".
11938 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11940 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11941 Lock/unlock mismatch.
11943 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11945 * docs/faq/gst-uninstalled:
11946 add gst-plugins-base
11947 * docs/gst/Makefile.am:
11948 don't error out until docs are fixed
11949 * docs/gst/gstreamer.types:
11952 2005-03-22 Wim Taymans <wim@fluendo.com>
11954 * check/Makefile.am:
11955 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11956 * gst/gststructure.c: (gst_structure_set_valist),
11957 (gst_structure_copy_conditional):
11958 Activated more tests.
11959 Added message test.
11960 Added G_TYPE_POINTER to GstStructure.
11963 2005-03-22 Wim Taymans <wim@fluendo.com>
11965 * docs/design/part-TODO.txt:
11966 * docs/design/part-events.txt:
11967 * docs/design/part-gstbin.txt:
11968 * docs/design/part-gstbus.txt:
11969 * docs/design/part-gstpipeline.txt:
11970 * docs/design/part-messages.txt:
11972 * gst/gstmessage.c:
11975 2005-03-21 Wim Taymans <wim@fluendo.com>
11977 * gst/gstbus.c: (gst_bus_post):
11978 Fix copy-and-paste error.
11980 2005-03-21 Wim Taymans <wim@fluendo.com>
11982 * check/Makefile.am:
11984 * gst/elements/Makefile.am:
11985 * gst/elements/gstelements.c:
11986 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11987 (gst_fakesink_event), (gst_fakesink_chain):
11988 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11989 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11990 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11991 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11992 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11993 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11994 (gst_fakesrc_loop), (gst_fakesrc_activate),
11995 (gst_fakesrc_change_state):
11996 * gst/elements/gstfakesrc.h:
11997 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11998 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11999 (gst_filesrc_open_file), (gst_filesrc_loop),
12000 (gst_filesrc_activate), (gst_filesrc_change_state),
12001 (filesrc_find_peek), (filesrc_find_suggest),
12002 (gst_filesrc_type_find):
12003 * gst/elements/gstidentity.c: (gst_identity_finalize),
12004 (gst_identity_class_init), (gst_identity_init),
12005 (gst_identity_proxy_getcaps), (identity_queue_push),
12006 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12007 (gst_identity_getrange), (gst_identity_chain),
12008 (gst_identity_sink_loop), (gst_identity_src_loop),
12009 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12010 (gst_identity_set_property), (gst_identity_get_property),
12011 (gst_identity_change_state):
12012 * gst/elements/gstidentity.h:
12013 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12014 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12015 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12016 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12017 (gst_tee_sink_activate):
12018 * gst/elements/gsttee.h:
12019 * gst/gst.c: (gst_register_core_elements), (init_post):
12021 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12022 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12023 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12024 (gst_bin_change_state):
12026 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12027 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12028 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12029 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12030 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12031 (bus_watch_callback), (bus_watch_destroy),
12032 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12033 (poll_timeout), (gst_bus_poll):
12037 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12038 (gst_element_post_message), (gst_element_message_full),
12039 (gst_element_get_state_func), (gst_element_get_state),
12040 (gst_element_abort_state), (gst_element_commit_state),
12041 (gst_element_lost_state), (gst_element_set_state),
12042 (gst_element_pads_activate), (gst_element_change_state),
12043 (gst_element_dispose), (gst_element_set_manager_func),
12044 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12045 (gst_element_set_manager), (gst_element_get_manager),
12046 (gst_element_set_bus), (gst_element_get_bus),
12047 (gst_element_set_scheduler), (gst_element_get_scheduler):
12048 * gst/gstelement.h:
12049 * gst/gstevent.c: (gst_event_new_segment_seek),
12050 (gst_event_new_flush):
12052 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12053 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12054 (gst_message_new_eos), (gst_message_new_error),
12055 (gst_message_new_warning), (gst_message_new_tag),
12056 (gst_message_new_state_changed), (gst_message_new_application),
12057 (gst_message_get_structure), (gst_message_parse_tag),
12058 (gst_message_parse_state_changed), (gst_message_parse_error),
12059 (gst_message_parse_warning):
12060 * gst/gstmessage.h:
12061 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12062 (gst_real_pad_set_property), (gst_pad_set_active),
12063 (gst_pad_is_active), (gst_pad_set_blocked_async),
12064 (gst_pad_set_blocked), (gst_pad_is_blocked),
12065 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12066 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12067 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12068 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12069 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12070 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12071 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12072 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12073 (gst_pad_set_caps), (gst_pad_configure_sink),
12074 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12075 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12076 (gst_real_pad_dispose), (gst_real_pad_finalize),
12077 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12078 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12079 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12081 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12082 (pipeline_bus_handler), (gst_pipeline_change_state),
12083 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12084 * gst/gstpipeline.h:
12086 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12087 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12088 (gst_queue_link_src), (gst_queue_bufferalloc),
12089 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12090 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12091 (gst_queue_loop), (gst_queue_handle_src_event),
12092 (gst_queue_handle_src_query), (gst_queue_src_activate),
12093 (gst_queue_change_state):
12095 * gst/gstscheduler.c: (gst_scheduler_init),
12096 (gst_scheduler_dispose), (gst_scheduler_create_task),
12097 (gst_scheduler_factory_create):
12098 * gst/gstscheduler.h:
12099 * gst/gststructure.c: (gst_structure_get_type),
12100 (gst_structure_copy_conditional):
12101 * gst/gststructure.h:
12102 * gst/gsttaginterface.h:
12103 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12104 (gst_task_init), (gst_task_dispose), (gst_task_create),
12105 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12111 * gst/schedulers/Makefile.am:
12112 * gst/schedulers/cothreads_compat.h:
12113 * gst/schedulers/entryscheduler.c:
12114 * gst/schedulers/faircothreads.c:
12115 * gst/schedulers/faircothreads.h:
12116 * gst/schedulers/fairscheduler.c:
12117 * gst/schedulers/gstbasicscheduler.c:
12118 * gst/schedulers/gstoptimalscheduler.c:
12119 * gst/schedulers/gthread-cothreads.h:
12120 * gst/schedulers/threadscheduler.c:
12121 (gst_thread_scheduler_task_get_type),
12122 (gst_thread_scheduler_task_class_init),
12123 (gst_thread_scheduler_task_init),
12124 (gst_thread_scheduler_task_start),
12125 (gst_thread_scheduler_task_stop),
12126 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12127 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12128 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12129 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12131 * libs/gst/Makefile.am:
12132 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12133 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12134 (gst_file_pad_parent_set):
12135 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12136 (gst_dp_event_from_packet):
12137 * tests/complexity.c: (main):
12138 * tests/mass_elements.c: (main):
12139 * testsuite/states/locked.c: (message_received), (main):
12140 * testsuite/states/parent.c: (main):
12141 * tools/gst-inspect.c: (print_element_flag_info),
12142 (print_implementation_info), (print_pad_info):
12143 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12145 * tools/gst-md5sum.c: (event_loop), (main):
12146 * tools/gst-typefind.c: (main):
12147 * tools/gst-xmlinspect.c: (print_element_info):
12149 Added GstBus for mainloop integration.
12150 Added GstMessage for sending notifications on the bus.
12151 Added GstTask as an abstraction for pipeline entry points.
12153 Removed Schedulers.
12154 Simplified GstQueue for multithreaded core.
12155 Made _link threadsafe, removed old capsnego.
12156 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12157 Added pad blocking functions.
12158 Reworked scheduling functions in GstPad to prepare for
12159 scheduling updates soon.
12160 Moved events out of data stream.
12161 Simplified GstEvent types.
12162 Added return values to push/pull.
12163 Removed clocking from GstElement.
12164 Added prototypes for state change function for next merge.
12165 Removed iterate from bins and state change management.
12166 Fixed some elements, disabled others for now.
12167 Fixed -inspect and -launch.
12168 Added check for GstBus.
12170 2005-03-10 Wim Taymans <wim@fluendo.com>
12172 * docs/design/part-MT-refcounting.txt:
12173 * docs/design/part-clocks.txt:
12174 * docs/design/part-gstelement.txt:
12175 * docs/design/part-gstobject.txt:
12176 * docs/design/part-standards.txt:
12177 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12178 (gst_bin_remove_func), (gst_bin_remove):
12182 * testsuite/clock/clock1.c: (main):
12183 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12185 * testsuite/dlopen/loadgst.c: (do_test):
12186 * testsuite/refcounting/bin.c: (add_remove_test1),
12187 (add_remove_test2), (main):
12188 * testsuite/refcounting/element.c: (main):
12189 * testsuite/refcounting/element_pad.c: (main):
12190 * testsuite/refcounting/pad.c: (main):
12191 * tools/gst-launch.c: (sigint_handler_sighandler):
12192 * tools/gst-typefind.c: (main):
12194 Added doc about clock.
12195 removed gst_bin_iterate_recurse_up(), marked methods
12197 Fix more testsuites.
12199 2005-03-09 Wim Taymans <wim@fluendo.com>
12201 * gst/gstpad.c: (gst_pad_get_direction),
12202 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12203 (gst_pad_collect_valist):
12204 * testsuite/bins/interface.c: (main):
12205 * testsuite/caps/audioscale.c: (test_caps):
12206 * testsuite/caps/caps.c: (test1), (test2), (test3):
12207 * testsuite/caps/deserialize.c: (main):
12208 * testsuite/caps/enumcaps.c: (main):
12209 * testsuite/caps/filtercaps.c: (main):
12210 * testsuite/caps/intersect2.c: (main):
12211 * testsuite/caps/random.c: (main):
12212 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12213 * testsuite/caps/sets.c: (check_caps):
12214 * testsuite/caps/simplify.c: (check_caps), (main):
12215 * testsuite/caps/subtract.c: (check_caps):
12216 Fix _pad_get_direction wrt ghostpads.
12217 Fix caps testsuite.
12219 2005-03-09 Wim Taymans <wim@fluendo.com>
12221 * check/Makefile.am:
12222 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12223 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12224 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12225 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12226 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12227 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12228 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12229 (bin_element_is_sink), (gst_bin_iterate_sinks),
12230 (gst_bin_iterate_all_by_interface):
12232 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12233 (gst_element_change_state), (gst_element_dispose),
12234 (gst_element_finalize), (gst_element_set_loop_function):
12235 * gst/gstelement.h:
12236 * gst/gstiterator.c: (find_custom_fold_func):
12237 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12238 (gst_pad_collectv), (gst_pad_collect_valist),
12239 (gst_pad_template_new):
12240 * gst/gstpipeline.c: (gst_pipeline_class_init),
12241 (gst_pipeline_dispose), (gst_pipeline_set_property),
12242 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12243 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12244 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12246 * gst/schedulers/entryscheduler.c:
12247 * gst/schedulers/gstbasicscheduler.c:
12248 (gst_basic_scheduler_cothreaded_chain),
12249 (gst_basic_scheduler_chain_add_element):
12250 * testsuite/bins/interface.c: (main):
12252 Added GstSystemClock test.
12253 Implemented clock distribution code in GstBin.
12254 Implemented iterate sinks method for future use.
12255 Rearranged gstelement.h
12256 Fix GstIterator comparison bug.
12257 Moved some code to GstPipeline, mostly clocking related.
12259 2005-03-09 Wim Taymans <wim@fluendo.com>
12262 * gst/gst_private.h:
12263 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12264 (gst_bin_remove_func), (gst_bin_remove),
12265 (gst_bin_get_by_name_recurse_up):
12266 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12267 (gst_clock_id_compare_func), (gst_clock_id_wait),
12268 (gst_clock_id_wait_async), (gst_clock_init),
12269 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12270 * gst/gstelement.h:
12271 * gst/gstinfo.c: (_gst_debug_init):
12273 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12274 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12276 Bump version number, we're now 0.9.0
12277 Add future debugging category.
12278 Fix NULL _unref() in _get_by_name_recurse_up
12279 Rearrange gstpad.h.
12282 2005-03-08 Wim Taymans <wim@fluendo.com>
12284 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12285 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12286 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12287 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12288 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12289 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12290 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12291 * gst/elements/gstidentity.c: (gst_identity_class_init):
12292 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12293 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12294 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12295 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12296 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12298 * gst/gstelement.c: (gst_element_class_init),
12299 (gst_element_base_class_init), (gst_element_init),
12300 (gst_element_get_random_pad), (gst_element_wait_state_change),
12301 (gst_element_change_state), (gst_element_dispose),
12302 (gst_element_finalize), (gst_element_set_loop_function):
12303 * gst/gstelement.h:
12304 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12305 * gst/gstthread.c: (gst_thread_class_init),
12306 (gst_thread_release_children_locks), (gst_thread_change_state):
12307 * gst/schedulers/gstbasicscheduler.c:
12308 (gst_basic_scheduler_loopfunc_wrapper),
12309 (gst_basic_scheduler_chain_wrapper),
12310 (gst_basic_scheduler_src_wrapper),
12311 (gst_basic_scheduler_remove_element):
12312 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12313 Remove threadsafe properties. Fix elements because GObject
12314 complains when installing a property before declaring a
12315 set/get_property handler.
12316 Rearrange gstelement.h file, use STATE macros for state locks.
12317 Free mutexes in the finalize method instead of dispose.
12319 2005-03-08 Wim Taymans <wim@fluendo.com>
12321 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12322 * gst/gstthread.c: (gst_thread_release_children_locks):
12323 Added parentage check.
12324 Fix build og GstThread again.
12326 2005-03-08 Wim Taymans <wim@fluendo.com>
12328 * docs/design/part-MT-refcounting.txt:
12329 * docs/design/part-conventions.txt:
12330 * docs/design/part-gstobject.txt:
12331 * docs/design/part-relations.txt:
12332 * docs/design/part-standards.txt:
12333 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12334 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12335 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12336 (gst_bin_iterate_all_by_interface):
12339 * gst/gstelement.c: (gst_element_class_init),
12340 (gst_element_change_state), (gst_element_set_loop_function):
12341 * gst/gstelement.h:
12342 * gst/gstiterator.c:
12343 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12344 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12345 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12346 (gst_object_set_parent), (gst_object_unparent),
12347 (gst_object_check_uniqueness):
12349 Docs updates, clean up some headers.
12351 2005-03-07 Wim Taymans <wim@fluendo.com>
12353 * check/.cvsignore:
12354 * check/Makefile.am:
12355 * check/gst-libs/.cvsignore:
12356 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12357 * check/gst/.cvsignore:
12358 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12359 (START_TEST), (gstbus_suite), (main):
12360 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12361 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12362 (gst_data_suite), (main):
12363 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12364 (add_fold_func), (gstiterator_suite), (main):
12365 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12366 (thread_name_object), (thread_name_object_default),
12367 (gst_object_name_compare), (gst_object_suite), (main):
12368 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12369 (gst_pad_suite), (main):
12370 * check/gstcheck.c: (gst_check_log_message_func),
12371 (gst_check_log_critical_func), (gst_check_init):
12372 * check/gstcheck.h:
12373 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12374 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12377 2005-03-07 Wim Taymans <wim@fluendo.com>
12379 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12380 (gst_list_iterator_next), (gst_list_iterator_resync),
12381 (gst_list_iterator_free), (gst_iterator_new_list),
12382 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12383 (gst_iterator_free), (gst_iterator_push), (filter_next),
12384 (filter_resync), (filter_uninit), (filter_free),
12385 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12386 (gst_iterator_foreach), (find_custom_fold_func),
12387 (gst_iterator_find_custom):
12388 * gst/gstiterator.h:
12389 Added missing files.
12391 2005-03-07 Wim Taymans <wim@fluendo.com>
12395 * docs/design/part-MT-refcounting.txt:
12396 * docs/design/part-conventions.txt:
12397 * docs/design/part-gstobject.txt:
12398 * docs/design/part-relations.txt:
12399 * examples/mixer/mixer.c: (main):
12400 * examples/thread/thread.c: (eos), (main):
12402 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12403 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12404 (gst_spider_plug_from_srcpad):
12405 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12406 (gst_spider_identity_change_state),
12407 (gst_spider_identity_sink_loop_type_finding):
12408 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12409 * gst/elements/gstidentity.c: (gst_identity_init):
12410 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12411 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12412 * gst/elements/gsttypefindelement.c: (free_entry):
12415 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12416 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12417 (gst_bin_set_index), (gst_bin_set_element_sched),
12418 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12419 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12420 (gst_bin_iterate_elements), (iterate_child_recurse),
12421 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12422 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12423 (compare_interface), (gst_bin_get_by_interface),
12424 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12426 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12427 (gst_buffer_default_free), (gst_buffer_default_copy),
12428 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12429 (gst_buffer_create_sub):
12431 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12432 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12433 (gst_caps_unref), (gst_static_caps_get),
12434 (gst_caps_remove_and_get_structure), (gst_caps_append),
12435 (gst_caps_append_structure), (gst_caps_remove_structure),
12436 (gst_caps_copy_nth), (gst_caps_set_simple),
12437 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12438 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12439 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12440 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12441 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12442 (gst_caps_structure_figure_out_union),
12443 (gst_caps_switch_structures), (gst_caps_do_simplify),
12444 (gst_caps_replace), (gst_caps_from_string),
12445 (gst_caps_copy_conditional):
12447 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12448 (_gst_clock_id_free), (gst_clock_id_unref),
12449 (gst_clock_id_compare_func), (gst_clock_id_wait),
12450 (gst_clock_id_wait_async), (gst_clock_class_init),
12451 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12452 (gst_clock_get_time), (gst_clock_set_time_adjust),
12453 (gst_clock_set_property), (gst_clock_get_property):
12456 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12457 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12459 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12460 (gst_element_requires_clock), (gst_element_provides_clock),
12461 (gst_element_set_clock), (gst_element_clock_wait),
12462 (gst_element_wait), (gst_element_set_time_delay),
12463 (gst_element_is_indexable), (gst_element_add_pad),
12464 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12465 (pad_compare_name), (gst_element_get_static_pad),
12466 (gst_element_request_pad), (gst_element_get_request_pad),
12467 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12468 (gst_element_class_get_pad_template_list),
12469 (gst_element_class_get_pad_template), (gst_element_error_func),
12470 (gst_element_get_random_pad), (gst_element_get_event_masks),
12471 (gst_element_send_event), (gst_element_seek),
12472 (gst_element_get_query_types), (gst_element_query),
12473 (gst_element_get_formats), (gst_element_convert),
12474 (gst_element_is_locked_state), (gst_element_set_locked_state),
12475 (gst_element_sync_state_with_parent), (gst_element_change_state),
12476 (gst_element_finalize), (gst_element_yield),
12477 (gst_element_interrupt), (gst_element_set_scheduler),
12478 (gst_element_get_scheduler), (gst_element_set_loop_function):
12479 * gst/gstelement.h:
12481 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12482 (gst_format_get_by_nick), (gst_format_get_details),
12483 (gst_format_iterate_definitions):
12485 * gst/gstindex.c: (gst_index_gtype_resolver):
12488 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12489 (gst_mem_chunk_free):
12490 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12491 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12492 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12493 (gst_object_dispatch_properties_changed),
12494 (gst_object_set_name_default), (gst_object_set_name),
12495 (gst_object_get_name), (gst_object_set_name_prefix),
12496 (gst_object_get_name_prefix), (gst_object_set_parent),
12497 (gst_object_get_parent), (gst_object_unparent),
12498 (gst_object_check_uniqueness), (gst_object_save_thyself),
12499 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12500 (gst_object_set_property), (gst_object_get_property),
12501 (gst_object_get_path_string):
12503 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12504 (gst_real_pad_init), (gst_real_pad_get_property),
12505 (gst_pad_custom_new), (gst_pad_get_direction),
12506 (gst_pad_set_active), (gst_pad_is_active),
12507 (gst_pad_set_event_function), (gst_pad_is_linked),
12508 (gst_pad_link_free), (gst_pad_link_intersect),
12509 (gst_pad_link_fixate), (gst_pad_set_caps),
12510 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12511 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12512 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12513 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12514 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12515 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12516 (gst_pad_realize), (gst_pad_get_allowed_caps),
12517 (gst_real_pad_dispose), (gst_real_pad_finalize),
12518 (gst_pad_collectv), (gst_pad_collect_valist),
12519 (gst_pad_template_dispose), (gst_pad_template_new),
12520 (gst_pad_get_internal_links):
12522 * gst/gstpipeline.c: (gst_pipeline_dispose),
12523 (gst_pipeline_change_state):
12524 * gst/gstpipeline.h:
12526 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12527 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12528 * gst/gstpluginfeature.h:
12529 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12530 * gst/gstquery.c: (_gst_query_type_initialize),
12531 (gst_query_type_register), (gst_query_type_get_by_nick),
12532 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12534 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12535 * gst/gstscheduler.c: (gst_scheduler_add_element),
12536 (gst_scheduler_factory_create):
12537 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12538 (gst_structure_free), (gst_structure_set_name),
12539 (gst_structure_id_set_value), (gst_structure_set_value),
12540 (gst_structure_set_valist), (gst_structure_remove_field),
12541 (gst_structure_remove_fields),
12542 (gst_structure_remove_fields_valist),
12543 (gst_structure_remove_all_fields), (gst_structure_foreach),
12544 (gst_structure_map_in_place),
12545 (gst_caps_structure_fixate_field_nearest_int),
12546 (gst_caps_structure_fixate_field_nearest_double):
12547 * gst/gststructure.h:
12548 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12549 (gst_system_clock_init), (gst_system_clock_dispose),
12550 (gst_system_clock_async_thread),
12551 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12552 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12553 * gst/gstsystemclock.h:
12554 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12555 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12556 * gst/gsttaginterface.c:
12557 * gst/gstthread.c: (gst_thread_dispose),
12558 (gst_thread_release_children_locks), (gst_thread_change_state),
12559 (gst_thread_main_loop):
12560 * gst/gsttrashstack.h:
12561 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12563 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12564 (gst_element_request_pad), (gst_element_get_pad_from_template),
12565 (gst_element_request_compatible_pad),
12566 (gst_element_get_compatible_pad_filtered),
12567 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12568 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12569 (gst_element_link_many), (gst_element_link),
12570 (gst_element_link_pads), (gst_element_unlink_pads),
12571 (gst_element_unlink_many), (gst_element_unlink),
12572 (gst_pad_can_link_filtered), (gst_pad_can_link),
12573 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12574 (gst_object_default_error), (gst_bin_add_many),
12575 (gst_bin_remove_many), (gst_element_populate_std_props),
12576 (gst_element_class_install_std_props), (gst_buffer_merge),
12577 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12578 (link_fold_func), (gst_pad_proxy_setcaps):
12580 * gst/gstvalue.c: (gst_value_deserialize_string):
12581 * gst/parse/grammar.y:
12582 * gst/schedulers/gstbasicscheduler.c:
12583 (gst_basic_scheduler_cothreaded_chain),
12584 (gst_basic_scheduler_chain_recursive_add),
12585 (gst_basic_scheduler_pad_link):
12586 * gst/schedulers/gstoptimalscheduler.c:
12587 (get_group_schedule_function),
12588 (gst_opt_scheduler_state_transition),
12589 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12590 * libs/gst/bytestream/bytestream.c:
12591 * libs/gst/dataprotocol/dataprotocol.c:
12592 (gst_dp_header_from_buffer):
12595 * tests/threadstate/threadstate2.c: (eos):
12596 * tools/gst-compprep.c: (main):
12597 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12598 (print_pad_info), (print_children_info):
12599 * tools/gst-launch.c: (idle_func), (main):
12600 * tools/gst-md5sum.c: (idle_func), (main):
12601 * tools/gst-xmlinspect.c: (print_element_info):
12602 First THREADED backport attempt, focusing on adding locks and
12603 making sure the API is threadsafe. Needs more work. More docs
12606 2005-02-24 Andy Wingo <wingo@pobox.com>
12608 * tests/bench-complexity.scm:
12609 * tests/complexity.gnuplot: New files, good for running complexity
12612 * tests/Makefile.am:
12613 * tests/complexity.c: New test, sets up N elements, at each level
12614 teeing into M streams per element. Eeeenteresting.
12616 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12617 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12618 running bench-mass_elements.scm.
12620 * tests/bench-mass_elements.scm: New script, runs mass_elements
12621 for various numbers of identities, outputting the results to a
12622 file. Requires guile 1.6. Just for testing.
12624 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12626 * gst/schedulers/fairscheduler.c:
12627 compile with debug disabled
12629 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12632 hunting season on 0.9 is now OPEN