1 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
3 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4 Make the internal links function less thread-unsafe and add some
7 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
10 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
11 build with --disable-gst-debug.
13 2008-08-28 David Schleef <ds@schleef.org>
15 * gst/gstpadtemplate.c: Revert last change, since it breaks
16 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
17 but shouldn't be enabled until we've released fixed versions
20 2008-08-28 Stefan Kost <ensonic@users.sf.net>
23 Put the gst_object_get_name() back in.
25 2008-08-28 Stefan Kost <ensonic@users.sf.net>
27 * gst/gstpadtemplate.c:
28 The old behaviour was that gst_pad_template_new() takes ownership of
29 the caps. As we now call g_object_new() which calls g_object_set() and
30 which copies the caps, we have to unref them to not leak them. Fixes
33 2008-08-28 Stefan Kost <ensonic@users.sf.net>
36 Don't segfault on input like "tel:+1-123-555-1234".
38 2008-08-27 Stefan Kost <ensonic@users.sf.net>
41 Due to popular request also include ObjectType in
42 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
44 2008-08-26 David Schleef <ds@schleef.org>
46 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
47 src_val must be positive, because that's not a requirement.
48 This causes problems with converting negative granulepos
50 * gst/gstquery.c: Same, gst_query_new_convert().
52 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
54 * gst/gstclock.c: (gst_clock_add_observation):
55 Add some more debugging to the clock slaving code.
57 * win32/common/libgstbase.def:
58 Add new basetransform method.
60 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
62 * gst/gstbin.c: (gst_bin_element_set_state):
63 Take the (recursive) state lock between getting the locked state of an
64 element and changing the element state. This allows the application to
65 lock an element's state and then change its state without races.
67 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
69 * gst/gstbin.c: (gst_bin_element_set_state):
70 When an element is in the locked state we still want to update the
71 base_time of the element.
73 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
75 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
76 Use the result from gst_pad_set_caps() instead of assuming the element
77 always accepted the caps computed by the default negotiate function.
79 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
81 * docs/libs/gstreamer-libs-sections.txt:
82 * libs/gst/base/gstbasetransform.c:
83 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
84 (gst_base_transform_chain), (gst_base_transform_suggest),
85 (gst_base_transform_reconfigure):
86 * libs/gst/base/gstbasetransform.h:
87 Implement method for reconfiguring basetransform.
88 API: GstBaseTransform::gst_base_transform_reconfigure()
90 2008-08-20 Stefan Kost <ensonic@users.sf.net>
92 patch by: Murray Cumming <murrayc@murrayc.com>
95 Mention that this is just like gst_buffer_merge() but with extra
96 unreffing for C coders. Advise language bindings not to wrap it.
99 Also fix file comment.
101 2008-08-20 Stefan Kost <ensonic@users.sf.net>
103 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
105 * plugins/elements/gstfakesink.c:
106 * plugins/elements/gstfakesrc.c:
107 Call super::event() when not handling it. Fixes #544855.
109 2008-08-19 Michael Smith <msmith@songbirdnest.com>
111 Patch by: Alessandro Decina <alessandro@nnva.org>
112 * plugins/elements/gstfilesrc.c:
113 Use 64 bit variants of stat functions on win32, to enable support
114 of large files there.
117 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
119 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
120 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
121 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
122 (gst_base_sink_get_position), (gst_base_sink_change_state):
123 Improve position reporting in the flushing state.
124 Also report the position when we are not yet prerolled but we
125 have a newsegment event. Fixes #543444.
126 Improve the pull-based negotiation code.
128 * tests/check/elements/fakesink.c: (GST_START_TEST),
130 Add testcase for position reporting while flushing in PAUSED and
133 * tests/check/generic/sinks.c: (GST_START_TEST):
134 Update unit-test, we can now query the position as soon as we receive a
137 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
139 Based on patch by: Jason Zhao <e3423c at motorola dot com>
141 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
142 When the subclass event handler releases the PREROLL_LOCK, we could be
143 in the flushing state and we have to ignore the event. Fixes #548394.
145 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
147 * tools/gst-launch.1.in:
148 Document GST_REGISTRY_UPDATE environment variable.
150 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
152 * libs/gst/base/gstbasetransform.c:
153 (gst_base_transform_prepare_output_buffer):
154 If the element is configured in passthrough mode but the
155 prepare_output_buffer gave us a new output buffer, discard that buffer
156 and reuse the input buffer.
158 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
160 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
162 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
163 (gst_tee_request_new_pad), (gst_tee_release_pad),
164 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
165 * plugins/elements/gsttee.h:
166 Protect pad_alloc with a new lock so that we can be sure that nothing is
167 performing a pad_alloc when removing the pad. Fixes #547835.
169 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
170 (buffer_alloc_harness_teardown), (app_thread_func),
171 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
172 Added testcase for shutdown race.
174 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
179 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
181 * libs/gst/base/gstbasetransform.c:
182 (gst_base_transform_prepare_output_buffer),
183 (gst_base_transform_buffer_alloc):
184 Go over the buffer_alloc function again and make sure we always end up
187 Avoid doing pad alloc when we have a pending suggestion because we
188 cannot yet deal with changing caps in that case. Fixes #547728
190 2008-08-14 Stefan Kost <ensonic@users.sf.net>
192 patch by: Luc Pionchon <luc.pionchon@nokia.com>
194 * docs/manual/advanced-clocks.xml:
195 * docs/manual/clocks.png:
196 * docs/manual/diagrams-clocks.svg:
197 Add one more image showing different times together with a describing
198 paragraph. Fixes #547729.
200 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
202 * win32/common/libgstbase.def:
205 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
207 * libs/gst/base/gstbasetransform.c:
208 (gst_base_transform_transform_caps),
209 (gst_base_transform_prepare_output_buffer),
210 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
211 Don't overwrite the outsize when calculating the expected size of a new
212 buffer because we still need it in case we cannot process the new
214 When converting the size of the new buffer to an upstream size, actually
215 use the expected size of the buffer, not some other random value.
216 Use an atomic int to signal that a new upstream caps suggestion is
218 When we can convert the current buffer to a new format, check if the
219 buffer size is of the expected size and allocate a new buffer of the
220 expected size when this is not the case. Fixes #546883.
222 * tests/check/libs/transform1.c: (GST_START_TEST):
223 remove ifdeffed code from the unit test.
225 2008-08-12 Stefan Kost <ensonic@users.sf.net>
227 * pkgconfig/gstreamer-uninstalled.pc.in:
228 * pkgconfig/gstreamer.pc.in:
229 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
230 called gstcontroller-0.10.
232 2008-08-12 Stefan Kost <ensonic@users.sf.net>
234 * gst/gstchildproxy.h:
236 Remove double interface from doc-string.
238 2008-08-12 Stefan Kost <ensonic@users.sf.net>
240 * libs/gst/base/gstbasesrc.c:
241 * libs/gst/base/gstbasetransform.c:
242 Fix headings in docs and gtk-doc warnings.
244 2008-08-11 Michael Smith <msmith@songbirdnest.com>
246 * gst/gstregistrybinary.c:
247 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
251 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
253 * libs/gst/base/gstbasetransform.c:
254 (gst_base_transform_buffer_alloc):
255 Fix a "may be used unitialized" warning.
257 2008-08-11 Stefan Kost <ensonic@users.sf.net>
259 * docs/gst/gstreamer-sections.txt:
261 Document preset-iface vmethods.
263 2008-08-11 Stefan Kost <ensonic@users.sf.net>
265 * docs/manual/advanced-interfaces.xml:
266 Turn thoughts about HAL into a note-tag. Remove mentioning that is
267 only used to discover devices.
269 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
271 Patch by: Frederic Crozat <fcrozat@mandriva.org>
273 * gst/gst.c: (init_pre):
274 Make sure gettext returns translations in UTF-8 encoding rather
275 than in the current locale encoding (#546822).
277 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
279 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
282 * tests/check/gst/gstcaps.c: (GST_START_TEST):
283 Improve unit test subset tests and add a testcase for the subset failure
286 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
287 Improve subtraction unit test.
289 2008-08-07 Stefan Kost <ensonic@users.sf.net>
291 * plugins/elements/gsttee.c:
292 Unlock, instead of locking again.
294 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
297 Clarify the docs a bit more.
299 2008-08-05 Stefan Kost <ensonic@users.sf.net>
301 * tests/examples/metadata/read-metadata.c:
302 Don't leak old taglist.
304 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
306 Patch by: Olivier Crete <tester at tester dot ca>
308 * gst/gststructure.c:
309 (gst_structure_fixate_field_nearest_fraction):
310 Avoid overflows in fixation code when dealing with MAXINT values, which
314 * tests/check/gst/gststructure.c: (GST_START_TEST):
315 Make a unit test to check the fix.
317 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
319 * plugins/elements/gstcapsfilter.c: (copy_func),
320 (gst_capsfilter_set_property):
321 Use new caps suggestion feature of basetransform to request a caps
322 negotiation upstream.
324 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
326 * docs/libs/gstreamer-libs-sections.txt:
328 API: GstBaseTransform::gst_base_transform_suggest()
330 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
331 (gst_base_transform_init), (gst_base_transform_transform_caps),
332 (gst_base_transform_transform_size),
333 (gst_base_transform_configure_caps),
334 (gst_base_transform_can_transform),
335 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
336 (gst_base_transform_prepare_output_buffer),
337 (gst_base_transform_buffer_alloc),
338 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
339 (gst_base_transform_chain), (gst_base_transform_activate),
340 (gst_base_transform_set_passthrough),
341 (gst_base_transform_is_passthrough),
342 (gst_base_transform_set_in_place),
343 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
344 (gst_base_transform_set_qos_enabled),
345 (gst_base_transform_is_qos_enabled),
346 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
347 (gst_base_transform_reconfigure):
348 * libs/gst/base/gstbasetransform.h:
349 Rewrite of basetransform to perform negotiation outside of the
350 buffer_alloc functions. Fixes #545853.
352 * tests/check/libs/transform1.c: (GST_START_TEST),
356 2008-08-05 Stefan Kost <ensonic@users.sf.net>
358 * tests/check/gst/gstpreset.c:
359 Only run preset tests when $HOME is writable. Preliminary fix for
362 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
364 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
365 (gst_bin_change_state_func), (bin_handle_async_done),
366 (gst_bin_handle_message_func):
367 Fix race for bins that simulate ASYNC state changes by inserting
368 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
369 pending ASYNC messages even when the bin does not have ASYNC children.
370 We note detect this behaviour because we will receive an ASYNC message
371 that is originating from the bin itself.
372 Fixes races with decodebin2 state changes.
374 * tests/check/gst/gstbin.c: (GST_START_TEST):
377 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
379 * gst/gsttaglist.c: (_gst_tag_initialize):
382 2008-08-04 Stefan Kost <ensonic@users.sf.net>
385 Argh. actually save the text before committing. Now adds
386 gst_tag_merge_strings_with_comma() to gst_tag_register().
388 2008-08-04 Stefan Kost <ensonic@users.sf.net>
392 Do as tim pointed out and actually register the new tag. Also improve
393 te docs and use gst_tag_merge_strings_with_comma() method to allow
394 retriving all keywords merged in one list.
396 2008-08-01 Stefan Kost <ensonic@users.sf.net>
399 * docs/gst/gstreamer.types:
400 Revert 'accidential' change of the configure option removal. We still
401 need to generate the types file in configure --disable-load-save.
403 2008-08-01 Stefan Kost <ensonic@users.sf.net>
405 * docs/gst/gstreamer-sections.txt:
407 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
409 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
411 * gst/gstpadtemplate.c:
412 (gst_pad_template_class_init), (gst_static_pad_template_get),
413 (gst_pad_template_new), (gst_pad_template_pad_created),
414 (gst_pad_template_set_property), (gst_pad_template_get_property):
415 Add "name-template", "direction", "presence" and "caps" properties,
416 so that gst_pad_template_new() is just a thin wrapper around
417 g_object_new(), which is better for bindings. (Fixes: #539772)
419 2008-07-31 Michael Smith <msmith@songbirdnest.com>
422 Be more liberal in what URIs we accept.
423 Do not unescape bits of the URI for no apparent reason before passing to
424 the element. Fixes #545352.
426 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
428 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
431 Include gstconfig.h as macros from it are used. Fixes bug #545607.
433 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
436 * docs/gst/gstreamer-sections.txt:
437 * docs/gst/gstreamer.types:
438 * docs/gst/gstreamer.types.in:
441 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
442 * gst/gstconfig.h.in:
443 * gst/gstelement.c: (gst_element_get_index):
444 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
445 (gst_registry_binary_load_feature),
446 (gst_registry_binary_read_cache):
447 * gst/gstregistryxml.c: (load_feature),
448 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
449 * plugins/Makefile.am:
451 * tools/gst-inspect.c: (print_index_info), (print_element_list),
452 (print_plugin_features), (print_element_features):
453 * tools/gst-xmlinspect.c: (print_event_masks),
454 (print_element_info):
455 * win32/common/gstconfig.h:
456 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
458 Disabling the indexers and URI handler code will only reduce the
459 required amount of memory by a very small amount but on the other hand
460 requires much more maintaince work. Apart from that many places of
461 code are broken when disabling them.
463 Disabling the enum types doesn't reduce the required amount of memory
464 by more than a few bytes and makes it hard to fix bugs like #539772,
465 i.e. use the enums as GObject properties.
467 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
469 * docs/design/part-TODO.txt:
470 Add some thoughts and problems with upstream renegotiation.
472 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
474 * gst/gstpad.c: (gst_pad_acceptcaps_default),
475 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
476 Remove silly redundant debug.
477 Add some more debug info.
478 Clarify the docs regarding new caps received from pad_alloc.
480 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
482 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
483 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
484 Make setting the caps more threadsafe.
486 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
488 * docs/design/part-element-transform.txt:
491 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
493 * plugins/elements/gstqueue.c: (gst_queue_init),
494 (gst_queue_acceptcaps):
495 Add and use a custom acceptcaps function instead of falling back to the
496 potentially less optimized default implementation.
498 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
500 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
501 Only sanity-check the buffer size if requested_caps == buffer_caps
502 (ie. don't take pad caps into account, they're not relevant here)
504 2008-07-29 Stefan Kost <ensonic@users.sf.net>
506 * plugins/elements/gsttee.c:
507 * plugins/elements/gsttee.h:
508 Reverting as not everything is clear yet. Needs some general design
511 2008-07-29 Stefan Kost <ensonic@users.sf.net>
514 ChangeLog surgery for tee commit.
516 2008-07-29 Stefan Kost <ensonic@users.sf.net>
518 * docs/gst/gstreamer-sections.txt:
519 Cleanup section-file.
521 2008-07-29 Stefan Kost <ensonic@users.sf.net>
523 * plugins/elements/gsttee.c:
524 * plugins/elements/gsttee.h:
525 Relay tag events in tee. Fixes parts of #474016.
526 Downgrades 3 reoccurring debugs to log.
528 2008-07-28 Michael Smith <msmith@songbirdnest.com>
531 * libs/gst/Makefile.am:
532 Build the net library if we have winsock2.
534 2008-07-26 Stefan Kost <ensonic@users.sf.net>
536 patch by: Luc Pionchon <luc.pionchon@nokia.com>
538 * docs/manual/advanced-threads.xml:
539 * docs/manual/diagrams-pipelines.svg:
540 * docs/manual/hello-world.png:
541 * docs/manual/linked-elements.png:
542 * docs/manual/mime-world.png:
543 * docs/manual/queue.png:
544 * docs/manual/thread-buffering.png:
545 * docs/manual/thread-synchronizing.png:
546 Replace one diagram with two separate ones and updates others.
549 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
552 Fix link in documentation.
554 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
557 Fix confusing documentation.
559 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
561 * libs/gst/base/gstbasesrc.h:
562 revert the changes to the header file for the ABI.
564 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
566 * libs/gst/base/gstbasesrc.c:
567 * libs/gst/base/gstbasesrc.h:
568 Don't cache the seekable status.
571 2008-07-24 Rene Stadler <mail@renestadler.de>
573 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
574 code to close the pipeline graph. This prevents the program from
575 printing internal data flow errors.
577 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
579 * docs/manual/basics-bus.xml:
580 Correct typo. Fixes bug #544320.
582 2008-07-22 Michael Smith <msmith@songbirdnest.com>
585 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
586 Add check (taken from -base) for winsock, adds WIN32_LIBS
588 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
590 Define GST_EXPORTS when building libgstreamer (only used on win32)
593 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
594 for symbols that we need to export in both these files.
596 Include gst_private.h higher up to avoid some compile problems on win32.
598 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
603 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
606 Previous commit was wrong NULL caps does not exist
607 and indicate an error, so also add a FIXME to
608 gst_caps_is_equal where NULL caps are accepted.
610 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
613 Allow passing of NULL to gst_caps_union
615 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
618 Add in doc that gst_ghost_pad_set_target can accept
621 2008-07-15 Michael Smith <msmith@songbirdnest.com>
625 GstRegistryPool doesn't exist; don't refer to it in docs.
626 Don't refer to functions that don't exist in docs, it's
629 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
632 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
634 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
636 Patch by: tmatth <le dot businessman at gmail dot com>
638 * docs/pwg/building-testapp.xml:
639 Don't use an undeclared variable in the example program.
642 2008-07-12 Stefan Kost <ensonic@users.sf.net>
644 * gst/gstdebugutils.c:
645 Squeeze ghost-pad links and remove <> from classname labels to save
646 more horizontal space.
648 2008-07-11 Stefan Kost <ensonic@users.sf.net>
650 * gst/gstdebugutils.c:
651 Give request and sometimes pads a different shpe style. Condense the
652 graphs a little more.
654 2008-07-09 Michael Smith <msmith@songbirdnest.com>
657 Don't require flex and bison if the parser is disabled.
659 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
661 * libs/gst/controller/gstinterpolationcontrolsource.c:
662 (_list_find_sorted_custom):
663 Don't use declarations after statements.
665 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
667 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
668 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
669 of the the child-added / -removed signals as GstChildProxy
670 only supports GstObjects.
672 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
674 * gst/gstdebugutils.c:
677 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
679 Patch by: Alessandro Decina <alessandro at nnva dot org>
682 Fix "ignored return value" compiler warning with newer glibc.
684 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
686 * gst/gstchildproxy.c:
687 Fix copy&paste error in gst_child_proxy_removed() documentation.
689 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
691 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
692 Print error debug message if plugin description fields that should
695 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
696 Don't crash if the string to serialise is NULL (it really should
697 not be, but apparently this used to work with the xml registry ...).
699 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
701 * tools/gst-plot-timeline.py:
702 Fix parsing of log messages
704 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
706 * win32/common/libgstbase.def::
707 Sort alphabetically so make check-exports doesn't barf.
709 2008-07-01 Stefan Kost <ensonic@users.sf.net>
712 Use gst_format_get_name() to improve debug output.
715 Remove #ifdef'ed code. Add TODO comment.
718 Add debug output to ease spotting format != segment.format assertions.
720 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
722 * tests/check/libs/gdp.c: (gst_dp_suite):
723 Also enable the GDP unit test again on PPC now that the bug
726 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
728 * libs/gst/dataprotocol/dataprotocol.c:
729 Don't write to the same region of memory as a uint64 and uint16
730 as this breaks strict aliasing rules and apparantly breaks on PPC
731 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
733 2008-06-29 Stefan Kost <ensonic@users.sf.net>
735 * libs/gst/controller/gstinterpolationcontrolsource.c:
736 Optimize list handling. Use own find function. Exploit that fact that
737 the list is sorted. Also pass back the node before, so that we can
738 insert quickly. Have a fast path for append.
740 2008-06-29 Stefan Kost <ensonic@users.sf.net>
742 * docs/design/draft-framestep.txt:
743 * docs/design/part-negotiation.txt:
746 2008-06-27 Stefan Kost <ensonic@users.sf.net>
749 Show configuration sumary after configure run. Based on patch by
750 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
752 2008-06-27 Stefan Kost <ensonic@users.sf.net>
754 patch by: Luc Pionchon <luc.pionchon@nokia.com>
756 * docs/manual/advanced-autoplugging.xml:
757 * docs/manual/advanced-threads.xml:
758 * docs/manual/basics-bins.xml:
759 * docs/manual/basics-elements.xml:
760 * docs/manual/basics-helloworld.xml:
761 * docs/manual/basics-pads.xml:
762 Add scale factor for pdf output.
764 * docs/manual/intro-basics.xml:
765 Switched sections "pads" and "bins" and added a pipeline diagram.
767 * docs/manual/intro-gstreamer.xml:
768 Added more info on gstreamer.
770 * docs/manual/intro-motivation.xml:
771 Commented out the whole section "current problem", which sounds
772 historical and somehow osolete; it could be turned in a positive
773 way and reused to improve the design principles.
775 * docs/manual/intro-preface.xml:
776 - Update URLs to library.gnome.org.
777 - Do not mention GTK+ in preliminary reading (irrelevant).
778 - Mention Plugin Writer's Manual and further reading only in the
780 - Added a list of most relevant GObject/glib topics.
782 * docs/manual/Makefile.am:
783 * docs/manual/bin-element-ghost.fig:
784 * docs/manual/bin-element-ghost.png:
785 * docs/manual/bin-element-noghost.fig:
786 * docs/manual/bin-element-noghost.png:
787 * docs/manual/bin-element.fig:
788 * docs/manual/bin-element.png:
789 * docs/manual/filter-element-multi.fig:
790 * docs/manual/filter-element-multi.png:
791 * docs/manual/filter-element.fig:
792 * docs/manual/filter-element.png:
793 * docs/manual/gstreamer-overview.png:
794 * docs/manual/hello-world.fig:
795 * docs/manual/hello-world.png:
796 * docs/manual/linked-elements.fig:
797 * docs/manual/linked-elements.png:
798 * docs/manual/mime-world.fig:
799 * docs/manual/mime-world.png:
800 * docs/manual/queue.fig:
801 * docs/manual/queue.png:
802 * docs/manual/simple-player.png:
803 * docs/manual/sink-element.fig:
804 * docs/manual/sink-element.png:
805 * docs/manual/src-element.fig:
806 * docs/manual/src-element.png:
807 * docs/manual/diagrams-general.svg:
808 * docs/manual/diagrams-pipelines.svg:
809 Removed .fig, added .png counterpart.
813 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
815 * plugins/elements/gstmultiqueue.c:
816 * plugins/elements/gstmultiqueue.h:
817 revert extra-size-buffers stuff, caused some race conditions
818 and extra-size-buffers is not used anymore. Docs needs some updates
820 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
822 * win32/common/config.h:
823 * win32/common/gstenumtypes.c:
824 * win32/common/gstenumtypes.h:
825 * win32/common/gstversion.h:
828 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
830 * gst/gstdebugutils.h: (GstDebugGraphDetails),
831 (GST_DEBUG_BIN_TO_DOT_FILE):
832 Add missing Since' markers to gtk-doc blurbs.
834 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
836 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
837 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
838 (set_caps_1), (set_caps_ct1), (transform_ct1),
839 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
840 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
841 (transform_size_ct2), (buffer_alloc_ct2):
842 Add some more tests with switching caps in buffer_alloc.
844 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
846 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
847 (gst_test_trans_class_init), (result_sink_chain),
848 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
849 (gst_test_trans_push), (gst_test_trans_pop):
850 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
851 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
852 (set_caps_1), (set_caps_ct1), (transform_ct1),
853 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
854 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
855 (transform_size_ct2), (buffer_alloc_ct2),
856 (gst_basetransform_suite):
857 More tests, prepare for tests with switching caps in buffer_alloc.
859 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
861 * plugins/elements/gstmultiqueue.c:
862 * plugins/elements/gstmultiqueue.h:
863 Fix dead-lock in underrun_cb
865 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
867 * docs/design/part-states.txt:
868 Fix device open/close docs.
870 2008-06-25 Stefan Kost <ensonic@users.sf.net>
873 Mention bugnumber for last commit.
875 2008-06-25 Stefan Kost <ensonic@users.sf.net>
877 patch by: Luc Pionchon <luc.pionchon@nokia.com>
879 * docs/manual/manual.xml:
880 - Reorganised the previous "introduction" bundle into Foreword,
881 Introduction, and About GStreamer. The two first are <preface>
882 docbook elements. The later is the first part of the book.
883 - added intro-gstreamer.xml (content partially from
885 - moved appendix-win32.xml into appendix-integration.xml
887 * docs/manual/intro-preface.xml: gstreamer section moved...
888 * docs/manual/intro-gstreamer.xml: ...here. new file.
890 * docs/manual/appendix-win32.xml: removed file. Content moved...
891 * docs/manual/appendix-integration.xml: ...here.
893 * docs/manual/highlevel-components.xml: section about GstEditor moved...
894 * docs/manual/appendix-checklist.xml: ...here.
898 2008-06-25 Stefan Kost <ensonic@users.sf.net>
900 patch by: Luc Pionchon <luc.pionchon@nokia.com>
902 * docs/manual/basics-helloworld.xml:
903 * docs/manual/hello-world.fig:
904 - Explicitely include glib.h.
905 - Do not use global variables.
906 - Use g_printerr() instead of g_print().
907 - Minor formating/renaming to increase readibility.
908 - Renamed new_pad() to on_pad_added()
909 - Improved explenatory comments.
910 - renamed ogg parser to ogg demuxer
911 - Use "autoaudiosink" instead of "alsasink".
914 2008-06-25 Stefan Kost <ensonic@users.sf.net>
917 Remove cvs conflict marker.
919 2008-06-25 Stefan Kost <ensonic@users.sf.net>
922 Document that for plgin-docs we extraxt he short-desc from the element
925 * docs/design/part-states.txt:
926 Tell that devices should be closed in PAUSED -> READY.
928 * docs/manual/README:
929 Document how tests in the manual are handled.
934 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
936 * gst/gstbin.c: (bin_query_latency_fold):
937 Only care about latency min and max when the sink is actually a live
940 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
942 * docs/design/part-block.txt:
945 * docs/design/part-element-transform.txt:
946 Add notes about why transform needs to know input/output sizes.
947 Add some issues that need to be solved.
948 Add some more use cases.
950 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
951 (gst_test_trans_class_init), (result_sink_chain),
952 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
953 (gst_test_trans_push), (gst_test_trans_pop):
954 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
955 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
956 (set_caps_1), (set_caps_ct1), (transform_ct1),
957 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
958 (gst_basetransform_suite):
959 Add suport for different pad templates and buffer-alloc.
960 Add more checks for caps and buffer-alloc.
961 Add checks for proxy buffer alloc.
962 Add unit test for copy transform.
964 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
966 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
968 * docs/manual/appendix-integration.xml:
969 * docs/manual/appendix-licensing.xml:
970 * docs/manual/basics-elements.xml:
971 * docs/manual/basics-helloworld.xml:
972 * docs/manual/basics-pads.xml:
973 * docs/manual/highlevel-components.xml:
974 * docs/manual/highlevel-xml.xml:
975 * docs/manual/intro-basics.xml:
976 * docs/manual/intro-preface.xml:
977 Typo and formatting fixes (#538594).
979 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
981 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
982 Fix some memory leaks and uses of object instances that we don't
985 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
987 * plugins/elements/gstmultiqueue.c:
988 Add functionality to extra-size-buffers property.
990 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
992 * plugins/elements/gstmultiqueue.c:
993 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
994 activate the pads if they are added in STATE_NULL.
996 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
998 * docs/libs/gstreamer-libs-sections.txt:
1000 * libs/gst/check/gstcheck.c:
1001 * libs/gst/check/gstcheck.h:
1002 API: gst_check_teardown_pad_by_name
1004 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1006 * libs/gst/check/gstcheck.c:
1007 * libs/gst/check/gstcheck.h:
1008 Also setup request pads and allow setup pads by name (#537812)
1009 API: gst_check_setup_src_pad_by_name
1010 API: gst_check_setup_sink_pad_by_name
1012 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1014 * tests/check/gst/gstbuffer.c:
1015 * tests/check/pipelines/parse-launch.c:
1016 Use HAVE_VALGRIND_H some more.
1018 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1020 * scripts/cvs-update.sh:
1021 Pass arguments to make.
1022 Run autoregen.sh if Makefile is not there.
1024 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1028 Don't assume that <valgrind/valgrind.h> exists just because
1029 the binary is there.
1031 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1033 * tests/check/Makefile.am:
1034 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1035 (gst_test_trans_class_init), (gst_test_trans_init),
1036 (gst_test_trans_set_data), (result_sink_chain),
1037 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1038 (gst_test_trans_pop):
1039 * tests/check/libs/transform1.c: (GST_START_TEST),
1040 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1041 Add some test basetransform element and the beginnings of various
1044 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1046 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1047 Increase code readability.
1048 Don't try to compare buffer offsets when ther are invalid.
1050 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1052 * docs/design/Makefile.am:
1053 Dist some more design docs.
1055 * docs/random/moving-plugins:
1056 Small addition: good plugins mustn't have functional code
1057 within assertion macros.
1059 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1061 * docs/design/draft-framestep.txt:
1062 Some ideas about a framestep API
1064 * docs/design/part-element-transform.txt:
1065 Start design and use cases for basetransform in order to get it
1068 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1071 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1072 be in UTF-8 encoding.
1074 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1077 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1079 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1081 * plugins/elements/gstcapsfilter.c:
1082 * plugins/elements/gstfakesink.c:
1083 * plugins/elements/gstfakesrc.c:
1084 * plugins/elements/gstfdsink.c:
1085 * plugins/elements/gstfdsrc.c:
1086 * plugins/elements/gstfilesink.c:
1087 * plugins/elements/gstfilesrc.c:
1088 * plugins/elements/gstidentity.c:
1089 * plugins/elements/gstmultiqueue.c:
1090 * plugins/elements/gstqueue.c:
1091 * plugins/elements/gsttee.c:
1092 * plugins/elements/gsttypefindelement.c:
1093 Remove short_description. Add basic docs for gsttypefindelement.
1094 Simplify markup for fakesrc/fdsrc.
1096 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1098 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1101 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1103 Patch by: joel larsson <tilljoel at gmail dot com>
1105 * docs/plugins/gstreamer-plugins.args:
1106 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1107 (gst_fd_src_init), (gst_fd_src_update_fd),
1108 (gst_fd_src_set_property), (gst_fd_src_get_property),
1109 (gst_fd_src_create):
1110 * plugins/elements/gstfdsrc.h:
1111 Add timeout property like udpsrc. Fixes #538628.
1112 Add some more docs and example pipelines.
1114 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1116 * docs/libs/gstreamer-libs-sections.txt:
1117 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1118 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1119 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1120 (gst_base_sink_do_sync):
1121 * libs/gst/base/gstbasesink.h:
1122 * win32/common/libgstbase.def:
1123 Add method to allow sinks to specify additional delay between the sync
1124 times and the actual rendering of the data.
1125 API: gst_base_sink_set_render_delay()
1126 API: gst_base_sink_get_render_delay()
1128 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
1131 Bump version number back to dev -> 0.10.20.1
1133 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
1135 * docs/gst/gstreamer-sections.txt:
1136 * gst/gsttaglist.c: (_gst_tag_initialize):
1138 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
1141 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1143 * libs/gst/controller/gstcontroller.c:
1144 Revert one change, that make ret value possible uninitialized.
1146 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1148 * libs/gst/controller/gstcontroller.c:
1149 Use freeze/thaw notify to sync notify emission a bit (its also more
1150 efficient). Move debug output to LOG (is called a lot in a loop).
1151 Always unset g_values if the have been initialized.
1153 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1155 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1156 (gst_base_sink_wait_eos), (gst_base_sink_event):
1157 If we have not seen a buffer before EOS, use the segment values to
1158 report the current position instead of invalid positions.
1160 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1162 * docs/plugins/tmpl/.cvsignore:
1163 * tests/check/gst/.cvsignore:
1166 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1168 * libs/gst/controller/gstinterpolation.c:
1169 * libs/gst/controller/gstinterpolationcontrolsource.c:
1170 * tests/check/libs/controller.c:
1171 Rewrite handling of default values. Fix overflow with unsigned types
1172 in linear interpolation. Remove now obsolete _first_value() function.
1173 Add more tests. Fixes #538201.
1175 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1177 * libs/gst/base/gstbasetransform.c:
1178 (gst_base_transform_class_init), (gst_base_transform_init),
1179 (gst_base_transform_transform_caps),
1180 (gst_base_transform_prepare_output_buffer):
1182 When a buffer is writable, its metadata is also writable so we don't
1183 need to subbuffer (which then makes the buffer not-writable anymore).
1185 === release 0.10.20 ===
1187 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
1190 releasing 0.10.20, "You Crazy Diamond"
1192 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
1195 0.10.19.3 pre-release
1197 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
1201 Rename DATADIR to GST_DATADIR to avoid build problems
1202 on win32. Patch By: David Schleef <ds@schleef.org>
1205 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
1208 Explicitely link with -ldl if dladdr() is found there. Before it was
1209 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
1210 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
1212 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1214 * gst/gsterror.c: (_gst_stream_errors_init):
1215 Fix typo (spotted by Fabricio Godoy, #536723).
1217 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
1220 0.10.19.2 pre-release
1222 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
1224 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
1225 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
1227 Make sure we don't generate invalid QoS messages.
1229 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
1231 * gst/gstevent.c: (gst_event_new_qos):
1232 Add some assert and docs for invalid input to the qos function.
1234 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
1236 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1237 (gst_base_sink_get_position):
1238 The reported position must always be smaller than the last seen
1239 timestamps (or timestamp + duration for reverse).
1241 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
1243 Patch by: Rob Bradford <rob at robster dot org dot uk>
1245 * gst/gstregistry.c: (gst_registry_scan_path_level):
1246 Don't recurse into .debug directories as some distros install
1247 the debugging symbols next to the plugins in .debug directories
1248 and dlopen() crashes on them sometimes. Fixes bug #508070.
1250 Add FIXME for 0.11 to not recurse into directories at all because
1251 it's very inconsistent to the behaviour of other PATH environment
1254 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
1256 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1257 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
1258 Fix position query range checks in reverse playback.
1260 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
1264 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
1265 clear of the reference to the resulting pad must be released later
1266 or not, resulting in possible leaks. Fixes bug #533865.
1268 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
1270 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1272 * gst/gstelementfactory.c:
1273 Small doc fix. Fixes #535285.
1275 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
1277 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
1279 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1280 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1281 (gst_base_src_loop), (gst_base_src_set_flushing),
1282 (gst_base_src_change_state):
1283 Make sending an EOS event to the basesrc non-blocking even if the
1284 implementation does blocking waits in the create function. This is done
1285 by unlocking the create function when EOS is sent.
1288 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
1290 * tools/gst-inspect.c: (print_element_properties_info):
1291 If possible print the element type of GValueArray properties.
1293 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
1295 * gst/gstiterator.c:
1296 Remove an unused field from the private GstListIterator struct.
1298 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1300 * libs/gst/controller/gstcontroller.c:
1301 Add parameter guards.
1303 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1305 * tests/check/gst/gstpipeline.c:
1306 Revert test change and add comment why it should not work.
1308 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1310 * tests/check/gst/gstpipeline.c:
1311 Extending the test a little to verify that we also get the NULL state-
1314 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
1316 * gst/gstpreset.c: (gst_preset_default_get_meta),
1317 (gst_preset_get_preset_names), (gst_preset_get_property_names),
1318 (gst_preset_load_preset), (gst_preset_save_preset),
1319 (gst_preset_rename_preset), (gst_preset_delete_preset),
1320 (gst_preset_set_meta):
1321 Add Since: markers to docs blurbs.
1323 * win32/common/libgstreamer.def:
1324 Add recently-added API.
1326 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1328 Patch by: Stefan Kost <ensonic@users.sf.net>
1331 Add DATADIR for storing presets.
1333 * docs/gst/gstreamer-docs.sgml:
1334 * docs/gst/gstreamer-sections.txt:
1335 * docs/gst/gstreamer.types.in:
1336 Add GstPreset to docs.
1340 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
1341 (preset_open_and_parse_header), (preset_parse_version),
1342 (preset_merge), (preset_get_keyfile),
1343 (gst_preset_default_get_preset_names),
1344 (gst_preset_default_get_property_names),
1345 (gst_preset_default_load_preset),
1346 (gst_preset_default_save_presets_file),
1347 (gst_preset_default_save_preset),
1348 (gst_preset_default_rename_preset),
1349 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
1350 (gst_preset_default_get_meta), (gst_preset_default_randomize),
1351 (gst_preset_default_reset), (gst_preset_get_preset_names),
1352 (gst_preset_get_property_names), (gst_preset_load_preset),
1353 (gst_preset_save_preset), (gst_preset_rename_preset),
1354 (gst_preset_delete_preset), (gst_preset_set_meta),
1355 (gst_preset_get_meta), (gst_preset_class_init),
1356 (gst_preset_base_init), (gst_preset_get_type):
1358 Add GstPreset to core. Fixes #396779
1360 * tests/check/Makefile.am:
1361 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
1362 (gst_preset_test_set_property), (gst_preset_test_class_init),
1363 (gst_preset_test_base_init), (gst_preset_test_get_type),
1364 (gst_preset_test_plugin_init), (GST_START_TEST),
1365 (remove_preset_file), (test_setup), (test_teardown),
1367 Add GstPreset unit tests.
1369 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1371 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1372 The default event function on a sinkpad should return TRUE when
1373 there are no internal links but should collect the return values from
1374 the internal links otherwise.
1376 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1378 * plugins/elements/gsttypefindelement.c:
1379 (gst_type_find_element_src_event),
1380 (gst_type_find_element_handle_event):
1381 Use faster and safer _pad_push_event().
1383 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
1385 * docs/gst/gstreamer-sections.txt:
1386 * gst/gstutils.c: (element_find_unlinked_pad),
1387 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
1389 API: add gst_bin_find_unlinked_pad()
1390 API: deprecate gst_bin_find_unconnected_pad() (#401456)
1392 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
1398 Fixed a bunch of typos.
1400 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1403 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1404 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1405 (gst_parse_bin_from_description_full):
1407 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1409 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1411 * docs/pwg/advanced-tagging.xml:
1412 Small docs update, can't be bothered to rewrite the nonsensical
1415 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1418 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1420 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1422 * gst/parse/grammar.y:
1423 Remove unneeded casts.
1425 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1427 * gst/parse/grammar.y:
1428 * tests/check/pipelines/parse-launch.c:
1429 Get all missing elements from a parse launch string if possible
1430 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1432 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1434 * tests/check/Makefile.am:
1435 * tests/check/pipelines/parse-launch.c:
1436 Add some unit tests for the new gst_parse_launch*_full() API.
1437 (Exposes a previously-existing memory leak in the error code
1438 path, so adding to VALGRIND_TO_FIX for now).
1440 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1442 * docs/gst/gstreamer-sections.txt:
1443 * gst/gst.c: (init_post):
1444 * gst/gst_private.h: (_GstParseContext):
1445 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1446 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1447 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1448 (gst_parse_launch_full):
1449 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1450 (GstParseFlags), (GstParseContext):
1451 * gst/gstutils.c: (gst_parse_bin_from_description),
1452 (gst_parse_bin_from_description_full):
1454 * gst/parse/grammar.y:
1455 * gst/parse/types.h:
1456 * win32/common/libgstreamer.def:
1457 Add new gst_parse_*_full API (#528178):
1458 API: gst_parse_launch_full()
1459 API: gst_parse_launchv_full()
1460 API: gst_parse_bin_from_description_full()
1461 API: gst_parse_context_new()
1462 API: gst_parse_context_free()
1463 API: gst_parse_context_get_missing_elements()
1465 2008-05-23 Stefan Kost <ensonic@users.sf.net>
1467 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1469 * docs/faq/gst-uninstalled:
1470 Also support ffmpeg in gst-uninstalled.
1472 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1475 After discussion on IRC use the binary registry as default
1476 but allow to disable it with --disable-binary-registry.
1478 * win32/common/libgstreamer.def:
1479 Add the two new symbols for the binary registry.
1481 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
1483 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1484 * gst/gstutils.c: (gst_parse_bin_from_description):
1485 * gst/parse/grammar.y: (graph):
1486 More guards against bad input; typo fix; some minor clean-ups.
1488 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1490 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1492 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1493 If nothing else can be used, use the last buffer's start time as
1494 the segment's last stop. Fixes bug #534258.
1496 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
1498 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1499 Move size sanity check to the right place: downstream may return
1500 a buffer with a smaller size if the buffer caps are different than
1501 the requested ones, as may happen when doing reverse negotiation.
1503 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1505 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1506 (gst_file_sink_render):
1507 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1508 (gst_file_src_start):
1509 Small cleanups. Add note adbout g_fopen() on windows and why we don't
1512 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1514 * gst/gstpad.c: (gst_pad_load_and_link):
1515 * gst/gstutils.c: (gst_element_link_pads),
1516 (gst_element_unlink_pads):
1517 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1518 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1519 (gst_check_teardown_sink_pad),
1520 (gst_check_element_push_buffer_list):
1521 * tests/check/elements/fakesink.c: (GST_START_TEST):
1522 * tests/check/elements/filesink.c:
1523 * tests/check/elements/filesrc.c: (GST_START_TEST):
1524 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1525 (mq_sinkpad_to_srcpad):
1526 * tests/check/elements/tee.c: (GST_START_TEST):
1527 * tests/check/generic/sinks.c: (GST_START_TEST):
1528 * tests/check/gst/gstbin.c: (GST_START_TEST):
1529 * tests/check/gst/gstevent.c: (GST_START_TEST):
1530 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1531 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1532 * tests/check/gst/gstquery.c: (GST_START_TEST):
1533 * tests/check/gst/gstutils.c: (GST_START_TEST):
1534 * tests/check/libs/basesrc.c: (GST_START_TEST):
1535 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1536 (gst_parse_test_element_change_state):
1537 Don't use gst_element_get_pad().
1539 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
1542 Fix installing plugin documentation when gtk-doc is disabled.
1544 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1546 * docs/manual/advanced-autoplugging.xml:
1547 * docs/manual/basics-helloworld.xml:
1548 * docs/manual/basics-pads.xml:
1549 * docs/manual/highlevel-components.xml:
1550 Avoid using a bad function in the example code.
1552 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1554 * gst/gstclock.c: (gst_clock_set_calibration):
1555 Fix debug of the new clock rate.
1557 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1559 * win32/common/libgstbase.def:
1560 Add gst_base_sink_wait_clock() to the exported symbols.
1562 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
1564 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
1566 * libs/gst/base/gstbasetransform.c:
1567 (gst_base_transform_sink_event):
1568 Unref events that the GstBaseTransform::event vfunc didn't want to
1569 have forwarded by the base class. Closes a leak in identity.
1572 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1574 * docs/libs/gstreamer-libs-sections.txt:
1575 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1576 * libs/gst/base/gstbasesink.h:
1577 Expose a method that was previously used internally to synchronize
1578 against the clock because it can be useful for subclasses too.
1579 API: GstBaseSink::gst_base_sink_wait_clock()
1581 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1583 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1584 Add sanity check to make sure we don't get smaller buffers
1585 than requested (and fallback to normal buffer alloc if we do).
1587 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1589 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1590 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1591 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1592 Refactor adjusting the running_time with latency and offset into a
1594 When doing clipping, we still want to use the subclass get_times method,
1595 just in case the DURATION or TIMESTAMP are not set.
1597 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1599 * docs/gst/gstreamer-sections.txt:
1600 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1601 * gst/gsttypefind.h:
1602 * win32/common/libgstreamer.def:
1603 API: add gst_type_find_suggest_simple(), #533740.
1605 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1607 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1608 Use right error code when typefinding fails, so we can use
1609 the default (translated) error messages.
1611 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1613 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1614 (gst_base_src_start):
1615 When the subclass did not set caps on outgoing buffers, configure the
1616 caps we negotiated on the source pad.
1617 When the typefind helper does not find caps, error out properly instead
1618 of doing things with NULL caps.
1620 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1622 * gst/gsttypefind.h:
1623 Tabs to spaces, oh yes!
1625 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1627 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1628 Add David's and Benjamin's tests for array intersection to the
1629 unit test suite (#147931).
1631 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1634 Document that gst_event_new_tag() and gst_event_new_navigation()
1635 take ownership of the taglist/structure passed to them. (#533635).
1637 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
1640 Don't descend into the plugins dir if plugin docs building
1644 Add a note about the new type:GTypeName syntax for the plugin
1645 documentation .types file.
1647 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1649 * gst/gstmessage.c: (gst_message_new_error),
1650 (gst_message_new_warning), (gst_message_new_info):
1652 Mark the debug string parameters as const. Fixes bug #533490.
1654 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
1656 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1657 Sort buffer cache list by end offsets. This makes sure that we don't
1658 stop to search for a cached buffer that contains the requested data
1660 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1661 more efficient. Fixes bug #459862.
1663 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1666 Explain why we copy the list.
1668 * gst/gstpipeline.c:
1672 Add one debug-log statement to help tracing probelms with linking pads.
1674 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1676 * tests/check/gst/gstinfo.c:
1677 Add a test for removing the default log handler. Seems to fail under
1680 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1682 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1683 Release pad lock before calling out to avoid a possible deadlock.
1685 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1687 * gst/parse/grammar.y:
1688 Remove unneeded value unset.
1690 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1691 Add unit test for de/serialization of caps.
1693 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1695 * plugins/elements/gstfakesink.c:
1696 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1697 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1698 (gst_fake_src_class_init):
1699 Use custom marshalers that take GstMiniObject as first parameter.
1700 Using OBJECT as parameter while a GstMiniObject is given will lead
1701 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1703 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1705 * plugins/elements/gsttypefindelement.c:
1706 (gst_type_find_element_handle_event),
1707 (gst_type_find_element_send_cached_events),
1708 (gst_type_find_element_change_state):
1709 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1712 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1714 * plugins/elements/gsttypefindelement.c:
1715 (gst_type_find_handle_src_query), (stop_typefinding),
1716 (gst_type_find_element_handle_event),
1717 (gst_type_find_element_send_cached_events),
1718 (gst_type_find_element_change_state):
1719 Forward FLUSH_START events immediately and clean up instead of
1722 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1724 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1726 * libs/gst/base/gstbasetransform.c:
1727 (gst_base_transform_buffer_alloc):
1728 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1729 fall back to default negotiation in the chain function if the caps
1730 are different from what was requested. Fixes bug #526768.
1732 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1735 * tests/check/gst/gstsegment.c:
1736 No, let's not use g_slice_{dup|copy} here, since they only exist
1737 since GLib 2.14 and we still depend only on >= 2.12. Also add
1738 unit test for gst_segment_copy().
1740 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1742 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1743 Try to fix 'dereferencing type-punned pointer will break strict
1744 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1745 changed the default GType typedef from gulong to gsize at some point,
1746 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1747 g_once_* functions all take a gsize * though, so work around the type
1748 mismatch for C++ by doing everything in gsize and casting to GType
1751 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1753 * plugins/elements/gstmultiqueue.c:
1754 Add documentation for the signals to push our core plugin docs
1755 coverage back up to 100%.
1757 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1759 * gst/gstinfo.h (GST_FUNCTION):
1760 Reverted GST_FUNCTION to the old version as we don't want the
1761 full signature in C++ code. Also added support for MSVC.
1763 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1766 Intern the type name string, similar to what G_DEFINE_TYPE does.
1768 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1771 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1773 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1775 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1777 * libs/gst/base/gstbasetransform.c:
1778 (gst_base_transform_buffer_alloc):
1779 Don't passthrough buffer allocation too easily if the caps change.
1780 This breaks when working in passthrough mode and upstream changes
1781 it's caps. Fixes bug #526768.
1783 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1785 * gst/gstinfo.c (gst_debug_log_valist):
1786 Improved the __FILE__ part of debug output for MSVC.
1788 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1790 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1791 Declaration after statement fix for compilers like MSVC.
1793 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1795 * win32/common/config.h.in:
1796 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1797 use the real thing than having "???" unconditionally.
1799 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1801 * gst/gstinfo.h (GST_FUNCTION):
1802 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1804 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1806 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1809 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1810 (gst_base_sink_set_flushing):
1811 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1814 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1816 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1817 (gst_fake_src_init), (gst_fake_src_set_property),
1818 (gst_fake_src_get_property), (gst_fake_src_start):
1819 * plugins/elements/gstfakesrc.h:
1820 Added format property to control the format of the newsegment events.
1821 API: GstFakeSrc:format
1823 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1825 * win32/common/libgstreamer.def:
1826 Add gst_pad_has_name() to the exported symbols.
1828 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1830 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1831 * libs/gst/base/gstbasetransform.c:
1832 (gst_base_transform_prepare_output_buffer):
1833 Don't allow negative sizes when allocating new buffers.
1836 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1838 Patch by: Sjoerd Simons <sjoerd at luon net>
1840 * gst/gstbus.c: (gst_bus_source_dispatch):
1841 Don't print a warning if the queue is empty when we try to pop
1842 here. That could happen if another thread or callback set the
1843 bus to flushing between the source's check/prepare and the
1844 dispatch being called (#531538).
1846 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1848 * plugins/elements/gstmultiqueue.c:
1851 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1853 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1854 Add unit test for deserializing uint64s and check some really large
1855 numbers in the int64 test.
1857 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1859 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1860 (print_interfaces), (print_element_properties_info),
1861 (print_signal_info):
1862 Use "%s" as format string instead of printing strings directly.
1864 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1866 * gst/gstclock.c: (gst_clock_set_calibration):
1867 Make some checks actually useful.
1869 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1870 Remove some unused code. Unsigned integers tend to be >= 0.
1872 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1874 * gst/gstminiobject.c: (gst_value_get_mini_object):
1875 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1876 function was not in the unscheduled 0.10.19 release.
1878 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1880 * gst/gstregistry.c: (gst_registry_scan_path_level):
1881 Only print one log message per non-plugin file.
1883 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1885 * gst/gstinfo.c: (gst_debug_log_default):
1886 Fix alignment of debug log columns on 64-bit.
1888 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1890 * docs/libs/Makefile.am:
1891 * docs/libs/gstreamer-libs-sections.txt:
1892 Ignore private controller headers for docs.
1894 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1896 * libs/gst/controller/gstcontrollerprivate.h:
1897 * libs/gst/controller/gsthelper.c:
1898 * libs/gst/controller/gstinterpolation.c:
1899 * libs/gst/controller/gstinterpolationcontrolsource.c:
1900 (gst_interpolation_control_source_set_interpolation_mode):
1901 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1902 * libs/gst/controller/lib.c:
1903 Move some private declarations into private headers.
1905 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1907 * gst/gstdebugutils.c: (debug_dump_element_pad):
1908 Remove some code that is unused after Stefan's refactoring and uses
1909 uninitialized variables now, resulting in a compiler warning.
1911 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1913 * gst/gstregistry.c: (gst_registry_scan_path_level):
1914 Run g_str_has_suffix() only on the file name, not the
1917 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1919 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1920 Since we're not called only from the chain function any longer,
1921 we can't assume that there's always data in the queue, so move
1922 the is_full check to the beginning of the loop (otherwise we'd
1923 hit the assert when changing the limit properties while the
1924 queue is empty or not running yet).
1925 Also, only set a discont if items were actually removed from
1928 * tests/check/elements/queue.c: (test_leaky_downstream):
1929 Test case for the above.
1931 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1933 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1935 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1936 (gst_queue_chain), (queue_capacity_change),
1937 (gst_queue_set_property):
1938 When changing thr max capacity of a leaky queue, immediatly drop buffers
1939 instead of waiting for a push on the sinkpad. Fixes #530637.
1941 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1943 * gst/gstdebugutils.c:
1944 Refactor code and fix handling of ghostpads and their proxypads.
1946 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1948 * docs/gst/gstreamer-sections.txt:
1949 * gst/gstevent.c: (gst_event_has_name):
1951 * tests/check/gst/gstevent.c: (GST_START_TEST):
1952 Add method to conveniently check the name of a custom event with
1953 gst_event_has_name().
1954 Reformat the event docs so that related methods are put together instead
1955 of the default alphabetical sort.
1956 Update unit test with new method.
1957 API: GstEvent::gst_event_has_name()
1959 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1961 * libs/gst/check/Makefile.am:
1962 Don't add an explicit link to libgstreamer-0.10.la; it's already
1963 included in GST_OBJ_LIBS.
1965 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1968 Register GstClock type from a type-safe context. Fixes bug #530317.
1970 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1972 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1974 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1976 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1978 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1980 Use the GLib stuff to create a private structure.
1981 Add some locking around some dispose methods to make them a little
1982 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1984 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1986 * libs/gst/base/gstbasesink.h:
1987 * libs/gst/base/gstbasesrc.h:
1988 * libs/gst/base/gstbasetransform.h:
1989 * libs/gst/base/gstcollectpads.h:
1990 Fix doc typos and unify caps a bit.
1992 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1994 * tools/gst-launch.1.in:
1995 Forgot to also add the envvar docs here.
1997 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1999 * gst/gst.c: (init_post), (gst_deinit):
2000 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2001 (test_concurrent_create), (gst_pipeline_suite):
2002 Ref some more classes in gst_init() to work around thread-safety
2003 issues in pre-2.16 GLibs, and add basic unit test.
2005 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2007 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2008 (gst_base_sink_send_event):
2009 Rearrange the latency query code. We always want to do the upstream
2010 query, even if we are not live so that the upstream elements can get the
2011 latency results too. If we fail doing the query and we are live, we
2012 return TRUE afterwards.
2014 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2016 patch by: Jason Zhao <e3423c@motorola.com>
2018 * docs/gst/running.xml:
2020 Enable/disable scan_and_update_registry() based on commandline switch
2021 or environment variable. Fixes #520468.
2024 Fix typo in my previous commit.
2026 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2028 * gst/gstregistrybinary.c:
2029 Add a warning if we hit unhandled factories when saving.
2030 More debug logging detail, but move to LOG category.
2032 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2034 * gst/gstregistry.c:
2035 Tell the *truth* when improving the documentation.
2037 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2039 * gst/gstelementfactory.c: (gst_element_factory_make):
2040 Unref the factory after it was used the last time, not before.
2042 * gst/gstindexfactory.c: (gst_index_factory_make):
2043 Improve debugging a bit and don't leak a ref to the index factory with
2046 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2048 * gst/gstregistry.c:
2049 Improve the documentation.
2051 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2054 The glib macro seems to be borked. Use g_slice_copy directly and cast
2055 in the hope that this fixes the warning on 64bit.
2057 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2060 Document the new function. Use g_slice_dup() (no need for
2061 gst_segment_init()).
2063 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2065 * docs/gst/gstreamer-sections.txt:
2066 Move GParamSepc macros to standart section.
2069 Dn't document _get_type - its in private section in docs anyway and
2070 this doc-blob was incomplete.
2073 Fix wrong symbol names in docs.
2076 Add once doc sentence.
2078 * tests/check/gst/.cvsignore:
2081 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2083 * docs/gst/Makefile.am:
2084 And remove those libs here.
2086 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
2088 * docs/libs/Makefile.am:
2089 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2091 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
2093 Patch by: Olivier Crete <tester at tester dot ca>
2095 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2096 Add the min-threshold to the min latency if possible. Fixes #529148.
2098 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2100 * docs/gst/gstreamer.types.in:
2101 Stupid editor, I removed that line as it should go in yet.
2103 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2105 * docs/gst/gstreamer.types.in:
2106 * docs/libs/gstreamer-libs.types:
2107 Remove library types fro core docs and have them in libs docs.
2108 Reformat and cleanup. Add comment for miniobject types.
2110 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
2112 * gst/gsturi.c: (gst_uri_get_protocol):
2113 Fix leak: g_strdown operates on the string in place, while
2114 g_ascii_strdown() returns a newly-allocated string.
2116 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
2118 * tools/gst-inspect.c: (print_uri_handler_info),
2119 (print_element_info):
2120 Print the URI protocols and the URI type supported by the element.
2122 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2124 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2125 Use g_value_take_string() instead of the deprecated
2126 g_value_set_string_take_ownership().
2128 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2130 * gst/gstregistrybinary.c: (_gst_crc32):
2131 Return the old CRC instead of 0 if we give a NULL buffer
2132 or a buffer with a length of 0.
2134 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2136 * gst/gsturi.c: (gst_uri_protocol_check_internal),
2137 (gst_uri_get_protocol), (gst_uri_has_protocol),
2138 (gst_uri_construct), (gst_uri_handler_set_uri):
2139 A valid URI scheme can also include '+', '-' and '.' additional
2140 to alphanumeric characters as per RFC 3986 Section 3.1.
2142 Handle URI schemes case insensitive in all places and convert
2143 to lower-case when constructing an URI or setting an URI with
2144 the GstURIHandler interface. Fixes bug #528868.
2145 All elements can still assume (as before) that they will
2146 get passed URIs with a lower-case URI scheme by the GstURIHandler
2149 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
2151 * gst/gstcaps.c: (gst_static_caps_get):
2152 * gst/gstclock.c: (gst_clock_entry_new):
2153 Don't use g_atomic_set_int where it's not needed.
2155 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
2157 * gst/gstvalue.c: (gst_value_deserialize_caps):
2158 * gst/parse/grammar.y:
2161 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
2163 * gst/gstutils.c: (gst_atomic_int_set):
2164 Use g_atomic_int_set() here too instead of assignment +
2167 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
2171 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
2172 now that we depend on new enough GLib.
2174 * gst/gstcaps.c: (gst_static_caps_get):
2175 * gst/gstclock.c: (gst_clock_entry_new):
2176 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
2177 (gst_debug_set_default_threshold), (_gst_debug_category_new),
2178 (gst_debug_category_set_threshold):
2179 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2180 (gst_base_sink_set_qos_enabled):
2181 * libs/gst/net/gstnettimeprovider.c:
2182 (gst_net_time_provider_set_property):
2183 Use g_atomic_int_set() instead of gst_atomic_int_set().
2185 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2188 Also use G_GINT64_CONSTANT for the queries.
2190 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2193 Use G_GINT64_CONSTANT in varargs function.
2195 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2197 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
2198 Initialize the registry magic with zeroes.
2200 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2202 * gst/gstregistrybinary.c: (_gst_crc32),
2203 (gst_registry_binary_write),
2204 (gst_registry_binary_initialize_magic),
2205 (gst_registry_binary_write_cache),
2206 (gst_registry_binary_check_magic),
2207 (gst_registry_binary_read_cache):
2208 * gst/gstregistrybinary.h:
2209 Add crc32 checksum to the binary registry file and check this before
2210 accepting a registry file.
2212 Also free the data list when writing to the registry file fails.
2214 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2216 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2217 (gst_registry_binary_load_feature),
2218 (gst_registry_binary_load_plugin):
2219 If an element supports the Uri interface, returns a valid pointer
2220 to the supported URI protocols but this pointer contains nothing
2221 don't try to save that as it will corrupt the registry.
2223 Don't unref the plugin if we added it to the registry already but
2224 fail to load a feature as gst_registry_add_plugin() takes ownership
2227 Improve debugging a bit.
2229 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2232 Clarify some tag item docs after discussion on irc.
2234 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2236 * docs/gst/gstreamer-docs.sgml:
2237 Remove commented out plugins (they have their own docs). Update
2240 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2242 * docs/gst/gstreamer-docs.sgml:
2243 * docs/gst/gstreamer-sections.txt:
2244 * gst/gstparamspecs.c:
2245 * gst/gstparamspecs.h:
2246 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
2247 docs to own section.
2250 This now only documents GValue.
2252 * docs/libs/gstreamer-libs-sections.txt:
2253 * libs/gst/controller/gstcontroller.h:
2254 Remove GST_PARAM_CONTROLLABLE.
2256 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2259 Correct file path. Tell about how to use -overrides.txt.
2260 * docs/design/draft-tagreading.txt:
2261 Small design update.
2263 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
2265 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
2266 (gst_registry_binary_load_plugin):
2267 Fix a typo in a debug message and revert change from yesterday as
2268 gst_registry_add_plugin() will only fail if something is really wrong
2269 already and we can't survive it anyway.
2271 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
2273 * gst/gst.c: (init_post), (gst_deinit):
2274 Pre-register GstGError GType from a thread-safe context
2275 (fixes #527967); unref enum type classes in deinit.
2277 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2279 Patch by: Rene Stadler <mail at renestadler de>
2281 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2282 Merging an empty list with another list in KEEP_ALL mode should
2283 yield an empty list as result and not the second list (#512578).
2285 * tests/check/gst/gsttagsetter.c:
2286 Add unit test for tag merge modes and the aforementioned bug.
2288 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2290 Patch by: Rene Stadler <mail at renestadler de>
2293 Fix description to match the order in the table (#512577).
2295 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2297 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
2299 * libs/gst/net/gstnettimepacket.h:
2300 * docs/libs/gstreamer-libs-sections.txt:
2301 Define socklen_t as int if it's not defined yet. Fixes compilation
2302 with MSVC6 and other versions where socklen_t is not defined in
2303 the windows headers (#518022).
2305 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
2307 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2308 If gst_registry_add_plugin() fails our reference to the plugin is
2309 invalid so don't try to use it anymore and instead error out.
2311 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
2313 * tools/gst-xmlinspect.c: (print_element_info), (main):
2314 De-cruft a bit. If no argument is specified, print all elements in
2315 XML syntax rather than a freestyle list of elements like gst-inspect.
2316 Also, don't print XML header chunk unless we actually have something
2317 to print (ie. don't print it before an error message); print error
2318 message to stderr not stdout. Remove support for printing plugin
2319 info (it would just output something freestyle along the lines of
2320 gst-inspect so far), which fixes #514507. Also add license header.
2322 2008-04-11 Julien Moutte <julien@fluendo.com>
2325 * configure.ac: Merge platform specific defines, introduce a new
2326 define on OS X to remember that forking when updating registry is
2328 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
2330 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
2332 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
2333 condition that leads to absolutely no plugins being registered on
2336 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
2338 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2340 * gst/gstutils.c: (gst_pad_add_data_probe),
2341 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
2342 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
2343 (gst_pad_add_buffer_probe_full):
2345 * docs/gst/gstreamer-sections.txt:
2346 * win32/common/libgstreamer.def:
2347 Add gst_pad_add_*_probe_full() functions with a notify callback that
2348 lets the caller free the data it passes to the probe functions. This
2349 is useful for bindings such as gst-python or gstreamermm (#526814).
2350 API: gst_pad_add_data_probe_full
2351 API: gst_pad_add_buffer_probe_full
2352 API: gst_pad_add_event_probe_full
2354 * tests/check/gst/gstutils.c:
2355 Add minimal unit test to make sure freeing the data actually works
2358 * tests/benchmarks/.cvsignore:
2359 Random cvsignore addendum.
2361 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
2363 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
2364 (GST_DEBUG_BIN_TO_DOT_FILE):
2365 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
2366 to it in the docs (since these are macros the types of the arguments
2367 won't be shown in the docs otherwise).
2369 2008-04-10 Stefan Kost <ensonic@users.sf.net>
2372 Do not abort on out of memory for pad_alloc_buffer.
2374 2008-04-10 Stefan Kost <ensonic@users.sf.net>
2376 * libs/gst/check/gstcheck.c:
2377 Remove blank line between symbol name ad parameters to fix gtkdoc
2380 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2382 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2384 * docs/gst/gstreamer-sections.txt:
2387 * win32/common/libgstreamer.def:
2388 Expose gst_segment_copy() to make things easier for the c++ bindings.
2390 API: gst_segment_copy()
2392 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2394 * gst/gst.c: (gst_init_get_option_group), (init_post):
2395 Fix const position; ref GType classes for enum types to work
2396 around thread-safety issues in GLib versions < 2.16.
2398 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
2400 * docs/design/part-buffering.txt:
2401 Fix some typos and set the estimated total for push mode to -1.
2403 * gst/gstquery.c: (gst_query_new_buffering):
2404 Set buffering-left to 0 as we're not buffering by default.
2406 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2407 Implement BUFFERING query.
2409 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2411 Based on patch by: Milosz Derezynski <internalerror gmail com>
2413 * gst/gsterror.c: (_gst_stream_errors_init):
2415 Add two new error codes for encrypted content. Fixes #524659.
2416 API: GST_STREAM_ERROR_DECRYPT
2417 API: GST_STREAM_ERROR_DECRYPT_NOKEY
2419 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2424 * win32/common/libgstreamer.def:
2427 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
2429 * plugins/elements/gstidentity.c: (gst_identity_event),
2430 (gst_identity_start):
2431 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2432 event after processing some data. Fixes bug #526042.
2434 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2436 * docs/gst/gstreamer-sections.txt:
2437 * gst/gstquery.c: (gst_query_parse_latency),
2438 (gst_query_set_buffering_percent),
2439 (gst_query_parse_buffering_percent),
2440 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2442 Rename _avail -> _range
2443 API: gst_query_set_buffering_range
2444 API: gst_query_parse_buffering_range
2446 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2448 * docs/design/part-buffering.txt:
2451 * gst/gstquery.c: (gst_query_parse_latency),
2452 (gst_query_new_buffering), (gst_query_set_buffering_percent),
2453 (gst_query_parse_buffering_percent):
2455 Add busy field and quark for the buffering query so that the app can
2456 only use the query to see if buffering is in progress.
2458 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2460 * docs/gst/gstreamer-sections.txt:
2461 * gst/gstmessage.c: (gst_message_set_buffering_stats),
2462 (gst_message_parse_buffering_stats):
2464 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2465 (gst_query_parse_latency), (gst_query_new_buffering),
2466 (gst_query_set_buffering_percent),
2467 (gst_query_parse_buffering_percent),
2468 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2469 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2471 Reorder the message docs and headers for clarity.
2472 Add aditional buffering stats API for messages.
2473 Add buffering query.
2474 Convert some leftover queries to use GstQuark.
2475 API: gst_message_set_buffering_stats
2476 API: gst_message_parse_buffering_stats
2477 API: GST_QUERY_BUFFERING
2478 API: GstBufferingMode
2479 API: gst_query_new_buffering
2480 API: gst_query_set_buffering_percent
2481 API: gst_query_parse_buffering_percent
2482 API: gst_query_set_buffering_stats
2483 API: gst_query_parse_buffering_stats
2485 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2487 * gst/gstmessage.c: (gst_message_new_error),
2488 (gst_message_new_warning), (gst_message_new_info),
2489 (gst_message_new_buffering), (gst_message_new_state_changed),
2490 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2491 (gst_message_new_new_clock), (gst_message_new_segment_start),
2492 (gst_message_new_segment_done), (gst_message_new_duration),
2493 (gst_message_new_async_start), (gst_message_parse_buffering),
2494 (gst_message_parse_state_changed),
2495 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2496 (gst_message_parse_new_clock), (gst_message_parse_error),
2497 (gst_message_parse_warning), (gst_message_parse_info),
2498 (gst_message_parse_segment_start),
2499 (gst_message_parse_segment_done), (gst_message_parse_duration),
2500 (gst_message_parse_async_start):
2501 Use GstQuark for messages.
2503 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2505 * gst/gstquark.c: (_priv_gst_quarks_initialize):
2507 Add some more quarks needed for messages and queries.
2509 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2511 * docs/design/part-buffering.txt:
2512 Remove the "none" buffering mode, STREAM is a good default.
2513 Move estimated-time to the avail query, that's when it will be needed.
2514 Other small typo fixes and updates.
2516 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2518 * gst/gstindex.c: (gst_index_resolver_get_type):
2519 Don't put descriptions into the nick field of a GEnumValue: it's not
2520 meant for that and some language bindings rely on the nick field to
2521 construct constants and the like. Fixes #526705.
2523 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2528 Merge other changes from 0.10.19 release branch.
2530 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
2532 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2535 Actually build dlls when cross-compiling with mingw32.
2538 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
2540 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2543 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2545 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
2547 * docs/design/draft-latency.txt:
2550 * docs/design/part-buffering.txt:
2551 Update design docs with more buffering ideas.
2553 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
2556 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2558 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2561 Revert part that belongs to the preset patch.
2563 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2566 Add qoutes to the define. Fixes # 525961.
2568 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
2570 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2571 (gst_file_index_load), (gst_file_index_add_id),
2572 (gst_file_index_get_assoc_entry):
2573 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2574 (gst_mem_index_free_id), (gst_mem_index_add_id),
2575 (gst_mem_index_index_format):
2576 Use GSlice when possible.
2578 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
2580 * libs/gst/controller/gstinterpolationcontrolsource.c:
2581 (gst_control_point_free),
2582 (gst_interpolation_control_source_set_internal):
2583 Use GSlice for allocating the control points.
2585 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
2587 * plugins/elements/gsttypefindelement.c:
2588 (gst_type_find_element_class_init),
2589 (gst_type_find_element_set_property),
2590 (gst_type_find_element_get_property),
2591 (gst_type_find_element_activate):
2592 * plugins/elements/gsttypefindelement.h:
2594 Fix pad leak when peer query fails.
2595 We can still typefind when the peer returns -1.
2596 Add property to force caps and bypass typefinding. This will be used in
2600 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2605 * gst/glib-compat-private.h:
2606 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2607 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2608 Unconditionally use GSlice for allocation.
2610 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2611 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2612 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2613 (gst_structure_free):
2614 Use GSlice for allocation.
2616 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2618 * gst/parse/Makefile.am:
2619 * gst/parse/grammar.tab.pre.c:
2620 * gst/parse/grammar.tab.pre.h:
2621 * gst/parse/lex._gst_parse_yy.pre.c:
2622 Require a new enough flex and bison and remove the parser hacks to use
2623 a pre-regenerated version.
2625 2008-04-01 Julien Moutte <julien@fluendo.com>
2627 patch by: Jason Zhao <E3423C@motorola.com>
2629 * configure.ac: Add a configure switch to disable option parsing
2633 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2636 * gst/gstregistry.c:
2637 MacOS has plugins under .so or under .dylib. Add detection for MacOS
2638 and handle this case.
2641 Add a comment here describing, why we stat each plugin and not try to
2644 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
2646 * libs/gst/base/gstbasetransform.c:
2647 (gst_base_transform_prepare_output_buffer):
2648 Also unset the GAP flag on buffers if we're working inplace but
2649 the element is not GAP-aware.
2651 Mark a comment as FIXME 0.11.
2653 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2656 Fix type in log message and add one to ease seeing how long registry
2657 cache verification takes.
2659 * gst/gstregistry.c:
2660 Only test plugin filenames against G_MODULE_SUFFIX.
2662 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2664 * gst/gstdebugutils.c:
2665 Improve handling ghost/proxy pads.
2667 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2669 * docs/gst/gstreamer-sections.txt:
2672 Expose macro to docs and fix link to it.
2674 2008-03-27 Michael Smith <msmith@fluendo.com>
2676 * libs/gst/dataprotocol/dataprotocol.c:
2677 (gst_dp_packet_from_event_1_0):
2678 When calculating GDP body CRC, use the correct pointer.
2679 Fixes part of #522401.
2681 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2683 Patch by: Mark Nauwelaerts <manauw at skynet be>
2685 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2686 (gst_identity_init), (gst_identity_prepare_output_buffer):
2687 Identity is not always a passthrough element, it can modify the buffer
2688 timestamps when it has a datarate and operates in single-segment mode.
2689 We therefore make it an in_place filter with a custom buffer prepare
2690 function that conditionally makes the input buffer metadata writable
2691 when needed. Fixes #523985.
2693 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2695 Patch by: Mark Nauwelaerts <manauw at skynet be>
2698 * libs/gst/base/gstbasesrc.h:
2699 * libs/gst/base/gstbasetransform.c:
2700 * libs/gst/check/gstcheck.c:
2701 Small documentation fixes. Fixes #523978.
2703 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2705 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2706 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2707 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2709 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2711 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2712 (single_queue_underrun_cb):
2713 When trying to make room in the queue, bump the max allowed buffers
2714 bigger than the current amount of buffers in the queue. this fixes some
2715 nasty deadlocks in multiqueue when dynamically changing the limits of
2718 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2720 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2722 * gst/gstcaps.c: (gst_caps_set_simple),
2723 (gst_caps_set_simple_valist), (gst_caps_intersect):
2725 Constify the field gchar * params in set_simple and friends.
2728 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2730 * gst/gstvalue.c: (gst_value_transform_object_string):
2731 Transform a GstObject to a more meaningfull string that includes the
2732 object type in addition to its name.
2734 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2737 ChangeLog surgery to add bugnumber to commit.
2739 2008-03-23 Rene Stadler <mail@renestadler.de>
2741 * libs/gst/base/gstbasetransform.c:
2742 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2744 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2746 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2747 Rename constant everywhere and don't forget one occurence.
2749 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2751 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2752 Align memory to the pointer size even if the architecture allows
2753 unaligned memory access. Unaligned memory access usually comes with
2754 performance penality.
2756 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2758 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2759 (gst_registry_binary_check_magic),
2760 (gst_registry_binary_load_pad_template),
2761 (gst_registry_binary_load_feature),
2762 (gst_registry_binary_load_plugin):
2763 Align memory to the pointer size instead of always 32 bit. Fixes
2764 unaligned memory accesses on ia64 and friends.
2766 * gst/gstregistrybinary.h:
2767 Bump binary registry format version for this as it changes the
2768 format on those architectures that don't have unaligned access
2769 and 64 bit pointers.
2771 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2773 * docs/pwg/advanced-dparams.xml:
2774 * docs/pwg/building-props.xml:
2775 * docs/pwg/other-source.xml:
2776 * gst/glib-compat.h:
2777 * gst/gstbin.c: (gst_bin_class_init):
2778 * gst/gstclock.c: (gst_clock_class_init):
2779 * gst/gstindex.c: (gst_index_class_init):
2780 * gst/gstobject.c: (gst_object_class_init):
2781 * gst/gstpad.c: (gst_pad_class_init):
2782 * gst/gstpipeline.c: (gst_pipeline_class_init):
2783 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2784 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2785 * libs/gst/base/gstbasetransform.c:
2786 (gst_base_transform_class_init):
2787 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2788 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2789 (_gst_check_fault_handler_sighandler),
2790 (_gst_check_fault_handler_setup), (gst_check_init):
2791 * libs/gst/controller/gstcontroller.c:
2792 (_gst_controller_class_init):
2793 * libs/gst/controller/gstlfocontrolsource.c:
2794 (gst_lfo_control_source_class_init):
2795 * libs/gst/net/gstnetclientclock.c:
2796 (gst_net_client_clock_class_init):
2797 * libs/gst/net/gstnettimeprovider.c:
2798 (gst_net_time_provider_class_init):
2799 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2800 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2801 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2802 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2803 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2804 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2805 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2806 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2807 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2808 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2809 * plugins/elements/gsttee.c: (gst_tee_class_init):
2810 * plugins/elements/gsttypefindelement.c:
2811 (gst_type_find_element_class_init):
2812 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2813 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2814 use it everywhere for GParamSpecs that use static strings (i.e. all).
2815 This gives us less memory usage, fewer allocations and thus less
2816 memory defragmentation. Fixes bug #523806.
2818 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2820 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2821 (gst_param_spec_mini_object):
2822 * gst/gstminiobject.h:
2823 * win32/common/libgstreamer.def:
2824 * docs/gst/gstreamer-sections.txt:
2825 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2826 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2827 GstParamSpecMiniObject into a public header for this.
2829 This make GstMiniObject a bit more consistent with GObject and makes
2830 it possible to extend the param specs.
2832 gst_value_dup_mini_object is mainly useful for set_property methods.
2836 * tools/gst-inspect.c: (print_element_properties_info):
2837 Print something useful for GstMiniObject properties and not just
2840 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2842 * docs/gst/gstreamer-sections.txt:
2843 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2844 (gst_registry_binary_check_magic):
2845 * gst/gstregistrybinary.h:
2846 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2847 and add it to the (private part) of the docs to fix the build.
2849 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2851 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2852 (gst_registry_binary_check_magic),
2853 (gst_registry_binary_read_cache):
2854 * gst/gstregistrybinary.h:
2855 Don't use GST_MAJORMINOR for the binary registry version. Instead
2856 hardcode a value that must be changed whenever the format changes
2857 in an incompatible way.
2858 Also don't GST_ERROR when there is a version mismatch, just
2859 regenerate the registry silently.
2861 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2864 Back to development - 0.10.18.1
2866 === release 0.10.18 ===
2868 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2871 releasing 0.10.18, "So far away"
2873 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2876 * win32/common/config.h:
2877 0.10.17.4 pre-release
2879 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2881 Patch by: Ole André Vadla Ravnås
2882 <ole dot andre dot ravnas at tandberg dot com>
2884 * docs/gst/gstreamer-sections.txt:
2885 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2886 (gst_poll_update_winsock_event_mask),
2887 (gst_poll_prepare_winsock_active_sets),
2888 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2889 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2890 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2891 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2892 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2894 * win32/common/libgstreamer.def:
2895 Add new function gst_poll_fd_ignored() for improved Windows
2897 Various minor fixes and cleanups. See #520808.
2899 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2901 * gst/gstindex.c: (gst_index_entry_free):
2903 Don't free key strings which we don't own. Fixes crash in
2904 gst_index_entry_free() (#522741).
2906 * tests/check/Makefile.am:
2907 * tests/check/gst/.cvsignore:
2908 * tests/check/gst/gstindex.c: (test_index_entries),
2909 (gst_index_suite), (gst_index):
2910 Add unit test for the above.
2912 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2914 * win32/common/libgstreamer.def:
2915 Remove symbols that were removed recently. Fixes bug #521740.
2917 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2920 * win32/common/config.h:
2921 0.10.17.3 pre-release
2923 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2925 Patch by: Ole André Vadla Ravnås
2926 <ole dot andre dot ravnas at tandberg dot com>
2928 * docs/gst/gstreamer-sections.txt:
2929 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2930 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2931 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2932 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2933 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2934 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2935 (gst_poll_fd_can_write), (gst_poll_wait),
2936 (gst_poll_set_controllable), (gst_poll_restart),
2937 (gst_poll_set_flushing):
2939 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2940 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2941 (gst_net_time_provider_new):
2942 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2943 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2944 * tests/benchmarks/gstpollstress.c: (main):
2945 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2946 Remove GstPollMode from the API, it does not make sense to let the
2947 application control this.
2948 Add support for Win32.
2949 Fix the testsuite. Fixes #520671.
2951 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2953 Patch by: Ole André Vadla Ravnås
2954 <ole dot andre dot ravnas at tandberg dot com>
2956 * gst/gstregistrybinary.c:
2957 Include io.h for write() and close() when building with MSVC. Fixes
2960 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2963 * gst/gst_private.h:
2964 * gst/gstconfig.h.in:
2965 * gst/gstregistry.h:
2966 * gst/gstregistrybinary.c:
2967 * win32/common/gstconfig.h:
2968 Move registry backend API to private headers where we can. Add
2969 fixme-0.11 comments for the others. Add stubs for the xml backend when
2970 using the binary to ensure they functions exists (they should not be
2971 used though). Fixes #520756.
2973 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2976 * win32/common/config.h:
2979 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2981 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2982 (gst_registry_binary_read_cache):
2983 * gst/gstregistryxml.c: (gst_registry_save):
2984 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2985 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2986 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2987 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2988 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2991 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2993 * gst/gstminiobject.c:
2994 Import gst_private.h before any other header that might include other
2995 glib headers. This fixes the build on windows using native compilers.
2997 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2999 * win32/common/gstconfig.h:
3000 Add here too, just for completeness.
3002 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3005 * gst/gstconfig.h.in:
3006 * gst/gstregistry.h:
3007 Fix broken use of config.h-defined preprocessor directive in a public
3008 header file. Add a corresponding define to gstconfig.h, since we can't
3009 really remove those function declarations from the header file now
3010 (or can we? and why are they there in the first place?).
3012 2008-03-03 Andy Wingo <wingo@pobox.com>
3014 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3017 * gst/gststructure.c (gst_structure_from_string): Warn if
3018 structure_from_string didn't consume the whole string, but the
3019 caller did not provide an end pointer.
3021 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3023 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3025 * gst/gstregistryxml.c: (read_string), (load_feature):
3026 Strings allocated by libxml2 should be freed with xmlFree(), not
3027 with g_free(). Fixes issues on windows in certain contexts (#519698).
3029 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3031 * gst/gstinterface.c: (gst_element_implements_interface):
3032 Don't crash if the element supports the interface queried, but does
3033 not implement GstImplementsInterface. Fixes #519584.
3035 * tests/check/Makefile.am:
3036 * tests/check/gst/.cvsignore:
3037 * tests/check/gst/gstinterface.c:
3038 Add unit test for the above.
3040 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3042 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3045 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3047 * gst/gstsegment.c: (gst_segment_set_seek),
3048 (gst_segment_to_stream_time):
3049 Improve some comment.
3050 Update variables where it makes more sense.
3052 2008-02-29 Rene Stadler <mail@renestadler.de>
3054 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3055 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3056 URIHandlers implemented using language bindings.
3058 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3060 * gst/gstelementfactory.h:
3061 * tests/check/elements/fakesink.c:
3062 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3063 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3064 * tests/check/elements/filesink.c: (setup_filesink):
3065 * tests/check/elements/filesrc.c: (setup_filesrc):
3066 * tests/check/elements/identity.c: (setup_identity):
3067 * tests/check/elements/tee.c:
3068 * tests/check/generic/sinks.c:
3069 * tests/check/generic/states.c: (setup), (teardown):
3070 * tests/check/gst/gst.c:
3071 * tests/check/gst/gstabi.c:
3072 * tests/check/gst/gstbin.c:
3073 * tests/check/gst/gstbus.c: (pull_messages):
3074 * tests/check/gst/gstcaps.c:
3075 * tests/check/gst/gstelement.c:
3076 * tests/check/gst/gstevent.c:
3077 * tests/check/gst/gstghostpad.c:
3078 * tests/check/gst/gstiterator.c:
3079 * tests/check/gst/gstmessage.c:
3080 * tests/check/gst/gstminiobject.c: (my_foo_init):
3081 * tests/check/gst/gstobject.c: (thread_name_object),
3083 * tests/check/gst/gstpad.c:
3084 * tests/check/gst/gstplugin.c:
3085 * tests/check/gst/gstpoll.c:
3086 * tests/check/gst/gstquery.c:
3087 * tests/check/gst/gstsegment.c:
3088 * tests/check/gst/gststructure.c:
3089 * tests/check/gst/gstsystemclock.c:
3090 * tests/check/gst/gsttask.c:
3091 * tests/check/gst/gstutils.c:
3092 * tests/check/gst/gstvalue.c:
3093 * tests/check/gst/struct_hppa.h:
3094 * tests/check/gst/struct_i386.h:
3095 * tests/check/gst/struct_ppc32.h:
3096 * tests/check/gst/struct_ppc64.h:
3097 * tests/check/gst/struct_x86_64.h:
3098 * tests/check/libs/adapter.c: (create_and_fill_adapter):
3099 * tests/check/libs/basesrc.c:
3100 * tests/check/libs/controller.c: (GST_START_TEST):
3101 * tests/check/libs/gdp.c:
3102 * tests/check/libs/gstnetclientclock.c:
3103 * tests/check/libs/gstnettimeprovider.c:
3104 * tests/check/libs/libsabi.c:
3105 * tests/check/libs/struct_hppa.h:
3106 * tests/check/libs/struct_i386.h:
3107 * tests/check/libs/struct_ppc32.h:
3108 * tests/check/libs/struct_ppc64.h:
3109 * tests/check/libs/struct_x86_64.h:
3110 * tests/check/pipelines/cleanup.c:
3111 * tests/check/pipelines/simple-launch-lines.c:
3112 * tests/check/pipelines/stress.c:
3113 And correct even more valid sparse warnings.
3115 * win32/common/libgstreamer.def:
3116 Add gst_poll_fd_init to the list of symbols.
3118 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3120 * gst/gstconfig.h.in:
3121 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3122 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3123 (gst_check_log_critical_func), (gst_check_drop_buffers),
3124 (gst_check_element_push_buffer_list):
3125 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3126 (gst_controller_get_type):
3127 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3128 (gst_object_get_controller), (gst_object_get_control_source):
3129 * libs/gst/controller/gstinterpolationcontrolsource.c:
3130 (gst_interpolation_control_source_new):
3131 * libs/gst/controller/gstlfocontrolsource.c:
3132 (gst_lfo_control_source_new):
3133 * libs/gst/dataprotocol/dataprotocol.c:
3134 (gst_dp_event_from_packet_0_2):
3135 * plugins/elements/gstfdsrc.c:
3136 * plugins/elements/gstmultiqueue.c:
3137 * plugins/elements/gsttee.c:
3138 * plugins/elements/gsttypefindelement.c:
3139 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
3140 (gst_file_index_add_association):
3141 * plugins/indexers/gstmemindex.c:
3142 * tests/benchmarks/gstpollstress.c: (mess_some_more):
3143 * tests/check/elements/queue.c: (setup_queue):
3144 * tests/check/gst/gstpipeline.c:
3145 * tests/check/libs/collectpads.c: (setup), (teardown),
3146 (gst_collect_pads_suite):
3147 * tests/examples/adapter/adapter_test.c:
3148 * tests/examples/metadata/read-metadata.c: (make_pipeline):
3149 * tests/examples/xml/createxml.c:
3150 * tests/examples/xml/runxml.c:
3151 * tools/gst-inspect.c:
3153 Correct all relevant warnings found by the sparse semantic code
3154 analyzer. This include marking several symbols static, using
3155 NULL instead of 0 for pointers, not using variable sized arrays
3156 on the stack, moving variable declarations to the beginning of
3157 a block and using "foo (void)" instead of "foo ()" for declarations.
3159 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3161 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3162 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3163 Don't reset GstPollFDs, this is not necessary at all.
3165 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3166 (delayed_restart), (delayed_control):
3167 Use GST_POLL_FD_INIT.
3169 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3171 * gst/gstpoll.c: (gst_poll_fd_init):
3175 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3176 Use some more init macros.
3178 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3180 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3181 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3182 Use init macros and functions.
3184 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3186 * docs/gst/gstreamer-sections.txt:
3187 * gst/gstpoll.c: (gst_poll_fd_init):
3189 Add INIT macro and _init method for initializing the GstPollFD.
3191 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
3193 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
3194 (gst_fd_sink_update_fd):
3195 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3196 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3197 (delayed_restart), (delayed_control):
3198 Initialize some uninitialized variables as spotted by valgrind.
3200 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
3202 * tests/benchmarks/Makefile.am:
3203 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
3205 Add poll stress test.
3207 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
3209 Patch by: Peter Kjellerstedt <pkj at axis dot com>
3211 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3212 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
3213 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
3214 * plugins/elements/gstfdsink.h:
3215 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
3216 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
3217 (gst_fd_src_unlock_stop), (gst_fd_src_create),
3218 (gst_fd_src_uri_set_uri):
3219 * plugins/elements/gstfdsrc.h:
3220 Port to GstPoll. See #505417.
3222 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
3224 * win32/common/libgstreamer.def:
3225 Add new gst_poll_ symbols to win32 defs.
3227 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3229 * docs/libs/gstreamer-libs-sections.txt:
3230 * libs/gst/net/gstnetclientclock.c:
3231 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
3232 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
3233 (gst_net_client_clock_thread), (gst_net_client_clock_start),
3234 (gst_net_client_clock_stop), (gst_net_client_clock_new):
3235 * libs/gst/net/gstnetclientclock.h:
3236 * libs/gst/net/gstnettimeprovider.c:
3237 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
3238 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
3239 (gst_net_time_provider_start), (gst_net_time_provider_stop),
3240 (gst_net_time_provider_new):
3241 * libs/gst/net/gstnettimeprovider.h:
3242 Use a private stuct to not break ABI.
3244 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3246 Patch by: Peter Kjellerstedt <pkj at axis dot com>
3248 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
3249 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
3250 (gst_net_client_clock_thread), (gst_net_client_clock_start),
3251 (gst_net_client_clock_stop), (gst_net_client_clock_new):
3252 * libs/gst/net/gstnetclientclock.h:
3253 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
3254 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
3255 (gst_net_time_provider_start), (gst_net_time_provider_stop),
3256 (gst_net_time_provider_new):
3257 * libs/gst/net/gstnettimeprovider.h:
3258 Massive code removal and cleanups because of GstPoll.
3261 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3264 Add checks for poll, ppoll and pselect.
3266 * docs/gst/gstreamer-docs.sgml:
3267 * docs/gst/gstreamer-sections.txt:
3268 Add docs for GstPoll.
3272 * gst/gstpoll.c: (find_index), (selectable_fds),
3273 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
3274 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
3275 (gst_poll_set_mode), (gst_poll_get_mode),
3276 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
3277 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3278 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
3279 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
3280 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
3281 (gst_poll_fd_can_write), (gst_poll_wait),
3282 (gst_poll_set_controllable), (gst_poll_restart),
3283 (gst_poll_set_flushing):
3285 Add generic poll abstraction. We ideally don't want to have this in core
3286 here but in glib intead...
3287 This code will be used in various network elements and ultimately for
3288 the nanosecond precision monotonic clock (that's why it's here in core).
3289 It'll allow us to implement cancelable socket operations for windows too.
3291 * tests/check/Makefile.am:
3292 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3293 (delayed_stop), (delayed_restart), (delayed_flush),
3294 (delayed_control), (gst_poll_suite):
3295 Add GstPoll unit test.
3297 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
3300 Improve documentation of gst_filter_run(). Fixes #518627.
3302 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
3305 Add a few lines about the new 'check-inspected-versions' target.
3307 2008-02-21 Stefan Kost <ensonic@users.sf.net>
3309 * tests/check/gst/gstevent.c:
3310 Add qos to the event test. Rename tcase/tsuite; is not only about
3313 2008-02-21 Stefan Kost <ensonic@users.sf.net>
3315 * plugins/elements/gstqueue.c:
3316 Ensure that buffer metadata is writeable, before modifying. Spotted by
3319 2008-02-20 Stefan Kost <ensonic@users.sf.net>
3321 * plugins/elements/gstqueue.c:
3322 * plugins/elements/gstqueue.h:
3323 When dropping buffers in leaky modes, mark next buffers we sent as
3326 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
3328 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
3329 Also, if mmap() fails that would be a READ error, not OPEN_READ.
3331 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
3333 * plugins/elements/Makefile.am:
3334 * plugins/elements/gstbufferstore.c:
3335 * plugins/elements/gstbufferstore.h:
3336 * plugins/elements/gsttypefindelement.h:
3337 Remove GstBufferStore, no idea why we were still building it.
3338 It's not used anywhere and superseded by GstAdapter.
3340 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3341 (gst_file_src_create_mmap):
3342 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
3343 Printf format fixes for 64-bit integers.
3345 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3348 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
3349 We're not in 0.8 times anymore.
3351 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
3353 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
3354 (gst_check_element_push_buffer_list):
3355 * libs/gst/check/gstcheck.h:
3356 Make the declaration in the header for
3357 gst_check_element_push_buffer_list match the implementation.
3359 Fix up spelling, grammar and wording of the documentation in a few
3360 places, and add the Since keyword to new API functions.
3361 Use g_list_delete_link instead of g_list_remove in
3362 gst_check_drop_buffers, since it's immeasurably more efficient.
3364 * tests/check/elements/fakesrc.c: (GST_START_TEST):
3365 Use new gst_check_drop_buffers function where appropriate.
3367 * win32/common/libgstbase.def:
3368 * win32/common/libgstreamer.def:
3369 Add new symbols gst_collect_pads_take_buffer,
3370 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
3373 Changelog surgery to add API keyword to new gst_check API.
3375 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3377 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
3378 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
3379 Update pre-generated flex files with flex 2.3.34.
3381 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3383 * gst/gstminiobject.c:
3384 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
3385 friendly to subclasses and not require them to know all internals
3386 of their parent class.
3388 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3390 * docs/libs/gstreamer-libs-sections.txt:
3391 * libs/gst/base/gstcollectpads.c:
3392 * libs/gst/base/gstcollectpads.h:
3393 Add sub-buffer functions to collectpads. Fixes #516187.
3394 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3396 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3399 Copy selected buffer-flags when creating subbuffers.
3402 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
3404 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3405 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3406 * gst/gstmessage.c: (gst_message_class_init),
3407 (gst_message_finalize):
3408 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3409 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3410 (gst_mmap_buffer_finalize):
3411 Properly chain up finalize functions to the parent class.
3413 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
3415 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3417 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3418 (gst_index_set_resolver_full):
3420 Add new function with option to dispose of user_data in resolver.
3421 Actually call the dispose function when finalizing the object and not
3422 just when changing the resolver/filter.
3423 API: GstIndex::gst_index_set_resolver_full()
3425 * docs/gst/gstreamer-sections.txt:
3426 Add new function to docs. Fixes #515469.
3428 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
3430 * gst/gstindex.c: (gst_index_finalize):
3431 Chain up finalize to the parent class. Fixes leaking the GstObject
3432 name and other things.
3434 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
3437 Make DISABLE_DEPRECATED defined *only* during CVS, not during
3438 pre-releases or releases.
3440 * docs/faq/gst-uninstalled:
3443 * docs/random/release:
3444 Change one of the steps - we only upload core & base to Gnome FTP
3446 2008-02-06 Stefan Kost <ensonic@users.sf.net>
3448 * gst/gstconfig.h.in:
3449 Add 'id' for example.
3453 * plugins/elements/gstfdsink.c:
3454 Link to signals. Doc and comment fixes.
3456 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
3458 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3459 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3460 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3461 unused and unimplemented; finally, it is plugin features, not
3462 plugins, that have ranks.
3464 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3466 * gst/gstpluginfeature.h:
3467 Clarify GstRank range docs.
3469 2008-02-05 David Schleef <ds@schleef.org>
3471 * gst/gst.c: Add a separate gst_deinitialized that prevents
3472 gst_init() from being called after gst_deinit(). Fixes #509559
3474 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3476 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3477 (gst_bin_class_init):
3478 * gst/gstelement.c: (gst_element_base_class_init),
3479 (gst_element_class_add_pad_template):
3480 * gst/gstpadtemplate.c: (gst_pad_template_init):
3481 * gst/gstpipeline.c: (gst_pipeline_get_type),
3482 (gst_pipeline_base_init), (gst_pipeline_class_init):
3483 * libs/gst/base/gstbasesink.c:
3484 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3485 (gst_base_src_base_init), (gst_base_src_class_init):
3486 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3487 (gst_capsfilter_class_init):
3488 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3489 (gst_fake_sink_class_init):
3490 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3491 (gst_fake_src_class_init):
3492 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3493 (gst_fd_sink_class_init):
3494 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3495 (gst_fd_src_class_init):
3496 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3497 (gst_file_sink_class_init):
3498 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3499 (gst_file_src_class_init):
3500 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3501 (gst_identity_class_init):
3502 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3503 (gst_multi_queue_class_init):
3504 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3505 (gst_queue_class_init):
3506 * plugins/elements/gsttee.c: (gst_tee_base_init),
3507 (gst_tee_class_init):
3508 * plugins/elements/gsttypefindelement.c:
3509 (gst_type_find_element_base_init),
3510 (gst_type_find_element_class_init):
3511 * tests/check/gst/gstelement.c: (gst_element_suite):
3512 Revert previous changes to the behaviour of GstPadTemplates, etc
3513 and the possiblity to call them in class_init as it breaks too
3514 many elements. Reopens bug #491501.
3516 Should be applied again for 0.11, thus added a few FIXME 0.11 at
3519 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3521 * tools/gst-launch.c:
3522 Dump one graph per pipeline state-change and state change name
3523 (if GST_DEBUG_DUMP_DOT_DIR is set).
3525 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
3528 * tests/check/gst/gstpad.c:
3529 Be sure that we have a new copy of the caps and not
3530 reffed caps from a template
3532 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3534 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3535 * gst/gstpipeline.c: (gst_pipeline_get_type),
3536 (gst_pipeline_class_init):
3537 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3538 (gst_base_sink_class_init):
3539 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3540 (gst_base_src_class_init):
3541 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3542 (gst_base_transform_class_init):
3543 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3544 (gst_collect_pads_class_init):
3545 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3546 * libs/gst/net/gstnettimeprovider.c:
3547 (gst_net_time_provider_base_init),
3548 (gst_net_time_provider_class_init):
3549 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3550 (gst_capsfilter_class_init):
3551 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3552 (gst_fake_sink_class_init):
3553 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3554 (gst_fake_src_class_init):
3555 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3556 (gst_fd_sink_class_init):
3557 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3558 (gst_fd_src_class_init):
3559 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3560 (gst_file_sink_class_init):
3561 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3562 (gst_file_src_class_init):
3563 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3564 (gst_identity_class_init):
3565 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3566 (gst_multi_queue_class_init):
3567 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3568 (gst_queue_class_init):
3569 * plugins/elements/gsttee.c: (gst_tee_base_init),
3570 (gst_tee_class_init):
3571 * plugins/elements/gsttypefindelement.c:
3572 (gst_type_find_element_base_init),
3573 (gst_type_find_element_class_init):
3574 Don't use base_init where not absolutely necessary. For example it's
3575 not necessary anymore for adding pad templates or setting element
3578 Leave empty base_init functions in several places as GST_BOILERPLATE
3579 still defines and uses them.
3581 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3583 * gst/gstelement.c: (gst_element_base_class_init),
3584 (gst_element_class_add_pad_template):
3585 * gst/gstpadtemplate.c:
3586 Make it possible (and recommended) to set element details and add
3587 pad templates in the class_init functions by copying the details/pad
3588 templates in GstElement's base_init.
3590 Also make it possible to replace existing pad templates by adding
3591 a new one with the same name. This was done in a hackish fashion
3592 in same elements before already.
3594 Don't reference pad templates that are added a second time. A
3595 new pad template has a refcount of one and is not floating anymore
3596 and to be owned by the element's class. Make this more explicit by
3597 mentioning it in the docs of gst_element_class_add_pad_template().
3599 These changes are backwards compatible. Fixes bug #491501.
3601 * tests/check/gst/gstelement.c:
3602 Add unit test for setting element details, adding pad templates and
3603 replacing them in a subclass.
3605 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3607 * tools/gst-inspect.c: (print_interfaces),
3608 (print_element_properties_info), (print_pad_info),
3609 (print_signal_info), (print_element_info):
3610 Fix a few memory leaks.
3612 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3614 * docs/libs/gstreamer-libs-sections.txt:
3615 * libs/gst/check/gstcheck.c:
3616 * libs/gst/check/gstcheck.h:
3617 Add more functions for unit testing: gst_check_drop_buffers,
3618 gst_check_caps_equal, gst_check_element_push_buffer_list,
3619 gst_check_element_push_buffer
3620 API: gst_check_drop_buffers
3621 API: gst_check_caps_equal
3622 API: gst_check_element_push_buffer_list
3623 API: gst_check_element_push_buffer
3625 2008-02-01 Julien Moutte <julien@fluendo.com>
3627 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3628 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3629 (gst_index_finalize), (gst_index_entry_free),
3630 (gst_index_add_association): Fix memory leaks.
3631 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3632 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3633 (gst_mem_index_free_format), (gst_mem_index_free_id),
3634 (gst_mem_index_finalize): Fix memory leaks.
3635 * win32/common/config.h: Updated to CVS HEAD.
3637 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3640 Some more details about how the plugin docs works.
3642 * docs/plugins/gstreamer-plugins-sections.txt:
3645 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3647 * gst/parse/grammar.tab.pre.c:
3648 * gst/parse/grammar.tab.pre.h:
3649 * gst/parse/grammar.y:
3650 * gst/parse/lex._gst_parse_yy.pre.c:
3651 Add delayed set-property. This allows to set properties on dynamicaly
3652 created objects (pads in videomxer). Fixes #509391.
3654 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3657 Check if caps are not NULL (fix bug #510194)
3659 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3661 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3662 (gst_base_sink_get_position_paused):
3663 Add fixme regarding EOS in pull mode.
3664 Fix position reporting in PAUSED for negative rates.
3666 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3668 * gst/gstminiobject.c: (gst_mini_object_replace):
3669 When replacing a miniobject, do a quick equality check first so that we
3670 can avoid a ref/unref pair.
3672 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3674 * docs/design/part-synchronisation.txt:
3677 * docs/plugins/Makefile.am:
3678 * docs/plugins/gstreamer-plugins-docs.sgml:
3679 * docs/plugins/gstreamer-plugins-sections.txt:
3680 * plugins/elements/gstmultiqueue.c:
3681 Add multiqueue to the docs.
3683 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3688 === release 0.10.17 ===
3690 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3693 releasing 0.10.17, "Due Negligence"
3695 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3698 Revert caps != NULL check temporarily for 0.10.17 release.
3700 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3703 Check if caps are not NULL (fix bug #510194)
3705 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3708 Fix compilation on systems that have posix timers but no
3711 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3714 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3716 * tools/gst-inspect.c:
3717 Revert previous commit in preparation for an impromptu 0.10.17 release
3719 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3721 * tools/gst-inspect.c: (print_interfaces),
3722 (print_element_properties_info), (print_pad_info),
3723 (print_signal_info), (print_element_info):
3724 Fix a few memory leaks.
3726 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3731 === release 0.10.16 ===
3733 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3736 releasing 0.10.16, "Special Dispensation"
3738 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3741 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3742 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3743 not fail when trying to crosscompile on OpenEmbedded (#511750).
3745 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3748 Use $(MAKE) instead of make to fix the build if GNU make is
3749 called different. Fixes bug #510747.
3751 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3753 * gst/gstplugin.c: (_gst_plugin_initialize):
3754 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3755 again, which I broke two commits ago when changing the API
3756 of gst_plugin_register_static(): the g_list_foreach() in
3757 _gst_plugin_register_static still assumed the old function
3758 signature and would therefore fail (re-fixes #510187).
3760 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3761 (_gst_plugin_register_static), (gst_plugin_register_static):
3762 Revert the (technically correct) change to call g_thread_init() from
3763 the pre-main() constructor. This will break programs which call
3764 g_thread_init() without an if (!g_thread_supported()) guard in their
3765 main function. We could just blame it on GLib or the application, but
3766 it's probably best to just avoid this altogether and simply not use
3767 any GLib functions here and use plain old malloc() with a simple
3768 array to store the plugins to register later when gst_init() is
3769 finally called (re-fixes #510187).
3771 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3772 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3773 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3774 (GST_START_TEST), (gst_plugin_suite):
3775 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3778 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3780 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3781 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3782 This makes gtk-doc complain, but results in slightly better
3783 compiler errors. The old _gst_plugin_register_static() is
3784 still guarded, so there'll be a compiler warning about that
3785 instead. Fixes #510187 too.
3787 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3789 * gst/gst.c: (init_post):
3790 * gst/gstplugin.c: (_gst_plugin_register_static),
3791 (gst_plugin_register_static), (_gst_plugin_initialize):
3792 * gst/gstplugin.h: (GstPluginFilter):
3793 Change API of gst_plugin_register_static() to not take
3794 a GstPluginDesc, but rather just take all the arguments
3795 in a GstPluginDesc directly. This is more intuitive and
3796 avoids certain mistakes when porting code from
3797 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3800 * tests/check/gst/gstplugin.c:
3801 Fix up for changed API.
3803 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3805 * docs/faq/legal.xml:
3806 Update FAQ, Totem actually has an exception these days.
3808 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3810 * win32/common/libgstreamer.def:
3811 Add new API declarations
3813 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3815 * gst/gstminiobject.c:
3816 Spelling fixes for the API docs.
3818 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3820 * libs/gst/base/gstbasetransform.c:
3821 Fix long property description for QoS.
3823 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3826 _gst_trace_on is already provided by gsttrace.h, no need to declare
3829 * docs/libs/gstreamer-libs-sections.txt:
3830 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3831 and remove strange tcase_add_test which is outputting a warning.
3833 * libs/gst/check/gstcheck.c:
3834 * libs/gst/check/gstcheck.h:
3835 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3836 and define them in gstcheck.c instead of having every .c file whcih
3837 includes gstcheck.h be defining its own copy and relying on symbol
3838 interposing to marry them all, which doesn't work on Solaris.
3840 * tests/check/elements/identity.c: (GST_START_TEST):
3841 Don't define 'buffers' locally, it comes from libgstcheck.
3843 * tests/check/generic/sinks.c: (send_buffer):
3844 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3846 * tests/check/gst/gststructure.c: (GST_START_TEST):
3847 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3848 * tests/check/gst/gstutils.c: (GST_START_TEST):
3849 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3850 Add a bunch of casts to make various constants fit the types
3851 they're being assigned to.
3853 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3855 * gst/gstchildproxy.c:
3856 Improve docs and add some ideas for making this more general-purpose.
3858 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3860 * gst/gst_private.h: (GST_CAT_TYPES):
3861 Add GST_CAT_TYPES, for consistency, and so that the other
3862 debug categories don't make fun of it. Spotted by Saur on IRC.
3864 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3866 * gst/parse/Makefile.am:
3867 Move types.h from EXTRA_DIST to noinst_HEADERS.
3869 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3872 Add -Wno-portability to the automake parameters to stop warnings
3873 about GNU make extensions being used. We require GNU make in almost
3874 every Makefile anyway.
3877 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3878 at the same time is required for per target flags.
3880 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3883 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3884 __GNUC__ is defined before using it.
3886 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3888 * docs/gst/gstreamer-sections.txt:
3889 * gst/gst.c: (init_post):
3890 * gst/gstplugin.c: (_gst_plugin_register_static),
3891 (gst_plugin_register_static), (_gst_plugin_initialize),
3892 (gst_plugin_register_func):
3893 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3894 API: add gst_plugin_register_static() and deprecate
3895 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3897 Also, in _gst_plugin_register_static(), make sure to call
3898 g_thread_init() before calling GLib functions such as
3899 g_list_append() if we're not initialised yet, since that
3900 may lead to random crashes with older GSlice/GLib versions.
3902 * tests/check/gst/gstplugin.c:
3903 Adapt unit test to above changes.
3905 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3907 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3908 * gst/gstcaps.c: (gst_caps_to_string):
3909 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3910 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3911 Yet another gratuitous GString micro-optimisation: add a (private)
3912 function that serialises a structure appending to an existing
3913 GString, so that when we serialise caps we don't need to alloc+free
3914 a throwaway GString for each structure (each of which also entailing
3915 multiple reallocs on the way); also use g_string_sized_new() in
3916 various places with an approximate string length to avoid reallocs
3917 within GString. See #500143.
3919 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3921 * gst/gststructure.c: (gst_structure_id_set_value):
3922 Always check UTF-8 conformance of structure strings and not only
3923 if the debugging system is enabled; reasoning: the behaviour of
3924 the actual code shouldn't really change depending on whether the
3925 debugging system is enabled or not (#508291).
3927 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3930 Remove old coverage target in favour of "make lcov".
3932 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3934 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3935 (gst_base_src_loop):
3936 The start segment for reverse playback goes from start to last_stop.
3938 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3940 Patch by: Peter Kjellerstedt <pkj axis com>
3943 Cast the results from the timeval/spec_to_time macros to what the
3944 docs say it casts to, a GstClockTime. fixes #508175.
3946 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3949 Update some comments.
3951 * tools/gst-inspect.c: (print_element_properties_info):
3952 Improve printing of flags.
3954 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3956 * libs/gst/base/gstbasetransform.c:
3957 (gst_base_transform_transform_size):
3958 Print element name with g_warning() if there's a problem
3961 2008-01-07 David Schleef <ds@schleef.org>
3963 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3965 * libs/gst/controller/gstcontroller.h:
3966 * libs/gst/controller/gstcontrolsource.h:
3967 * libs/gst/controller/gstinterpolationcontrolsource.h:
3968 * libs/gst/controller/gstlfocontrolsource.h:
3969 * libs/gst/dataprotocol/dataprotocol.h:
3970 Fix empty prototypes. Fixes bug #507957.
3972 2008-01-07 David Schleef <ds@schleef.org>
3974 * docs/faq/dependencies.xml: Fix typo.
3976 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3978 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3979 (gst_base_src_loop):
3980 Don't update the last_stop position in do_seek, that's the position we
3982 Read backwards when we have a negative rate.
3984 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3985 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3987 Add check for reverse reading.
3989 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3991 Patch by: Alexis Ballier <aballier at gentoo org>
3993 * tests/check/gst/gstabi.c:
3994 * tests/check/gst/struct_ppc64.h:
3995 * tests/check/libs/libsabi.c:
3996 * tests/check/libs/struct_ppc64.h:
3997 Decide which header to include based on the userland ABI target
3998 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3999 for 64-bit userland (#503590). Might need something similar for
4002 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4004 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4005 Log the reason why fopen fails in addition to the fact that it failed.
4007 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4009 * gst/parse/parse.l:
4010 Use "%option never-interactive" to prevent useless calls to isatty()
4011 on every input when parsing. Also use "%option noinput" to not define
4012 the static input/yyinput functions which we don't use anyway. This
4013 removes a compiler warning with gcc 4.3 and saves some bytes in the
4016 * gst/parse/lex._gst_parse_yy.pre.c:
4017 Regenerated for the above change.
4019 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4021 * gst/gstpad.c: (fixate_value):
4022 Don't crash when trying to fixate and empty list.
4025 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4027 * docs/faq/gst-uninstalled:
4028 Clarify the comments to make the usage of this script and what it
4029 does easier to understand.
4031 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4033 * tools/gst-plot-timeline.py:
4034 Add more options to gst-plot-timeline
4036 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4038 * docs/design/part-synchronisation.txt:
4039 Some more info on how the stream_time in GstBaseSink is done.
4041 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4043 * tests/check/generic/sinks.c: (gst_sinks_suite):
4044 Put back the tcase_set_timeout(), apparently it's needed after
4045 all; fix it up in a way that makes things work with valgrind too.
4047 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4049 * gst/gstdebugutils.c:
4050 Add warning when failed to open file for writing.
4052 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4054 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4056 * gst/gstvalue.c: (gst_value_is_fixed):
4057 Optimisation: bail out of the loop as early as possible (#500143).
4059 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4061 * gst/gstcaps.c: (gst_caps_to_string):
4062 * gst/gstinfo.c: (gst_debug_construct_term_color):
4063 * gst/gstparse.c: (gst_parse_launchv):
4064 * gst/gstutils.c: (gst_util_dump_mem):
4065 * gst/gstvalue.c: (gst_value_serialize_any_list),
4066 (gst_value_transform_any_list_string):
4067 Bunch of gratuitous nano-optimisations.
4069 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4071 * tests/check/generic/sinks.c: (async_done_func),
4072 (async_done_eos_func):
4073 Fix leak in unit test (bus sync handler must unref the message
4074 if it returns GST_BUS_DROP). Don't fiddle with the default test
4075 timeout, this is smaller than the current preconfigured value
4076 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4077 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4079 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4081 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4084 Check for stdio_ext.h for the filesink changes.
4086 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4087 (gst_file_sink_class_init), (gst_file_sink_init),
4088 (gst_file_sink_dispose), (gst_file_sink_set_property),
4089 (gst_file_sink_get_property), (gst_file_sink_open_file),
4090 (gst_file_sink_close_file):
4091 * plugins/elements/gstfilesink.h:
4092 Add two properties to control the buffering mode and size.
4093 API: GstFileSink::buffer-mode
4094 API: GstFileSink::buffer-size
4097 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4099 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4100 Add some more docs to explain why a FIXME was wrongly added.
4102 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
4105 Fix typo in the gst_object_{ref,unref} documentation.
4107 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4109 * tests/check/libs/controller.c:
4110 * tests/check/libs/typefindhelper.c:
4111 * tests/check/pipelines/parse-launch.c:
4112 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4113 going to be deprecated (see #498924).
4115 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4117 * gst/gsttypefind.c: (gst_type_find_register):
4118 Make gst_type_find_register work for static typefind functions,
4119 ie. allow passing plugin == NULL (prerequisite for #498924).
4121 * gst/gstelementfactory.c: (gst_element_register):
4122 Small docs addition.
4124 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
4126 * gst/gstpad.c: (gst_pad_dispose):
4127 Really unlink the peer pad instead of setting the peer pointer to NULL
4128 when we dispose the pad.
4129 This correctly calls the unlink functions and makes sure that the peer
4130 does not have a handle to invalid memory. See #504671.
4132 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4133 Add testsuite for above case.
4135 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
4137 Patch by: Peter Kjellerstedt <pkj axis com>
4139 * libs/gst/check/gstcheck.h:
4140 Fix detection of the check version we're compiling against (would
4141 otherwise break if check goes v0.10.0); correctly report the
4142 name of the failed test again in case of failure, instead of
4143 just 'tf' (fixes #504499).
4145 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4147 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
4148 (gst_base_src_get_range), (gst_base_src_pad_get_range),
4149 (gst_base_src_loop), (gst_base_src_set_flushing),
4150 (gst_base_src_change_state):
4151 Allow sending EOS to the source to make it send out an EOS event from
4152 the streaming thread.
4153 Update docs and deprecate the old NULL/READY shutdown method.
4155 * tests/check/libs/basesrc.c: (GST_START_TEST),
4156 (gst_basesrc_suite):
4157 Add unit test for controlled shutdown.
4159 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4161 * docs/design/part-synchronisation.txt:
4164 * gst/gstsegment.c: (gst_segment_set_seek),
4165 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4166 (gst_segment_to_running_time):
4167 The seek format can be different from the segment format when the start
4168 and stop values are not to be updated, when we only do a rate change for
4171 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4172 (gst_segment_suite):
4173 Add a testcase for the rate-only seeks, checking that the format is
4174 correctly ignored when start and stop are not updated.
4176 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
4178 Patch by: Matthias Bolte <photon at mail dot upb dot de>
4180 * win32/vs8/grammar.vcproj:
4181 * win32/vs8/libgstcontroller.vcproj:
4182 * win32/vs8/libgstreamer.vcproj:
4183 Fix compilation with VS8 and include some missing files.
4185 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
4188 Small docs addition: mention that the strings returned by
4189 gst_tag_list_get_string*() are in UTF-8 encoding.
4191 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
4194 The check-exports stuff moved to common/win32.mak, so include that.
4196 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
4198 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4199 (gst_base_src_perform_seek), (gst_base_src_get_range),
4200 (gst_base_src_set_playing), (gst_base_src_change_state):
4201 Make _wait_playing() not check any variables so that we can call this
4202 function from subclasses. Move the checks elsewhere similar to
4203 _wait_preroll() in basesink.
4205 Only signal the LIVE cond when we are going back to PLAYING.
4207 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
4209 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
4210 Use g_remove() and g_rename(). Check result of g_rename(), and
4211 don't leak the open file descriptor if we error out when writing.
4213 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
4214 Must check the return value of close() after writing out the new
4215 registry file. Sometimes write problems such as out-of-diskspace
4216 are only reported when the file is closed and not already during
4217 the write. This may have caused partial/broken registry files in
4218 some rare circumstances. Should fix #503675.
4220 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
4222 * docs/gst/.cvsignore:
4223 * docs/libs/.cvsignore:
4224 * docs/plugins/.cvsignore:
4225 Ignore files generated by new common/* modifications
4227 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4229 * win32/common/libgstbase.def:
4230 Yes, you can also have a <TAB> if you want.
4232 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4234 * win32/common/libgstbase.def:
4235 Add new basetransform API to win export file.
4237 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4239 * tests/check/gst/gstbin.c:
4240 Adjust the test to the refcount change two days ago.
4242 2007-12-14 David Schleef <ds@schleef.org>
4244 * docs/faq/getting.xml: Fix typo.
4246 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
4248 * docs/libs/gstreamer-libs-sections.txt:
4249 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4250 (gst_base_transform_prepare_output_buffer),
4251 (gst_base_transform_set_gap_aware):
4252 * libs/gst/base/gstbasetransform.h:
4253 API: Add gst_base_transform_set_gap_aware() to control whether
4254 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
4255 get buffers with this flag at all. Fixes #503231.
4257 2007-12-13 Stefan Kost <ensonic@users.sf.net>
4259 * libs/gst/base/gstbasesink.c:
4260 * libs/gst/base/gstbasesrc.c:
4261 * libs/gst/base/gstbasetransform.c:
4262 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
4263 thread. Correct log message in gstbasesrc.c.
4265 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
4267 * gst/gstutils.c: (element_find_unconnected_pad):
4268 Fix possible compiler warning (#503417).
4270 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
4272 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
4273 Don't use GST_CAT_EVENT here for logging, it makes no sense.
4275 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
4277 * tools/gst-inspect.c: (print_element_properties_info):
4278 Add support for GstFraction properties.
4280 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
4283 Add check-exports target and run it as part of 'make check'
4284 (see #499140 and #493983).
4286 * gst/gst_private.h:
4287 * gst/gstelementfactory.h:
4288 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
4289 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
4290 (_priv_gst_in_valgrind):
4291 * gst/gstinfo.h: (GstLogFunction):
4292 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
4293 (gst_type_find_register):
4294 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
4295 (gst_type_find_factory_get_type):
4296 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
4297 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
4298 (gst_controller_new_valist), (gst_controller_new_list),
4299 (_gst_controller_dispose), (_gst_controller_class_init):
4300 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
4301 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
4302 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
4303 (gst_object_get_controller), (gst_object_set_controller),
4304 (gst_object_suggest_next_sync), (gst_object_sync_values),
4305 (gst_object_set_control_source), (gst_object_get_control_source),
4306 (gst_object_get_value_arrays), (gst_object_get_value_array),
4307 (gst_object_get_control_rate), (gst_object_set_control_rate):
4308 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
4309 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
4310 Make some functions that should be static static; rename some
4311 private symbols so that they don't get exported; add some FIXME
4312 comments so we can move accidentally exported functions into
4313 our private section in 0.11.
4315 * win32/common/libgstreamer.def:
4316 Add gst_utils_get_timestamp().
4318 2007-12-12 Stefan Kost <ensonic@users.sf.net>
4322 Add more missing "Since:" tags to docs.
4324 2007-12-12 Stefan Kost <ensonic@users.sf.net>
4327 Add mising "Since:" to docs.
4329 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4332 Include "glib-compat-private.h" to fix the build on system with
4333 glib < 2.10. Fixes #503131.
4335 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4339 Actually its not PURE as it gets the time from elsewhere.
4341 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4343 * docs/gst/gstreamer-sections.txt:
4345 * gst/gstdebugutils.c:
4349 * libs/gst/base/gstbasesink.c:
4350 * tools/gst-launch.c:
4351 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
4352 uses as we don't have HAVE_POSIX_TIMERS in public headers.
4353 Thanks Tim for spotting.
4354 API: gst_util_get_timestamp
4356 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
4359 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
4361 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
4363 * gst/gststructure.c: (gst_structure_validate_name),
4364 (gst_structure_new_valist), (gst_structure_parse_value),
4365 (gst_structure_from_string):
4366 Don't crash in _from_string() if the structure name is not valid
4367 (fixes #501560). Allow structure names to start with a number
4368 again (this apparently broke the ubuntu codec installer).
4370 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
4372 Add unit test for the crash; update unit tests for new behaviour.
4374 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
4377 Clarify gst_element_get_compatible_pad() documentation.
4380 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
4382 * tests/check/Makefile.am:
4383 Don't forget to dist {gst,libs}/struct_hppa.h.
4385 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4387 * libs/gst/base/gstbasesink.c:
4388 Use new API to get elapsed time.
4390 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4392 * gst/gstdebugutils.c:
4394 Fix wrong order of args in GST_CLOCK_DIFF() usage.
4396 * tools/gst-launch.c:
4397 Use new API to get elapsed time.
4399 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4401 * docs/gst/gstreamer-sections.txt:
4403 * gst/gstdebugutils.c:
4405 Rename new API + ChangeLog surgery to remove old name from last entry..
4407 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4409 * docs/gst/gstreamer-sections.txt:
4411 * gst/gstdebugutils.c:
4413 Now hide the different clock stuff behind a macro.
4415 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4418 * gst/gstdebugutils.c:
4420 Apply the posix-timer check from #361155. Conditionally use the posix
4421 timer for logging. This gives better timestamp precission, less
4422 overhead and no ntp jitter.
4424 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
4426 * gst/gstminiobject.c: (gst_mini_object_get_type),
4427 (gst_mini_object_class_init), (gst_mini_object_copy_default),
4428 (gst_mini_object_finalize), (gst_mini_object_copy),
4429 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4430 (gst_mini_object_replace), (param_mini_object_validate),
4431 (gst_param_spec_mini_object_get_type):
4432 Some cleanup and checking against invalid function parameters.
4434 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
4436 * docs/gst/gstreamer-sections.txt:
4438 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4439 (gst_systemclock_suite):
4440 Start merging in the easy bits of #361155, the monotonic clock patch.
4441 This one adds a few handy macros with docs and a testsuite.
4443 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
4445 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4446 Be a bit smarter when seeking, like, don't try to do a seek when it's
4447 not needed. This avoids errors when the file is not seekable.
4450 2007-11-26 Stefan Kost <ensonic@users.sf.net>
4452 * docs/gst/gstreamer-docs.sgml:
4453 * docs/gst/gstreamer-sections.txt:
4454 * docs/gst/gstreamer.types.in:
4459 * plugins/elements/gstqueue.c:
4460 Due to popular request remove preset interface again. :-(.
4462 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4464 * tools/gst-inspect.c:
4465 Print 'default value' for enums and flags too.
4467 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4469 * docs/random/ensonic/profiling.txt:
4473 Fix typo and give better log output.
4475 * gst/gstdebugutils.c:
4476 * gst/gstdebugutils.h:
4477 More ideas, make graphs a bit smaller and fix param name in macro.
4479 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4482 Try harder to use the return value from fgets().
4484 2007-11-21 Stefan Kost <ensonic@users.sf.net>
4487 For theses two fgets we handle the error below.
4489 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4491 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4492 Only send upstream events upstream. Fixes #498746.
4494 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4496 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4498 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4499 (gst_identity_init), (gst_identity_transform_ip),
4500 (gst_identity_set_property), (gst_identity_get_property):
4501 * plugins/elements/gstidentity.h:
4502 Add property to disable handoff signal emission. Fixes #498694.
4503 API: GstIdentity::signal-handoffs
4505 2007-11-21 Julien Moutte <julien@fluendo.com>
4507 * docs/faq/gst-uninstalled: Yet another missing library for the
4508 uninstalled script (fft)
4510 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
4512 * docs/faq/developing.xml:
4513 Add a question about how to submit new translations.
4515 * docs/random/release:
4516 Update the contact email address for the Translation Project
4518 * plugins/elements/gstfdsrc.c:
4519 The parent_class for fdsrc is pushsrc, not GstElement.
4521 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4524 Plug a leak and fix saving.
4526 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
4528 * docs/gst/gstreamer-sections.txt:
4529 Add new gst_preset__get_property_names() function to the docs
4532 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4536 Change _get_preset_names API to return a strv with copies. Add
4537 _get_property_names to allow implementations to filter and provide
4538 good default implementation.
4540 2007-11-20 Julien MOUTTE <julien@moutte.net>
4542 * docs/faq/gst-uninstalled: Add another library to the uninstalled
4545 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4548 More cleanups, docs, and TODOs from comments that now slowly come in.
4550 2007-11-19 Julien MOUTTE <julien@moutte.net>
4552 * docs/faq/gst-uninstalled: Add new base libraries in the LD
4555 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4558 Fix bogus warning and make the property type specific code more
4561 2007-11-19 Julien MOUTTE <julien@moutte.net>
4563 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4566 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
4568 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4569 (gst_bin_add_func), (gst_bin_remove_func),
4570 (gst_bin_change_state_func), (gst_bin_continue_func):
4571 Change email, cleanups add some more debug and comments.
4572 Also set bus and clock on new elements when the pipeline was in error.
4574 2007-11-18 Stefan Kost <ensonic@users.sf.net>
4577 * gst/gstdebugutils.c:
4578 Fix build with --disable-gst-debug. Fixes #497859.
4579 Spotted by Sameer Naik.
4581 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4584 Little documentation improvment.
4587 More TODO cleanups. Remove c++ comments.
4589 * libs/gst/controller/gstcontroller.c:
4590 Add TODO and use quark from static string.
4592 * tests/check/gst/gstmessage.c:
4593 * tests/check/gst/gststructure.c:
4594 Use quark from static string.
4596 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4599 Add some comments and TODOs.
4602 Add padding for future changes.
4604 * plugins/elements/gstqueue.c:
4605 Implement the iface.
4607 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4609 * docs/gst/gstreamer-docs.sgml:
4610 * docs/gst/gstreamer-sections.txt:
4611 * docs/gst/gstreamer.types.in:
4616 Add the preset interface (Fixes #396779). Do some doc cleanups along.
4618 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
4624 === release 0.10.15 ===
4626 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
4629 releasing 0.10.15, "October"
4631 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
4633 * win32/vs6/libgstreamer.dsp:
4634 Convert line endings back to DOS.
4636 2007-11-13 Stefan Kost <ensonic@users.sf.net>
4638 * docs/design/draft-tagreading.txt:
4639 * docs/random/ensonic/profiling.txt:
4640 Update fast tagreading draft and performance profiling ideas.
4642 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4644 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4645 Don't hold the object lock when unreffing a buffer because it could
4646 cause a deadlock when the finalize function wants to grab the object
4647 lock too. Fixes #495133.
4649 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4651 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4652 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4653 Also accumulate time correctly when doing reverse playback. Fixes
4655 When converting to running and stream time, use default values for
4656 start/stop/time/accum when comparing different formats. Fixes #494245.
4658 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4659 Do running/stream time in TIME format.
4661 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4662 (gst_segment_suite):
4663 2 new unit tests for segment accumulation.
4665 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4667 * gst/gst.c: (init_pre):
4668 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4669 (_gst_debug_bin_to_dot_file):
4670 Move getenv() back into gst_init, so everyone can live happily
4671 ever after. Make sure the symbol isn't exported though.
4673 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4675 Patch by: Sebastien Moutte <sebastien moutte net>
4677 * win32/common/gstenumtypes.c:
4678 * win32/common/gstenumtypes.h:
4681 * win32/vs6/libgstreamer.dsp:
4682 Update vs6 project files (#494343).
4684 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4686 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4687 (gst_base_src_perform_seek), (gst_base_src_default_event),
4688 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4689 (gst_base_src_activate_pull):
4690 Unify flushing code, remove some old unlock code that is no longer used.
4691 Take the streaming lock when seeking to avoid races. Fixes #492729.
4692 Added some more comments.
4694 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4696 * gst/gst.c: (_gst_disable_segtrap):
4697 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4698 we can use gst_segtrap_is_enabled() there now that we have that API.
4699 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4700 to do the getenv here (and export the variable).
4702 * gst/gstdebugutils.c: (debug_dump_element),
4703 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4704 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4706 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4707 (gst_debug_log_default):
4708 Rename _gst_info_start_time to priv_gst_info_start_time so it
4709 doesn't get exported (was never in any header).
4711 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4712 (gst_plugin_loading_mutex):
4713 Make static mutex gst_plugin_loading_mutex really static (was never
4714 in any header), and use gst_segtrap_is_enabled() instead of
4715 _gst_disable_segtrap.
4717 * gst/gsttrace.c: (_gst_trace_default):
4718 Make local _gst_trace_default static (was never in any header).
4720 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4722 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4724 * win32/common/libgstbase.def:
4725 * win32/common/libgstcontroller.def:
4726 * win32/common/libgstdataprotocol.def:
4727 * win32/common/libgstnet.def:
4728 * win32/common/libgstreamer.def:
4729 Add more missing symbols, remove some duplicates, and sort
4730 as the 'sort' command sorts it (partially fixes #493983).
4732 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4734 * gst/gstelement.c: (gst_element_set_state_func):
4735 Only change the state cookie if a different state was set on the
4736 element. See #492729.
4738 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4741 Remove unused and uninitialised type variables that were still
4742 exported for some reason (they were never in any header files
4745 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4747 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4748 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4749 (gst_base_sink_event), (gst_base_sink_get_position_last),
4750 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4751 (gst_base_sink_change_state):
4752 Don't try to report a 0 position when we don't know, return -1 and FALSE
4753 instead. This mostly happens when we are prerolling.
4754 Make sure we can report the right position before we post the ASYNC_DONE
4755 message so that a message handler can query position without races.
4757 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4758 (async_done_handoff), (async_done_func), (send_buffer),
4759 (async_done_eos_func), (gst_sinks_suite):
4760 Add two tests for the above.
4762 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4765 Update with new email address.
4767 * docs/design/part-TODO.txt:
4768 Add some more info about future pad-block and negotiation changes.
4770 * docs/design/part-buffering.txt:
4771 Add some ideas about buffering reporting.
4773 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4775 * tests/check/gst/gstobject.c:
4776 Disable silly racy test that always fails on this combination of CPU
4779 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4781 Patch by: Murray Cumming <murrayc@murrayc.com>
4784 Corrected the registration of the parent-set and parent-unset
4785 signals: The parameter is a GstObject, not a GObject (#493134).
4787 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4789 * gst/gst_private.h:
4798 Move declaration of private _gst_foo_initialize() functions into
4799 our private header file where they should have been all along.
4801 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4803 * docs/plugins/gstreamer-plugins-sections.txt:
4804 * gst/gstdebugutils.h:
4806 * plugins/elements/gstqueue.c:
4807 gtk-doc fixes; trailing-comma-in-enum fix.
4809 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4811 * gst/gst.c: (gst_deinit):
4812 Clean up on deinit (not the external ones though, doesn't seem to be
4813 needed for some reason).
4815 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4817 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4818 Remove __declspec(dllimport) for MSVC that was copied over into core
4819 from a plugin, obviously without ever having been tested (note the
4820 single underscore in _declspec in the initial commit), and that doesn't
4821 really make sense. See #492077.
4823 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4825 * gst/gst.c: (init_post):
4826 * gst/gstevent.c: (_gst_event_initialize):
4827 * gst/gstquery.c: (_gst_query_initialize):
4828 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4829 g_type_class_ref() other types as well, see #349410 and #64764.
4831 * gst/gstbuffer.c: (_gst_buffer_initialize):
4832 * gst/gstmessage.c: (_gst_message_initialize):
4833 Simplify existing g_type_class_ref().
4835 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4837 * gst/gstformat.c: (_gst_format_initialize):
4838 g_type_class_ref() our GstFormat type to make sure we avoid the
4839 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4840 bug #64764. Should fix intermittent tee unit test failures (#474823).
4842 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4844 * tests/check/elements/tee.c: (test_num_buffers):
4845 Simplify, simplify, simplify - or not. Rewrite unit test
4846 not to use gst_parse_launch(); allow N sub-streams. Increasing
4847 the number of sub-streams seems to reproduce #474823 more easily.
4849 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4851 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4854 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4855 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4856 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4857 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4858 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4859 so use _pipe() directly (#492077).
4861 * win32/common/dirent.c: (_treaddir):
4862 Add a couple of casts to make it build without warnings with MSVC.
4864 * win32/common/libgstreamer.def:
4865 Add some more symbols that need to be exported.
4867 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4869 * tests/examples/metadata/read-metadata.c: (message_loop):
4870 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4871 arriving in a second or third tag message are added to
4872 the tag list as well.
4874 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4876 * libs/gst/base/gstbasesrc.c:
4877 Its "Since:" and not "@Since:". And remove an superflous cast.
4879 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4881 * docs/libs/gstreamer-libs-sections.txt:
4882 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4883 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4884 (gst_base_sink_get_property), (gst_base_sink_render_object),
4885 (gst_base_sink_preroll_object),
4886 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4887 (gst_base_sink_change_state):
4888 * libs/gst/base/gstbasesink.h:
4889 Add a new last-buffer property that contains the last buffer used in
4890 basesink for preroll or rendering. useful for making snapshots.
4891 API: gst_base_sink_get_last_buffer()
4892 API: GstBaseSink::last-buffer
4894 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4896 * docs/gst/running.xml:
4898 * gst/gstdebugutils.c:
4899 * gst/gstdebugutils.h:
4900 * tools/gst-launch.c:
4901 Improve bin graph dumping, by using the envvar to specify a path.
4902 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4904 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4906 * plugins/elements/gsttypefindelement.c:
4907 (gst_type_find_element_handle_event),
4908 (gst_type_find_element_activate):
4909 Post special error message if we can't determine the type of a stream
4912 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4914 * docs/gst/running.xml:
4915 * gst/gstdebugutils.c:
4916 Document new env-var. Add one log-line after dumpng a graph.
4918 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4921 Ugly hack to put the (recently removed and non-portable, apparently)
4922 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4923 GNU ld, because without that 'make check' fails miserably on my debian
4924 stable box. Someone with more knowledge of linker intricacies and
4925 portability issues than me fix this properly please.
4927 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4929 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4930 Reset last seen position after flushing so that we don't report the old
4933 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4935 * gst/gstelementfactory.c: (gst_element_register):
4937 Patch from Alessandro Decina adding get_type_full and
4938 get_protocols_full private vfuncs to the URIHandler interface
4939 to allow bindings to support creating URI handlers.
4940 Partially fixes: #339279
4941 API: GstURIHandlerInterface::get_type_full
4942 API: GstURIHandlerInterface::get_protocols_full
4944 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4946 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4947 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4948 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4949 Make it so that pads are considered linked until a buffer is pushed
4950 and discovered otherwise. This avoids problems with decodebin2 hanging
4951 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4954 Make sure we lock the multiqueue when updating the max-size properties.
4956 Fix a crash on Solaris in a debug statement in get_request_pad that
4957 passes a NULL string to GST_DEBUG.
4959 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4960 (run_output_order_test):
4961 Fix the test to allow the first buffer on not-linked pads to come out
4962 of sequence while multiqueue discovers that they are not-linked.
4964 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4967 * libs/gst/check/Makefile.am:
4968 Use a custom export symbol regex for libgstcheck, as it needs
4969 to export symbols that don't match the standard GStreamer gst_*
4970 pattern, and --export-dynamic is not portable (only works on
4973 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4974 (gst_check_setup_sink_pad):
4975 Make sure to pass a message parameter to the fail_* macros.
4977 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4978 Fix some compiler warnings.
4980 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4982 * tests/check/gst/gststructure.c: (test_to_string):
4983 Disable test that checks that white spaces are not allowed
4984 in structure names or field names, since we need to
4985 support that for now for backwards compatibility reasons.
4987 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4989 * docs/gst/gstreamer-sections.txt:
4992 API: add GST_TAG_ARTIST_SORTNAME
4993 API: add GST_TAG_ALBUM_SORTNAME
4994 API: add GST_TAG_TITLE_SORTNAME
4995 Add tag variants for sorting (#414539).
4997 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4999 * gst/gststructure.c:
5000 Also allow white space for names so we don't break
5001 backwards compatibility.
5003 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5005 * docs/design/part-TODO.txt:
5006 * docs/design/part-segments.txt:
5007 * docs/design/part-streams.txt:
5010 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5012 * docs/gst/gstreamer-sections.txt:
5013 Fixed documentation from my previous commit (added new API add
5014 gst_value_set_structure(), add gst_value_get_structure() and
5015 GST_VALUE_HOLDS_STRUCTURE).
5017 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5019 * gst/gstdebugutils.c:
5020 Reflow code to fix uninitialized variable warning.
5022 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5024 * gst/gstcaps.c: (gst_caps_to_string),
5025 (gst_caps_from_string_inplace):
5026 * gst/gststructure.c: (gst_structure_get_abbrs),
5027 (gst_structure_to_string), (gst_structure_from_string):
5028 * gst/gstvalue.c: (gst_value_set_structure),
5029 (gst_value_get_structure), (gst_value_serialize_structure),
5030 (gst_value_deserialize_structure), (_gst_value_initialize):
5032 * tests/check/gst/gststructure.c: (GST_START_TEST),
5033 (gst_structure_suite):
5034 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5035 Added GstStructure to gst_value_table and its related functions.
5036 Changed gst_structure_to_string to print ';' in the end.
5037 Changed gst_caps_to_string to not print ';' beteween its
5038 fields (structures) anymore and remove the lastes ';' from latest
5039 structure. Now it is possible to have nested structures.
5040 In addition, backward compatibilty is assured by accepting '\0' as
5041 end delimiter. Fixes: #487969.
5042 API: add gst_value_set_structure()
5043 API: add gst_value_get_structure()
5044 API: add GST_VALUE_HOLDS_STRUCTURE
5046 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5049 When no GSource callback has been set up, tell developer
5050 to use a function that actually exists.
5052 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5054 * docs/gst/gstreamer-sections.txt:
5058 * gst/gstdebugutils.c:
5059 * gst/gstdebugutils.h:
5062 * tools/gst-launch.c:
5063 Allow dumping pipelines as dot graphs. Fixes #456573.
5065 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5067 * gst/gststructure.c:
5068 Allow '+' as well, it can be part of media or mime types
5069 such as image/svg+xml.
5071 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5073 * docs/gst/gstreamer-sections.txt:
5076 API: add gst_bus_pop_filtered
5077 API: add gst_bus_timed_pop_filtered
5078 Two new functions for waiting for specific message types on the
5079 bus for a specified amount of time without iterating any main
5080 loops or main contexts.
5082 * tests/check/gst/gstbus.c:
5083 Some tests for the new functions.
5085 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5087 * docs/libs/gstreamer-libs-sections.txt:
5088 Make gtk-doc ignore stuff it should ignore.
5090 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5092 * libs/gst/check/gstcheck.c:
5093 * libs/gst/check/gstcheck.h:
5094 Allow runtime selection of unit tests to run via the GST_CHECKS
5095 environment variable (test case function names, comma-separated).
5097 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5099 * gst/gststructure.c:
5100 * tests/check/gst/gststructure.c:
5101 Revert serialisation change and constrain structure-names after
5102 consensus on irc. Update api documentation to reflect the change.
5104 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5106 * gst/gststructure.c:
5107 Improve serialization and fix tests.
5109 * tests/check/gst/gststructure.c:
5110 Add another test that covers why I actually did the previous structure
5113 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5115 * tools/gst-inspect.c: (print_element_info):
5116 Don't crash when inspecting an element.
5118 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
5120 * tests/check/gst/gststructure.c:
5121 Add unit test for escaping of structure name when serialising
5122 and deserialising to/from strings.
5124 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5126 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5127 (gst_single_queue_new):
5128 * plugins/elements/gstqueue.c: (gst_queue_init),
5129 (gst_queue_push_one):
5130 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5131 upstream is tricked into thinking it can suggest a format downstream
5132 while downstream does not support that format. The real problem is that
5133 core calls acceptcaps when pushing a buffer with new caps, for which we
5134 do a little workaround by setting the caps on the srcpad ourselves
5135 before pushing the buffer (until this is figured out). Fixes #486758.
5137 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5139 * gst/gststructure.c:
5141 Add some more comments and debug output. Quote structure name to fix
5142 deserialisation of some strings.
5144 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5147 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
5148 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
5150 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5152 * tools/gst-inspect.c:
5153 Save approx. 400 1 byte allocs when printing. Use API to acces element
5159 * tools/gst-xmlinspect.c:
5160 Use API to acces element details.
5162 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5165 Fix some spelling errors.
5167 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
5169 * gst/gstbin.c: (bin_handle_async_done):
5170 Correctly set the next state if all of our async children commited their
5171 state. This makes sure we can actually cancel the state change in
5172 progress. Fixes a regression in Rhythmbox when seeking.
5174 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
5177 Don't shadow local variable.
5180 Don't shadow global function name.
5182 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
5184 * gst/gstelementfactory.c:
5185 * gst/gstpluginfeature.c:
5186 * gst/gstpluginfeature.h:
5187 * gst/gstregistrybinary.c:
5188 * gst/gstregistryxml.c:
5189 * gst/gsttypefind.c:
5190 Use already-interned string for the private GstPluginFeature
5193 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
5195 * docs/libs/gstreamer-libs-sections.txt:
5196 Add new API to docs; fixes the build.
5198 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
5200 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
5202 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
5203 (gst_base_sink_event):
5204 * libs/gst/base/gstbasesink.h:
5205 Add function to wait for EOS, subclasses can use this to correctly wait
5206 for devices to drain before performing the EOS logic. Fixes #485343.
5207 API: gst_base_sink_wait_eos()
5209 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
5212 Cast description string constants in GST_PLUGIN_DEFINE macros
5213 to a (gchar*) to make C++ code using these macros compile
5214 without warning with g++-4.2 (see #462737). Even if slightly
5215 ugly, this seems preferable to putting the description strings
5216 into the GLib quark table or making the structure member a
5217 const gchar * and doing casts in core code that allocs and
5218 frees these strings, or requiring a cast in the C++ code.
5220 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5223 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
5224 to print the entire class/function signature into the log
5225 file for C++ code. This only affects C++ code, for C code
5226 everything remains the same.
5228 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
5230 * gst/gstbin.c: (remove_from_queue):
5231 Work around a problem with pipelines containing (semi)loops until a
5232 proper, more complicated solution is ready. See #475455.
5234 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5238 * gst/gstregistrybinary.c:
5239 * gst/gstregistryxml.c:
5240 Put more strings into the GLib quark table. No need to keep
5241 a hundred-something copies of identical version strings,
5242 license strings, package name strings and package origin
5245 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5247 * docs/manual/advanced-dataaccess.xml:
5248 Don't imply that it's okay to unconditionally change
5249 buffer data or buffer metadata in a pad probe callback,
5250 and a bunch of other comments. Fixes #430031.
5252 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5254 * win32/common/gstenumtypes.c:
5255 * win32/common/gstenumtypes.h:
5256 * win32/common/gstversion.h:
5257 Update generated files.
5259 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5261 * docs/manual/advanced-autoplugging.xml:
5262 Prefix section with broken code with a warning (see #342432).
5264 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5266 * docs/manual/appendix-integration.xml:
5267 * docs/manual/basics-init.xml:
5268 Call g_thread_init() before g_option_context_new() to
5269 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
5271 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5273 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5274 (gst_base_sink_queue_object_unlocked),
5275 (gst_base_sink_queue_object), (gst_base_sink_event),
5276 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
5277 When we received EOS and are waiting for when to post the EOS message,
5278 our state is prerolled and we should not return ASYNC.
5279 Reorganize some code paths to implement this behavior.
5281 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5283 Add unit test to verify above EOS fix.
5285 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5287 * plugins/elements/gsttypefindelement.c:
5288 (gst_type_find_element_have_type), (gst_type_find_element_init),
5289 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
5290 Move detecting the input caps of the sinkpad to the setcaps function.
5291 This allows us to update the output caps when we receive new input caps
5292 instead of always using the first detected caps.
5294 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5296 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5297 (gst_base_sink_get_position):
5298 Don't try to preroll non-async elements after a flush.
5299 Subtract latency form clock times when reporting position.
5301 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5303 * gst/gstpad.c: (gst_pad_pause_task):
5305 Small comment and documentation update.
5307 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5309 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5310 (gst_base_src_set_live), (gst_base_src_is_live),
5311 (gst_base_src_query_latency), (gst_base_src_perform_seek),
5312 (gst_base_src_default_event), (gst_base_src_wait),
5313 (gst_base_src_do_sync), (gst_base_src_get_range),
5314 (gst_base_src_pad_get_range), (gst_base_src_loop),
5315 (gst_base_src_unlock), (gst_base_src_unlock_stop),
5316 (gst_base_src_set_flushing), (gst_base_src_set_playing),
5317 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5318 (gst_base_src_change_state):
5319 Rework the locking of basesrc in a similar fashion to basesink. We
5320 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
5321 us to handle live sources and semi live ones much better.
5323 Fix unlocking when seeking, shutting down and pausing in live sources.
5325 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5327 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
5328 Fix compilation again.
5330 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5333 Use meaningful categories for the logs to clean the default one.
5335 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5337 * tests/check/pipelines/cleanup.c:
5338 Print message name and not just number.
5340 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5342 * docs/design/draft-tagreading.txt:
5343 Add some more thoughts.
5345 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5347 * tests/check/pipelines/simple-launch-lines.c:
5348 Print message name and not just number.
5350 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5352 * libs/gst/base/gsttypefindhelper.c:
5353 Speedup typefinding. This is work in progress (see #459862).
5355 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5358 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
5359 Spotted by Josep Torra Valles <josep@fluendo.com>.
5361 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
5364 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5365 field has moved to GstObject.
5367 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
5369 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
5370 (gst_base_src_get_range), (gst_base_src_change_state):
5371 Call unlock for live sources so that they can't get stuck in _create and
5372 produce a buffer before they are set back to PLAYING.
5374 2007-10-02 Edward Hervey <bilboed@bilboed.com>
5376 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5377 (gst_queue_locked_dequeue):
5378 Comment the segment-related code... in the PROPER function.
5379 See #482147 and my commit from yesterday.
5381 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
5383 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5384 Also initialize the counter that calculates the first timestamp on a
5385 buffer correctly for non-live sources.
5387 2007-10-01 Edward Hervey <bilboed@bilboed.com>
5389 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
5390 Disable code that's breaking the current-time-level reporting.
5393 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
5395 * docs/gst/gstreamer-sections.txt:
5396 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5397 as they shouldn't show up. Fixes the docs build.
5399 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
5402 Add an explicit variable importation needed on VS6 (only for MSC_VER)
5403 Define M_PI which is used in files which are including gstinfo.h.
5404 VS6 includes doesn't define it.
5405 * win32/common/libgstbase.def:
5406 * win32/common/libgstcontroller.def:
5407 * win32/common/libgstreamer.def:
5408 Add new exported functions and variables.
5409 * win32/vs6/libgstcontroller.dsp:
5410 * win32/vs6/libgstreamer.dsp:
5411 Update the list of files to build.
5413 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5415 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5417 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5418 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5419 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5420 Improve debugging. Fixes #480858.
5422 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5424 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5426 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5427 First patch of code cleanups, use the macros and right arguments in the
5428 macros to signal and lock the queue. See #480858.
5430 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
5432 * gst/gstbus.c: (poll_func):
5433 Improve debugging when dealing with _poll().
5435 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
5437 * gst/gstregistryxml.c:
5438 Fix memory leak I introduced a few days ago.
5440 2007-09-26 Michael Smith <msmith@fluendo.com>
5442 * gst/gstbuffer.c: (gst_buffer_finalize):
5443 Make it once again possible to free GstBuffers in the default
5445 The poisoning scribbles on parts of the miniobject we need in
5449 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
5451 * docs/gst/gstreamer-sections.txt:
5454 API: add GST_TAG_COMPOSER, fixes #459809.
5456 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
5460 Add the 3-clause BSD license and the MIT/X11 license to the license
5461 list. Fixes #479784.
5463 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
5465 * docs/faq/getting.xml:
5466 Add Q+A about different GStreamer versions (#364056).
5468 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5470 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5471 (gst_base_sink_event), (gst_base_sink_change_state):
5472 Return correct gboolean from query function.
5474 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5476 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5477 (gst_base_sink_event), (gst_base_sink_query),
5478 (gst_base_sink_change_state):
5479 Simplify latency query.
5480 When not synchronizing, we can report latency without querying the peer
5483 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5487 Fix small typos in the docs.
5489 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5491 * docs/design/draft-latency.txt:
5492 * docs/design/draft-push-pull.txt:
5493 * docs/design/draft-tagreading.txt:
5494 * docs/design/part-MT-refcounting.txt:
5495 * docs/design/part-activation.txt:
5496 * docs/design/part-block.txt:
5497 * docs/design/part-element-source.txt:
5498 * docs/design/part-events.txt:
5499 * docs/design/part-gstbin.txt:
5500 * docs/design/part-gstelement.txt:
5501 * docs/design/part-gstobject.txt:
5502 * docs/design/part-gstpipeline.txt:
5503 * docs/design/part-messages.txt:
5504 * docs/design/part-preroll.txt:
5505 * docs/design/part-push-pull.txt:
5506 * docs/design/part-qos.txt:
5507 * docs/design/part-query.txt:
5508 * docs/design/part-scheduling.txt:
5509 * docs/design/part-seeking.txt:
5510 * docs/design/part-segments.txt:
5511 * docs/design/part-states.txt:
5512 Documentation updates and typo fixes.
5514 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
5516 * plugins/elements/gstfakesink.c:
5517 Add some debug text to error message to indicate that
5518 we errored out on request.
5520 * tools/gst-launch.c:
5521 When the state change to PLAYING fails, check for an
5522 error message on the bus and print it.
5524 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5526 translated by: Jorge González González <aloriel@gmail.com>
5530 Added Spanish translation.
5532 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
5534 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5535 Fix printf arguments.
5537 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5539 * tests/check/generic/states.c:
5540 Improved state change unit test.
5542 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5545 Move priv to the right place.
5547 * gst/gstsystemclock.c:
5548 Add FIXME: and improve log.
5550 * tests/check/Makefile.am:
5551 * tests/examples/manual/Makefile.am:
5552 Work with all types of registries.
5554 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
5556 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5557 Don't unref the event after pushing it. Fixes #478401.
5559 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5562 * tests/examples/manual/.cvsignore:
5563 Ignore registries in any format.
5565 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
5567 * gst/glib-compat-private.h:
5568 Add compatibility macro for g_intern_string() for
5569 GLib-2.8 (any reason we can't just bump the
5570 requirement to at least 2.10?)
5572 * gst/gstpadtemplate.h:
5573 * gst/gstelementfactory.c:
5574 * gst/gstregistryxml.c:
5575 * gst/gstregistrybinary.c:
5576 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5577 up the internal code accordingly. This shouldn't be a problem, since
5578 there is no reason external code could ever assume the string in such
5579 a structure is dynamically allocated unless it did that itself; the
5580 use of g_strdup() is private to element factories. The new code also
5581 saves some memory by putting pad template name strings into the GLib
5582 quark table instead of allocating them dynamically.
5583 Declaring this field constant fixes warnings with g++-4.2 when using
5584 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5586 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5588 * gst/gstelementfactory.c:
5589 Release static caps. Fixes #475723.
5591 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
5595 Make some internal API take const gchar * instead of just
5596 gchar * to avoid compiler warnings with g++-4.2.2 when
5597 passing string constants (partially fixes #478092).
5599 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5601 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5602 A latency query fails when one of the sinks fail.
5604 * gst/gstelement.c: (gst_element_set_base_time):
5607 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5609 * gst/gstbin.c: (gst_bin_continue_func):
5610 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5611 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5612 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5614 Fix minor compilation warnings shown with Forte.
5616 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5618 * plugins/elements/gstqueue.c: (apply_buffer),
5619 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5620 Measure queue level based on the diff between head and tail timestamps
5621 even when pushing the first buffer.
5623 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5625 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5626 (gst_base_sink_event), (gst_base_sink_change_state):
5627 Sinks that don't preroll can always be queried for the latency.
5628 Don't post ASYNC start when we are not async.
5630 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5632 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5633 (gst_queue_handle_sink_event), (gst_queue_chain),
5634 (gst_queue_push_one), (gst_queue_handle_src_query),
5635 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5636 * plugins/elements/gstqueue.h:
5637 When downstream returns UNEXPECTED from pushing a buffer, don't try to
5638 push more buffers but allow pushing of EOS and NEWSEGMENT.
5639 Add some more debug info here and there. Fixes #476514.
5641 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5643 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5644 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5645 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5646 (gst_base_sink_set_flushing), (gst_base_sink_query),
5647 (gst_base_sink_change_state):
5648 Latency query is allowed after we are prerolled. Introduce a new flag
5649 for this and stop abusing other variables.
5651 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5653 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5654 Push OOB events downstream when we get them in send_event. This allows
5655 the application to insert events in the pipeline.
5656 Add some more comments.
5658 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5660 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5661 (do_bin_latency), (gst_bin_change_state_func):
5662 * gst/gstpipeline.c: (gst_pipeline_change_state):
5663 Move latency query from GstPipeline to GstBin so that we can also
5664 use it when async-handling is enabled on bins.
5666 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5668 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5669 (gst_base_src_do_sync), (gst_base_src_change_state):
5671 Clean up the timestamping and syncing code for pseudo live sources.
5673 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5675 Patch by: Steve Fink <sphink gmail com>
5677 * docs/manual/appendix-checklist.xml:
5678 Mention less -R switch in the section about debug output (#474055).
5680 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5682 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5683 Queue can latency to the pipeline up to the configured max size in time.
5684 Report this fact in the latency query.
5686 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5688 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5690 * libs/gst/controller/gstinterpolation.c:
5691 * libs/gst/controller/gstlfocontrolsource.c:
5692 Use gst_guint64_to_gdouble() when converting from a uint64 or
5693 GstClockTime to double to fix the build on win32. Fixes #474371.
5695 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5697 * gst/gstbuffer.c: (gst_buffer_finalize):
5698 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5699 When finalizing a buffer the complete struct is filled with 0xff,
5700 thus making a use of the buffer after the final unref impossible.
5702 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5704 * tests/check/libs/controller.c: (GST_START_TEST):
5705 Use fail_unless_equals_int(a, b) instead of
5706 fail_unless_equals (a == b) to get better output on failures.
5708 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5710 * tests/check/gst/gsturi.c:
5711 Also check for the other file URI variant on win32.
5713 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5715 * gst/gsturi.c: (gst_uri_get_location):
5716 If there's no hostname, we want to return 'c:/foo/bar.txt'
5717 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5719 * tests/check/gst/gsturi.c:
5720 Unit test for the above and a few more things.
5722 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5724 * docs/design/part-live-source.txt:
5725 Add docs on how live sources should timestamp.
5727 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5728 Add some more debug info.
5729 For subclasses that are live and like to sync, add aditional startup
5730 latency to sync time and timestamps so that we timstamp according to the
5733 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5736 Also do a g_type_class_ref() for the subbuffer type in
5739 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5741 * docs/gst/gstreamer-sections.txt:
5742 * gst/gstpad.c: (gst_pad_peer_query):
5744 Add function to perform a query on the peer of a pad.
5745 API: gst_pad_peer_query()
5747 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5749 * tests/check/gst/gstsystemclock.c:
5750 Cleanup the test a little (use gst-logging and not g_message). Improve
5751 test to check if a wait reached the target.
5753 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5755 * docs/libs/gstreamer-libs-sections.txt:
5756 Add new API to docs and fix the build.
5758 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5760 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5761 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5762 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5763 (gst_base_src_get_property), (gst_base_src_do_sync):
5764 * libs/gst/base/gstbasesrc.h:
5765 Add property to make the basesrc timestamp buffers based on the current
5767 API: GstBaseSrc::do-timestamp
5768 API: gst_base_src_set_do_timestamp()
5769 API: gst_base_src_get_do_timestamp()
5771 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5773 * docs/random/release:
5774 Really make sure translations are up-to-date before
5775 a release (#465010).
5777 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5779 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5780 Always destroy the timer, also in error cases.
5782 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5784 * docs/manual/highlevel-xml.xml:
5785 Fix XML example code. Fixes #472714.
5787 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5789 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5790 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5791 (gst_base_sink_query):
5792 Protect eos and have_preroll with the OBJECT lock so we don't need to
5793 take the PREROLL lock when querying the latency. Fixes #473846.
5795 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5798 Give some log-messages a category.
5800 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5802 * gst/gststructure.c:
5803 (gst_structure_fixate_field_nearest_fraction):
5804 Fix fraction list fixation code. Take the fraction with the smallest
5805 difference with the target instead of the first one in the list.
5807 * tests/check/gst/gststructure.c: (GST_START_TEST),
5808 (gst_structure_suite):
5809 Added test to verify correct fraction list fixation behaviour.
5811 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5813 * win32/common/libgstreamer.def:
5814 Export gst_bus_add_signal_watch too.
5816 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5818 * docs/libs/gstreamer-libs-sections.txt:
5819 Add new methods to docs.
5821 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5822 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5823 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5824 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5825 * libs/gst/base/gstbasesink.h:
5826 Add ts-offset property to fine-tune the synchronisation.
5827 API: GstBaseSink::ts-offset property
5828 API: gst_base_sink_set_ts_offset()
5829 API: gst_base_sink_get_ts_offset()
5831 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5833 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5834 (gst_base_sink_init), (gst_base_sink_set_sync),
5835 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5836 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5837 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5838 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5839 (gst_base_sink_get_property), (gst_base_sink_change_state):
5840 * libs/gst/base/gstbasesink.h:
5841 Add async property to instruct the sink never to inform the parent about
5842 ASYNC state changes, update docs.
5843 Check argument with g_return_* for the public functions.
5844 API: GstBaseSink::async property
5845 API: gst_base_sink_set_async_enabled()
5846 API: gst_base_sink_is_async_enabled()
5848 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5850 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5853 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5854 (gst_base_src_default_query), (gst_base_src_wait),
5855 (gst_base_src_do_sync), (gst_base_src_change_state):
5856 Rearrange some code so that we can add support for measuring the
5859 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5861 * docs/random/ensonic/dynlink.txt:
5862 More thoughs on this.
5864 * plugins/elements/gstcapsfilter.c:
5865 Add bugzilla ticket number to FIXME comment.
5867 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5869 * docs/design/part-TODO.txt:
5870 * docs/design/part-block.txt:
5873 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5876 Revert patch which uses $(gst_headers) instead of $^ because it
5879 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5881 * tests/check/gst/gstbin.c: (GST_START_TEST):
5882 Fix leaks in the new unit test.
5884 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5887 Don't use GST_INFO before the debug system is actually initialised
5888 (shouldn't do any harm, but won't print anything either, so we can
5889 just as well remove it).
5892 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5893 compilers that don't support variadic macros (such as MSVC), should
5894 check for debug_level <= __gst_debug_min as well, since that's the
5895 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5896 inline helper functions. Should improve performance a bit, but also
5897 makes sure uses of GST_INFO et.al are ignored if the debugging
5898 system isn't initialised yet (instead of printing an assertion
5901 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5903 patch by: David Nečas <yeti@physics.muni.cz>
5906 Replace some non portable makefile constructs.
5908 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5910 * common/gtk-doc-plugins.mak:
5911 Grrrrr. Don't remove the types file on make clean.
5913 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5915 * tools/gst-launch.1.in:
5916 Add colorspace to example pipeline. Fixes #458274.
5918 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5920 * docs/random/release:
5921 The release manager should run 'make download-po' before making a
5922 release to make sure translations are up-to-date.
5928 Add some new translations.
5930 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5932 * tools/gst-launch.c: (event_loop), (main):
5933 Don´t try to do any state management when a live pipeline posts
5935 Also make the buffering string translatable.
5937 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5939 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5940 (bin_handle_async_start), (gst_bin_handle_message_func):
5942 When adding elements, insert messages into the bus of the newly added
5943 element and make sure the element is the source of the message. This
5944 allows the parent bin to intercept the message and do the
5945 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5946 messages to the app (which is not allowed).
5949 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5950 Fix testsuite so that is does not work around messages that should not
5951 have been posted in the first place.
5953 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5955 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5956 (update_degree), (gst_bin_sort_iterator_next):
5957 Fix annoying bug in the sorted iterator where a sink that is not really
5958 a sink (when it has downstream links) screwed up the iterator.
5960 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5961 Unit test to verify the fix.
5963 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5966 Add some more docs for the messages.
5968 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5969 (gst_base_sink_query):
5970 Add some more debugging.
5972 * tools/gst-launch.c: (event_loop):
5973 When interrupting, don't try to set pipeline to PAUSED twice.
5975 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5978 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5979 (bin_handle_async_start), (gst_bin_handle_message_func):
5980 Move ASYNC_START message posting to where it belongs, similar to
5982 Don't post ASYNC_START when we are in error.
5983 Post ASYNC_START when we added an async element to a bin.
5985 2007-08-14 Julien MOUTTE <julien@moutte.net>
5987 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5988 generation from vargs. Fixes #466595.
5990 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5992 * gst/gstbin.c: (gst_bin_element_set_state):
5993 Always change the state of a NO_PREROLL element even if it has ASYNC
5994 elements inside (in case of a bin).
5996 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5997 Unit test for this case.
5999 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6001 * libs/gst/check/gstbufferstraw.c:
6002 * libs/gst/check/gstcheck.h:
6003 * libs/gst/controller/gstcontroller.c:
6004 * libs/gst/controller/gstcontrolsource.h:
6005 * libs/gst/controller/gstlfocontrolsource.h:
6006 * plugins/elements/gstcapsfilter.h:
6007 * plugins/elements/gstfdsink.h:
6008 * plugins/elements/gstfdsrc.h:
6009 Add more missing docs.
6011 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6013 * gst/gststructure.c:
6014 Add Since tag to docs.
6016 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6018 * docs/gst/gstreamer-sections.txt:
6019 * gst/gststructure.c: (gst_structure_get_uint):
6020 * gst/gststructure.h:
6021 Add function to get uint from a structure.
6022 API: gst_structure_get_uint()
6024 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6026 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6027 (gst_caps_intersect):
6028 Fix proper check for simple caps.
6030 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6032 * docs/gst/Makefile.am:
6033 * docs/libs/Makefile.am:
6034 Remove cruft and do some cleanups.
6036 * docs/gst/gstreamer-docs.sgml:
6037 * docs/libs/gstreamer-libs-docs.sgml:
6038 Prepare for comming gtkdoc features (rebase against online docs).
6040 2007-08-10 Michael Smith <msmith@fluendo.com>
6042 * docs/gst/gstreamer-sections.txt:
6043 Add gst_registry_add_path to docs.
6045 2007-08-10 Michael Smith <msmith@fluendo.com>
6047 * gst/gstregistry.h:
6048 Add gst_registry_add_path, which was missing from this header.
6050 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6052 * libs/gst/controller/gstlfocontrolsource.c:
6055 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6057 * libs/gst/base/gstbasesink.c:
6058 Don't send an async_start message during downwards state change if
6059 target state is less than READY
6061 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6063 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6067 Added Hungarian translation.
6069 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6076 Updated translations.
6078 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6080 * libs/gst/controller/Makefile.am:
6081 Dist gstlfocontrolsourceprivate.h
6083 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6085 * docs/libs/gstreamer-libs.types:
6086 Don't register the enum type gst_lfo_waveform_get_type() in the
6087 .types file - only GObject derived types belong.
6089 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6091 Patch by: <arenevier at fdn dot fr>
6094 Remove comma from last element in enum to avoid compile errors when
6095 using -pendantic. Fixes #464366.
6097 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6099 * docs/design/part-TODO.txt:
6100 Add some more TODO items
6102 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6105 * gst/gstcaps.c: (gst_caps_intersect):
6106 Optimize trivial intersection case between identical caps pointers.
6108 * gst/gstelement.c: (gst_element_continue_state),
6109 (gst_element_set_state_func):
6111 Fix spelling and grammar mistakes.
6113 2007-08-05 Stefan Kost <ensonic@users.sf.net>
6117 Update POTFILES. Fixes #461599.
6119 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6122 Fix confusing typo in debug output.
6124 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6126 reviewed by: Stefan Kost <ensonic@users.sf.net>
6128 * libs/gst/controller/Makefile.am:
6129 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6130 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6131 (gst_lfo_control_source_new),
6132 (gst_lfo_control_source_set_waveform),
6133 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6134 (gst_lfo_control_source_finalize),
6135 (gst_lfo_control_source_dispose),
6136 (gst_lfo_control_source_set_property),
6137 (gst_lfo_control_source_get_property),
6138 (gst_lfo_control_source_class_init):
6139 * libs/gst/controller/gstlfocontrolsource.h:
6140 * libs/gst/controller/gstlfocontrolsourceprivate.h:
6141 API: Add GstLFOControlSource, a control source that gives values
6142 for specific timestamps based on several periodic waveforms.
6145 * tests/check/libs/controller.c: (GST_START_TEST),
6146 (gst_controller_suite):
6147 * docs/libs/gstreamer-libs-docs.sgml:
6148 * docs/libs/gstreamer-libs-sections.txt:
6149 * docs/libs/gstreamer-libs.types:
6150 Add documentation and unit tests for GstLFOControlSource.
6152 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
6157 === release 0.10.14 ===
6159 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
6162 releasing 0.10.14, "Breathing Vacuum"
6164 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
6166 * gst/gstelement.c: (gst_element_class_set_details_simple):
6168 Make strings passed to gst_element_class_set_details_simple()
6169 constant, as they should be (#462752).
6171 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
6173 * gst/gstbin.c: (gst_bin_change_state_func),
6174 (bin_handle_async_done), (gst_bin_handle_message_func):
6175 Don't forget about the fact that some element went ASYNC even after a
6176 resync. This makes us post the ASYNC_DONE message correctly.
6179 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6181 * gst/gstregistry.c: (gst_registry_add_feature):
6182 When replacing an existing feature in the registry, make sure to
6183 continue holding a reference until we've replaced the name string
6184 within our feature hash table. Make sure to use g_hash_table_replace
6185 instead of g_hash_table_insert to ensure the new name string is used
6186 as a key instead of the old one that we're about to free.
6189 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6191 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6192 (gst_plugin_feature_set_name):
6193 Revert patch from #459466 until after the release and we can work
6194 out exactly what the problem is (if any).
6196 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
6198 * docs/gst/gstreamer-sections.txt:
6201 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
6203 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6205 * docs/libs/Makefile.am:
6206 Include our build-prefix libs and includes before the generic ones to
6207 avoid linking against the installed libs when we want the build-tree
6210 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
6212 Patch by: Steve Fink <sphink gmail com>
6214 * docs/pwg/building-testapp.xml:
6215 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
6216 if people try to build or install the example from the plugin
6217 template against a GStreamer from package using the configure
6220 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
6222 Patch by: Steve Fink <sphink gmail com>
6224 * tools/gst-inspect.1.in:
6225 Document --print-all and --print-plugin-auto-install-info command
6226 line options in man page.
6228 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
6230 * docs/gst/gstreamer-sections.txt:
6231 Add docs for new api function.
6233 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
6235 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
6236 * gst/gstelementfactory.h:
6237 API: gst_element_factory_has_interface()
6238 Added method to check if an element factory implements a named
6241 2007-07-25 Stefan Kost <ensonic@users.sf.net>
6244 * docs/gst/gstreamer.types.in:
6245 Another conditional doc check.
6248 * gst/gstparamspecs.h:
6249 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6254 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6256 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
6257 (gst_registry_binary_load_feature),
6258 (gst_registry_binary_load_plugin),
6259 (gst_registry_binary_read_cache):
6260 Print error just once and with additional info.
6262 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6264 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
6265 (helper_find_suggest), (helper_find_get_length),
6266 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
6267 (gst_type_find_helper_for_buffer):
6268 Cleanup the typefindhelper code and add private doc comments.
6270 2007-07-24 Edward Hervey <bilboed@bilboed.com>
6272 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6273 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
6274 Fix capsfilter for cases where the caps set on capsfilter will provide
6275 additional information.
6278 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6280 * gst/gsttypefindfactory.c:
6281 Fix docs that recommened wrong function to use.
6283 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6285 * tools/gst-inspect.c: (print_plugin_features):
6286 Also give media-type for typefinders in element output.
6288 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6290 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
6291 (gst_registry_remove_features_for_plugin_unlocked),
6292 (gst_registry_add_feature), (gst_registry_remove_feature),
6293 (gst_registry_lookup_feature_locked):
6294 * gst/gstregistry.h:
6295 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
6298 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6300 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6301 (gst_plugin_feature_set_name):
6302 Avoid double memory usage for pluginfeature names. Fixes #459466.
6304 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
6307 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
6308 driving the pipeline may need to explicitly check for NOT_LINKED as
6309 well, since IS_FATAL doesn't cover that.
6311 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
6313 * docs/pwg/advanced-types.xml:
6314 Fix typo and duplicate entry in video formats list.
6316 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
6318 * libs/gst/controller/gstinterpolation.c:
6319 Also round to the nearest int when using cubic interpolation.
6321 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
6323 * libs/gst/controller/gstinterpolation.c:
6324 When linearly interpolating integer types, round to the nearest int
6325 by adding 0.5. Don't do it for float/double types.
6326 Fixes the failing controller test on my machine, which is somehow
6327 rounding differently than on the buildbots.
6329 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6331 * tools/gst-plot-timeline.py:
6332 Better log parsing (categories can have -). Adjust text vs. lines, so
6333 that they span the same y-range.
6335 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6337 * docs/random/ensonic/audiobaseclasses.txt:
6338 * docs/random/ensonic/dynlink.txt:
6339 * docs/random/ensonic/profiling.txt:
6342 * docs/random/moving-plugins:
6343 Add note to use g_assert type macros.
6345 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6348 * libs/gst/check/Makefile.am:
6349 Add libm check as we use in for plugins.
6351 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
6353 * gst/gstbin.c: (gst_bin_continue_func):
6354 Check that the state_cookie hasn't changed since the continue_func
6355 was scheduled. Avoids problems where the state changes back to
6356 something it shouldn't be because it was changed in the meantime.
6358 2007-07-17 Stefan Kost <ensonic@users.sf.net>
6360 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
6361 (gst_registry_binary_save_string),
6362 (gst_registry_binary_save_pad_template),
6363 (gst_registry_binary_save_feature),
6364 (gst_registry_binary_save_plugin),
6365 (gst_registry_binary_load_feature),
6366 (gst_registry_binary_load_plugin),
6367 (gst_registry_binary_read_cache):
6368 Fix memory leak. Be less verbose in the log.
6370 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6372 * tests/check/elements/.cvsignore:
6373 Add file to cvsignore as commanded.
6375 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6377 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6378 (mq_dummypad_event), (run_output_order_test):
6379 Use a GStaticMutex to protect all cases where libcheck
6380 fail_if/fail_unless macros might be called from multiple threads
6381 simultaneously to avoid errors like:
6382 "check_pack.c:107: :-1081725400:Bad message type arg"
6384 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6386 * tests/check/pipelines/stress.c: (GST_START_TEST):
6387 Make sure we set the pipeline back to the NULL state before
6388 dropping our final reference.
6390 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6392 * tests/check/elements/tee.c: (GST_START_TEST):
6393 Make the tee stress-test a little less stressful so it doesn't just
6394 time out on slow-machines, and remove a small race when it's starting
6395 up by adding a get_state() call.
6397 2007-07-16 Stefan Kost <ensonic@users.sf.net>
6400 Avoid reading registry twice on startup. Fixes #457322.
6402 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6404 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6405 * pkgconfig/gstreamer-check.pc.in:
6406 Substitute the CFLAGS for libcheck into our .pc file too so that
6407 dependent modules will pick it up properly if libcheck is installed
6408 into some other prefix.
6410 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6413 Revert the pkg-config check for libcheck, since it pulls in the
6414 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6415 a proper solution, either from the check project, or something else.
6417 2007-07-12 Stefan Kost <ensonic@users.sf.net>
6420 Use pkg-config to locate check.
6422 2007-07-10 Stefan Kost <ensonic@users.sf.net>
6429 Add deprecation guards.
6431 * libs/gst/base/gstcollectpads.h:
6432 Don't document object (this is implicitly private).
6434 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
6436 * gst/gststructure.c: (gst_structure_parse_value):
6437 When deserialising foo=bar without a type cast, check if it's a
6438 boolean before falling back to a string type, otherwise things like
6439 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6440 because the filtercaps end up having a signed=(string)true field,
6441 which causes problems later when intersection caps.
6443 * tests/check/gst/gststructure.c: (GST_START_TEST):
6444 Add a unit test for this.
6446 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
6448 Reviewed by: Stefan Kost <ensonic@users.sf.net>
6450 * libs/gst/controller/Makefile.am:
6451 * libs/gst/controller/gstcontroller.c:
6452 (gst_controlled_property_add_interpolation_control_source),
6453 (gst_controlled_property_new), (gst_controlled_property_free),
6454 (gst_controller_find_controlled_property),
6455 (gst_controller_new_valist), (gst_controller_new_list),
6456 (gst_controller_new), (gst_controller_remove_properties_valist),
6457 (gst_controller_remove_properties_list),
6458 (gst_controller_remove_properties),
6459 (gst_controller_set_property_disabled),
6460 (gst_controller_set_disabled), (gst_controller_set_control_source),
6461 (gst_controller_get_control_source), (gst_controller_get),
6462 (gst_controller_sync_values), (gst_controller_get_value_array),
6463 (_gst_controller_dispose), (gst_controller_get_type),
6464 (gst_controlled_property_set_interpolation_mode),
6465 (gst_controller_set), (gst_controller_set_from_list),
6466 (gst_controller_unset), (gst_controller_unset_all),
6467 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6468 * libs/gst/controller/gstcontroller.h:
6469 * libs/gst/controller/gstcontrollerprivate.h:
6470 * libs/gst/controller/gstcontrolsource.c:
6471 (gst_control_source_class_init), (gst_control_source_init),
6472 (gst_control_source_get_value),
6473 (gst_control_source_get_value_array), (gst_control_source_bind):
6474 * libs/gst/controller/gstcontrolsource.h:
6475 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6476 (gst_object_get_control_source):
6477 * libs/gst/controller/gstinterpolation.c:
6478 (gst_interpolation_control_source_find_control_point_node),
6479 (gst_interpolation_control_source_get_first_value),
6480 (_interpolate_none_get), (interpolate_none_get),
6481 (interpolate_none_get_boolean_value_array),
6482 (interpolate_none_get_enum_value_array),
6483 (interpolate_none_get_string_value_array),
6484 (_interpolate_trigger_get), (interpolate_trigger_get),
6485 (interpolate_trigger_get_boolean_value_array),
6486 (interpolate_trigger_get_enum_value_array),
6487 (interpolate_trigger_get_string_value_array):
6488 * libs/gst/controller/gstinterpolationcontrolsource.c:
6489 (gst_control_point_free), (gst_interpolation_control_source_reset),
6490 (gst_interpolation_control_source_new),
6491 (gst_interpolation_control_source_set_interpolation_mode),
6492 (gst_interpolation_control_source_bind),
6493 (gst_control_point_compare), (gst_control_point_find),
6494 (gst_interpolation_control_source_set_internal),
6495 (gst_interpolation_control_source_set),
6496 (gst_interpolation_control_source_set_from_list),
6497 (gst_interpolation_control_source_unset),
6498 (gst_interpolation_control_source_unset_all),
6499 (gst_interpolation_control_source_get_all),
6500 (gst_interpolation_control_source_get_count),
6501 (gst_interpolation_control_source_init),
6502 (gst_interpolation_control_source_finalize),
6503 (gst_interpolation_control_source_dispose),
6504 (gst_interpolation_control_source_class_init):
6505 * libs/gst/controller/gstinterpolationcontrolsource.h:
6506 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6507 API: Refactor GstController into the core controller which can take
6508 a GstControlSource for providing actual values for timestamps.
6509 Implement a interpolation control source and use this for backward
6510 compatibility, deprecate a bunch of functions that are now handled
6511 by GstControlSource or GstInterpolationControlSource.
6512 Make it possible to disable the controller completely or only for
6513 specific properties. Fixes #450711.
6514 * docs/libs/gstreamer-libs-docs.sgml:
6515 * docs/libs/gstreamer-libs-sections.txt:
6516 * docs/libs/gstreamer-libs.types:
6517 Add new functions and classes to the docs.
6518 * tests/check/libs/controller.c: (GST_START_TEST),
6519 (gst_controller_suite):
6520 * tests/examples/controller/audio-example.c: (main):
6521 Port unit test and example to the new API and add some new
6524 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
6526 Patch by: Mark Nauwelaerts <manauw at skynet be>
6528 * plugins/elements/gstmultiqueue.c:
6529 (gst_multi_queue_get_internal_links), (apply_buffer),
6530 (single_queue_overrun_cb), (gst_single_queue_new):
6531 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6532 the pipeline layout can be tracked correctly. Fixes #453732.
6534 2007-07-05 Stefan Kost <ensonic@users.sf.net>
6536 * docs/gst/Makefile.am:
6537 * docs/libs/Makefile.am:
6538 * docs/plugins/Makefile.am:
6539 Simplify --extra-dir as gtkdoc scans recursively.
6541 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6543 * tools/gst-launch.c: (main):
6544 When we got an error, there is no point in waiting for preroll when
6547 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6549 * plugins/elements/gsttee.c: (gst_tee_base_init),
6550 (gst_tee_request_new_pad), (gst_tee_release_pad),
6551 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6552 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6554 Be a lot smarter when deciding what srcpad to use for proxying
6555 the buffer_alloc. Also handle pad added/removed when doing so.
6557 Keep track of what pads we already pushed on in case we have pads
6558 added/removed while pushing. Fixes #374639
6560 * tests/check/Makefile.am:
6561 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6563 Added unit test for pad resync.
6565 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6569 Updated translations.
6571 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6573 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6577 Added new Finnish translation.
6579 2007-06-28 Wim Taymans <wim@fluendo.com>
6581 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6582 (single_queue_overrun_cb):
6583 When figuring out when a queue is filled, use our internal time estimate
6584 based on segments, just like check_full does.
6586 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6588 * gst/gstminiobject.c: (gst_mini_object_get_type):
6589 Remove 3 do-nothing methods.
6591 2007-06-27 Wim Taymans <wim@fluendo.com>
6593 Patch by: Tim Angus <tim at ngus dot net>
6595 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6596 (gst_capsfilter_set_property):
6597 Take a reference instead of a copy when setting "caps".
6598 Fix documentation to clarify this behaviour. Fixes #449414.
6600 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6602 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6603 * gst/gstplugin.c: (gst_plugin_init):
6604 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6605 * gst/gstquery.c: (gst_query_get_type):
6606 * gst/gstregistry.c: (gst_registry_init):
6607 * gst/gsturi.c: (gst_uri_handler_base_init):
6608 Remove empty instance_init() functions to save relocs and lessen the
6609 noise. Remove some of the function prototypes that are doubled by
6612 2007-06-27 Wim Taymans <wim@fluendo.com>
6614 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6616 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6617 Add peer and direction in the XML serialisation of ghostpads.
6620 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6623 Preserve useful information, thanks Tim.
6625 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
6627 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6628 (gst_single_queue_flush), (apply_segment), (apply_buffer),
6629 (gst_single_queue_push_one), (gst_multi_queue_loop),
6630 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6631 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6632 (compute_high_id), (gst_single_queue_new):
6633 * plugins/elements/gstmultiqueue.h:
6634 Take the multiqueue lock when updating the fill level so we don't get
6637 After applying a buffer or event on the src pad segment, make sure to
6638 call gst_data_queue_limits_changed() to get the data queue to unblock
6639 and check the filled state again.
6641 Rework the not-linked pad handling so the logic is that not-linked
6642 pads can push as fast as they like, but only so they never get
6643 ahead of any linked pads.
6645 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6646 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6647 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6649 Add a test to check that not-linked pads always stay behind
6654 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
6656 * docs/random/release:
6657 Some updates to the release procedure.
6659 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6661 * gst/gstelementfactory.c: (__gst_element_details_clear):
6662 Microoptimization that saves stunning 80 bytes.
6664 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6666 * docs/plugins/gstreamer-plugins.args:
6667 * docs/plugins/inspect/plugin-coreelements.xml:
6668 * docs/plugins/inspect/plugin-coreindexers.xml:
6669 Update docs with caps info.
6671 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6674 Updated Italian translation.
6676 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6680 Update Vietnamese translations.
6682 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6684 * libs/gst/base/gstbasesink.c:
6685 Remove unused signal enum.
6687 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6689 * docs/gst/gstreamer-sections.txt:
6691 * gst/gstutils.c: (gst_type_register_static_full):
6692 Beef up and include the docs for gst_type_register_static_full and
6693 gst_element_class_set_details_simple and add the API keyword
6696 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6698 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6699 (update_time_level), (gst_single_queue_push_one),
6700 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6701 (single_queue_overrun_cb), (single_queue_underrun_cb),
6702 (single_queue_check_full):
6703 Fix setting max-* properties after adding queues.
6704 Use IS_FILLED for checking visible items.
6705 Signal overrun if multiple queues overrun.
6706 Add extra debug output.
6707 Patch by: Wim Taymans <wim@fluendo.com>
6709 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6711 * gst/gstelement.c: (gst_element_class_set_details_simple):
6713 * gst/gstutils.c: (gst_type_register_static_full):
6715 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6716 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6717 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6718 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6719 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6720 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6721 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6722 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6723 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6724 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6725 (apply_buffer), (gst_queue_chain):
6726 * plugins/elements/gsttee.c: (gst_tee_base_init):
6727 * plugins/elements/gsttypefindelement.c:
6728 (gst_type_find_element_base_init),
6729 (gst_type_find_element_class_init):
6730 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6731 API: add gst_type_register_static_full
6732 API: add gst_element_class_set_details_simple
6734 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6736 * docs/pwg/advanced-types.xml:
6737 Fix typo in iana.org URI.
6739 2007-06-19 Andy Wingo <wingo@pobox.com>
6741 * tests/check/pipelines/simple-launch-lines.c
6742 (test_state_change_returns): Enable pull-mode tests now that
6743 basesink has been fixed.
6745 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6746 Changed from gst_base_sink_is_prerolled, reversing the sense of
6747 the return value. Returns FALSE also if the sink is in pull mode,
6748 in which case it needs no preroll.
6749 (gst_base_sink_query, gst_base_sink_change_state): Update for
6750 needs_preroll change.
6751 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6752 chaining up, in which we return SUCCESS directly if we activated
6753 in pull mode instead of ASYNC. Involves countering an async_start
6754 message sent before chaining up; not sure if this is correct, in
6755 an ideal world we only send async-start when activating in push
6758 * tests/check/pipelines/simple-launch-lines.c
6759 (test_state_change_returns): New test, partially disabled until
6762 2007-06-19 Wim Taymans <wim@fluendo.com>
6764 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6765 (gst_multi_queue_sink_event):
6768 2007-06-19 Wim Taymans <wim@fluendo.com>
6770 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6771 (gst_bin_change_state_func), (bin_push_state_continue),
6772 (bin_handle_async_start), (bin_handle_async_done),
6773 (gst_bin_handle_message_func):
6774 Move the common code for posting state-change messages into
6776 Broadcast the state signal after we posted the messages.
6777 Mark the bin as busy when it's doing a state-change.
6778 Make sure async-start/done messages don't interfere with the bin's
6779 state when it's busy.
6780 After the state change, let the bin check which elements completed the
6781 state change while it was busy so that it can update its state.
6783 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6785 * docs/random/release:
6786 Add a note about updating the doap file to the release checklist
6788 2007-06-18 Wim Taymans <wim@fluendo.com>
6790 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6791 (gst_single_queue_push_one), (gst_multi_queue_chain),
6792 (gst_multi_queue_sink_event):
6793 Make sure we don't reference the buffer/event after we have given away
6794 ownership in the queue.
6796 2007-06-18 Wim Taymans <wim@fluendo.com>
6798 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6799 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6800 Update queue state _after_ adding the item in the queue because else we
6801 could end up being full without the element added yet.
6803 2007-06-18 Wim Taymans <wim@fluendo.com>
6805 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6806 (gst_bin_remove_func), (gst_bin_get_state_func),
6807 (gst_bin_element_set_state), (gst_bin_continue_func),
6808 (bin_push_state_continue), (bin_handle_async_start),
6809 (bin_handle_async_done), (gst_bin_handle_message_func):
6811 Immediatly commit the toplevel bin state when receiving an async-done
6812 message. This enables us to avoid spawning a thread to commit the state
6813 in some common cases and it also avoids some races.
6814 Avoid spawning a state thread when adding/removing async elements to a
6815 toplevel bin. Instead we immediatly update the bin state.
6816 Get rid of iterating all the children when getting the state in the bin
6817 because it is now always up-to-date.
6818 Fix bug where locked elements would always return _SUCCESS even it they
6819 returned NO_PREROLL before being locked.
6820 Fix the order of the state_change, async-start/done messages that was
6821 sometimes incorrect.
6822 Mark the state_dirty field as deprecated, we don't need it anymore as we
6823 are always up-to-date.
6825 * gst/gstelement.c: (gst_element_get_state_func),
6826 (gst_element_continue_state):
6827 Small debug inprovements.
6828 Return the previous element state return when nothing is pending instead
6829 of blindly returning SUCCESS.
6831 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6833 Add a whole bunch of new testcases.
6835 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6839 Update translations.
6841 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6844 Fix typo in the docs.
6846 2007-06-15 Wim Taymans <wim@fluendo.com>
6848 * docs/libs/gstreamer-libs-sections.txt:
6849 Add docs for new methods.
6851 2007-06-15 Wim Taymans <wim@fluendo.com>
6853 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6854 (gst_multi_queue_item_new):
6855 Don't use GSlice because we don't depend on >= 2.10 yet.
6857 2007-06-15 Wim Taymans <wim@fluendo.com>
6859 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6860 (update_time_level), (apply_segment), (apply_buffer),
6861 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6862 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6863 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6864 (single_queue_underrun_cb), (single_queue_check_full):
6865 Remove debug printf.
6867 2007-06-15 Wim Taymans <wim@fluendo.com>
6869 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6870 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6871 (gst_data_queue_set_flushing), (gst_data_queue_push),
6872 (gst_data_queue_pop), (gst_data_queue_drop_head),
6873 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6874 * libs/gst/base/gstdataqueue.h:
6876 Added methods to get the current levels and to inform the queue that the
6877 'full' limits changed.
6879 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6880 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6881 (gst_single_queue_flush), (update_time_level), (apply_segment),
6882 (apply_buffer), (gst_single_queue_push_one),
6883 (gst_multi_queue_item_steal_object),
6884 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6885 (gst_multi_queue_loop), (gst_multi_queue_chain),
6886 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6887 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6888 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6889 (single_queue_underrun_cb), (single_queue_check_full),
6890 (gst_single_queue_new):
6891 Keep track of time in the queue by measuring the difference between
6892 running_time on input and output. This gives more accurate results and
6893 can compensate for segments correctly.
6894 Make a queue by default only 5 buffers deep. We will now increase the
6895 buffer size depending on the filledness of the other queues.
6896 Factor out commong flush code.
6897 Make sure we don't add additional refcounts to buffers when we can avoid
6899 Propagate GstFlowReturn differently.
6900 Use GSlice for intermediate GstMultiQueueItems.
6902 Resize queues on over and underruns based on filled level of other
6904 When checking if the queue is filled, prefer to measure in time if we
6905 can and fall back to bytes when no time is known.
6907 * plugins/elements/gstqueue.c:
6910 2007-06-15 Wim Taymans <wim@fluendo.com>
6912 * libs/gst/base/gstbasetransform.c:
6913 (gst_base_transform_sink_event):
6914 Work around the brokenness of the event vmethod in basetransform. Prefer
6915 to return TRUE when the subclass returned FALSE (meaning don't forward
6918 * libs/gst/base/gstbasetransform.h:
6921 2007-06-15 Wim Taymans <wim@fluendo.com>
6923 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6924 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6925 (gst_base_src_default_query), (gst_base_src_get_range),
6926 (gst_base_src_start):
6927 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6930 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6932 * docs/pwg/advanced-types.xml:
6933 Added more formats to caps table.
6935 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6937 * tools/gst-launch.c: (main):
6938 Remove crufy code. GOption does not need this workaround.
6940 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6942 * libs/gst/controller/gstcontroller.c:
6943 (gst_controlled_property_set_interpolation_mode):
6944 Fix wrong getter for enums in controller.
6946 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6948 * libs/gst/check/gstcheck.c: (gst_check_init):
6949 Intercept criticals and warnings in the Gst-Phonon log domain, so
6950 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6953 2007-06-14 Edward Hervey <edward@fluendo.com>
6955 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6956 Since this file doesn't include "gst.h" it will not go through the
6957 macros that disable GST_LOG if debugging was disabled.
6959 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6961 * libs/gst/check/Makefile.am:
6962 * libs/gst/check/gstcheck.h:
6963 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6964 * pkgconfig/gstreamer-check.pc.in:
6965 Ugly 'fix' for the controller unit test on the p5 bot: in
6966 fail_unless_equals_float() check whether the values are 'almost
6967 equal' by allowing a small absolute error, which should be good
6968 enough for our use cases (normal numbers and values close to 0).
6969 Proper fixage left to floating point arithmetic aficionados.
6971 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6973 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6974 (gst_base_sink_render_object), (gst_base_sink_get_position):
6975 Add two breaks thats where missing.
6977 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6979 * docs/libs/gstreamer-libs-sections.txt:
6980 * libs/gst/check/gstcheck.h:
6981 API: add fail_unless_equals_float() and assert_equals_float().
6982 Add documentation for some of the macros.
6984 * tests/check/libs/controller.c: (GST_START_TEST):
6985 Use newly-added asserts.
6987 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6989 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6990 Show the caps change in the log to help spotting the case of not
6991 exactly matching caps.
6993 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6995 * docs/pwg/building-boiler.xml:
6996 Fix typos, spotted by Thijs Vermeir (#447190).
6998 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7000 * docs/plugins/tmpl/.cvsignore:
7001 Ignore file to keep the buildbots happy
7003 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7005 * docs/plugins/Makefile.am:
7006 * docs/plugins/gstreamer-plugins-docs.sgml:
7007 * docs/plugins/gstreamer-plugins-sections.txt:
7008 Pull fdsink into the docs too.
7010 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7012 * libs/gst/controller/gstinterpolation.c:
7013 Actually use the new functions with min/max checks for the trigger and
7014 none interpolation modes for get() and get_value_array() instead of
7017 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7019 * libs/gst/controller/gstcontroller.c:
7020 (gst_controlled_property_free):
7021 Unset the minimum and maximum GValues when freeing the corresponding
7022 GstControllerProperty struct.
7024 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7026 * libs/gst/controller/gstcontroller.c:
7027 (gst_controlled_property_new):
7028 * libs/gst/controller/gstcontrollerprivate.h:
7029 * libs/gst/controller/gstinterpolation.c:
7030 (gst_controlled_property_find_control_point_node),
7031 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7032 (interpolate_none_get_string_value_array),
7033 (interpolate_trigger_get),
7034 (interpolate_trigger_get_enum_value_array),
7035 (interpolate_trigger_get_string_value_array):
7036 Protect against values larger or smaller than the minimum or maximum
7037 allowed value for the property when using values that can be compared.
7039 Optimize trigger interpolator a bit by taking the last requested value
7040 into account instead of always looping through the complete list.
7042 Fix coding style a bit, everywhere else we use "return foo" instead
7045 * tests/check/libs/controller.c: (GST_START_TEST),
7046 (gst_controller_suite):
7047 Add unit test for the protection against too large or too small
7050 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7052 * docs/random/slomo/controller.txt:
7053 Add some thoughts about the future of the controller.
7055 2007-06-08 Wim Taymans <wim@fluendo.com>
7057 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7058 Don't overflow in retimestamping code.
7060 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7062 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7063 Use gst_util_guint64_to_gdouble for conversions.
7064 * win32/common/libgstreamer.def:
7065 Add new exported functions.
7067 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7070 Small docs addition.
7072 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7075 Remove that test line again.
7077 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7080 Test commit mail sending.
7082 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7085 Fix typo and test commit mail sending.
7087 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7089 * tests/examples/controller/audio-example.c:
7090 Improve comment and test commit mail sending.
7092 2007-06-07 Wim Taymans <wim@fluendo.com>
7094 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7095 (gst_bin_remove_func), (gst_bin_element_set_state),
7096 (bin_handle_async_start), (bin_handle_async_done),
7097 (gst_bin_handle_message_func):
7098 Add helper function to find messages.
7099 Generate the async-done messages together with the state change
7101 Small cleanups in handling toplevel bins.
7103 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7105 * libs/gst/base/gstdataqueue.c:
7106 * libs/gst/base/gstdataqueue.h:
7107 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7108 (gst_multi_queue_item_new), (gst_multi_queue_chain),
7109 (gst_multi_queue_sink_event):
7110 * tests/check/elements/multiqueue.c: (multiqueue_suite):
7111 Fix multiqueue leaking buffers and events when downstream or the
7112 queue are flushing. Make refcounting assumptions explicit and
7113 document them (shouldn't break existing code that uses it other than
7114 maybe leak miniobjects, but that already happens anyway). Add unit
7115 test for the most common flushing case. Fixes #423700.
7117 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7119 * libs/gst/controller/gstcontroller.c:
7120 Clarify docs: The get_all, get_value_array(s) functions
7121 don't modify the GObject properties.
7123 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7125 * libs/gst/controller/gstcontroller.c:
7126 (gst_controlled_property_set_interpolation_mode),
7127 (gst_controlled_property_prepend_default),
7128 (gst_controlled_property_new), (gst_controller_set_unlocked),
7129 (gst_controller_set), (gst_controller_set_from_list),
7130 (gst_controller_unset), (gst_controller_unset_all):
7131 * libs/gst/controller/gstcontrollerprivate.h:
7132 * libs/gst/controller/gstinterpolation.c:
7133 Factor out the 'set' logic into gst_controller_set_unlocked for the
7134 gst_controller_set and gst_controller_set_from_list functions.
7136 To make life of the interpolators easier always add a control point
7137 at timestamp zero with the default value.
7139 In the linear interpolator make things more obvious by better variable
7142 Implement cubic interpolation mode (by using a natural cubic spline)
7143 and map the quadratic interpolation mode to this too (as quadratic
7144 doesn't make much sense, see discussion on the list).
7146 * tests/check/libs/controller.c: (GST_START_TEST),
7147 (gst_controller_suite):
7148 Add unit test for the cubic interpolation mode and check everywhere
7149 if the interpolation mode could be set as expected.
7151 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7153 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
7154 Don't use GLib-2.10 functions, we still depend on
7155 GLib-how-old-is-it-again-2.8.
7157 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7159 * docs/gst/gstreamer-sections.txt:
7163 * gst/gstparamspecs.c: (_gst_param_fraction_init),
7164 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
7165 (_gst_param_fraction_values_cmp),
7166 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
7167 * gst/gstparamspecs.h:
7169 * tests/check/Makefile.am:
7170 * tests/check/gst/.cvsignore:
7171 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
7172 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
7173 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
7174 (GST_START_TEST), (gst_param_spec_suite):
7175 API: add GstParamSpecFraction, so elements can have fraction
7176 properties without lots of painful string parsing (#444648).
7178 2007-06-05 Wim Taymans <wim@fluendo.com>
7180 * gst/gstobject.c: (gst_object_class_init):
7181 Fix signal signature.
7184 Add small clarification in the api docs.
7186 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
7187 States are protected with object lock.
7189 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7192 I should probably be listed as an author by now.
7194 * docs/random/release:
7195 Update the release doc
7197 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
7200 Make docs for gst_value_compare() mention return enums that
7203 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7208 === release 0.10.13 ===
7210 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7213 releasing 0.10.13, "With or without you"
7215 2007-05-25 Wim Taymans <wim@fluendo.com>
7217 * gst/gstbin.c: (bin_handle_async_done):
7218 Make sure that the child bin stops after completing the async state
7219 change so that the parent can continue the state change to PLAYING.
7222 2007-05-25 Wim Taymans <wim@fluendo.com>
7224 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7225 (unref_data), (gst_collect_pads_remove_pad),
7226 (gst_collect_pads_check_pads):
7227 Use additional refcounting to avoid crashes when dynamically adding and
7228 removing pads. Fixes #420206.
7230 2007-05-24 Wim Taymans <wim@fluendo.com>
7232 * tools/gst-launch.c: (event_loop):
7233 When buffering goes from a two digit to a single digit number, make sure
7234 to remove the old second digit by writing a blank over it.
7236 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
7238 * libs/gst/base/gstdataqueue.c:
7239 Eliminate tabs and trailing comma in enum list; fix some typos.
7241 2007-05-24 Wim Taymans <wim@fluendo.com>
7243 * tests/check/gst/gstbin.c: (GST_START_TEST):
7244 Allow refcount of 3 and 4 because some state thread might still be busy
7247 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
7249 * plugins/elements/Makefile.am:
7250 * plugins/elements/gstmultiqueue.h:
7251 * plugins/elements/gstqueue.h:
7252 These are not installed headers, no need for padding.
7254 2007-05-24 Wim Taymans <wim@fluendo.com>
7256 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
7257 (gst_bin_continue_func):
7258 Enable latency for next release.
7259 Restore STATE_LOCK around recalc_state that was left out during the
7260 rewrite and could result in racy behaviour when _get_state and
7261 recalc_state are run concurrently. See #440463.
7263 2007-05-23 Wim Taymans <wim@fluendo.com>
7265 * tests/check/gst/gstsystemclock.c: (store_callback),
7267 Improve test_async_order to also work when both timers are already
7268 expired when we get scheduled to check it.
7270 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7272 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
7273 (gst_bin_set_property), (gst_bin_get_property),
7274 (gst_bin_remove_func), (gst_bin_handle_message_func):
7276 'private' is a c++ keyword, let's not use that in header files,
7277 otherwise c++ compilers will throw a tantrum.
7279 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7281 * plugins/elements/gstelements.c:
7282 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
7283 (gst_file_sink_get_current_offset):
7284 * plugins/indexers/gstindexers.c: (plugin_init):
7285 Use #ifdef for HAVE_XYZ for consistency.
7287 * tests/check/Makefile.am:
7288 * tests/check/elements/.cvsignore:
7289 * tests/check/elements/filesink.c: (setup_filesink),
7290 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
7291 Add some unit tests for filesink.
7293 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7295 Patch by: Mark Nauwelaerts <manauw at skynet be>
7297 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7298 (gst_file_sink_query), (gst_file_sink_do_seek),
7299 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7300 * plugins/elements/gstfilesink.h:
7301 Fix position reporting; rename data_written member to current_pos to
7302 reflect its real meaning (fixes #412648).
7304 2007-05-22 Edward Hervey <edward@fluendo.com>
7306 * docs/gst/gstreamer-sections.txt:
7307 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7308 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
7309 (gst_bin_remove_func), (gst_bin_handle_message_func):
7311 Add a property for bins that handle the state change of their childs.
7314 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
7316 * libs/gst/controller/gstinterpolation.c:
7317 Use an array of the correct type when using _get_value_array with
7318 linear interpolation.
7320 2007-05-22 Stefan Kost <ensonic@users.sf.net>
7322 * gst/gstelement.c (gst_element_requires_clock,
7323 gst_element_provides_clock, gst_element_request_pad,
7324 gst_element_class_set_details, gst_element_class_set_details_simple,
7325 gst_element_default_send_event, gst_element_abort_state,
7326 gst_element_continue_state, gst_element_set_state,
7327 gst_element_set_state_func, iterator_activate_fold_with_resync):
7328 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
7329 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
7330 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
7331 gst_pad_get_range, gst_pad_pull_range):
7332 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
7333 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
7334 GstPadActivateModeFunction, GstPadChainFunction,
7335 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
7336 GstPadFixateCapsFunction, GstPadTemplate):
7337 * gst/gstpipeline.c (gst_pipeline_change_state,
7338 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
7339 gst_pipeline_set_clock, gst_pipeline_auto_clock,
7340 gst_pipeline_get_delay):
7341 Whitespace and docs fixes.
7343 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7345 * libs/gst/controller/gstinterpolation.c:
7346 (interpolate_trigger_get_enum_value_array),
7347 (interpolate_trigger_get_string_value_array):
7348 Add support for retrieving value arrays when using the trigger
7351 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7353 * libs/gst/controller/gstcontroller.c:
7354 (gst_controller_get_value_array):
7355 * libs/gst/controller/gstcontroller.h:
7356 Clarify the docs of gst_controller_get_value_array(): The array where
7357 the values should be written to must be allocated as there seems to be
7358 no way to get the size of a random GType. This doesn't change any
7359 behaviour. Also fix some typos all over the place and remove an unused,
7360 commented function that is not necessary as g_object_set() could be
7362 * tests/check/libs/controller.c: (GST_START_TEST),
7363 (gst_controller_suite):
7364 Add unit test for gst_controller_get_value_array().
7366 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
7368 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7370 Disable part of the gst_buffer_try_new_and_alloc test, because
7371 it can happily succeed on 64-bit systems where there's more address
7374 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7376 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7377 Add unit test for the improved caps checking from bug #421543.
7379 2007-05-21 Wim Taymans <wim@fluendo.com>
7381 * docs/design/part-synchronisation.txt:
7384 * gst/gstbin.c: (gst_bin_query):
7385 * plugins/elements/gstqueue.c: (apply_segment):
7391 2007-05-21 Wim Taymans <wim@fluendo.com>
7393 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7394 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7395 (gst_pad_configure_src):
7396 Added simple version of improved caps checking. It was previously
7397 assumed that a setcaps function would check the validity of the caps but
7398 people prefer us to check caps against the template automatically.
7401 2007-05-21 Wim Taymans <wim@fluendo.com>
7403 * libs/gst/base/gstbasetransform.h:
7404 Fix macro for locking/unlocking the transform lock.
7406 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
7408 * docs/plugins/tmpl/.cvsignore:
7411 2007-05-18 Edward Hervey <edward@fluendo.com>
7413 * plugins/elements/gstqueue.c: (gst_queue_loop):
7414 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7415 for the subtle art of warning a potentially blocking thread that it
7416 should check the source pad return value, and relay the information
7419 2007-05-18 Edward Hervey <edward@fluendo.com>
7421 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7422 Release the queue lock !
7424 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7426 * docs/libs/gstreamer-libs-sections.txt:
7427 Add the two new controller functions to the appropiate places.
7429 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7431 reviewed by: Stefan Kost <ensonic@users.sf.net>
7433 * libs/gst/controller/gstcontroller.c:
7434 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7435 (_gst_controller_get_property), (_gst_controller_set_property),
7436 (_gst_controller_init), (_gst_controller_class_init):
7437 * libs/gst/controller/gstcontroller.h:
7438 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7439 (gst_object_get_control_rate), (gst_object_set_control_rate):
7440 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7441 Add API that provides sync suggestion timestamps for elements that
7442 call gst_object_sync_values() from which those elements can subdivide
7443 their processing loop to get the best results for the controlled
7444 properties. For now it just suggests last_sync + control_rate as
7445 new timestamp but this will be improved in the future.
7447 While doing that change the control-rate property to a GstClockTime
7448 from guint and change it's meaning from samples to nanoseconds as
7449 the GstController doesn't know anything about sampling rate. Strictly
7450 speaking this breaks ABI but as the control-rate property didn't do
7451 anything in the past and as such couldn't be used this should be no
7454 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7456 reviewed by: Stefan Kost <ensonic@users.sf.net>
7458 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7459 (gst_controller_unset_all):
7460 * libs/gst/controller/gstcontrollerprivate.h:
7461 * libs/gst/controller/gstinterpolation.c:
7462 (gst_controlled_property_find_control_point_node):
7463 Save last synced value from the list to continue searching from there
7464 in future syncs. This speeds everything up a bit.
7466 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7468 reviewed by: Stefan Kost <ensonic@users.sf.net>
7470 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7471 (gst_control_point_find), (gst_controlled_property_new),
7472 (gst_control_point_free), (gst_controlled_property_free),
7473 (gst_controller_set), (gst_controller_set_from_list),
7474 (gst_controller_unset), (gst_controller_unset_all),
7475 (gst_controller_sync_values):
7476 * libs/gst/controller/gstcontroller.h:
7477 * libs/gst/controller/gstcontrollerprivate.h:
7478 * libs/gst/controller/gstinterpolation.c:
7479 (gst_controlled_property_find_control_point_node),
7480 (interpolate_none_get), (interpolate_trigger_get):
7481 Add a new private GstControlPoint struct which "inherits" from
7482 GstTimedValue to allow different interpolators to store internal
7483 values next to each control point. From the outside everything is
7484 still a GstControlPoint so we don't loose binary compatibility.
7485 Also fixup all the GValue handling to not leak GValues or list nodes.
7486 * tests/check/libs/controller.c: (GST_START_TEST):
7487 Free the list nodes and GValues in the controller_misc test.
7489 2007-05-17 Edward Hervey <edward@fluendo.com>
7494 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
7496 * gst/gstplugin.c: (gst_plugin_load_file):
7497 If we fail to load a plugin because of unresolved symbols or missing
7498 libraries and spew a warning to stderr, we may just as well mention
7499 which plugin it was that failed to load.
7501 2007-05-13 David Schleef <ds@schleef.org>
7503 * docs/Makefile.am: the gtk-doc makefile snippet correctly
7504 handles the case when ENABLE_GTK_DOC is false, and installs
7505 the prebuilt documentation. So gtk-doc subdirs are
7506 unconditionally enabled. Fixes: #349099.
7508 2007-05-13 David Schleef <ds@schleef.org>
7510 * gst/gstutils.h: Reword some documentation.
7512 2007-05-12 David Schleef <ds@schleef.org>
7514 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7515 do anything with the passed "module" parameter, so remove it.
7516 Allows removal of additional vestigal code.
7518 2007-05-12 David Schleef <ds@schleef.org>
7521 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7522 Switch to using g_stat() because it's more portable.
7524 2007-05-12 David Schleef <ds@schleef.org>
7527 Add GST_DISABLE_OPTION_PARSING, in order to disable option
7528 parsing for embedded systems.
7529 * gst/gstelementfactory.c:
7530 Allow gst_element_register() to be called with plugin==NULL.
7531 Did nobody notice that static elements were broken?
7533 2007-05-12 Wim Taymans <wim@fluendo.com>
7535 * tools/gst-launch.c: (event_loop):
7536 Give more interesting info when buffering starts and stops.
7537 Fix case where buffering starts but we fail to update the buffering flag
7538 because the target state is not PLAYING.
7540 2007-05-12 Wim Taymans <wim@fluendo.com>
7542 * plugins/elements/gstqueue.c: (gst_queue_init),
7543 (gst_queue_finalize), (update_time_level), (apply_segment),
7544 (apply_buffer), (gst_queue_locked_flush),
7545 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7546 (gst_queue_handle_sink_event), (gst_queue_chain),
7547 (gst_queue_push_one), (gst_queue_loop):
7548 * plugins/elements/gstqueue.h:
7549 Refactor an cleanup queue a bit.
7550 Do better time level calculations that also work when the srcpad is not
7552 Remove some unneeded debug lines.
7554 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7555 Added testcase for time level measurement.
7556 Try to make some stuff more racefree.
7558 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7560 * gst/gsturi.c: (gst_element_make_from_uri):
7561 Don't leak plugin feature.
7563 * tests/check/Makefile.am:
7564 * tests/check/gst/.cvsignore:
7565 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7566 Add brain-dead unit test.
7568 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7570 Patch by: Jeroen Wouters <woutersj at gmail com>
7572 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7573 Treat protocol strings in a case-insensitive way (#437563).
7575 2007-05-11 Michael Smith <msmith@fluendo.com>
7577 * gst/gstplugin.c: (gst_plugin_load_file):
7578 * gst/gstregistry.c: (gst_registry_scan_path_level):
7579 Don't print a g_warning for any failure to load a shared object.
7580 Instead, push this down into gstplugin.c, and warn _only_ if we
7581 failed to open the module (i.e. failure to link).
7582 Avoids warnings on normal, working, non-plugin .so files.
7584 2007-05-11 Stefan Kost <ensonic@users.sf.net>
7586 * gst/gstplugin.c (gst_plugin_load_file):
7587 * gst/gstregistry.c (GST_CAT_DEFAULT,
7588 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7589 Print a g_warning if there was an error when loading a plugins during
7590 registry scan. The shuld help beginners starting with gst-plugin
7593 2007-05-10 Wim Taymans <wim@fluendo.com>
7595 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7596 (update_time_level), (gst_queue_locked_flush),
7597 (gst_queue_handle_sink_event), (gst_queue_chain),
7598 (gst_queue_push_one), (gst_queue_loop):
7599 * plugins/elements/gstqueue.h:
7600 Be smarter when calculating the current amount of data in the queue by
7601 measuring the difference between start and end timestamps (in running
7602 time) inside the queue. Fixes #432876.
7603 API: GstQueue::pushing to notify elements that we are pushing data again
7604 since the running signal is rather broken for this purpose.
7606 2007-05-10 Stefan Kost <ensonic@users.sf.net>
7608 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7609 gst_queue_base_init, gst_queue_init):
7612 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
7614 * win32/common/libgstreamer.def:
7615 Add new exported functions.
7616 * win32/vs6/grammar.dsp:
7617 Use grammar pre-generated files.
7619 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7621 Based on patch by: Peter Kjellerstedt <pkj at axis com>
7624 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7626 * gst/gstutils.c: (gst_parse_bin_from_description):
7628 Maintain API and ABI when --disable-parse is used. Now that
7629 we have an appropriate error code, we can just return NULL and the
7630 appropriate error when gst_parse_launch() is used despite it having
7631 been disabled (#342564).
7633 * tests/check/Makefile.am:
7634 * tests/check/pipelines/.cvsignore:
7635 * tests/check/pipelines/parse-disabled.c:
7636 Make sure these functions exist and return NULL plus a GError when
7637 --disable-parse is used.
7639 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7641 * tests/benchmarks/complexity.c: (main):
7642 * tests/benchmarks/mass-elements.c: (main):
7643 Set a good example and don't leak messages.
7645 2007-05-06 Stefan Kost <ensonic@users.sf.net>
7647 * docs/gst/Makefile.am:
7648 * docs/libs/Makefile.am:
7649 Correct fixxrefs options.
7651 * docs/plugins/Makefile.am:
7652 * docs/plugins/gstreamer-plugins-docs.sgml:
7653 * docs/plugins/gstreamer-plugins-sections.txt:
7654 * plugins/elements/Makefile.am:
7655 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7656 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7657 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7658 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7659 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7660 _GstCapsFilterClass, trans_class):
7661 * plugins/elements/gstelements.c (name, rank, type, _elements):
7662 * plugins/elements/gstidentity.c
7663 (gst_identity_check_imperfect_timestamp,
7664 gst_identity_check_imperfect_offset):
7665 Document capsfilter and add doc-blurb to identity.
7667 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7669 * libs/gst/controller/gstcontroller.c:
7670 (gst_controlled_property_set_interpolation_mode):
7671 * libs/gst/controller/gstinterpolation.c:
7672 Don't crash if someone tries to set an interpolation mode that
7673 is invalid or that isn't supported yet. Fixes #422295.
7675 * tests/check/libs/controller.c: (GST_START_TEST),
7676 (gst_controller_suite):
7677 Add a test case for the above.
7679 2007-05-03 Edward Hervey <edward@fluendo.com>
7681 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7682 Properly set the last_stop position on GstSegment. This will only happen
7683 if there is a buffer to push out.
7685 2007-05-03 Wim Taymans <wim@fluendo.com>
7687 * libs/gst/base/gstbasetransform.c:
7688 (gst_base_transform_buffer_alloc):
7689 always_in_place does not mean that the sink and source caps are the
7690 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7692 2007-05-03 Wim Taymans <wim@fluendo.com>
7694 * docs/libs/gstreamer-libs-sections.txt:
7695 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7696 (gst_base_src_default_query), (gst_base_src_get_range):
7697 * libs/gst/base/gstbasesrc.h:
7698 API: gst_base_src_query_latency(). Added method so that subclasses can
7699 easily get the latency values of the base source class.
7701 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7703 * tools/gst-inspect.c (print_implementation_info):
7706 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7708 * tools/Makefile.am:
7709 * tools/gst-launch.1.in:
7710 Don't create a customised man page based on the host architecture,
7711 describe the default registry path generically. That way the man
7712 page is the same for all architectures and packagers have one
7713 multilib issue less to deal with. Fixes #434926.
7715 2007-05-02 Wim Taymans <wim@fluendo.com>
7718 Fix documentation as spotted by rg on IRC.
7720 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7723 Improve docs for gst_element_{link,unlink}.
7725 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7727 * docs/design/part-events.txt:
7728 * docs/design/part-overview.txt:
7732 * libs/gst/base/gstbasesink.c:
7733 Typo fixes; minor docs addition.
7735 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7737 * docs/gst/gstreamer-sections.txt:
7738 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7739 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7741 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7742 or src that supports a given URI protocol exists.
7744 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7746 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7747 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7748 Set the location to NULL if "file://" is set as URI. Otherwise
7749 some random previous URI would still be set if "file://" is
7750 set on an already used filesink/filesrc.
7752 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7754 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7755 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7756 Special case the "file://" URI as as this is used by some
7757 applications to test with gst_element_make_from_uri if there's
7758 an element that supports the URI protocol.
7759 Also move the g_path_is_absolute() check for the location part
7760 of the URI to also check this for "file://localhost/bla" URIs.
7762 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7764 * docs/gst/gstreamer-sections.txt:
7765 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7767 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7769 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7771 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7773 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7774 (gst_registry_binary_load_pad_template),
7775 (gst_registry_binary_load_plugin),
7776 (gst_registry_binary_read_cache):
7777 * gst/gstregistrybinary.h:
7778 Implement no-mmap alternative for registry reading. Do code cleanups.
7779 Add more comments about avoiding strdups for all text data. Comments
7782 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7784 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7785 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7786 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7787 Comment structs and reformat to fix the build (that stuff should go
7788 into a priv. header).
7790 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7792 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7793 (gst_registry_binary_load_feature):
7794 * gst/gstregistrybinary.h:
7795 Refactor so that we can implement multiple features. Add support for
7796 TypeFindFactory features.
7798 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7800 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7803 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7805 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7807 * gst/gstbin.c: (gst_bin_element_set_state),
7808 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7809 (bin_handle_async_done), (gst_bin_handle_message_func):
7810 Fix build with --gst-disable-gst-debug
7812 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7814 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7815 Make sure streaming has finished before calling the ::stop() vfunc,
7816 since that vfunc might clear state which is being used in the
7817 streaming thread. This fixes a race that caused crashes in
7818 audioresample when shutting down a pipeline (#420106).
7820 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7822 * docs/gst/gstreamer-sections.txt:
7823 That was one byte missing.
7825 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7828 * docs/gst/gstreamer-sections.txt:
7830 * gst/gstconfig.h.in:
7831 * gst/gstobject.c: (gst_object_class_init),
7832 (gst_signal_object_class_init):
7834 2nd attempt to have a xml-less build as a joined effort of #413123
7837 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7839 * docs/design/draft-tagreading.txt:
7840 Added open issues/thoughts to draft.
7842 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7844 * gst/parse/grammar.tab.pre.c:
7845 * gst/parse/grammar.tab.pre.h:
7846 * gst/parse/lex._gst_parse_yy.pre.c:
7847 Update the prebuild parser sources.
7849 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7851 * gst/parse/Makefile.am:
7852 And now fix the building of the flex sources. Now everything should
7855 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7857 * gst/parse/Makefile.am:
7858 Now hopefully fix the build failures by setting proper rule
7859 dependencies and moving instead of copying.
7861 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7863 * tests/benchmarks/complexity.gnuplot:
7864 * tests/benchmarks/complexity.scm:
7865 * tests/benchmarks/mass-elements.gnuplot:
7866 * tests/benchmarks/mass-elements.scm:
7867 Total licensification.
7869 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7871 * gst/parse/Makefile.am:
7872 Fix the build by correcting the rule that gave wrong files to flex.
7874 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7876 * tests/benchmarks/complexity.c:
7877 * tests/benchmarks/mass-elements.c:
7878 Change licence to LGPL as granted by Benjamin and Andy.
7880 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7882 * gst/parse/Makefile.am:
7883 Add correct grammar.tab.h dependency if compiling without new enough
7884 flex. Fixes #431150.
7886 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7888 * gst/parse/Makefile.am:
7889 Fix typo and use outdated sources if the flex/bison sources are newer
7890 than the pregenerated ones but flex is too old. Print a warning in
7891 that case. This should fix the build on the build bot.
7893 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7895 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7896 * gst/parse/Makefile.am:
7897 * gst/parse/grammar.y:
7898 * gst/parse/parse.l:
7899 Make the parser reentrant and recursively callable. This requires flex
7900 >= 2.5.31, for older versions pregenerated sources are used as we
7901 can't bump the build dependency. Finally fixes #349180.
7903 * gst/gstparse.c: (gst_parse_launch):
7904 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7907 * docs/gst/Makefile.am:
7908 * docs/gst/Makefile.am:
7909 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7910 (__gst_parse_strfree), (__gst_parse_link_new),
7911 (__gst_parse_link_free), (__gst_parse_chain_new),
7912 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7913 (gst_parse_element_set), (gst_parse_free_link),
7914 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7915 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7916 (_gst_parse_launch):
7917 * gst/parse/grammar.tab.pre.h:
7918 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7919 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7920 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7921 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7922 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7923 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7924 (_gst_parse_yypop_buffer_state),
7925 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7926 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7927 (yy_fatal_error), (_gst_parse_yyget_extra),
7928 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7929 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7930 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7931 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7932 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7933 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7934 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7935 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7936 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7937 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7938 (_gst_parse_yyfree):
7939 If the installed flex version is too old use pre-generated parser
7940 sources. These pre-generated parser sources are always updated when
7941 the actual flex/bison sources change but require everybody who wants
7942 to change something in the parser to have flex >= 2.5.31 installed.
7944 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7946 * common/m4/gst-gettext.m4:
7947 * gst/gst-i18n-lib.h:
7948 Make --disable-nls to work
7950 2007-04-17 Wim Taymans <wim@fluendo.com>
7952 * gst/gstconfig.h.in:
7953 Revert previous change that broke the build.
7955 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7959 * gst/gstconfig.h.in:
7960 Drop libxml2 dependency when building with
7961 --enable-binary-registry --disable-loadsave
7963 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7965 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7966 (gst_registry_binary_read_cache):
7967 * gst/gstregistrybinary.h:
7968 Remove unnecessary <sys/mman.h> include which broke the win32 build
7969 with MingW; move includes from header file to .c file, even if the
7970 header file isn't installed; use g_strerror() where UTF-8 strings
7971 are expected, such as in GST_DEBUG messages.
7973 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7975 * docs/libs/gstreamer-libs-sections.txt:
7976 Remove bogus addition for API I didn't end up keeping.
7978 * libs/gst/base/gstbasesrc.h:
7979 Mention Since: 0.10.13 in the documentation.
7981 Add the API keyword to the previous ChangeLog entry.
7983 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7985 * docs/libs/gstreamer-libs-sections.txt:
7986 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7987 (gst_base_src_default_prepare_seek_segment),
7988 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7989 * libs/gst/base/gstbasesrc.h:
7990 Allow basesrc derived classes to execute seeks in other formats
7991 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7992 to prepare the GstSegment in any format that their perform_seek method
7993 will be able to understand. The default implementation provides the
7994 old behaviour of attempting to convert the seek offsets to the
7995 configured native format.
7997 API: basesrc::prepare_seek_segment vmethod.
7999 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8001 * gst/gstelement.c: (gst_element_get_state_func):
8002 Don't output the same debug statement twice.
8004 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8005 (gst_adapter_peek), (gst_adapter_take_buffer):
8006 Optimise the case where we have buffers at the head of the queue that
8007 can be joined quickly (because they're contiguous sub-buffers) by
8008 merging them together rather than copying data out into new memory.
8010 * gst/parse/grammar.y:
8011 * tests/check/pipelines/parse-launch.c:
8012 Fix a leak in an error path for parse_launch, and add a check
8013 for it to the testsuite.
8015 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8017 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8018 Don't deadlock when releasing a pad - gst_pad_set_active may try
8019 and take the multiqueue lock too.
8021 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8023 * gst/gsterror.c: (_gst_core_errors_init):
8025 API: add GST_CORE_ERROR_DISABLED (#392804).
8027 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8029 * docs/faq/gst-uninstalled:
8030 don't get empty paths on the PATH variables
8031 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8032 Don't format for the uncommon terminal width of 84 characters.
8034 2007-04-06 Wim Taymans <wim@fluendo.com>
8036 * gst/gstpipeline.c: (reset_stream_time),
8037 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8038 Only try to select a different pipeline clock when we went back to
8039 PAUSED and not when we merely got flushed.
8041 2007-04-05 Michael Smith <msmith@fluendo.com>
8043 * tools/gst-launch.1.in:
8044 fractions are better supported in gstreamer than ractions, so
8045 suggest using those.
8047 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8049 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8053 Added Danish translation.
8055 2007-04-05 Wim Taymans <wim@fluendo.com>
8057 * libs/gst/base/gstbasesink.c:
8058 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8059 Fix leak caused when refusing newsegment after EOS.
8061 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8062 (gst_fake_sink_init), (gst_fake_sink_set_property),
8063 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8064 (gst_fake_sink_render), (gst_fake_sink_change_state):
8065 * plugins/elements/gstfakesink.h:
8066 Add num-buffers property to make the element generate EOS after a
8067 configurable amount of buffers.
8068 API: fakesink::num-buffers property.
8070 * tests/check/elements/fakesink.c: (GST_START_TEST),
8072 Fix GstBus leak in test.
8073 Test for fakesink num-buffers.
8075 2007-04-05 Wim Taymans <wim@fluendo.com>
8077 * libs/gst/base/gstbasesink.c:
8078 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8079 (gst_base_sink_change_state):
8080 Don't accept anything after an EOS, return UNEXPECTED instead.
8082 * tests/check/elements/fakesink.c: (GST_START_TEST),
8084 Unit test for new EOS behaviour.
8086 2007-04-05 Wim Taymans <wim@fluendo.com>
8088 * gst/gstelement.c: (gst_element_get_request_pad):
8089 Make padtemplates also work when they don't contain %s or %d.
8091 2007-04-05 Wim Taymans <wim@fluendo.com>
8093 * docs/gst/gstreamer-sections.txt:
8094 * gst/gstclock.c: (gst_clock_adjust_unlocked),
8095 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8097 Improve _adjust_unlocked() so that it overflows less.
8098 Add gst_clock_unadjust_unlocked to convert from external time to
8099 internal time based on calibration.
8100 Add some more debug.
8101 API: GstClock::gst_clock_unadjust_unlocked()
8103 2007-04-03 Wim Taymans <wim@fluendo.com>
8105 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8107 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8108 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8109 when releasing sink pad. Fixes #425400.
8111 2007-04-02 Stefan Kost <ensonic@users.sf.net>
8113 * docs/random/ensonic/dynlink.txt:
8114 More work on proposal for new core api.
8116 * docs/libs/gstreamer-libs-sections.txt:
8117 * libs/gst/base/gstbasetransform.h:
8118 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8120 * libs/gst/controller/gstcontroller.c:
8121 (on_object_controlled_property_changed),
8122 (gst_controller_sync_values),
8123 (gst_controller_set_interpolation_mode):
8124 * libs/gst/controller/gstcontroller.h:
8125 Less verbose logging add docs for unimplemented parts and correctly
8126 return when using unavailable parts.
8128 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8130 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8131 Move all the debug to the CLOCK category, and associate it with
8134 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8136 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8137 Make take_buffer a bit quicker by removing redundant checks
8138 caused by calling gst_adapter_take.
8140 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8142 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
8145 * tests/check/Makefile.am:
8146 * tests/check/elements/.cvsignore:
8147 * tests/check/elements/multiqueue.c: (setup_multiqueue),
8148 (GST_START_TEST), (multiqueue_suite):
8149 Add some dead simple unit tests for the 'multiqueue' element
8150 (some bits don't work yet and are disabled for now).
8152 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8154 * gst/gstelement.c: (gst_element_get_request_pad),
8155 (gst_element_class_get_request_pad_template):
8156 Make gst_element_get_request_pad() create request pads only for
8157 request pad templates and not for, say, sometimes pad templates.
8159 2007-03-28 Stefan Kost <ensonic@users.sf.net>
8161 * docs/design/draft-klass.txt:
8162 Add example that needs more thinking.
8164 * docs/design/draft-missing-plugins.txt:
8165 More thoughts about wrapper plugins.
8167 * docs/random/ensonic/embedded.txt:
8168 * docs/random/ensonic/profiling.txt:
8171 2007-03-25 Wim Taymans <wim@fluendo.com>
8173 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
8174 (gst_base_src_loop):
8175 Only push the segment events in the PLAYING state for live sources.
8177 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
8179 * gst/gstpipeline.c: (gst_pipeline_change_state):
8180 Modify the clock distribution path in PAUSED->PLAYING so that we
8181 never attempt to choose a new clock unless we're actually leaving
8182 the PAUSED state for the first time. This prevents choosing a
8183 different clock when the state_change gets called for a 2nd time due
8184 to some element doing an async state change.
8186 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
8188 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
8189 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
8190 (gst_pad_chain_unchecked), (gst_pad_push):
8191 Revert last commit. This needs some more thoughts.
8193 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
8195 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
8196 (gst_pad_chain_unchecked), (gst_pad_push):
8197 Check in set_caps if the caps are compatible with the pad and remove
8198 two functions that are redundant now. Fixes #421543.
8200 2007-03-22 Wim Taymans <wim@fluendo.com>
8202 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8203 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
8204 Unref some more to make valgrind happy.
8206 2007-03-22 Wim Taymans <wim@fluendo.com>
8208 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
8209 (gst_system_clock_id_wait_jitter),
8210 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8211 Fix anoying regression that survived a few releases. When adding an
8212 async entry while blocking on a sync entry, the sync entry will unblock
8213 but still be busy, so it should continue to wait instead of returning
8215 Add some comments here and there.
8217 * tests/check/gst/gstsystemclock.c: (mixed_thread),
8218 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
8219 Add testcase for this.
8221 2007-03-22 Wim Taymans <wim@fluendo.com>
8223 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8224 Handle errors from the clock sync better, only UNSCHEDULED indicates a
8225 WRONG_STATE and can silently pause the task. All other cases should
8228 2007-03-22 Wim Taymans <wim@fluendo.com>
8230 Patch by: Ville Syrjala <syrjala at sci dot fi>
8232 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
8233 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
8236 2007-03-21 Michael Smith <msmith@fluendo.com>
8238 * docs/pwg/advanced-types.xml:
8239 Fix some errors in the typefinding docs pointed out on irc.
8241 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
8243 * libs/gst/base/gstbasesrc.c:
8244 Clarify FIXME comment in the face of having added unlock_stop()
8246 2007-03-21 Wim Taymans <wim@fluendo.com>
8248 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
8249 Prepare for release where we warn against possible app breakage in the
8250 case of live pipelines along with an env var to enable/disable live
8251 preroll mode (GST_COMPAT=[no-]live-preroll).
8253 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8255 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
8256 So we should use correct constants for checking for None offset.
8258 2007-03-20 Wim Taymans <wim@fluendo.com>
8260 * docs/design/part-block.txt:
8261 Mention the fact that the newly switched element should be set to at
8264 2007-03-20 Wim Taymans <wim@fluendo.com>
8267 Fix compilation with registry disabled as spotted by Saur.
8269 2007-03-20 Wim Taymans <wim@fluendo.com>
8271 Patch by: Olivier Crete <tester at tester dot ca>
8273 * gst/gstelement.c: (gst_element_sync_state_with_parent):
8274 Look at the pending state too when syncing the element state to the
8275 parent. Fixes #420133.
8277 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
8279 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8280 (gst_base_sink_change_state):
8281 * libs/gst/base/gstbasesink.h:
8282 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8283 (gst_base_src_default_event), (gst_base_src_unlock_stop),
8284 (gst_base_src_deactivate):
8285 * libs/gst/base/gstbasesrc.h:
8286 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
8287 for sub-classes to correctly clear any state they set trying to
8288 unlock, such as clearing out unlock commands from a command fd.
8289 API: basesrc::unlock_stop
8290 API: basesink::unlock_stop
8292 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
8293 (gst_fd_sink_render), (gst_fd_sink_unlock),
8294 (gst_fd_sink_unlock_stop):
8295 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
8296 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
8297 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
8299 Implement unlock_stop in fdsrc and fdsink.
8300 Implement seeking in fdsrc when a seekable fd is passed, as in
8301 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
8303 2007-03-19 Wim Taymans <wim@fluendo.com>
8305 Patch by: Evan Nemerson <evan at coeus dash group dot com>
8307 * gst/gstelement.c: (gst_element_class_init):
8308 Fix pad-added and pad-removed signal signatures so that the pad type is
8309 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
8311 2007-03-19 Wim Taymans <wim@fluendo.com>
8313 * docs/gst/gstreamer-sections.txt:
8314 Add new element field and method.
8316 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8317 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
8318 (gst_bin_recalc_state), (gst_bin_get_state_func),
8319 (gst_bin_element_set_state), (gst_bin_change_state_func),
8320 (gst_bin_continue_func), (bin_bus_handler),
8321 (bin_push_state_continue), (bin_handle_async_start),
8322 (bin_handle_async_done), (gst_bin_handle_message_func):
8323 Make async state changes a bit smarter by using new ASYNC_START and
8324 ASYNC_DONE messages. This reduces the number of times we run the state
8325 recalculation thread.
8326 Don't change state of element with a pending ASYNC_START message.
8327 Deprecate STATE_DIRTY messages.
8329 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
8330 (gst_element_get_state_func), (gst_element_continue_state),
8331 (gst_element_lost_state), (gst_element_set_state_func),
8332 (gst_element_change_state):
8334 Keep the state that was last set by the app in a new element field.
8335 Don't allow state changes when handling an element event.
8336 Post ASYNC_START and ASYNC_DONE messages.
8337 Change lost_state so that we go to PAUSED and wait for the parent to set
8338 us to PLAYING again (so latency calculation can be performed)
8339 Export gst_element_change_state() method so that subclasses can use it.
8340 API: gst_element_change_state()
8341 API: GST_STATE_TARGET
8343 * gst/gstpipeline.c: (gst_pipeline_class_init),
8344 (reset_stream_time), (gst_pipeline_change_state),
8345 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
8346 Using the new ASYNC_START message we can reset the base_time when
8347 needed. This can then be used to implement base_time redistribution in
8348 flushing seeks so that we can remove the explicit seek handling.
8349 Perform latency query and configuration when going to PLAYING.
8351 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8352 (gst_base_sink_query), (gst_base_sink_change_state):
8353 Post new ASYNC_START/ASYNC_DONE messages.
8355 * tests/check/generic/sinks.c: (GST_START_TEST):
8356 Fix test because the bin will not set the async element to PLAYING right
8359 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
8360 Make the message check a little stronger.
8361 Handle ASYNC messages.
8363 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
8364 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
8365 Expect ASYNC_DONE messages.
8367 2007-03-19 Wim Taymans <wim@fluendo.com>
8369 * docs/gst/gstreamer-sections.txt:
8370 * gst/gstmessage.c: (gst_message_new_async_start),
8371 (gst_message_new_async_done), (gst_message_parse_info),
8372 (gst_message_parse_async_start):
8374 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
8377 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
8379 * tools/gst-inspect.c:
8380 (print_plugin_automatic_install_info_codecs):
8381 Now that we don't check for the 'Codec' keyword any longer in the
8382 klass, we shouldn't spew a warning if the klass isn't a decoder or
8383 encoder (since it might be a Source/Network, for example).
8385 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
8387 * tools/gst-inspect.c:
8388 (print_plugin_automatic_install_info_codecs):
8389 Don't require decoder/demuxer/depayloader elements or
8390 encoder/muxer/paylader elements to have 'Codec' as part of their
8391 factory class string when introspecting a plugin's capabilities.
8392 draft-klass.txt mentions that it might be removed in future, and
8393 flump3dec doesn't have it as part of its class string, so chances
8394 are others might also not have it.
8396 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
8418 Update translations from translation project
8420 2007-03-14 Stefan Kost <ensonic@users.sf.net>
8422 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8423 (gst_child_proxy_set_property):
8424 Invert precondition check to be alike the ones in the mimiced gobject
8427 2007-03-13 Stefan Kost <ensonic@users.sf.net>
8429 * docs/design/draft-tagreading.txt:
8430 * docs/random/ensonic/audiobaseclasses.txt:
8431 Do some Architect work.
8433 * gst/gstobject.c: (gst_object_set_name):
8437 Add docs that point from gst_pad_get_range to gst_pad_pull_range
8439 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
8441 * gst/gstsystemclock.c: (gst_system_clock_init),
8442 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8443 Defer starting the async system clock thread until the first async
8444 wait is scheduled. Fixes #414986.
8446 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
8448 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8449 (gst_single_queue_free):
8450 Fix small leak (free GstSingleQueue structure too, not only contents).
8452 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
8454 * gst/gstbin.c:(gst_bin_add):
8455 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8456 * win32/common/libgstbase.def:
8457 * win32/common/libgstreamer.def:
8458 Add new exported functions.
8460 2007-03-09 Wim Taymans <wim@fluendo.com>
8462 * docs/plugins/gstreamer-plugins-sections.txt:
8465 2007-03-09 Wim Taymans <wim@fluendo.com>
8467 * docs/gst/gstreamer-sections.txt:
8468 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8470 Add metadata copy functions. Fixes #393099.
8471 API: gst_buffer_copy_metadata()
8473 * gst/gstutils.c: (gst_buffer_stamp):
8474 * libs/gst/base/gstbasetransform.c:
8475 (gst_base_transform_prepare_output_buffer):
8476 Use new metadata copy functions.
8478 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
8480 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8481 (gst_identity_init), (gst_identity_check_perfect),
8482 (gst_identity_check_imperfect_timestamp),
8483 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8484 (gst_identity_set_property), (gst_identity_get_property):
8485 * plugins/elements/gstidentity.h:
8486 Separate out check-imperfect-timestamp and check-imperfect-offset.
8487 Put back check-perfect as it was to keep compatibility.
8489 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
8491 * gst/gstelement.c: (gst_element_dispose):
8492 There's no need to warn if VOID_PENDING is not NONE here, as
8493 long as the state is NULL it's ok, and that's checked immediately
8496 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8498 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8499 Fix check for perfect stream to ignore buffers with -1
8500 offsets/offset ends when checking data contiguity.
8502 2007-03-08 Wim Taymans <wim@fluendo.com>
8504 * tools/gst-launch.c: (event_loop):
8505 Print INFO messages.
8507 2007-03-08 Wim Taymans <wim@fluendo.com>
8509 * libs/gst/base/gstbasetransform.c:
8510 (gst_base_transform_sink_eventfunc),
8511 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8512 (gst_base_transform_activate):
8513 * libs/gst/base/gstbasetransform.h:
8514 Add support for dropping buffers with custom GstFlowReturn.
8515 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8516 buffers or dropped buffers.
8518 * docs/libs/gstreamer-libs-sections.txt:
8519 docs for new custom return code.
8521 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8522 Use drop support in base class to implement drop-probability.
8524 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
8526 * gst/gst.c: (load_plugin_func):
8527 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8528 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8529 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8530 Remove newlines at end of debug log strings.
8532 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8534 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8535 Only post bus message at max, once per buffer received.
8537 2007-03-07 Wim Taymans <wim@fluendo.com>
8539 * docs/design/Makefile.am:
8540 * docs/design/part-synchronisation.txt:
8541 Add doc about synchronisation
8543 * docs/design/draft-latency.txt:
8544 * docs/design/part-TODO.txt:
8545 * docs/design/part-clocks.txt:
8546 * docs/design/part-events.txt:
8547 * docs/design/part-gstbus.txt:
8548 * docs/design/part-gstpipeline.txt:
8549 * docs/design/part-live-source.txt:
8550 * docs/design/part-messages.txt:
8551 * docs/design/part-overview.txt:
8552 * docs/design/part-streams.txt:
8553 * docs/design/part-trickmodes.txt:
8554 Documentation updates.
8556 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8559 Update the doap file.
8561 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8563 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8564 Rename non-perfect to imperfect for Mike and for the sanctity of the
8566 Also make sure bus message gets emitted for data-incontiguities.
8568 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8570 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8571 (gst_identity_start):
8572 * plugins/elements/gstidentity.h:
8573 Emit bus message if check-perfect is true and we encounter a
8574 non-perfect stream between 2 consecutive buffers.
8577 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8582 === release 0.10.12 ===
8584 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8587 releasing 0.10.12, "Inevitable Demise"
8589 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
8592 Version 0.10.11.2 (0.10.12 pre-release)
8593 Bump libtool versioning.
8595 2007-03-01 Stefan Kost <ensonic@users.sf.net>
8597 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8598 Log flow-names and not numbers.
8600 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8603 Convert to new AG_GST style.
8605 2007-02-28 Wim Taymans <wim@fluendo.com>
8607 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8608 Don't unref query twice.
8610 2007-02-28 Wim Taymans <wim@fluendo.com>
8612 * gst/gstvalue.c: (gst_value_transform_object_string),
8613 (_gst_value_initialize):
8614 Implement GstObject -> string transform so we print object names
8615 when serializing GValues containing GstObjects.
8617 2007-02-28 Wim Taymans <wim@fluendo.com>
8619 * docs/gst/gstreamer-sections.txt:
8620 Add new stuff to docs.
8622 2007-02-28 Wim Taymans <wim@fluendo.com>
8624 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8625 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8626 (gst_base_sink_change_state):
8627 Improve latency query code.
8628 Don't leak latency events.
8630 * tests/check/gst/gstbin.c: (GST_START_TEST):
8633 2007-02-28 Wim Taymans <wim@fluendo.com>
8635 * gst/gstelement.c: (gst_element_message_full),
8636 (gst_element_get_state_func):
8638 Improve docs a little. Added Since: for new macro.
8640 * gst/gstobject.c: (gst_object_sink):
8641 * gst/gstpipeline.c: (gst_pipeline_change_state),
8642 (gst_pipeline_set_new_stream_time):
8643 * gst/gstpipeline.h:
8644 Improve debugging and docs.
8646 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8649 2007-02-28 Wim Taymans <wim@fluendo.com>
8651 * gst/gstelement.c: (gst_element_message_full),
8652 (gst_element_set_locked_state), (gst_element_get_state_func),
8653 (gst_element_change_state):
8654 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8655 Documentation updates.
8656 Small code cleanups.
8658 * gst/gstmessage.c: (gst_message_new_info),
8659 (gst_message_parse_info):
8661 API: gst_message_new_info()
8662 API: gst_message_parse_info()
8663 Add INFO message create and parse code.
8665 2007-02-28 Wim Taymans <wim@fluendo.com>
8667 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8668 (bin_query_latency_done):
8669 Also report the live parameter of a latency query.
8671 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8673 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8674 Copy the current generic/states example from -base and adapt so
8675 we can use the exact same code everywhere.
8676 Check a STATES_IGNORE_ELEMENTS env var which can be used
8677 to ignore certain element factories for this test, which is
8678 what is being done in -base
8679 * tests/check/Makefile.am:
8680 Mention this environment variable.
8682 2007-02-27 Wim Taymans <wim@fluendo.com>
8684 * docs/gst/gstreamer-sections.txt:
8685 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8686 (gst_bus_timed_pop), (gst_bus_pop):
8688 API: gst_bus_timed_pop()
8689 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8690 message to arrive on the bus.
8692 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8694 Two unit tests for new _timed_pop() function.
8696 2007-02-23 Wim Taymans <wim@fluendo.com>
8698 * gst/gstpipeline.c: (gst_pipeline_change_state),
8699 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8700 Don't ref a NULL clock in _provide_clock_func().
8701 Don't allow an INVALID delay.
8702 Don't try to calculate base_time with an invalid start_time.
8703 Also distribute and notify a NULL clock when it was selected.
8705 * tools/gst-launch.c: (event_loop):
8706 Don't crash when a NULL clock was selected in the pipeline.
8708 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8710 * docs/design/Makefile.am:
8711 * docs/design/draft-missing-plugins.txt:
8712 * docs/random/draft-missing-plugins.txt:
8713 Some small updates: update plugin system identifier prefix
8714 ('gstreamer.net' to 'gstreamer'), mention our new install
8715 API in libgstbaseutils rather than libgimme-codec, add
8716 reference to the online docs.
8718 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8720 * win32/common/config.h:
8721 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8722 use moap cl ci to only check in what is mentioned in the ChangeLog.
8724 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8726 * docs/gst/gstreamer-sections.txt:
8728 Fix up documentation to link to the correct GstGError section.
8729 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8731 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8733 * tools/gst-launch.c: (event_loop):
8734 Make sure that we actually show the important message part of a
8736 No need to check if the gerror is not NULL to free; first of all
8737 g_free accepts NULL; and second the default error handler would
8738 segfault if gerror was NULL.
8740 2007-02-21 Wim Taymans <wim@fluendo.com>
8742 * docs/gst/gstreamer-sections.txt:
8743 Removed docs as well.
8745 2007-02-21 Wim Taymans <wim@fluendo.com>
8747 * gst/gstmessage.c: (gst_message_parse_duration):
8749 Remove new messages for release.
8751 2007-02-20 Wim Taymans <wim@fluendo.com>
8753 * docs/design/part-gstghostpad.txt:
8754 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8755 (gst_ghost_pad_new_full):
8756 Make the ghostpad a parent of the internal pad again for better backward
8757 compatibility. Don't write code that relies on this however.
8759 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8760 (gst_pad_link_check_hierarchy):
8761 Require that parents should be GstElements in the hierarchy check.
8763 2007-02-20 Wim Taymans <wim@fluendo.com>
8765 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8766 (gst_bin_change_state_func), (bin_query_min_max_init),
8767 (bin_query_latency_fold), (bin_query_latency_done),
8770 Implement latency query.
8772 2007-02-20 Wim Taymans <wim@fluendo.com>
8774 * docs/design/part-gstghostpad.txt:
8775 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8776 (gst_ghost_pad_internal_do_activate_push),
8777 (gst_ghost_pad_internal_do_activate_pull),
8778 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8779 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8780 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8781 Do not set the internal pad as a parent anymore so we can avoid
8782 hierarchy linking errors when the ghostpad has no parent yet. This also
8783 fixes failed activation because of unlinked internal pads, which in
8784 turn fixes the impossible case where you have to activate a pad before
8785 you can add it to a running element.
8788 * gst/gstpad.c: (pre_activate), (post_activate),
8789 (gst_pad_set_active), (gst_pad_activate_pull),
8790 (gst_pad_activate_push), (gst_pad_check_pull_range):
8791 Add some more debug info.
8792 Mark activation mode in pre_activate so that we don't try to activate in
8793 endless loops. Fixes #385084.
8795 2007-02-19 Wim Taymans <wim@fluendo.com>
8797 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8798 (gst_base_transform_check_get_range):
8799 Implement a checkgetrange function instead of relying on the default
8800 core behaviour that assumes we can operate in pull mode if we have a
8801 getrange function. First step at fixing #385084.
8803 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8805 * gst/gstchildproxy.h:
8806 * libs/gst/base/gstbasesink.h:
8807 * libs/gst/base/gstbasesrc.h:
8808 * libs/gst/base/gstbasetransform.h:
8809 More docs coverage and some ChangeLog surgery (add missing names)
8811 2007-02-15 Wim Taymans <wim@fluendo.com>
8813 * docs/design/part-TODO.txt:
8814 * docs/design/part-activation.txt:
8815 * docs/design/part-block.txt:
8816 * docs/design/part-buffering.txt:
8817 * docs/design/part-clocks.txt:
8818 * docs/design/part-element-source.txt:
8819 * docs/design/part-events.txt:
8820 * docs/design/part-gstbin.txt:
8821 * docs/design/part-gstbus.txt:
8822 * docs/design/part-gstpipeline.txt:
8823 * docs/design/part-live-source.txt:
8824 * docs/design/part-messages.txt:
8825 * docs/design/part-overview.txt:
8826 * docs/design/part-qos.txt:
8827 * docs/design/part-query.txt:
8828 * docs/design/part-states.txt:
8829 * docs/design/part-trickmodes.txt:
8830 Some doc updates. Start renaming from stream_time to running_time where
8831 it was used wrongly.
8833 2007-02-15 Wim Taymans <wim@fluendo.com>
8835 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8836 Answer LATENCY query.
8838 2007-02-15 Wim Taymans <wim@fluendo.com>
8840 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8844 2007-02-15 Wim Taymans <wim@fluendo.com>
8846 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8847 (gst_pad_dispatcher):
8848 Improve debugging of default pad dispatcher and query functions.
8850 2007-02-15 Wim Taymans <wim@fluendo.com>
8852 * docs/gst/gstreamer-sections.txt:
8853 Remove old unused method.
8855 2007-02-13 Wim Taymans <wim@fluendo.com>
8857 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8860 2007-02-13 Wim Taymans <wim@fluendo.com>
8862 * docs/design/part-seeking.txt:
8865 * gst/gstsegment.c: (gst_segment_set_seek):
8866 Revert old bogus change that should make seeking work again.
8868 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8870 * docs/random/ensonic/dynlink.txt:
8871 * docs/random/ensonic/interfaces.txt:
8872 * docs/random/ensonic/receipies.txt:
8873 Possible dynamic reconnection api, plus some type fixes the other two
8876 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8878 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8879 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8880 Also check for an absolute path following file:// in the filesrc
8881 element. Remove redundant check and call g_path_is_absolute() on the
8884 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8886 * docs/design/draft-klass.txt:
8887 Add existing category analysis.
8890 Fix doc example, framerate is a fraction.
8892 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8895 * docs/gst/Makefile.am:
8896 * docs/gst/gstreamer-sections.txt:
8897 * docs/libs/Makefile.am:
8898 Erm, forgot a bunch of --extra-dir.
8900 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8903 * docs/gst/Makefile.am:
8904 * docs/libs/Makefile.am:
8905 * docs/plugins/Makefile.am:
8906 Add crossreferences to glib/gobject docs.
8908 2007-02-12 Wim Taymans <wim@fluendo.com>
8910 * docs/design/draft-latency.txt:
8913 * docs/libs/gstreamer-libs-sections.txt:
8914 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8915 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8916 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8917 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8918 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8919 (gst_base_sink_get_position), (gst_base_sink_query),
8920 (gst_base_sink_change_state):
8921 * libs/gst/base/gstbasesink.h:
8922 API: gst_base_sink_query_latency() to let subclasses query the upstream
8924 API: gst_base_sink_get_latency() to let subclasses query the configured
8925 latency in the sink.
8926 Implement query and set latency.
8928 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8929 don't continue preroll when we are flushing. Fixes #405284.
8931 * tests/check/pipelines/stress.c: (change_state_timeout),
8932 (quit_timeout), (GST_START_TEST), (stress_suite):
8935 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8937 Patch by: René Stadler <mail at renestadler de>
8939 * docs/gst/gstreamer-sections.txt:
8940 * gst/gsttaglist.c: (_gst_tag_initialize):
8942 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8944 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8946 * docs/libs/Makefile.am:
8947 Fix path to core docs.
8949 * gst/gstbin.c: (gst_bin_get_by_interface),
8950 (gst_bin_iterate_all_by_interface):
8951 Refix docs by also renaming 'interface' to 'iface' in implementation.
8953 * docs/gst/gstreamer-sections.txt:
8955 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8956 * gst/gstchildproxy.h:
8957 * gst/gstelementfactory.c:
8958 * gst/gstpadtemplate.h:
8959 * libs/gst/controller/gstcontroller.c:
8960 (gst_controlled_property_new):
8963 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8965 * gst/gstbin.h:(gst_bin_get_by_interface),
8966 (gst_bin_iterate_all_by_interface):
8967 Replace interface parameter name by iface as interface is
8968 a reserved keyword in Visual Studio for C++ projects so it removes
8969 a build error for application developpers using VS.
8970 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8971 Fix a bug on Windows in uri format check. Now the prefix checked
8972 is file:// and next we check if the path after file:// is absolute.
8973 * win32/common/libgstbase.def:
8974 * win32/common/libgstdataprotocol.def:
8975 * win32/common/libgstgstreamer.def:
8976 Add new exported functions.
8978 2007-02-09 Andy Wingo <wingo@pobox.com>
8980 * tests/check/pipelines/simple-launch-lines.c
8981 (simple_launch_lines_suite, test_tee): Disable tee test until I
8982 have time to fix it :-(
8984 * tests/check/Makefile.am (noinst_HEADERS):
8985 * tests/check/libs/libsabi.c:
8986 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8987 * tests/check/gst/gstabi.c:
8988 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8990 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8991 tests for push and pull tee behavior.
8993 * plugins/elements/gsttee.h:
8994 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8995 mark as deprecated as well as unimplemented. It was a crack idea.
8996 Add support for tee operating in pull mode, off by default.
8998 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8999 normal-case logs down to LOG, raise errors to WARNING.
9000 (gst_registry_xml_read_cache): Don't log before calling a function
9003 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9004 exit (registry finalize).
9005 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9006 DEBUG log when we emit signals that people don't even have the
9007 chance to connect to.
9008 (gst_registry_scan_path_level): Less logging in the normal case.
9010 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9012 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9014 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9015 Correctly generate EOS for non-seekable files. We don't have a total
9016 length for them and would get an unexpected end of file if we only
9017 special-cased for regular files. (Fixes: #404569)
9019 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9021 * tests/check/elements/filesrc.c: (GST_START_TEST),
9023 Add unit test for the GstURIHandler interface in filesrc. This also
9024 tests the newly added file://localhost/foo/bar support.
9026 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9028 * gst/gstelementfactory.h:
9029 The klass string is not a hierarchy. Add reference to the design doc
9030 for more information and common types.
9032 2007-02-02 Wim Taymans <wim@fluendo.com>
9034 * gst/gstquery.c: (gst_query_new_latency):
9035 Remove old structure field.
9037 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9039 * tools/gst-launch.1.in:
9040 Give example for network streaming (#351998)
9042 2007-02-02 Wim Taymans <wim@fluendo.com>
9044 * docs/gst/gstreamer-sections.txt:
9045 Add docs for new methods.
9047 * gst/gstevent.c: (gst_event_new_latency),
9048 (gst_event_parse_latency):
9050 Add new LATENCY event to configure latency in a pipeline.
9051 API: gst_event_new_latency
9052 API: gst_event_parse_latency
9054 * gst/gstmessage.c: (gst_message_new_buffering),
9055 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9056 (gst_message_new_latency), (gst_message_parse_buffering),
9057 (gst_message_parse_lost_preroll):
9059 Added messages used in draft-latency.
9060 API: gst_message_new_lost_preroll
9061 API: gst_message_parse_lost_preroll
9062 API: gst_message_new_prerolled
9063 API: gst_message_new_latency
9065 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9066 (gst_query_parse_latency):
9068 Implemented new latency query as in design doc.
9069 API: gst_query_new_latency
9070 API: gst_query_set_latency
9071 API: gst_query_parse_latency
9073 2007-02-02 Wim Taymans <wim@fluendo.com>
9075 * docs/design/draft-latency.txt:
9076 Slight redesign to allow for dynamic latency adjustments.
9078 * docs/design/part-negotiation.txt:
9081 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
9083 reviewed by: Wim Taymans <wim@fluendo.com>
9085 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9086 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9087 Allow file://localhost/foo/bar URLs and correctly fail for every other
9088 hostname that one sets. This was gnomevfssrc is linked for those if
9089 installed as it can handle it (#403172)
9091 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9093 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9096 (unref_data), (gst_collect_pads_add_pad_full):
9097 * libs/gst/base/gstcollectpads.h:
9098 Don't put the previously added destroy notify in the GstCollectData
9099 struct as all it's padding is already used and we don't want to break
9100 ABI. Instead put in the pad's GObject data for now. This should be
9101 cleaned up for 0.11 (#402393).
9103 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9105 reviewed by: Wim Taymans <wim@fluendo.com>
9107 * docs/libs/gstreamer-libs-sections.txt:
9108 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9109 (unref_data), (gst_collect_pads_add_pad),
9110 (gst_collect_pads_add_pad_full):
9111 * libs/gst/base/gstcollectpads.h:
9112 API: Add function to specify a destroy notification for custom
9113 GstCollectData when adding new pads in GstCollectPads (#402393).
9115 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
9118 Update Swedish translation (#378255).
9120 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9122 * docs/design/draft-klass.txt:
9123 Fix the previous change, this is a list of categories and not a hierarchy.
9125 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9127 * docs/design/draft-klass.txt:
9128 Add info about how to get a list of used classes.
9130 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
9132 * plugins/elements/gsttypefindelement.c:
9133 (gst_type_find_element_chain_do_typefinding),
9134 (gst_type_find_element_change_state):
9135 Don't leak found caps in chain function (no idea why that never
9136 showed up as a leak anywhere).
9138 2007-01-30 Stefan Kost <ensonic@users.sf.net>
9141 Fix and expand GstPluginDesc API docs.
9143 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9146 * gst/gstelementfactory.c:
9147 * gst/gstpadtemplate.h:
9150 * libs/gst/controller/gstcontroller.c:
9151 (gst_controlled_property_new):
9152 * tests/examples/controller/audio-example.c:
9155 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9158 comment about refining the xml deps
9161 comments about moving away from jade for docs
9164 recommit the ifdefs to use the binary registry
9166 * gst/gstbin.c: (gst_bin_change_state_func):
9167 this break is obsolete
9169 * gst/gstelementfactory.h:
9170 better GST_ELEMENT_DETAILS docs, add comment about translation
9175 * gst/gstobject.c: (gst_signal_object_get_type):
9176 add G_UNLIKELY as usual
9178 * gst/gstpad.c: (gst_pad_event_default):
9179 add fall trhu comment
9181 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9182 (gst_registry_binary_initialize_magic),
9183 (gst_registry_binary_save_string),
9184 (gst_registry_binary_save_pad_template),
9185 (gst_registry_binary_save_feature),
9186 (gst_registry_binary_save_plugin),
9187 (gst_registry_binary_write_cache),
9188 (gst_registry_binary_check_magic),
9189 (gst_registry_binary_load_pad_template),
9190 (gst_registry_binary_load_feature),
9191 (gst_registry_binary_load_plugin),
9192 (gst_registry_binary_read_cache):
9193 comment typo and formatting
9195 * gst/gstutils.c: (gst_element_state_get_name),
9196 (gst_element_state_change_return_get_name):
9197 remove obsolete breaks
9199 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9200 add FIXME 0.11 and remove cpp comment
9202 2007-01-29 Edward Hervey <edward@fluendo.com>
9204 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9205 Fix print statement in an even more portable way.
9207 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
9209 * docs/gst/gstreamer-sections.txt:
9211 API: add GST_ROUND_DOWN_* macros (#401781).
9213 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
9215 * docs/gst/gstreamer.types.in:
9216 * gst/gstregistry.c: (gst_registry_class_init):
9217 Document registry signals and make gtk-doc pick them up (#401381).
9219 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
9221 * docs/pwg/building-testapp.xml:
9222 Add some audioconverts and audioresample to the pipeline, and some
9223 more comments and error handling.
9225 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
9227 * docs/manual/manual.xml:
9231 2007-01-26 Wim Taymans <wim@fluendo.com>
9233 * gst/gstcaps.c: (gst_static_caps_get):
9234 Init caps flags too.
9236 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
9238 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
9240 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9241 If not using mmap'ed files try to seek to the end instead of the
9242 start to determine whether we can seek at all. This fixes the case
9243 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
9244 seeks for everything afterwards fail. Fixes #400656
9246 2007-01-25 Wim Taymans <wim@fluendo.com>
9248 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
9249 Add some refcount debugging.
9250 Make gst_static_caps_get threadsafe, which is needed when autoplugging
9251 in multiple streaming threads.
9253 2007-01-25 Wim Taymans <wim@fluendo.com>
9255 Patch by: David Schleef <ds at schleef dot org>
9257 * docs/libs/gstreamer-libs-sections.txt:
9258 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
9259 * libs/gst/base/gstadapter.h:
9260 API: gst_adapter_copy() that can reduce the amount of memcpy when
9261 getting data from the adapter. Fixes #388201.
9263 2007-01-25 Edward Hervey <edward@fluendo.com>
9265 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9266 In print statements, "%x" is for guint. Fixes build on macosx.
9268 2007-01-24 Edward Hervey <edward@fluendo.com>
9270 * plugins/elements/gstmultiqueue.c:
9271 (gst_multi_queue_loop):
9273 (single_queue_overrun_cb), (single_queue_underrun_cb),
9274 (single_queue_check_full), (gst_single_queue_new):
9275 Implement single queue growth system.
9276 This uses the extra-size properties, and will grow single queues by
9277 that much if one goes full whereas there are others empty. This is
9278 called extra-mode in the code.
9279 When a single queue's levels go back below the initial max-size
9280 limits, it is no longer in extra-mode. This is to ensure we don't
9281 consume too much memory.
9284 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
9286 * gst/gst.c: (gst_init_get_option_group):
9287 Make warning about late g_thread_init() calls a bit more explicit,
9288 so that it's more obvious to application developers what they need
9289 to do if a user files a bug against their application.
9291 2007-01-22 Edward Hervey <edward@fluendo.com>
9293 * plugins/elements/gstmultiqueue.c:
9294 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
9295 Remove previous hack of unsetting the flushing flag for the source pad
9296 instead of activating it. Instead, fix the source pad activate function
9297 so that it no longer depends on having a parent set or not.
9299 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
9301 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
9303 * docs/manual/basics-bus.xml:
9304 Fix example code, gst_element_unref() doesn't exist any longer.
9306 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
9308 Patch by: Mark Nauwelaerts <manauw at skynet be>
9311 Fix two docs typoes (#399094).
9313 2007-01-19 Edward Hervey <edward@fluendo.com>
9315 * docs/faq/gst-uninstalled:
9316 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
9317 depending on libgstbaseutils can work in uninstalled environment.
9319 2007-01-18 Stefan Kost <ensonic@users.sf.net>
9322 * gst/gsttagsetter.c:
9323 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
9324 statement for new tag.
9326 2007-01-17 Edward Hervey <edward@fluendo.com>
9328 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
9329 When dynamically creating single queues, activate sinkpad before adding
9331 We should be doing the same thing for the source pad, but we can't
9332 since it would call a method which needs the parent to be set in order
9333 to work propertly. Instead of activating the source pad, we just unset
9334 the flushing flag, which is the minimal requirement for adding a pad
9335 to an element in a state greater than READY.
9337 2007-01-17 Edward Hervey <edward@fluendo.com>
9339 * docs/faq/gst-uninstalled:
9340 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
9343 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
9345 * tests/check/gst/gstabi.c:
9346 * tests/check/gst/struct_hppa.h:
9347 * tests/check/libs/libsabi.c:
9348 * tests/check/libs/struct_hppa.h:
9349 Add ABI structs for HPPA (see #393796).
9351 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
9353 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9354 Actually write ABI structs to the file specified in the GST_ABI
9355 environment variable, as the message we print claims we would.
9357 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9359 * tests/check/gst/gsttask.c:
9362 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9364 * gst/gsttaglist.c: (_gst_tag_initialize):
9365 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
9366 previous two entries.
9368 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9370 * docs/gst/gstreamer-sections.txt:
9371 * gst/gsttaglist.c: (_gst_tag_initialize):
9373 Add tag support for beat-per-minute.
9375 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9377 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9378 (gst_registry_binary_initialize_magic),
9379 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
9380 (gst_registry_binary_save_pad_template),
9381 (gst_registry_binary_save_feature),
9382 (gst_registry_binary_save_plugin),
9383 (gst_registry_binary_write_cache),
9384 (gst_registry_binary_check_magic),
9385 (gst_registry_binary_load_pad_template),
9386 (gst_registry_binary_load_feature),
9387 (gst_registry_binary_load_plugin),
9388 (gst_registry_binary_read_cache):
9389 * gst/gstregistrybinary.h:
9390 Use glib types, cleanup comments, impement interfaces and uri-types.
9392 2007-01-13 Andy Wingo <wingo@pobox.com>
9394 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9395 getrange() to return buffers with other caps, while we fix
9396 demuxers and typefind, or otherwise change part-negotiation.txt.
9398 2007-01-12 Andy Wingo <wingo@pobox.com>
9400 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9401 Factor start/stop into this private function instead of partially
9402 in activate functions and partially in the change_state function.
9403 Fixes setup before the element has changed from READY->PAUSED, as
9404 is the case in pull-mode pipelines.
9405 (gst_base_transform_sink_activate_push)
9406 (gst_base_transform_src_activate_pull): Refactor to use
9407 gst_base_transform_activate().
9408 (gst_base_transform_change_state): Removed, not needed any more.
9410 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9411 Truncate before fixating.
9413 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9414 Don't set_caps() if the result of fixating is ANY, as it's not
9415 supported, and not necessary in the case of a link with no
9416 template caps on either side. Fixes tests/check/libs/basesrc in
9417 some pull-mode tests.
9419 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9420 (gst_base_transform_init, gst_base_transform_sink_activate_push)
9421 (gst_base_transform_src_activate_pull):
9422 Track the activation mode.
9423 (gst_base_transform_setcaps): In pull mode, when activating the
9424 src pad, after activating the sink pad, activate the sink pad's
9425 peer, as discussed in part-negotiation.txt.
9427 * libs/gst/base/gstbasesrc.h:
9428 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9429 vmethod, as in basesink.
9431 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9433 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9434 mode, first proxy the setcaps to the peer pad.
9435 (gst_base_sink_pad_fixate): Add a fixate function that calls the
9437 (gst_base_sink_default_activate_pull): Rename from
9438 gst_base_sink_activate_pull.
9439 (gst_base_sink_negotiate_pull): New function, performs negotiation
9440 in pull mode before calling ::activate_pull().
9441 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9442 vmethod instead of the default implementation. I have no idea how
9443 this worked before. Negotiate before calling activate_pull.
9445 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9446 sink pads in pull mode. In addition to being correct, fixes
9447 filesrc ! decodebin ! identity ! fakesink.
9448 (gst_pad_get_range, gst_pad_pull_range): Don't call
9449 gst_pad_set_caps() if the caps changes; instead error out with
9450 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9452 2007-01-12 Andy Wingo <wingo@pobox.com>
9454 * docs/design/part-negotiation.txt: Update with more policy.
9456 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9458 * libs/gst/check/gstbufferstraw.h:
9459 * libs/gst/check/gstcheck.h:
9460 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9463 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9465 * tests/check/Makefile.am:
9466 * tests/check/gst/.cvsignore:
9467 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9468 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9469 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9470 (GST_START_TEST), (gst_tag_setter_suite):
9471 Add minimal unit test for beforementioned GstTagSetter bug.
9473 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9475 Patch by: René Stadler <mail at renestadler dot de>
9477 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9478 gst_tag_list_merge() returns a new list, so it's not the best idea
9479 to ingore its return value. Effectively meant that tags could only
9480 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9481 Also add function guard to require a non-NULL taglist as input (has
9482 always been so due to gst_tag_list_copy(), just making it explicit).
9484 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9486 * docs/random/draft-missing-plugins.txt:
9487 Some additions: mention new API that is supposed to be used at the
9488 various stages; short blob about new gst-inspect introspection
9489 option; mention potential future problem with plugins that have
9490 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9492 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9494 * tools/gst-inspect.c:
9495 (print_plugin_automatic_install_info_codecs),
9496 (print_plugin_automatic_install_info_protocols),
9497 (print_plugin_automatic_install_info), (main):
9498 Add --print-plugin-auto-install-info option to gst-inspect, so we can
9499 introspect plugin files and get machine-parsable output that corresponds
9500 to the last bit of the missing-plugin installer string (small gotcha:
9501 doesn't take into account ranks).
9503 2007-01-11 Stefan Kost <ensonic@users.sf.net>
9506 * docs/gst/gstreamer-sections.txt:
9508 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9509 (gst_registry_lookup_locked):
9510 * gst/gstregistry.h:
9511 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9512 (gst_registry_binary_initialize_magic),
9513 (gst_registry_binary_save_string),
9514 (gst_registry_binary_save_pad_template),
9515 (gst_registry_binary_save_feature),
9516 (gst_registry_binary_save_plugin),
9517 (gst_registry_binary_write_cache),
9518 (gst_registry_binary_check_magic),
9519 (gst_registry_binary_load_pad_template),
9520 (gst_registry_binary_load_feature),
9521 (gst_registry_binary_load_plugin),
9522 (gst_registry_binary_read_cache):
9523 * gst/gstregistrybinary.h:
9524 * gst/gstregistryxml.c: (load_feature),
9525 (gst_registry_xml_read_cache):
9526 commit binary registry (disabled by default, see #359653)
9528 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9530 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9531 Fix 'make check' too.
9533 2007-01-10 Andy Wingo <wingo@pobox.com>
9535 * docs/design/part-negotiation.txt: Fix a typo, add a couple
9538 * docs/design/part-negotiation.txt: Update with, um, one way that
9539 pull-mode negotiation might work?
9542 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9543 that the pad must be a src pad; makes sense to call it the other
9544 way in pull mode, and the logic is symmetric anyway.
9546 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
9548 * plugins/elements/gstfilesink.c:
9549 Include <stdio.h> for fseeko().
9551 2007-01-10 Wim Taymans <wim@fluendo.com>
9555 Reserve LATENCY event.
9557 2007-01-09 Wim Taymans <wim@fluendo.com>
9559 * docs/design/draft-latency.txt:
9562 2007-01-09 Wim Taymans <wim@fluendo.com>
9564 * docs/design/draft-latency.txt:
9568 * gst/gststructure.c:
9572 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
9574 * tests/check/.cvsignore:
9575 Ignore test-registry.xml as well.
9577 2007-01-09 Wim Taymans <wim@fluendo.com>
9579 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9580 unref data at the end when we are done with the pad.
9582 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9584 * docs/gst/gstreamer-sections.txt:
9585 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9586 (init_post), (gst_deinit), (gst_update_registry):
9588 API: add gst_update_registry() (#391296).
9590 * tests/check/Makefile.am:
9591 * tests/check/gst/gstregistry.c:
9592 * tests/check/gst/.cvsignore:
9593 Simple unit test for the above.
9595 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9597 * gst/gstregistry.c: (gst_registry_scan_path_level):
9598 Plugin extension on HP-UX is .sl, add that to the list of approved
9599 plugin extensions (see #393796).
9601 * tests/check/gst/gstpad.c: (GST_START_TEST):
9602 ulong => gulong. Fixes compilation with HP-UX compiler.
9604 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9605 Fix compilation if valgrind headers are not available.
9607 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
9609 * win32/common/libgstreamer.def:
9610 Add new exported function.
9611 * win32/vs6/libgstbase.dsp:
9612 Add gstdataqueue.c to the build.
9613 * win32/vs6/libgstcoreelements.dsp:
9614 Add gstmultiqueue.c to the build.
9616 2007-01-06 Andy Wingo <wingo@pobox.com>
9618 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9619 activate_pull(), providing for a way to specialize the process of
9620 spawning a thread to pull on the sink pad. There is a default
9623 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9624 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9625 (gst_base_sink_init): Renamed pad activation functions (inserting
9626 "_pad" in their names). Refactor to use the new activate_pull
9627 vmethod, as appropriate.
9628 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9629 default activate_pull function to start a task pulling from the
9630 sink pad, as before.
9632 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9633 on the pads if necessary, as in push()/chain(). Update docs.
9634 Shouldn't affect existing pull() usage as it is currently only
9635 being used on buffers without caps.
9637 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9639 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9641 Call g_thread_init() first thing in gst_init() / gst_check_init().
9642 When initialisation is done via gst_init_get_option_group() and
9643 GOption parsing, issue a warning if the GLib thread system has not
9644 been initialised yet by the time gst_init_get_option_group() is
9645 called, as it's quite likely other GLib functions such as
9646 g_option_context_new() have been called already then, and
9647 g_thread_init() must be called before any other GLib function. The
9648 application in question must be fixed in that case, since memory
9649 corruption might happen otherwise.
9650 We issue the warning because even if the GLib folks decide to work
9651 around the problem on their end in future, this is still an issue
9652 with all GLib versions >= 2.10.0, so we should warn until we depend
9653 on a GLib version we know to be safe.
9654 Update documentation as well.
9657 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9659 * tools/gst-inspect.c: (main):
9660 * tools/gst-launch.c: (main):
9661 * tools/gst-typefind.c: (main):
9662 * tools/gst-xmlinspect.c: (main):
9663 Call g_thread_init() really really early, before any other GLib
9664 function (see #342564 and recent discussion on gtk-devel-list).
9666 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9668 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9670 * gst/gst_private.h:
9671 * gst/gstconfig.h.in:
9673 On win32, all the __declspec stuff for symbol exporting is
9674 apparently only needed with MSVC, but doesn't work with MingW.
9675 Fixes compilation with MingW and #391909.
9677 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9679 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9680 Change some GST_ERROR_OBJECT that aren't really errors to
9681 GST_WARNING_OBJECT in order to reduce terminal spam.
9683 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9685 * tests/check/Makefile.am:
9686 disable test again, as there seem to be still race problems
9688 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9690 * tests/check/Makefile.am:
9691 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9692 (GST_START_TEST), (queue_suite):
9693 enable queue test again, add tests for the leaky behaviour
9695 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9698 * tests/examples/Makefile.am:
9699 Compile adapter test/example only if the required headers are
9700 available (fixes #391915).
9702 2007-01-01 David Schleef <ds@schleef.org>
9705 Restore the previous signal handler for SIGSEGV instead of
9706 setting to default, since we may have stolen it away from
9707 someone. (i.e., Mono)
9709 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9711 * docs/random/draft-missing-plugins.txt:
9712 Some small additions and clarifications.
9714 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9716 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9717 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9718 since that can lead to random memory corruptions and crashes
9719 (may or may not be related to #383244, #386711, and #386711).
9721 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9723 * tests/check/.cvsignore:
9724 * tests/check/Makefile.am:
9725 sync .cvsignome and CLEANFILES
9727 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9729 * tests/check/Makefile.am:
9732 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9734 * docs/design/part-states.txt:
9735 two tiny additional comments
9737 * gst/gststructure.c:
9740 * tests/check/Makefile.am:
9741 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9743 disable test for now, unless it gets fixed
9745 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9747 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9749 fix race in underrun test
9751 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9753 * tests/check/elements/.cvsignore:
9756 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9758 try to narrow test failure
9760 2006-12-21 David Schleef <ds@schleef.org>
9762 * plugins/elements/gstfakesrc.c:
9763 Use g_random_int_range(), since it produces better random
9764 numbers in a range than almost-correct floating point code.
9766 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9768 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9769 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9770 (gst_check_teardown_sink_pad):
9771 do not automatically (de)activate pads
9773 * tests/check/Makefile.am:
9774 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9775 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9776 add new, yet simple tests for queue
9778 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9779 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9780 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9782 * tests/check/elements/identity.c: (cleanup_identity):
9783 consistent pad (de)activation
9785 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9787 Patch by: Sebastian Dröge <slomo ubuntu com>
9789 * libs/gst/base/gstcollectpads.c:
9790 Fix two doc typos (#387866).
9792 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9794 * docs/manual/advanced-dparams.xml:
9795 Fix typo (g_object_control_properties() doesn't exist).
9797 2006-12-19 Edward Hervey <edward@fluendo.com>
9799 * gst/gstsegment.c: (gst_segment_set_seek):
9800 Fine tune the cases where the segment start/stop values are really
9802 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9803 Add tests for the return values of gst_segment_set_seek().
9805 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9810 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9812 Fix incorrect documentation and flesh it out a bit more.
9813 Set default values for the max properties on the GParamSpec as well,
9814 so it shows up correctly in gst-inspect.
9816 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9818 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9819 Correct docs of queue, add more detail and crosslink it more.
9821 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9823 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9824 Print additional debug info when the stream isn't perfectly
9825 timestamped; don't try to use invalid durations.
9827 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9829 * docs/design/Makefile.am:
9830 Dist new design docs.
9832 2006-12-16 Wim Taymans <wim@fluendo.com>
9834 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9836 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9837 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9838 (gst_collect_pads_stop), (gst_collect_pads_event),
9839 (gst_collect_pads_chain):
9840 * libs/gst/base/gstcollectpads.h:
9841 Add refcounting to the collectpads data so we can track when it's safe
9842 to free the data. Fixes #383382.
9844 2006-12-15 Wim Taymans <wim@fluendo.com>
9846 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9847 (gst_collect_pads_remove_pad):
9848 Automatically activate/deactivate pads when they are added to a
9849 started/stoped collectpads.
9851 2006-12-15 Wim Taymans <wim@fluendo.com>
9853 * gst/gstelement.c: (gst_element_add_pad):
9854 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9855 * gst/gstpad.c: (gst_pad_init):
9856 Set pads to FLUSHING when they are created. Check, warn and fix when a
9857 demuxer adds an inactive pad to itself when running. Fixes #339326.
9859 2006-12-15 Wim Taymans <wim@fluendo.com>
9861 * gst/gstelement.c: (gst_element_class_init),
9862 (gst_element_default_send_event), (gst_element_send_event),
9863 (gst_element_default_query), (gst_element_query):
9864 Expose default element send_event and query handling as vmethods that
9865 subclasses can chain up to.
9867 2006-12-15 Wim Taymans <wim@fluendo.com>
9869 * gst/gstelement.c: (gst_element_set_state_func):
9870 Small documentation fixes.
9872 2006-12-15 Wim Taymans <wim@fluendo.com>
9874 * docs/design/draft-latency.txt:
9875 Checked in draft for handling latency in pipelines.
9877 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9881 * gstreamer.spec.in:
9884 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9886 * gst/gst.c: (init_pre), (init_post):
9887 init_pre() and init_post() might be called via our GOptionGroup or
9888 from gst_init(), and we should skip both of them if we've already
9889 been initialised, otherwise we will init some things twice or add
9890 two default log functions.
9892 2006-12-13 Edward Hervey <edward@fluendo.com>
9894 * docs/manual/basics-bus.xml:
9895 No, gst_main_loop does not exist. Its g_main_loop.
9896 Discovered by somebody who abused the copy-paste technique of coding :)
9898 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9900 * gst/gstghostpad.c:
9901 Log ghostpad debug stuff to the GST_PADS category as well rather
9902 than just to the default category.
9904 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9907 * gst/gst.c: (init_pre):
9908 Add some basic system details such as OS and architecture
9909 to the debug output if possible, courtesy of uname().
9911 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9913 * docs/gst/running.xml:
9914 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9915 environment variables.
9917 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9919 * tests/check/gst/gstbin.c: (GST_START_TEST):
9920 It is acceptable to have a refcount of 2 or 3 at this point in the
9921 test, because the pipeline might be just posting its state_change
9922 message. The next line then waits for that message to appear using
9923 bus_poll, so that should be fine too.
9925 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9927 * gst/gst.c: (ensure_current_registry_forking):
9928 Ignore EINTR when reading from the child registry pipe.
9929 Explicitly ignore the return value from close, since it makes no
9932 * gst/gstminiobject.c: (gst_mini_object_ref),
9933 (gst_mini_object_unref):
9934 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9936 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9937 When removing cached plugins, remove their features too, so they're
9938 not visible after they've disappeared.
9940 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9941 In the unlikely case that we are linking pads with no parents, don't
9942 crash trying to get the non-existent parent bin.
9944 * gst/parse/grammar.y:
9945 Output debug in the PIPELINE category
9947 2005-03-08 Wim Taymans <wim@fluendo.com>
9949 Patch by: René Stadler <mail at renestadler dot de>
9951 * gst/gstclock.c: (gst_clock_new_periodic_id):
9952 Reject invalid clock times for interval of periodic ids.
9955 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9957 * gst/gstelementfactory.c: (gst_element_factory_create):
9958 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9959 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9960 * tools/gst-inspect.c: (print_element_info):
9961 Fix refcounting of gst_plugin_feature_load to match the docs.
9964 2006-12-07 Wim Taymans <wim@fluendo.com>
9966 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9967 (gst_base_sink_get_position):
9968 Improve debugging of events.
9970 2006-12-07 Wim Taymans <wim@fluendo.com>
9972 Patch by: René Stadler <mail at renestadler dot de>
9974 * gst/gstclock.c: (gst_clock_id_wait):
9975 Make period ids add the interval to the origial requested time instead
9976 of the possibly updated time which can be wrong when there are multiple
9977 waiters for the same id. Fixes #382592.
9979 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9980 (gst_system_clock_id_wait_jitter_unlocked),
9981 (gst_system_clock_id_wait_jitter):
9982 Fix restart in the async notify thread when an async entry is added to
9983 the front of the list. Fixes #381492.
9985 * tests/check/gst/gstsystemclock.c: (store_callback),
9986 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9987 Added test for multiple async waits.
9988 Added test for async wait order.
9990 2006-12-07 Wim Taymans <wim@fluendo.com>
9992 * gst/gstbin.c: (gst_bin_query):
9993 Add some more docs about the POSITION query.
9995 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9998 Bump version nano - back to CVS.
10000 === release 0.10.11 ===
10002 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10005 releasing 0.10.11, "Love never runs on time"
10007 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10009 * win32/common/libgstbase.def:
10010 * win32/common/libgstreamer.def:
10011 * win32/vs8/libgstbase.vcproj:
10012 * win32/vs8/libgstcoreelements.vcproj:
10013 * win32/vs8/libgstreamer.vcproj:
10014 Fix compilation on win32 under VS8
10015 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10016 Partially fixes #381175
10018 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10020 * gst/gstvalue.c: (gst_value_compare_fraction):
10021 If someone is foolish enough to compare 2 fractions with denominator =
10022 0, return UNORDERED rather than aborting.
10024 2006-11-28 Edward Hervey <edward@fluendo.com>
10026 * libs/gst/base/Makefile.am:
10027 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10028 (gst_data_queue_base_init), (gst_data_queue_class_init),
10029 (gst_data_queue_init), (gst_data_queue_new),
10030 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10031 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10032 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10033 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10034 (gst_data_queue_set_flushing), (gst_data_queue_push),
10035 (gst_data_queue_pop), (gst_data_queue_drop_head),
10036 (gst_data_queue_set_property), (gst_data_queue_get_property):
10037 * libs/gst/base/gstdataqueue.h:
10038 New GstDataQueue object for threadsafe queueing. Most useful for
10039 elements that need some queueing functionnality.
10040 * docs/libs/gstreamer-libs-docs.sgml:
10041 * docs/libs/gstreamer-libs-sections.txt:
10042 Insert documentation for GstDataQueue
10043 * plugins/elements/Makefile.am:
10044 * plugins/elements/gstelements.c:
10045 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10046 (gst_multi_queue_class_init), (gst_multi_queue_init),
10047 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10048 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10049 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10050 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10051 (gst_multi_queue_loop), (gst_multi_queue_chain),
10052 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10053 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10054 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10055 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10056 (wake_up_next_non_linked), (compute_next_non_linked),
10057 (single_queue_overrun_cb), (single_queue_underrun_cb),
10058 (single_queue_check_full), (gst_single_queue_new):
10059 * plugins/elements/gstmultiqueue.h:
10060 New multiqueue element, using GstDataQueue. Used for queuing multiple
10062 Closes #344639 and #347785
10064 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10066 * docs/pwg/advanced-types.xml:
10067 add more missing type details
10069 * tools/gst-run.c: (main):
10070 remove unused variable
10072 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10074 * docs/libs/Makefile.am:
10075 * docs/libs/gstreamer-libs.types:
10076 add types of base classes to enable gobject specific stuff in the docs
10078 * docs/random/ensonic/embedded.txt:
10079 more ideas about isolating platform specific things
10081 2006-11-20 Wim Taymans <wim@fluendo.com>
10083 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10085 * libs/gst/check/gstcheck.h:
10086 Fix compilation and running against 0.9.4. Fixes #377332.
10088 2006-11-20 Wim Taymans <wim@fluendo.com>
10090 * gst/gstsegment.c: (gst_segment_set_seek),
10091 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10092 (gst_segment_to_running_time):
10093 Fix boundary checking in to_running_time() and to_stream_time().
10096 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10097 stream and running time can now be calculated for the complete
10100 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
10102 * gst/gstpad.c: (gst_pad_push_event):
10103 Can't access event structure after giving away ownership of
10106 2006-11-15 Stefan Kost <ensonic@users.sf.net>
10108 * docs/random/ensonic/embedded.txt:
10109 * docs/random/ensonic/profiling.txt:
10110 * docs/random/ensonic/receipies.txt:
10113 2006-11-13 Wim Taymans <wim@fluendo.com>
10115 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10118 Fix documentation for gst_pad_dispatcher. Fixes #374475.
10120 2006-11-13 Wim Taymans <wim@fluendo.com>
10122 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10124 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10125 Store new length in segment duration so we don't keep on calling the
10126 potentially expensize get_size() call. Fixes #370865.
10128 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
10130 Patch by: Sergey Scobich <sergey.scobich at gmail com>
10132 * win32/common/libgstreamer.def:
10133 Add two missing symbols (#366492).
10135 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
10137 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
10138 (gst_adapter_take_buffer):
10139 Fix format string to use all its arguments.
10140 Remove useless >= check on a guint
10142 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10144 * tests/examples/adapter/.cvsignore:
10145 Ignore build file as commanded by the build-bot
10147 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10149 * tests/examples/adapter/Makefile.am:
10150 * tests/examples/adapter/adapter_test.c: (run_test_take),
10151 (run_test_take_buffer), (run_tests), (main):
10153 Add new files from the previous commit
10155 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10159 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
10160 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
10161 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
10162 * libs/gst/base/gstadapter.h:
10163 * tests/check/libs/adapter.c: (create_and_fill_adapter),
10164 (GST_START_TEST), (gst_adapter_suite):
10165 * tests/examples/Makefile.am:
10166 Do some optimisation work in GstAdapter to avoid copies in more cases.
10167 It could still do slightly better by merging buffers when
10168 gst_buffer_is_span_fast is true, but is already faster.
10170 Also, avoid traversing a single-linked list to append each incoming
10171 buffer inside the adapter.
10173 Add simple test app that times the adapter behaviour in different
10174 situations, and extend the unit test to check that bytes enter and
10175 exit the adapter in their original order.
10177 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
10179 * docs/random/draft-missing-plugins.txt:
10180 Update: use element message instead of adding a new message
10181 type to the core; don't provide GStreamer API to initiate the
10182 plugin download, just provide API to compose the strings needed
10183 and let an external libgimmestuff handle the rest.
10185 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
10187 * tools/gst-inspect.c: (print_element_properties_info):
10188 Print a string instead of 'unknown type' for GValueArray properties
10190 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
10192 * docs/random/draft-missing-plugins.txt:
10195 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
10197 * tests/examples/typefind/typefind.c: (type_found), (main):
10198 Make typefind element example work again (#371894); add a
10201 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
10203 * docs/random/draft-missing-plugins.txt:
10204 Commit initial draft about how to deal with missing plugins,
10205 needs work (API too).
10207 2006-11-07 Stefan Kost <ensonic@users.sf.net>
10209 * docs/pwg/advanced-types.xml:
10210 documents the new caps elements (see #363118)
10212 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
10214 * gst/gstplugin.c: (gst_plugin_load_file):
10215 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
10216 (gst_file_src_map_region), (gst_file_src_start):
10217 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
10218 (gst_file_index_commit):
10219 Use g_strerror() instead of strerror() - we want UTF-8.
10221 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
10223 Patch by: Peter Kjellerstedt <pkj at axis com>
10225 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10226 Another printf fix (#371493).
10228 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10230 * tests/check/gst/gsttag.c:
10231 relicence (okay with author=company)
10233 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10235 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10236 (gst_pad_push_event):
10237 Enhance debug and improve docs
10242 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10244 * docs/random/ensonic/distributed.txt:
10245 * docs/random/ensonic/profiling.txt:
10248 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10250 * docs/gst/gstreamer-sections.txt:
10251 add new API and fix the build
10253 * gst/gstbin.c: (gst_bin_recalc_state):
10254 * gst/gstelement.c: (gst_element_message_full),
10255 (gst_element_get_state_func), (gst_element_set_state_func):
10256 use new API and improve logging
10258 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10260 API: add function to get StateChangereturn names to improve logs
10262 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
10264 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10265 I'm considering shooting the next person to put strerror stuff
10266 in the translateable part of the message.
10268 2006-11-03 Wim Taymans <wim@fluendo.com>
10270 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10271 Get the type and printf conversion specifiers right.
10273 2006-11-03 Wim Taymans <wim@fluendo.com>
10275 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10277 * gst/gstpad.c: (gst_pad_init), (pre_activate),
10278 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
10279 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
10280 Some small cleanups. Improve debugging.
10282 Signal all waiting threads with a broadcast instead of just one.
10285 2006-11-03 Wim Taymans <wim@fluendo.com>
10287 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
10288 (gst_fd_src_create):
10289 Add some debugging.
10290 Only update fd when it's different from the old.
10292 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
10294 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
10295 Printf fixes for PPC/OSX, take two (#369366).
10297 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
10299 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
10301 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10302 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10303 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
10304 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
10305 don't cast to long long for portability reasons, but use
10306 GLib's types instead.
10308 2006-10-30 Michael Smith <msmith@fluendo.com>
10310 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10311 Get the arguments to lseek() the right way around.
10314 2006-10-30 Wim Taymans <wim@fluendo.com>
10316 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
10319 _declspec should be __declspec (two underscores, not one). Fixes 366572.
10321 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
10323 Patch by: Kjartan Maraas <kmaraas at gnome org>
10325 * docs/design/part-MT-refcounting.txt:
10326 * docs/random/wtay/capsnego2-docs:
10329 Typo fixes (#366212).
10331 2006-10-28 Wim Taymans <wim@fluendo.com>
10333 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10336 * win32/common/libgstbase.def:
10337 * win32/common/libgstreamer.def:
10338 * win32/vs8/libgstbase.vcproj:
10339 * win32/vs8/libgstcontroller.vcproj:
10340 Add needed entries in .def files.
10342 Rearrange def files in vs8 solutions. Fixes #366286.
10344 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
10346 * win32/common/gstconfig.h:
10347 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
10348 hand-made win32 gstconfig.h. Fixes #366321.
10350 2006-10-27 Wim Taymans <wim@fluendo.com>
10352 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
10353 (gst_ghost_pad_new_full):
10354 Make acceptcaps return TRUE when we don't have a target, just like
10357 2006-10-27 Wim Taymans <wim@fluendo.com>
10359 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10360 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
10362 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
10364 * gst/gststructure.c: (gst_structure_id_set_value):
10365 If someone tries to set a non-UTF8 string field on a structure,
10366 don't just print a warning, but also ignore the request and do
10367 not change/add that field to the structure.
10369 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10370 Test for the above.
10372 2006-10-25 David Schleef <ds@schleef.org>
10375 g_hash_table_insert() needs a cast to a non-const pointer duh.
10377 2006-10-25 David Schleef <ds@schleef.org>
10381 Change name parameter of _gst_debug_register_funcptr to const
10382 to reflect the constness of its use in the function as well
10383 as to quiet a gcc warning.
10385 2006-10-25 Edward Hervey <edward@fluendo.com>
10387 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10388 Don't push the buffer if it's empty.
10391 2006-10-24 Wim Taymans <wim@fluendo.com>
10396 * libs/gst/base/gstbasetransform.c:
10397 (gst_base_transform_sink_eventfunc):
10398 Debug segment values *after* updating them as this is more
10401 2006-10-23 Wim Taymans <wim@fluendo.com>
10403 * docs/design/part-events.txt:
10406 * docs/design/part-block.txt:
10407 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10408 (gst_pad_push_event):
10409 Revert BLOCKING patch, it tries to be smart without really having a
10410 clear idea what or how. So, now we discard all FLUSHING events again on
10411 a blocking pad. Should fix gnonlin again.
10413 2006-10-23 Wim Taymans <wim@fluendo.com>
10415 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10417 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10418 (gst_base_src_start), (gst_base_src_activate_push):
10419 Make sure size is always initialized. Fixes #364388.
10421 2006-10-20 Stefan Kost <ensonic@users.sf.net>
10423 * docs/random/ensonic/distributed.txt:
10424 add some ideas about doing distributed processing
10426 * docs/random/ensonic/profiling.txt:
10427 get_rusage look promising
10429 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10431 * docs/manual/basics-helloworld.xml:
10432 Add a cast in example to fix compile warning
10434 2006-10-18 Wim Taymans <wim@fluendo.com>
10436 * gst/gstsegment.c: (gst_segment_set_last_stop),
10437 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10438 Relax arg checking again, -1 is allowed.
10440 2006-10-18 Wim Taymans <wim@fluendo.com>
10442 * gst/gstsegment.c: (gst_segment_set_last_stop),
10443 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10444 _set_last_stop() must be with a value != -1
10445 A _TYPE_SET to -1 means seek to 0.
10446 Calc last_stop correctly for negative rates.
10447 Make sure we work with positive durations when updating a segment.
10449 2006-10-18 Wim Taymans <wim@fluendo.com>
10451 * docs/design/part-live-source.txt:
10455 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
10458 Add an explicit cast to GstBuffer** to keep old code that added an
10459 explicit cast to GstMiniObject** for gst_mini_object_replace()
10460 compiling without warning.
10462 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10464 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10465 check for validity of dates
10467 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10469 * docs/gst/gstreamer-sections.txt:
10470 Forgot this one, makes gtk-doc shut up.
10472 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10474 Patch by: Peter Kjellerstedt <pkj at axis com>
10477 Don't define xmlNodePtr to gpointer if the core was built with
10478 --disable-loadsave and --disable-registry, this will break
10479 applications that want to use libxml2 but are buildling against a
10480 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10481 instead so we don't have to mess with the libxml2 namespace
10484 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10487 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10488 type-punned pointer warnings.
10490 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
10492 * gst/gstelement.h:
10493 Add casts to the correct return type to state <=> state transition
10496 2006-10-16 Stefan Kost <ensonic@users.sf.net>
10498 * docs/design/part-live-source.txt:
10499 describe howto handle latency
10501 * docs/random/ensonic/profiling.txt:
10504 * tools/gst-plot-timeline.py:
10505 fix log parsing for solaris, remove unused function
10507 2006-10-16 Wim Taymans <wim@fluendo.com>
10509 * docs/design/part-trickmodes.txt:
10511 Update some docs regarding reverse playback.
10513 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
10515 Patch by: Marcus Granado <mrc dot gran at gmail com>
10517 * win32/vs8/grammar.vcproj:
10518 Error out with a warning if glib-genmarshal.exe is not in path,
10519 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10521 2006-10-13 Wim Taymans <wim@fluendo.com>
10523 * gst/gstsegment.c: (gst_segment_set_seek):
10524 When seeking to stop -1, set last_stop (current position) to the
10525 duration of the segment.
10527 2006-10-13 Wim Taymans <wim@fluendo.com>
10529 * gst/gstelement.h:
10530 Clarify _NO_PREROLL a bit more.
10535 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10536 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10537 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10538 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10539 due to wrong locking order. Fixes #361769.
10540 Remove some redundant/misplaced checks in pad_block.
10542 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10543 For negative rates, count backwards from the duration.
10545 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
10547 * gst/gsterror.c: (_gst_library_errors_init):
10548 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10549 up with something better).
10551 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10553 * win32/vs6/libgstreamer.dsp:
10554 * win32/vs7/libgstreamer.vcproj:
10555 * win32/vs8/libgstreamer.vcproj:
10556 Don't reference glib-compat.c which is currently not used and not
10557 disted; add gstquark.c which was recently added. Fixes #361730.
10559 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10561 * win32/common/libgstbase.def:
10562 * win32/common/libgstcontroller.def:
10563 * win32/common/libgstreamer.def:
10564 Add gst_caps_merge() and a bunch of other recently-added functions.
10567 2006-10-11 Wim Taymans <wim@fluendo.com>
10569 * docs/plugins/gstreamer-plugins.args:
10570 * docs/plugins/inspect/plugin-coreelements.xml:
10571 * docs/plugins/inspect/plugin-coreindexers.xml:
10572 Update element args.
10574 * gst/gstsystemclock.c:
10575 Small comment update.
10577 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10578 (gst_tee_request_new_pad), (gst_tee_release_pad),
10579 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10580 (gst_tee_sink_activate_pull):
10581 * plugins/elements/gsttee.h:
10583 Add default property defines.
10584 Implement release pad function.
10585 Give properties better blubs etc.
10586 Activate pads before adding them to a running tee.
10587 Do simple buffer_alloc on the first requested pad.
10588 Post error when activation fails.
10590 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10592 * gst/gst.c: (ensure_current_registry_forking):
10593 Check return value of write() to make compiler happy.
10595 2006-10-11 Wim Taymans <wim@fluendo.com>
10597 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10599 * plugins/elements/gstqueue.c: (gst_queue_chain):
10600 Recheck queue filledness after signalling the overrun when we're about
10601 to leak downstream because we released the lock when emitting the signal
10602 and the queue could be empty again. Fixes #352345.
10604 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10606 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10607 Fix refcounting here too, just like we did for _new_valist() a few
10608 days ago (#357180) (thanks to René Stadler). Also remove all those
10609 'Since: 0.9' from the gtk-doc blobs.
10611 * tests/check/libs/controller.c: (controller_refcount_new_list),
10612 (gst_controller_suite):
10613 Unit test for the above.
10615 2006-10-10 Wim Taymans <wim@fluendo.com>
10617 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10619 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10620 (gst_pad_save_thyself):
10622 Write pad direction in XML output. Fixes #345496.
10624 2006-10-10 Wim Taymans <wim@fluendo.com>
10626 Patch by: René Stadler <mail at renestadler dot de>
10628 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10629 (gst_controller_new_list), (_gst_controller_dispose),
10630 (_gst_controller_finalize), (_gst_controller_class_init):
10631 Take ref to controlled object so that it cannot disappear.
10634 2006-10-10 Wim Taymans <wim@fluendo.com>
10636 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10637 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10638 (gst_check_teardown_sink_pad):
10639 Activate/deactivate pads in setup/teardown respectively.
10641 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10643 Patch by: Josep Torra Valles <josep@fluendo.com>
10646 Cast values when making gstenumtypes.h. This pacifies Forte
10647 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10648 in the enumeration.
10650 2006-10-09 Wim Taymans <wim@fluendo.com>
10652 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10653 Rename some more @cur to @start to fix docs.
10655 * gst/gstsegment.c: (gst_segment_set_seek):
10657 time and start must always stay in sync as defined in design doc.
10659 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10660 Rename param to fix docs.
10662 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10663 Check that start and time are in sync.
10665 * tests/check/pipelines/parse-launch.c:
10666 (gst_parse_test_element_change_state):
10667 Activate pad before adding to the element.
10669 2006-10-09 Wim Taymans <wim@fluendo.com>
10671 * docs/design/part-qos.txt:
10676 Update seek event docs regarding negative rates.
10677 Rename @cur to @start.
10679 * gst/gstsegment.c: (gst_segment_set_seek):
10680 * gst/gstsegment.h:
10681 Update set_seek docs regarding negative rates.
10682 Correctly update last_stop to @stop when dealing with negative
10684 Rename @cur to @start.
10686 * tests/check/gst/gstpad.c: (GST_START_TEST):
10687 Activate pads before trying to use them.
10689 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10690 (gst_segment_suite):
10691 Add simple check for segments and negative rates.
10693 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10695 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10696 * gst/gsttaglist.h:
10697 * docs/gst/gstreamer-sections.txt:
10698 API: add gst_tag_list_is_empty() (#360467).
10700 * tests/check/gst/gsttag.c: (GST_START_TEST):
10703 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10705 * gst/gstmessage.h:
10706 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10707 a value that doesn't fit on enumeration.
10709 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10711 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10712 Remove local debugging system and use Gstreamer's instead.
10714 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10716 Patch by: Josep Torra Valles <josep@fluendo.com>
10718 * common/m4/gst-error.m4:
10719 Disable warning of statement not reached on Forte.
10720 * gst/gstmessage.h:
10721 Fix warning on Forte (value doesn't fit on enumeration).
10722 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10723 Fix warning on Forte (value doesn't fit on enumeration).
10724 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10725 DEBUG macro says it takes minimum of 2 args and so Forte
10726 complains about the use with just 1 arg.
10727 * plugins/elements/gstfdsink.c:
10728 * plugins/elements/gstfdsrc.c:
10729 * plugins/elements/gstfilesink.c:
10730 * plugins/elements/gstfilesrc.c:
10731 Use correct return type for the uri handler implementations.
10733 All these fix warnings in Forte. Fixes bug #360860.
10735 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10737 * gst/gstelement.h:
10738 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10739 format string, so don't use G_GNUC_PRINTF for those versions.
10741 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10743 * gst/gsttaglist.c: (gst_is_tag_list):
10744 * gst/gsttaglist.h:
10745 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10747 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10748 Small test for the above.
10750 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10752 * gst/gsttaglist.h:
10753 Less tabs, more spaces.
10755 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10758 Those two function declarations do actually belong there, revert
10759 commit from yesterday that turned them intro macros.
10761 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10763 Patch by: Josep Torra Valles <josep@fluendo.com>
10765 * gst/gst.c: (gst_init_get_option_group):
10766 Fix empty declaration and type mismatch.
10767 * gst/gstbin.c: (gst_bin_change_state_func):
10769 * gst/gstelement.c: (gst_element_continue_state),
10770 (gst_element_set_state_func), (gst_element_change_state),
10771 (gst_element_change_state_func):
10772 Fix type mismatches.
10773 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10774 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10775 Cast as appropriate.
10776 * gst/gstobject.c: (gst_class_signal_connect):
10777 Cast as appropriate. The function pointer parameter really
10778 has the wrong type but would break API if we change it.
10780 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10781 order of including string.h.
10782 * gst/gstutils.c: (gst_element_state_get_name):
10783 Remove unreachable line.
10784 * gst/gstxml.c: (gst_xml_parse_doc):
10786 All these caught by Forte.
10788 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10790 Patch by: Josep Torra Valles <josep@fluendo.com>
10792 * common/m4/gst-error.m4:
10794 We need to disable warnings on Forte for empty declarations
10795 due to gst-indent adding ;s to lines that just use macros
10796 where the macro actually doesn't need a ; at end to end
10799 2006-10-06 Wim Taymans <wim@fluendo.com>
10801 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10802 (gst_file_sink_close_file), (gst_file_sink_event),
10803 (gst_file_sink_render):
10804 Add some FIXME for the NEWSEGMENT handling.
10806 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10808 * gst/parse/grammar.y:
10809 Remove static function gst_parse_element_lock as all it does
10810 is return. Looks like cruft from 0.8.
10812 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10814 Patch by: Josep Torra Valles <josep@fluendo.com>
10816 * common/m4/gst-error.m4:
10818 * libs/gst/net/Makefile.am:
10819 Fix a compilation issue with Forte on Solaris. inet_aton is in
10822 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10824 * gst/gstpad.c: (pre_activate):
10825 * gst/gstregistry.c: (gst_registry_scan_path_level):
10826 * gst/gstregistryxml.c: (load_plugin):
10827 * libs/gst/controller/gstcontroller.c:
10828 (gst_controlled_property_set_interpolation_mode):
10829 * libs/gst/dataprotocol/dataprotocol.c:
10830 (gst_dp_packet_from_event_1_0):
10831 * libs/gst/net/gstnetclientclock.c:
10832 (gst_net_client_clock_observe_times):
10833 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10836 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10839 * docs/gst/gstreamer-sections.txt:
10840 * gst/gstconfig.h.in:
10841 * gst/gstelement.h:
10843 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10844 whether we can use G_GNUC_PRINTF in other header files and at
10845 least check the printf format/arguments of debug messages and
10846 GST_ELEMENT_ERROR messages when the printf extension is not
10848 Replace more tabs with spaces in gstinfo.h and remove two spurious
10849 function declarations in GST_DISABLE_DEBUG part with macros.
10851 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10853 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10854 More docs for the sync-message signal (mention that it is not
10855 emitted by default); log message structures of messages posted on
10858 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10860 * gst/gst.c: (ensure_current_registry_forking):
10861 Use a pipe pair to receive status results from the forked child, and
10862 ignore the result from waitpid. Fixes #355499
10864 2006-10-02 Wim Taymans <wim@fluendo.com>
10866 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10867 (gst_ghost_pad_suite):
10870 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10873 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10875 2006-10-02 Edward Hervey <edward@fluendo.com>
10877 * docs/design/part-block.txt:
10878 Further explain the use of flushing on blocked pads.
10879 * docs/gst/gstreamer-sections.txt:
10880 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10881 (gst_pad_push_event):
10883 Added new GstPadFlag : GST_PAD_BLOCKING.
10884 Adds the notion of pads really blocking, which enables to properly
10885 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10887 API: gst_pad_is_blocking()
10888 API: GST_PAD_IS_BLOCKING() macro
10889 API: GST_PAD_BLOCKING GstPadFlag
10891 2006-10-02 Wim Taymans <wim@fluendo.com>
10893 Patch by: mrcgran <mrc.gran at gmail dot com>
10895 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10896 Filter the proxied caps against the padtemplate if we have one.
10898 * gst/gstquery.c: (gst_query_new_segment):
10899 Add include for gstinfo.h so that compilation with
10900 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10902 2006-10-02 Wim Taymans <wim@fluendo.com>
10904 Patch by: Alessandro Decina <alessandro at nnva org>
10906 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10907 (gst_file_sink_set_location), (gst_file_sink_open_file),
10908 (gst_file_sink_close_file), (gst_file_sink_event),
10909 (gst_file_sink_render):
10910 Set file to NULL when closing filesink so that we can set a new filename
10911 in READY. Fixes #358613.
10913 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10915 Patch by: Alessandro Decina <alessandro at nnva org>
10917 * gst/gstevent.c: (_gst_event_copy):
10918 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10919 with event structures by setting the parent refcount address of the
10920 copied structure to the address of the refcount member of the newly
10921 copied event rather than the address of the refcount member of the
10922 original event. Fixes #358737.
10924 * tests/check/gst/gstevent.c: (GST_START_TEST):
10925 Unit test for the above.
10927 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10929 * docs/design/Makefile.am:
10930 Dist some more files.
10932 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10934 * tests/check/libs/controller.c: (GST_START_TEST),
10935 (gst_controller_suite):
10936 Add test for the previous fix; add some more tests
10937 for correct refcounting behaviour; fix a few leaks
10938 in test cases; call gst_controller_init() at start
10941 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10943 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10944 (gst_controller_set_from_list):
10945 Don't g_return_val_if_fail() on timed values with invalid timestamps
10946 inside a critical section without unlocking the mutex. Spotted by
10947 René Stadler. (#357617)
10948 Also, fix up refcounting properly: when returning an existing
10949 controller, we should increase the reference only once and not
10950 once per property and when trying to control a property again
10951 we should also increase the refcount.
10953 2006-09-29 Wim Taymans <wim@fluendo.com>
10955 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10956 * libs/gst/net/gstnettimeprovider.c:
10957 (gst_net_time_provider_thread):
10958 Stop reading commands when EOF as well.
10960 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10961 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10962 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10963 Unify description of the dump property.
10965 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10967 * tests/examples/manual/.cvsignore:
10968 OK, so it's actually cvsignore that needs changing. Stop laughing.
10970 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10972 * tests/examples/manual/Makefile.am:
10973 Gah, declare vars *before* using them
10975 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10977 * gst/gst.c: (init_pre), (scan_and_update_registry),
10978 (ensure_current_registry_nonforking),
10979 (ensure_current_registry_forking), (ensure_current_registry),
10980 (init_post), (gst_debug_help), (gst_deinit):
10981 * gst/gst_private.h:
10982 * gst/gstregistry.c: (gst_registry_finalize),
10983 (gst_registry_remove_features_for_plugin_unlocked),
10984 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10985 (gst_registry_scan_path),
10986 (_priv_gst_registry_remove_cache_plugins),
10987 (_priv_gst_registry_cleanup):
10988 * gst/gstregistry.h:
10989 Re-commit the registry changes, along with an extra fix:
10990 When a cached plugin is encountered at a different file path,
10991 update the stored path in the registry cache so that the parent
10992 process knows where it actually is now when it re-reads the registry
10993 cache. Fixes the thing that broke distcheck with the previous commit.
10995 * tests/check/Makefile.am:
10996 Clean up files named 'core' too when running make clean.
10998 * tests/examples/manual/Makefile.am:
10999 Set up a registry path for running these tests, and clean it properly
11002 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11005 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11006 want gmodule-no-export-2.0.pc instead so that we don't drag in
11007 --export-dynamic on every project that links to GStreamer.
11009 Also, make our export regex only match the start of symbols, rather
11010 than any symbol that contains '_gst' somewhere.
11012 * libs/gst/check/Makefile.am:
11013 The libgstcheck we build does however need export-dynamic, as it
11014 produces some symbols that don't match our _gst... style regex.
11017 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11019 * gst/gst.c: (init_pre), (scan_and_update_registry),
11020 (ensure_current_registry_nonforking),
11021 (ensure_current_registry_forking), (ensure_current_registry),
11022 (init_post), (gst_debug_help), (gst_deinit):
11023 * gst/gst_private.h:
11024 * gst/gstregistry.c: (gst_registry_finalize),
11025 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11026 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11027 (_gst_registry_cleanup):
11028 * gst/gstregistry.h:
11029 Revert previous change until I figure out why it breaks distcheck.
11031 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11033 * gst/gst.c: (init_pre), (scan_and_update_registry),
11034 (ensure_current_registry_nonforking),
11035 (ensure_current_registry_forking), (ensure_current_registry),
11036 (init_post), (gst_debug_help), (gst_deinit):
11038 Make init_pre and init_post take the full complement of GOptionFunc
11039 args so they can return useful GErrors. Make the registry updating
11042 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11043 ensure that the registry we're about to write out doesn't contain
11044 stale information about old-deleted plugin files.
11046 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11047 that deletion of plugin files is considered a registry change.
11049 * gst/gst_private.h:
11050 * gst/gstregistry.c: (gst_registry_finalize),
11051 (gst_registry_remove_features_for_plugin_unlocked),
11052 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11053 (gst_registry_scan_path),
11054 (_priv_gst_registry_remove_cache_plugins),
11055 (_priv_gst_registry_cleanup):
11056 * gst/gstregistry.h:
11057 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11058 by adding _priv prefix, so that they won't appear in the global
11059 symbol table. They still do atm though because of #318031. Move the
11060 prototypes to gst_private.h
11062 When removing a plugin, remove all features for that plugin too.
11065 2006-09-27 Wim Taymans <wim@fluendo.com>
11067 * docs/random/moving-plugins:
11068 Make it clear that the "compiled-in descriptions" really mean
11069 the element details.
11071 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11072 (gst_base_sink_wait_preroll):
11075 * docs/libs/gstreamer-libs-sections.txt:
11076 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11077 (gst_base_src_get_range), (gst_base_src_activate_push):
11078 * libs/gst/base/gstbasesrc.h:
11079 Added function to block while waiting for PLAYING, this function
11080 is used by live sources that block on the clock.
11081 API: gst_base_src_wait_playing()
11083 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11085 Patch by: Peter Kjellerstedt <pkj at axis com>
11088 gst-element-check.m4 is generated and should therefore be
11089 copied from the build dir rather than the source dir (#357593).
11090 'make distcheck' hasn't noticed this because we were disting
11091 the file as well, so stop doing that.
11093 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11095 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11096 Add some tests for gst_caps_intersect().
11098 * tools/gst-launch.c: (event_loop):
11099 Print all buffering percentages we get, even the 100% one.
11101 2006-09-26 Wim Taymans <wim@fluendo.com>
11103 * tools/gst-inspect.c: (print_element_properties_info),
11104 (print_signal_info):
11105 Fix printing of flags to match the look of enums.
11107 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11109 * gst/gstelementfactory.c:
11110 Fix typo in docs blurb.
11112 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11114 * gst/gsturi.c: (search_by_entry):
11115 Don't assert/crash here if a uri handler doesn't return any
11116 supported protocols. The list of protocols could be generated
11117 dynamically at runtime or at plugin registration, and an error
11118 in the underlying library shouldn't be fatal (#353301).
11120 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11123 Fix warning if HAVE_PRINTF_EXTENSION is undefined
11124 (spotted by Peter Kjellerstedt).
11126 2006-09-23 Wim Taymans <wim@fluendo.com>
11128 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11130 * libs/gst/base/gstbasesrc.c:
11131 (gst_base_src_default_check_get_range), (gst_base_src_start),
11132 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11133 (gst_base_src_change_state):
11134 Match _start/_stop calls in the activate functions. Remove redundant
11135 _stop call from the state change function. Fixes #356910.
11136 Turn failure DEBUG into ERROR.
11138 2006-09-22 Wim Taymans <wim@fluendo.com>
11140 * docs/design/part-buffering.txt:
11141 * gst/gstmessage.c: (gst_message_new_buffering),
11142 (gst_message_parse_buffering):
11143 Update docs about buffering.
11145 * docs/design/part-trickmodes.txt:
11148 2006-09-22 Stefan Kost <ensonic@users.sf.net>
11150 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11151 (gst_controller_new_list):
11152 Ref instances when returning them again (fixes #357180)
11154 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
11156 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
11157 Don't forget to release proxy lock when there's an error.
11159 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
11162 Add extra initialisers for Caps things, to fix some plugin warnings
11165 2006-09-18 Wim Taymans <wim@fluendo.com>
11167 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11168 Also set template on the internal pad so that a getcaps from the
11169 target pad returns the template caps.
11171 2006-09-18 Wim Taymans <wim@fluendo.com>
11173 * gst/gstelement.c: (gst_element_post_message),
11174 (gst_element_dispose):
11175 Use _DEBUG_OBJECT some more.
11177 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11180 * tools/gst-launch.c: (main):
11181 If the toplevel element is not a GstPipeline, it must be put in a
11182 pipeline so that a bus and clock is selected.
11184 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
11186 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
11187 JITTER, RATE, and LATENCY query should be handled by the
11188 default case and not by the CONVERT query code.
11190 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
11192 * gst/gstformat.c: (gst_format_register):
11193 Fix locking order (must take lock before using n_values).
11195 * gst/gstvalue.c: (gst_value_serialize_enum),
11196 (gst_value_deserialize_enum_iter_cmp),
11197 (gst_value_deserialize_enum):
11198 Fix serialisation/deserialisation of custom registered GstFormats.
11200 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11201 Unit test for custom format serialisation/deserialisation.
11203 2006-09-17 Stefan Kost <ensonic@users.sf.net>
11205 * docs/pwg/building-boiler.xml:
11206 * plugins/elements/gstcapsfilter.c:
11207 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
11210 2006-09-16 Edward Hervey <edward@fluendo.com>
11212 * libs/gst/base/gstbasetransform.c:
11213 (gst_base_transform_buffer_alloc):
11214 Check if requested caps are the same as the sinks caps IF
11215 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
11217 This fixes the renegotiation issues stated in #352827.
11219 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11222 * docs/manual/advanced-autoplugging.xml:
11223 * tests/examples/Makefile.am:
11224 * tests/examples/manual/.cvsignore:
11225 * tests/examples/manual/Makefile.am:
11226 * tests/examples/manual/extract.pl:
11227 Extract the manual examples again like we used to do.
11230 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11232 * win32/common/config.h:
11235 2006-09-16 Stefan Kost <ensonic@users.sf.net>
11238 Documents how to receive errors.
11240 2006-09-15 Wim Taymans <wim@fluendo.com>
11242 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
11243 (event_loop), (main):
11244 Added some comments here and there.
11245 Post an application message when an interrupt is caught instead of doing
11246 an uncontrolled state change.
11247 Clean up the event loop.
11248 Handle buffering messages, pause/resume the pipeline.
11249 Make shutdown because of an interrupt more reliable.
11251 2006-09-15 Wim Taymans <wim@fluendo.com>
11253 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11254 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
11255 (gst_base_sink_preroll_object):
11256 Make sure that our internal state is correct when we commit our state
11257 asynchronously. This solves a race where a state change to PLAYING
11258 could cause the sink to remain blocked in preroll in some situations.
11260 2006-09-15 Wim Taymans <wim@fluendo.com>
11262 * tools/gst-inspect.c: (print_element_properties_info),
11263 (print_signal_info):
11264 List flags as hex so it's easier to deal with.
11266 2006-09-15 Wim Taymans <wim@fluendo.com>
11268 * docs/libs/gstreamer-libs-sections.txt:
11269 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
11270 (gst_base_sink_do_sync):
11271 * libs/gst/base/gstbasesink.h:
11272 Expose logic to wait for preroll so that subclasses such as audiosink
11273 can also use this method.
11274 API: gst_base_sink_wait_preroll()
11276 2006-09-15 Wim Taymans <wim@fluendo.com>
11278 * gst/gstobject.c: (gst_object_set_parent):
11279 * gst/gstpipeline.c: (do_pipeline_seek):
11280 Small cleanups in docs and code.
11282 * gst/gstsegment.c: (gst_segment_clip):
11283 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11284 if stop == start and start is in the segment, no clipping should be
11285 done. Also add a test for this.
11287 2006-09-15 Wim Taymans <wim@fluendo.com>
11289 * docs/design/part-buffering.txt:
11290 * docs/gst/gstreamer-sections.txt:
11291 * gst/gstmessage.c: (gst_message_new_buffering),
11292 (gst_message_parse_buffering):
11293 * gst/gstmessage.h:
11294 Added methods to create and parse BUFFERING messages.
11295 Added preliminary docs about buffering.
11296 API: gst_message_new_buffering
11297 API: gst_message_parse_buffering
11299 2006-09-06 Wim Taymans <wim@fluendo.com>
11302 Update documentation.
11304 * gst/gstelement.c: (gst_element_class_init),
11305 (gst_element_release_request_pad), (gst_element_set_clock),
11306 (gst_element_get_index), (gst_element_add_pad),
11307 (gst_element_remove_pad), (gst_element_get_random_pad),
11308 (gst_element_send_event), (gst_element_get_query_types),
11309 (gst_element_query), (gst_element_post_message),
11310 (gst_element_message_full), (gst_element_continue_state),
11311 (gst_element_lost_state), (gst_element_save_thyself),
11312 (gst_element_restore_thyself):
11313 Documentation updates.
11314 Rename last bit of the new-pad -> pad-added signal rename.
11315 Fix the case where an element query would only work if the source
11317 Avoid some useless type checking in message handling.
11322 Documentation updates.
11324 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11326 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11327 add an INFO line for when we actually update the fd
11329 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11334 === release 0.10.10 ===
11336 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11339 releasing 0.10.10, "Pais"
11341 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
11343 * docs/manual/advanced-position.xml:
11344 Fix typo in sample code.
11346 2006-09-05 Wim Taymans <wim@fluendo.com>
11348 * libs/gst/net/gstnetclientclock.c: (inet_aton),
11349 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11350 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
11351 * libs/gst/net/gstnetclientclock.h:
11352 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11353 * libs/gst/net/gstnettimepacket.h:
11354 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
11355 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
11356 (gst_net_time_provider_thread), (gst_net_time_provider_new):
11357 * libs/gst/net/gstnettimeprovider.h:
11358 Make stuff compile on windows. Fixes #345295.
11360 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
11362 * gst/gst.c: (ensure_current_registry_forking):
11363 Print better details when child was terminated by signal.
11365 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
11367 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
11368 Print a warning rather than g_assert() if a plugin feature
11369 is a URI handler but returns no protocols (#353976).
11371 2006-09-02 Stefan Kost <ensonic@users.sf.net>
11373 * docs/random/moving-plugins:
11376 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
11378 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
11379 Fix locking order, handle NULL function values properly.
11384 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
11385 Initialise variable before using it and fix debug statement to
11386 print the address of the function rather than the address of the
11387 variable on the stack holding the address of the function.
11389 2006-09-01 Wim Taymans <wim@fluendo.com>
11391 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
11392 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
11393 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11394 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11395 (gst_ghost_pad_parent_unset),
11396 (gst_ghost_pad_internal_do_activate_push),
11397 (gst_ghost_pad_internal_do_activate_pull),
11398 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11399 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11400 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11401 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11402 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11403 (gst_ghost_pad_new_no_target_from_template),
11404 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11406 Avoid needless typechecking in macros.
11407 Since the internal pad is always present and never changes, there is
11408 no need to locking or ref when retrieving it.
11409 Improve debugging a bit.
11410 Handle link errors when setting the target. Fixes #341029.
11412 2006-09-01 Wim Taymans <wim@fluendo.com>
11414 * docs/libs/gstreamer-libs-sections.txt:
11415 * docs/plugins/gstreamer-plugins-sections.txt:
11416 Fix docs some more.
11418 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11419 (gst_collect_pads_event):
11420 * libs/gst/base/gstcollectpads.h:
11421 Documentation updates.
11422 Free queued buffer when removing a pad.
11424 2006-08-31 Michael Smith <msmith@fluendo.com>
11426 * gst/gstutils.c: (gst_element_link_pads),
11427 (gst_element_link_pads_filtered):
11428 Ensure that we set a capsfilter to NULL if we failed to link it
11429 when doing filtered linking, to avoid criticals.
11431 No need to check for unreffing srcpad, which is explicly NULLed
11432 above (a trivial code cleanup).
11434 2006-08-31 Wim Taymans <wim@fluendo.com>
11436 * docs/design/part-gstghostpad.txt:
11437 Update ascii art in documentation.
11439 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11440 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11441 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11442 (gst_ghost_pad_internal_do_activate_push),
11443 (gst_ghost_pad_internal_do_activate_pull),
11444 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11445 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11446 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11447 (gst_ghost_pad_set_target):
11448 Small cleanups and leak fixes.
11449 Remove some checks now that the internal pad is never NULL.
11450 Fix the case where linking pads without a target would create nasty
11451 criticals. Fixes #341029.
11452 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11453 value of _set_target().
11455 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11456 (gst_ghost_pad_suite):
11457 Some more tests for creating and linking untargeted ghostpads.
11459 2006-08-31 Edward Hervey <edward@fluendo.com>
11461 * docs/gst/gstreamer-sections.txt:
11462 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11463 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11464 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11465 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11466 (gst_ghost_pad_new_from_template),
11467 (gst_ghost_pad_new_no_target_from_template):
11468 * gst/gstghostpad.h:
11469 Refactored *_new() functions.
11470 Templates are now used as a g_object_new() parameter.
11471 Use template in _do_getcaps() if we don't have a target.
11472 Small documentation cleanups.
11473 Added two new constructors:
11474 gst_ghost_pad_new_from_template()
11475 gst_ghost_pad_new_no_target_from_template()
11476 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11477 (gst_ghost_pad_suite):
11478 Added tests for new ghostpad instanciation functions.
11480 API additions: gst_ghost_pad_new_from_template,
11481 gst_ghost_pad_new_no_target_from_template
11483 2006-08-30 Stefan Kost <ensonic@users.sf.net>
11485 * docs/random/ensonic/profiling.txt:
11486 Ideas about qos profiling.
11488 2006-08-29 Wim Taymans <wim@fluendo.com>
11490 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11494 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
11497 Improve and detypofy docs.
11499 * tests/check/Makefile.am:
11500 * tests/check/gst/.cvsignore:
11501 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11502 Add a basic test suite for GstXML.
11504 2006-08-29 Wim Taymans <wim@fluendo.com>
11506 * gst/gstelement.c: (activate_pads), (clear_caps),
11507 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11508 Clear the pad caps when the element shut down all of the pads and
11509 is not streaming data that could modify the caps.
11512 2006-08-28 Michael Smith <msmith@fluendo.com>
11514 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11515 Revert previous change; I misunderstood single-segment mode.
11517 2006-08-28 Michael Smith <msmith@fluendo.com>
11519 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11520 Unset DISCONT on buffers when using single-segment mode.
11522 2006-08-28 Wim Taymans <wim@fluendo.com>
11524 * gst/gstcaps.c: (gst_caps_merge_structure):
11526 Fix docs and indentation again.
11528 * tests/check/gst/gstquery.c: (GST_START_TEST):
11529 Fix leak in tests and add some more tests.
11531 2006-08-28 Edward Hervey <edward@fluendo.com>
11533 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11534 Inform GstSegment of the last stop position in order for the current
11535 segment to have a proper duration if it doesn't have a specific stop
11536 position from which a duration could be calculated.
11537 This bug was noticeable when a non-flushing, non-update new segment was
11538 followed by another segment (all buffers from the new segment were being
11541 2006-08-28 Wim Taymans <wim@fluendo.com>
11543 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11544 Small comment update.
11546 * plugins/elements/gstidentity.c: (gst_identity_class_init),
11547 (gst_identity_transform_ip):
11548 Drop-probability is broken, mention this in the code with a
11549 FIXME and also in the property description.
11550 Make silent also be silent about the drop messages.
11552 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
11554 * docs/manual/appendix-win32.xml:
11555 Remove mention of popt, we don't depend on that any
11556 longer (#353136). Add some comments pointing out that
11557 this section is slightly outdated.
11559 2006-08-28 Wim Taymans <wim@fluendo.com>
11561 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11563 * gst/gstquery.c: (gst_query_new_segment):
11564 * tests/check/gst/gstquery.c: (GST_START_TEST):
11565 Initialize variables when creating a new segment query.
11568 2006-08-28 Wim Taymans <wim@fluendo.com>
11570 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11572 * gst/gstelement.c: (gst_element_get_bus):
11573 * tests/check/gst/gstelement.c: (GST_START_TEST):
11574 Check for NULL before _reffing the bus. Fixes #353122.
11576 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
11578 * docs/manual/basics-bus.xml:
11579 Docs update: fix wrong callback return value explanation; add
11580 some lines about the implicit relationship between main loop
11581 and main context; remove duplicate main loop variable declaration.
11583 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
11585 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11586 Don't leak caps in unit test; add a few more simple
11589 2006-08-24 Stefan Kost <ensonic@users.sf.net>
11591 * docs/gst/gstreamer-sections.txt:
11592 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11593 (gst_caps_structure_is_subset), (gst_caps_merge),
11594 (gst_caps_merge_structure):
11596 * libs/gst/base/gstbasetransform.c:
11597 (gst_base_transform_transform_caps):
11598 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11599 implement caps merging (fixes #352580)
11601 2006-08-23 Stefan Kost <ensonic@users.sf.net>
11603 * tools/Makefile.am:
11604 * tools/gst-plot-timeline.py:
11605 add debug-log plotting developer tool (#340674)
11607 2006-08-23 Wim Taymans <wim@fluendo.com>
11609 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11610 (gst_pad_stop_task):
11611 Improve debugging for task functions.
11613 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11614 (gst_task_start), (gst_task_pause), (gst_task_join):
11615 Make sure that the task function started and finished after a
11617 Don't try to push the task function on the threadpool multiple
11619 Improve the g_warning message with some useful suggestions
11620 about how to fix the problem.
11622 2006-08-23 Wim Taymans <wim@fluendo.com>
11624 * gst/gstutils.c: (gst_pad_proxy_getcaps):
11625 Handle RESYNC correctly in _proxy_getcaps.
11627 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
11629 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11630 (gst_xml_parse_memory), (gst_xml_get_element):
11631 Chain up to parent class in dispose function and also
11632 unref the elements in the toplevel_elements GList.
11633 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11634 Always return a reference in gst_xml_get_element() rather
11635 than only sometimes.
11637 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11638 Don't leak GstXml object.
11640 2006-08-21 Stefan Kost <ensonic@users.sf.net>
11642 * docs/gst/gstreamer-sections.txt:
11643 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11646 * libs/gst/base/gstbasetransform.c:
11647 (gst_base_transform_transform_caps):
11648 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11651 2006-08-21 Edward Hervey <edward@fluendo.com>
11653 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11654 Implement GObject::dispose virtual method in GstXML so we can free the
11655 top_elements GList.
11657 2006-08-21 Wim Taymans <wim@fluendo.com>
11659 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11660 (gst_buffer_create_sub):
11661 Copy duration/offset_end/caps when creating a subbuffer of the
11663 Make the subbuffer read-only when we make the metadata writable for
11664 now. Fixes #351768.
11666 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11667 Added check for metadata copy when creating subbuffers.
11669 2006-08-21 Edward Hervey <edward@fluendo.com>
11671 * libs/gst/base/gstbasetransform.c:
11672 (gst_base_transform_buffer_alloc):
11673 Only call downstream buffer_alloc if transform element is passthrough
11674 or always_in_place. Closes #350449.
11676 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11679 ChangeLog surgery to add comments to previous changes
11681 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11686 * gst/gstpad.c: (gst_pad_set_active):
11687 Be more verbose in the log
11689 * libs/gst/base/gstbasetransform.c:
11690 (gst_base_transform_transform_caps):
11691 Simplify caps to get rid of duplicates, fixes #345444
11693 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11697 Use these optimizations only internally.
11699 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11701 * gst/gstvalue.c: (gst_value_compare_list),
11702 (gst_value_compare_fraction_range),
11703 (gst_value_intersect_fraction_fraction_range),
11704 (gst_value_intersect_fraction_range_fraction_range),
11705 (gst_value_subtract_fraction_fraction_range),
11706 (gst_value_subtract_fraction_range_fraction_range),
11707 (gst_value_get_compare_func), (gst_value_compare),
11708 (gst_value_compare_with_func):
11710 Saves the expensive lookup of the compare function in many cases
11713 2006-08-18 Edward Hervey <edward@fluendo.com>
11715 * tests/check/gst/gstinfo.c: (gst_info_suite):
11716 Disable test that require gstdebug if it wasn't built in core.
11718 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11720 * docs/random/ensonic/logging.txt:
11723 * gst/gstinfo.c: (gst_debug_log_default):
11724 reorder fields, save some columns, add optional color codes for log
11727 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11729 * docs/random/ensonic/logging.txt:
11730 add ideas about making the logs a bit more useful
11732 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11734 * docs/pwg/advanced-events.xml:
11735 * docs/pwg/titlepage.xml:
11736 Update for 0.10 API (#340627). Add myself
11739 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11741 * docs/libs/gstreamer-libs-docs.sgml:
11742 * docs/libs/gstreamer-libs-sections.txt:
11743 * libs/gst/check/gstbufferstraw.c:
11744 Make gstcheck stuff show up in docs (still needs to
11745 be documented properly though).
11747 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11749 * docs/gst/gstreamer-sections.txt:
11751 * gst/gst.c: (init_post):
11752 * gst/gst_private.h:
11753 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11755 * gst/gstquery.c: (gst_query_new_position),
11756 (gst_query_set_position), (gst_query_parse_position),
11757 (gst_query_new_duration), (gst_query_set_duration),
11758 (gst_query_parse_duration), (gst_query_new_convert),
11759 (gst_query_set_convert), (gst_query_parse_convert),
11760 (gst_query_new_segment), (gst_query_set_segment),
11761 (gst_query_parse_segment), (gst_query_new_seeking),
11762 (gst_query_set_seeking), (gst_query_parse_seeking):
11763 Add internal helpers for pre-registering quarks from static strings
11764 and using the quark values directly instead of looking them up when
11765 creating and parsing queries. Can be used for event construction too.
11768 2006-08-16 Wim Taymans <wim@fluendo.com>
11773 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11775 * gst/gstutils.c: (gst_util_set_value_from_string):
11776 Fix memleak (#351502).
11778 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11779 Add unit test for most of gst_util_set_value_from_string()
11780 (not that one would want to encourage use of this function).
11782 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11784 * libs/gst/check/gstcheck.h:
11785 Use const gchar * variables in fail_unless_equals_string
11786 macro to avoid compiler warnings (and don't use tabs for
11789 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11791 * tools/gst-launch.c: (print_tag):
11792 More space on the left for the tag names, to cater
11793 for the 'extended comment' tag (not touching the
11794 string for the first line since it's translated).
11796 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11798 * libs/gst/check/gstcheck.h:
11799 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11800 print something when they fail.
11802 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11804 * docs/gst/gstreamer-sections.txt:
11805 * gst/gsttaglist.c: (_gst_tag_initialize):
11806 * gst/gsttaglist.h:
11807 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11808 Also change merge function for GST_TAG_COMMENT to
11811 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11813 * gst/gstinfo.c: (gst_debug_print_object):
11814 Make GST_PTR_FORMAT print messages as well.
11816 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11817 (GST_START_TEST), (gst_info_suite):
11820 2006-08-14 Edward Hervey <edward@fluendo.com>
11822 * gst/gstelementfactory.c: (gst_element_register):
11823 If the GstElementClass doesn't have a GstElementDetails with all fields
11824 filled up correctly (longname, description AND author), then error out
11825 nicely instead of crashing.
11827 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11829 * gst/gststructure.c:
11830 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11833 Expand on the difference between arrays and lists as we use them.
11835 2006-08-14 Wim Taymans <wim@fluendo.com>
11837 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11838 If the parent state change function failed, don't assume we can safely
11839 stop the source, this will be done when the pads are deactivated.
11841 2006-08-14 Wim Taymans <wim@fluendo.com>
11844 * gst/gsttask.c: (gst_task_join):
11847 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11848 (gst_pad_stop_task):
11849 When pad (de)activation failed for some reason, restore the old
11850 activation mode and set the pad to flushing instead of assuming the
11851 pad is deactivated.
11852 If the _task_join() failed, reinstall the task on the pad so that it can
11853 be stopped later and return an error.
11855 2006-08-11 Andy Wingo <wingo@pobox.com>
11858 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11859 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11860 is only for users of API that don't want to see deprecated
11861 functions in the headers; people that want to compile out
11862 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11863 CFLAGS. Fixes the build of multifdsink, or will soon..
11865 2006-08-11 Wim Taymans <wim@fluendo.com>
11867 * docs/gst/gstreamer-sections.txt:
11868 Add GstClockClass vmethod docs.
11871 Mark #endif with comment for associated #if
11873 * gst/gstclock.c: (gst_clock_id_wait):
11875 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11876 most clock implementations.
11878 Flesh out docs about resolution methods.
11879 API: GstClockClass::wait_jitter
11881 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11882 (gst_system_clock_async_thread),
11883 (gst_system_clock_id_wait_jitter_unlocked),
11884 (gst_system_clock_id_wait_jitter):
11885 Use base class wait_jitter variant for improved performance
11886 due to less clock polling.
11888 2006-08-11 Edward Hervey <edward@fluendo.com>
11890 * gst/gst.c: (gst_init_check), (init_post):
11891 Set gst as being initialized before scanning/updating the registry,
11892 since there might be my python plugin loader that calls gst_init() and
11893 we don't want to loop back in.
11896 2006-08-11 Wim Taymans <wim@fluendo.com>
11898 * docs/design/part-qos.txt:
11899 Bring docs in line with the code. Mostly the sign of the jitter was
11900 wrong in the docs. Fixes #349943.
11903 Fix the docs for the jitter.
11905 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11906 (gst_event_parse_tag), (gst_event_new_buffer_size),
11907 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11908 (gst_event_new_seek), (gst_event_parse_seek),
11909 (gst_event_new_navigation):
11910 Make sure the GstStructure has no parent when creating custom
11912 Add some more argument checking so that we avoid 0.0 rates.
11913 Flesh out the docs for the QoS event some more.
11915 2006-08-11 Wim Taymans <wim@fluendo.com>
11917 * docs/gst/gstreamer-sections.txt:
11918 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11919 (ensure_current_registry_forking), (ensure_current_registry),
11920 (parse_one_option), (parse_goption_arg), (gst_deinit),
11921 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11924 Added API and command line option to disable registry forking in
11925 addition to the environment variable.
11926 Constify some static arrays.
11927 Added some more debug.
11928 Don't deinit twice.
11929 API: gst_registry_fork_is_enabled()
11930 API: gst_registry_fork_set_enabled()
11931 API: --gst-disable-registry-fork command line option
11934 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11936 * gst/gst.c: (gst_init):
11937 Fix typo in error message.
11939 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11941 * libs/gst/controller/gstcontroller.h:
11942 fix ABI size-correction
11944 * tests/check/libs/gdp.c: (gst_dp_suite):
11945 make tests that use deprecated API conditional
11947 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11949 * docs/libs/gstreamer-libs-sections.txt:
11950 * libs/gst/controller/gstcontroller.c:
11951 (_gst_controller_get_property), (_gst_controller_set_property),
11952 (_gst_controller_init), (_gst_controller_class_init):
11953 * libs/gst/controller/gstcontroller.h:
11954 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11955 (gst_object_set_control_rate):
11956 API: add gst_object_{s,g}et_control_rate(), add private data section,
11959 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11960 * libs/gst/dataprotocol/dataprotocol.h:
11961 add deprecation guards to make gtk-doc happy and allow disabling cruft
11963 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11965 * tests/check/Makefile.am:
11966 * tests/check/gst/.cvsignore:
11967 Let's enable the new unit test as well.
11969 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11972 * docs/gst/gstreamer-sections.txt:
11973 * gst/gstconfig.h.in:
11974 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11975 (_gst_info_printf_extension_ptr),
11976 (_gst_info_printf_extension_segment):
11977 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11978 register that lets us easily dump GstSegments into debug
11981 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11982 (info_segment_format_printf_extension), (gst_info_suite):
11983 Add simple unit test that logs a bunch of different segments (not
11984 valgrinded at the moment because of leaks in
11985 gst_debug_add_log_function).
11987 2006-08-09 Edward Hervey <edward@fluendo.com>
11989 * libs/gst/base/gstbasetransform.c:
11990 (gst_base_transform_buffer_alloc):
11991 Even if we can't figure out the proper format to request downstream,
11992 call buffer_alloc() downstream with the input parameters without setting
11993 the caps on the srcpad. This will force negotiation in the chain
11997 2006-08-08 Edward Hervey <edward@fluendo.com>
11999 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12000 Unlinking from a pad without a target is now a perfectly valid case
12001 which should NOT raise an assertion.
12002 This case would happen if a linked ghostpad its target set to NULL after
12003 it was previously linked.
12005 2006-08-08 Edward Hervey <edward@fluendo.com>
12007 * tests/check/libs/gdp.c:
12008 Also comment out the test (see below).
12010 2006-08-08 Edward Hervey <edward@fluendo.com>
12012 * tests/check/libs/gdp.c: (gst_dp_suite):
12013 Use the architecture information from config.h and not gcc macros
12014 in order to properly disable a test that fails on PPC64.
12016 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12018 * gst/gstelement.c: (gst_element_remove_pad):
12019 Don't crash printing the warning if the pad has no parent.
12021 2006-08-02 Wim Taymans <wim@fluendo.com>
12023 * libs/gst/dataprotocol/dataprotocol.c:
12024 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12025 (gst_dp_crc), (gst_dp_header_payload_length),
12026 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12027 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12028 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12029 (gst_dp_event_from_packet), (gst_dp_validate_header),
12030 (gst_dp_validate_payload):
12031 Make debug category static
12032 Constify the crc table.
12033 Do some more arg checking in public functions.
12034 Fix some docs and do some small cleanups.
12036 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12037 Add some more checks to see if GDP deals with bogus input.
12039 2006-07-31 Wim Taymans <wim@fluendo.com>
12041 * gst/gstvalue.c: (gst_value_compare_list):
12042 Fix GstValueList comparison code. Fixes #347293.
12044 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12045 Check to test GstValueList comparison.
12047 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12049 * gst/gstelementfactory.c: (gst_element_factory_create):
12050 Remove unnecessary ref/unref pair
12052 * gst/parse/grammar.y:
12053 Make sure to free the parse buffer on all code paths.
12054 Move a g_free up to the error handler where it's easier to see.
12056 * tests/check/gst/gstevent.c: (test_event):
12057 Extending timeout for downstream travelling events to 10 seconds to
12058 hopefully avoid intermittent failure on the buildbots.
12060 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12061 Don't manually set the state of the src element - it will happen as a
12062 natural consequence of the pipeline changing state, and that way it
12063 will do it in the right order too.
12065 2006-07-31 Wim Taymans <wim@fluendo.com>
12067 * libs/gst/base/gstbasetransform.c:
12068 (gst_base_transform_buffer_alloc):
12069 Use OBJECT_LOCK and refcounting to get the pad caps in the
12070 buffer_alloc function because the caps could change while we are
12071 busy with them. Fixes #349105
12073 2006-07-31 Wim Taymans <wim@fluendo.com>
12075 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12076 Protect _PAD_CAPS with OBJECT_LOCK.
12078 2006-07-31 Wim Taymans <wim@fluendo.com>
12080 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12081 (gst_pad_get_property), (gst_pad_activate_pull),
12082 (gst_pad_activate_push), (gst_pad_set_blocked_async),
12083 (gst_pad_set_activate_function),
12084 (gst_pad_set_activatepull_function),
12085 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12086 (gst_pad_set_getrange_function),
12087 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12088 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12089 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12090 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12091 (gst_pad_set_acceptcaps_function),
12092 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12093 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12094 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12095 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12096 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12097 (gst_pad_configure_sink), (gst_pad_configure_src),
12098 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12099 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12100 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12101 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12102 (gst_pad_send_event):
12103 Use _DEBUG_OBJECT when it makes sense.
12104 Protect GST_PAD_CAPS with the OBJECT_LOCK.
12105 Small cleanups and code reflows.
12106 Avoid caps refcounting in _accept_caps.
12107 Refactor alloc_buffer so that the code performed on the peer is in a
12108 separate function. Also if the pad does not implement a buffer alloc
12109 function, we should still check if the pad is flushing before falling
12110 back to the default allocator.
12112 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12114 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12115 Make all uses of identity and fakesink have silent=true to avoid
12116 serialising every passing data structure, which is breaking tests
12117 on FC4 for some unknown reason.
12119 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12121 * gst/parse/Makefile.am:
12122 * gst/parse/grammar.y:
12123 * gst/parse/parse.l:
12124 Reverted previous patch as it required to bump the flex dependency to
12125 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12127 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12129 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12131 * gst/parse/Makefile.am:
12132 * gst/parse/grammar.y:
12133 * gst/parse/parse.l:
12134 push & pop the state of the lexer for reentrant use case
12137 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
12139 * libs/gst/base/gstbasesrc.h:
12140 Note in the docs that the ::newsegment vfunc is not actually used by
12143 2006-07-28 Wim Taymans <wim@fluendo.com>
12145 * libs/gst/base/gstcollectpads.c:
12146 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
12147 (gst_collect_pads_clear), (gst_collect_pads_flush),
12148 (gst_collect_pads_event), (gst_collect_pads_chain):
12149 When flushing a pad, also clear the queued buffer so that we don't
12150 accidentally use it when we shouldn't.
12151 Fix leaks by inreffing incomming buffer.
12152 Flush out queued buffers in case of errors.
12155 2006-07-28 Wim Taymans <wim@fluendo.com>
12157 * docs/random/phonon-gst:
12158 Random notes about a Phonon backend.
12160 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12162 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12164 * tests/check/libs/gdp.c: (gst_dp_suite):
12165 Take a whack at fixing the ppc compile using a different define to
12166 disable the broken test.
12168 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12169 Remove excess g_print()
12171 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12173 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12174 Oops, meant to uncomment this line too to dampen the noise a bit.
12176 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12178 * gst/parse/grammar.y:
12179 * gst/parse/parse.l:
12180 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12181 (GST_START_TEST), (parse_suite):
12182 Fix some of the leaks exposed by extending the parse-launch testsuite,
12183 and move the 3 I can't figure out into a separate test that won't run
12184 the pipelines unless the appropriate line is uncommented.
12186 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
12188 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12189 Requesting 0 bytes before the end of the file should result in
12190 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
12193 2006-07-27 Wim Taymans <wim@fluendo.com>
12195 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
12196 Fix useless assert, a uint is always positive.
12198 * gst/gststructure.c: (gst_structure_nth_field_name),
12199 (gst_structure_foreach), (gst_structure_map_in_place):
12200 Check input arguments for public functions to avoid obvious crashes.
12202 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
12203 * plugins/elements/gstfakesink.h:
12204 Do less useless typechecking.
12206 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
12208 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12209 Do not use mmap() by default since there are a number of error
12210 conditions that we would like to handle in a non-fatal way that
12211 will result in a SIGBUS if we use mmap(). Examples: external
12212 devices (USB harddrive, portable music player) being unplugged
12213 while in use; file on mounted CD/DVD that can't be read because
12214 the medium is partly damaged. Fixes #348455 and #348475.
12216 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12219 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
12220 rates are a gdouble
12222 2006-07-26 Stefan Kost <ensonic@users.sf.net>
12224 * gst/gstregistry.c:
12225 Move big documentation comment into class section header, so that it
12226 appears in the API docs.
12228 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12230 * docs/gst/gstreamer-sections.txt:
12231 Oops. Commit the docs additions too for new API.
12232 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
12234 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12236 * gst/gststructure.c: (gst_structure_id_set),
12237 (gst_structure_id_set_valist):
12238 * gst/gststructure.h:
12239 Add API for setting values into structures without performing
12240 a quark lookup, if the appropriate quark is already known.
12242 API: gst_structure_id_set
12243 API: gst_structure_id_set_valist
12245 * gst/parse/grammar.y:
12246 * gst/parse/parse.l:
12247 Remove some dead code shown by the coverage information.
12248 Don't throw a critical g_warning when encountering a syntax error,
12249 just warn and let the normal error path handle it.
12251 * plugins/elements/gstelements.c:
12252 Bump the rank of filesink up to PRIMARY so that it is preferred over
12253 gnomevfssink for file:// sink uri's
12255 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12256 (GST_START_TEST), (run_delayed_test),
12257 (gst_parse_test_element_base_init),
12258 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
12259 (gst_parse_test_element_change_state),
12260 (gst_register_parse_element), (parse_suite):
12261 Beef up the tests for parse syntax to check that more error cases
12262 fail as they are supposed to. Increases the test coverage a bit.
12264 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
12266 * docs/manual/basics-elements.xml:
12267 Fix gst_element_link() example.
12270 Mention in API docs that one should usually gst_bin_add()
12271 elements to a bin or pipeline before doing the linking.
12273 2006-07-26 Wim Taymans <wim@fluendo.com>
12275 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
12276 (gst_subbuffer_get_type), (gst_buffer_create_sub):
12277 Avoid function call for known types by keeping the buffer and
12278 subbuffer GType global.
12280 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12281 Random silly optimisations in read() path.
12283 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12285 * tools/gst-launch.c: (main):
12286 If the top-level of the parse is a normal bin, it doesn't do the
12287 right logic to run as a top-level element, so place it inside a
12290 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
12292 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
12293 Remove superfluous g_object_notify() calls, GObject does
12294 that for us automatically.
12296 2006-07-25 Stefan Kost <ensonic@users.sf.net>
12299 on Win32, use dllspec to export the debug category symbols
12301 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
12303 * gst/gsttaglist.c: (_gst_tag_initialize):
12304 Allow more than one GST_TAG_IMAGE per taglist.
12306 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
12308 * gst/gstminiobject.c:
12310 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
12311 (gst_fd_src_create):
12312 log recurring events at LOG level
12313 add more debug for when the fd gets set
12315 2006-07-21 Stefan Kost <ensonic@users.sf.net>
12317 * gst/gstparse.c: (gst_parse_launch):
12318 Also remove reentrance checks if flex is MT safe (#348179)
12319 Fix my empty ChangeLog entry below
12321 2006-07-21 Andy Wingo <wingo@pobox.com>
12323 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
12325 * libs/gst/check/Makefile.am
12326 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
12327 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
12328 * libs/gst/check/gstbufferstraw.h:
12329 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
12330 functions, thus proving I am still a GStreamer haxor. OK I wrote
12331 them a long time ago, but anyways.
12333 2006-07-21 Stefan Kost <ensonic@users.sf.net>
12336 * gst/gstparse.c: (gst_parse_launch):
12337 Check for flex version and omit mutex if we have a MT save flex
12340 2006-07-21 Wim Taymans <wim@fluendo.com>
12342 * gst/gstparse.c: (gst_parse_launch):
12343 Protect recursive calls to _parse with a recursive mutex
12346 2006-07-21 Wim Taymans <wim@fluendo.com>
12348 * tests/check/gst/gstpad.c: (GST_START_TEST):
12351 2006-07-20 Stefan Kost <ensonic@users.sf.net>
12353 * gst/gstparse.c: (gst_parse_launch):
12354 Do not hang on recursive usage of gst_parse_launch()
12356 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
12358 * gst/gsttaglist.c:
12359 Add some more docs, comments and FIXME 0.11s here and there
12360 and also fix some typos.
12362 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
12364 * gst/gstsegment.h:
12365 Convert tabs to spaces for better readability.
12367 2006-07-20 Edward Hervey <edward@fluendo.com>
12369 * tests/check/libs/gdp.c: (gst_dp_suite):
12370 the test_buffer test fails at line 140 on ppc64 at the following
12372 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
12373 GST_BUFFER_FLAG_IN_CAPS),
12374 "GST_BUFFER_IN_CAPS flag should have been copied !");
12375 See bug #348114 for more details.
12377 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
12379 * docs/pwg/advanced-scheduling.xml:
12381 Fix typos (#348000).
12383 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
12385 * docs/pwg/intro-basics.xml:
12386 Fix wrong links (#347927).
12388 2006-07-18 Stefan Kost <ensonic@users.sf.net>
12390 * gst/gstregistry.h:
12391 * gst/gstregistryxml.c: (load_feature),
12392 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
12393 * win32/common/config.h:
12394 make --disable-index work (#342564)
12396 2006-07-18 Wim Taymans <wim@fluendo.com>
12398 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12402 The attached patch adds two missing defines to gsttrace.h when tracing
12403 is disabled. It also corrects one existing define.
12406 2006-07-17 Wim Taymans <wim@fluendo.com>
12408 * docs/gst/gstreamer-sections.txt:
12409 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12411 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12412 Add two functions to check and change the SIGSEGV behaviour
12413 when loading plugins.
12414 Don't mess with the SIGSEGV handler when we were told not to.
12416 API: gst_segtrap_is_enabled
12417 API: gst_segtrap_set_enabled
12419 2006-07-14 Wim Taymans <wim@fluendo.com>
12421 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12422 * tests/check/elements/filesrc.c: (GST_START_TEST):
12423 Revert fix for regression in #347408 after release.
12425 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
12427 Patch by: Antoine Tremblay <hexa00 at gmail com>
12429 * gst/gstutils.c: (gst_element_unlink):
12430 Free iterator when done (#347311).
12432 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12433 And add a test case for this.
12435 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
12438 Bump nano back to CVS
12440 === release 0.10.9 ===
12442 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
12445 releasing 0.10.9, "On the road again"
12447 2006-07-13 Wim Taymans <wim@fluendo.com>
12449 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12450 * tests/check/elements/filesrc.c: (GST_START_TEST):
12451 Revert pull-0 fix for release. Disable check. Fixes #347408.
12453 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12455 * libs/gst/dataprotocol/dataprotocol.c:
12456 (gst_dp_event_from_packet_1_0):
12457 Fixes #347337: failure to deserialize event packets with
12458 empty payload (only event type)
12460 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12463 do not install a .c file in the header directory
12465 2006-07-13 Edward Hervey <edward@fluendo.com>
12467 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12468 GhostPad no longer implicitely use the padtemplates of the targets.
12471 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
12473 * gst/gstvalue.c: (gst_value_compare_list),
12474 (gst_value_compare_array), (_gst_value_initialize):
12475 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12476 Make GstValueArray comparison be order dependent as designed.
12477 Add checks for value lists and value array comparisons.
12480 2006-07-11 Edward Hervey <edward@fluendo.com>
12482 * gst/gstbin.c: (activate_pads),
12483 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12484 (gst_bin_change_state_func):
12485 (de)activate src pads before calling state_change on the childs.
12486 This is to avoid the case where a src ghostpad is blocked (holding the
12487 stream lock), which would block the deactivation of the ghostpad's
12489 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12490 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12491 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12492 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12493 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12494 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12495 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12496 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12497 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12498 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12499 (gst_ghost_pad_class_init),
12500 (gst_ghost_pad_internal_do_activate_push),
12501 (gst_ghost_pad_internal_do_activate_pull),
12502 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12503 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12504 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12505 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12506 GhostPads now create their internal GstProxyPad at creation (and not
12507 when they're linked, as it was being done previously).
12508 The internal and target pads are linked straight away.
12509 The data will also travel through the other pad in order to make
12510 pad blocking and probes non-hackish (the probe/block now really happens
12511 on the GhostPad and not on the target).
12512 * gst/gstpad.c: (gst_pad_set_blocked_async),
12513 (gst_pad_link_prepare), (gst_pad_push_event):
12514 Remove previous ghostpad cruft.
12515 * gst/gstutils.c: (gst_pad_add_data_probe),
12516 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12517 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12518 (gst_pad_remove_buffer_probe):
12519 Remove previous ghost pad cruft.
12520 Added more detailed debug statements.
12521 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12522 Fix the testsuite for refcounting changes.
12523 The comments about who has references were correct, but the refcount
12524 being checked wasn't the same (!?!).
12528 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12530 * docs/gst/gstreamer-sections.txt:
12531 * gst/gstconfig.h.in:
12532 More docs for configuration options, add docs to gtk-doc.
12534 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12537 * gst/gstconfig.h.in:
12538 * win32/common/config.h:
12539 Fix build when disabling tracing (fixes #344016). Also start to document
12540 the defines that disable the sub-systems.
12542 2006-07-10 Edward Hervey <edward@fluendo.com>
12544 * gst/gst.c: (ensure_current_registry_forking):
12545 let's make valgrind happy...
12547 2006-07-09 Wim Taymans <wim@fluendo.com>
12549 * gst/gstelement.c: (activate_pads),
12550 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12551 Better pad activation code: Reset the collect value too on resync.
12554 2006-07-09 Wim Taymans <wim@fluendo.com>
12556 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12557 (gst_pad_activate_push):
12558 Use some more macros where it makes sense.
12559 Allow pad mode switching instead of asserting. When a pad
12560 is activated in one mode and we activate it in another,
12561 deactivate it first before activating it in a different mode.
12564 2006-07-08 Andy Wingo <wingo@pobox.com>
12566 * tools/gst-launch.c (main): Handle err == NULL.
12568 * gst/gst.c (init_post, ensure_current_registry)
12569 (ensure_current_registry_forking)
12570 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12571 factoring out the registry scanning into separate functions. Don't
12572 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12573 Better environment var name/interface suggestions accepted.
12575 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12577 * gst/gstobject.c: (gst_object_set_name_default),
12578 (gst_object_set_name):
12579 Random micro-optimisation: don't use a hash table
12580 with strings as keys and the usual strdup/strcmp
12581 involved, but rather just use the GQuark of the
12582 type name as key, since it needs to be looked up
12583 anyway to get the type name string.
12585 * tests/check/gst/gstobject.c: (GST_START_TEST):
12588 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12590 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12591 (gst_bin_iterate_all_by_interface):
12592 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12593 GTypes are gulongs and thus the top 4 bytes might be cut
12594 off on some platforms when doing GPOINTER_TO_INT, leading
12595 to invalid GTypes and bad things happening (see RH bug #179654).
12596 Also add a check to make sure the type passed in is really
12599 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12604 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12608 * gst-element-check.m4:
12609 * gst-element-check.m4.in:
12610 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12611 instead of the unversioned gst-inspect (#324176, #168659).
12613 2006-07-06 Wim Taymans <wim@fluendo.com>
12615 * gst/gstmessage.h:
12616 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12619 2006-07-06 Wim Taymans <wim@fluendo.com>
12621 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12622 (gst_base_src_wait), (gst_base_src_update_length),
12623 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12624 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12625 (gst_base_src_loop), (gst_base_src_start),
12626 (gst_base_src_activate_pull):
12628 blocksize == 0 now means the default blocksize when working in push
12630 Remove some pointless asserts in _wait function.
12631 Fix offset/length calculations and EOS handling. We can now pull 0
12632 bytes as well, which is allowed.
12633 use _check_get_range() to decide if we can operate in _pull based
12635 Fix refcounting leak when check_get_range function was not
12637 API GstBaseSrc::blocksize range can be 0 too now (default)
12639 * tests/check/elements/filesrc.c: (GST_START_TEST),
12641 Added check to test _get_range() behaviour.
12643 2006-07-06 Wim Taymans <wim@fluendo.com>
12645 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12646 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12647 (gst_pad_pull_range):
12649 Lots of comments and docs added to the pad functions.
12650 Flesh out the expected behaviour of the get_range() functions.
12652 2006-07-06 Wim Taymans <wim@fluendo.com>
12657 * gst/gstiterator.h:
12661 Remove comma at end of enumerator list.
12663 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12665 * win32/common/libgstbase.def:
12666 * win32/common/libgstdataprotocol.def:
12667 * win32/common/libsgtreamer.def:
12668 Add new exported functions.
12670 2006-07-05 Wim Taymans <wim@fluendo.com>
12672 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12673 Add some more docs here and there.
12675 2006-07-05 Wim Taymans <wim@fluendo.com>
12677 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12678 (gst_base_sink_loop), (gst_base_sink_get_position):
12679 When operating in pull mode update the offset so that we
12682 2006-07-05 Wim Taymans <wim@fluendo.com>
12684 * gst/gstregistryxml.c: (read_string):
12685 Avoid strdup. (will happen in libxml, but hey!)
12688 Add some more docs.
12690 2006-07-05 Wim Taymans <wim@fluendo.com>
12692 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12693 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12694 (gst_buffer_suite):
12695 No point in checking if the size of the subbuffer > 0, the
12696 code handles it correclty as demonstrated by unit test.
12697 Also add a unit test for the zero sized _new_and_alloc and
12698 _copy. Fixes #346663.
12700 2006-07-05 Wim Taymans <wim@fluendo.com>
12702 * libs/gst/base/gstbasetransform.c:
12703 (gst_base_transform_prepare_output_buffer),
12704 (gst_base_transform_buffer_alloc),
12705 (gst_base_transform_handle_buffer):
12706 Make sure the buffer we pass to transform_ip has a refcount of
12707 1 and thus is writable. Fixes #343196
12709 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12711 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12712 (gst_file_src_init), (gst_file_src_set_property),
12713 (gst_file_src_get_property), (gst_file_src_map_region):
12714 * plugins/elements/gstfilesrc.h:
12715 Add "sequential" property, off by default, to use madvise and hint
12716 to the kernel that sequential access is desired.
12717 Touch all retrieved pages by default to ensure they are pulled
12718 into memory. (Closes #345720)
12720 2006-07-03 Wim Taymans <wim@fluendo.com>
12722 * docs/design/part-block.txt:
12723 * docs/design/part-dynamic.txt:
12724 Small docs updates.
12726 2006-07-03 Wim Taymans <wim@fluendo.com>
12728 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12729 (gst_caps_unref), (gst_static_caps_get),
12730 (gst_caps_append_structure):
12731 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12732 Use GSlice when the glib we build against is >= 2.10
12734 2006-07-03 Wim Taymans <wim@fluendo.com>
12736 * gst/gstelement.c: (gst_element_pads_activate):
12737 Small cleanup in pad activation code.
12739 2006-07-03 Wim Taymans <wim@fluendo.com>
12741 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12743 * gst/gst-i18n-app.h:
12744 * gst/gst-i18n-lib.h:
12745 * tools/gst-inspect.c: (print_signal_info):
12746 The attached patch will make the inclusion of gettext.h unconditional in
12747 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12748 libintl.h in tools/gst-inspect.c.
12749 This allows use of --disable-nls again and fixes #344642.
12751 2006-07-03 Edward Hervey <edward@fluendo.com>
12753 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12754 Implement pad blocking on events according to part-block.txt.
12755 More comments on behaviour.
12756 * tests/check/gst/gstevent.c: (test_event):
12757 Send event to peer pad of blocked pad (else it will block).
12759 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12761 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12762 (gst_check_run_suite):
12763 if we get the wrong message, give us the types as string
12764 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12766 * tests/check/elements/filesrc.c: (GST_START_TEST):
12767 add a test for trying to open a non-existing file
12769 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12771 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12772 add a test for adding self
12774 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12776 * libs/gst/check/gstcheck.h:
12777 add some assert_ as alias for fail_unless_*
12778 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12779 increase test coverage
12781 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12784 include lcov.mak for lcov coverage generation
12785 * tools/Makefile.am:
12788 2006-07-02 Edward Hervey <edward@fluendo.com>
12790 * tests/check/elements/.cvsignore:
12793 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12796 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12797 * tests/check/Makefile.am:
12798 clean up gcov files
12800 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12802 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12803 remove gst_caps_simplify; it was not declared and not used
12804 and deprecated in 0.8
12806 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12808 * docs/faq/gst-uninstalled:
12809 don't put empty paths on PYTHONPATH
12810 * docs/gst/gstreamer-sections.txt:
12811 remove some symbols that are not there
12813 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12815 * gst/gstcaps.c: (gst_caps_compare_structures):
12817 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12818 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12821 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12823 * libs/gst/dataprotocol/Makefile.am:
12824 build dataprotocol test by linking to the lib, instead of
12825 compiling the source, so we get coverage
12826 * tests/check/Makefile.am:
12827 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12828 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12829 add a test for filesrc
12831 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12833 * tests/check/gst/gststructure.c: (GST_START_TEST),
12834 (gst_structure_suite):
12835 Push coverage from 59.04% to 70.00%
12837 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12839 * tests/check/Makefile.am:
12840 gst-inspect every element; this makes sure that we also get
12841 coverage on element's get/set functions
12843 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12846 set CFLAGS and friends to -O0 if gcov is being used
12849 * libs/gst/base/Makefile.am:
12850 * libs/gst/check/Makefile.am:
12851 * libs/gst/controller/Makefile.am:
12852 * libs/gst/dataprotocol/Makefile.am:
12853 * libs/gst/net/Makefile.am:
12854 * plugins/elements/Makefile.am:
12855 * plugins/indexers/Makefile.am:
12856 add makefile rules to generate gcov data and clean up
12857 * tests/check/Makefile.am:
12858 add a coverage target that generates an html overview
12861 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12863 * tests/check/elements/fakesink.c:
12864 * tests/check/elements/fakesrc.c:
12865 * tests/check/elements/fdsrc.c:
12866 * tests/check/elements/identity.c:
12867 * tests/check/generic/sinks.c: (gst_sinks_suite):
12868 * tests/check/generic/states.c:
12869 * tests/check/gst/gst.c:
12870 * tests/check/gst/gstabi.c:
12871 * tests/check/gst/gstbin.c:
12872 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12873 * tests/check/gst/gstbus.c: (gst_bus_suite):
12874 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12875 * tests/check/gst/gstelement.c:
12876 * tests/check/gst/gstevent.c: (gst_event_suite):
12877 * tests/check/gst/gstghostpad.c:
12878 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12879 * tests/check/gst/gstmessage.c: (gst_message_suite):
12880 * tests/check/gst/gstminiobject.c:
12881 * tests/check/gst/gstobject.c:
12882 * tests/check/gst/gstpad.c:
12883 * tests/check/gst/gstpipeline.c:
12884 * tests/check/gst/gstplugin.c:
12885 * tests/check/gst/gstquery.c: (gst_query_suite):
12886 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12887 * tests/check/gst/gststructure.c:
12888 * tests/check/gst/gstsystemclock.c:
12889 * tests/check/gst/gsttag.c:
12890 * tests/check/gst/gsttask.c: (gst_task_suite):
12891 * tests/check/gst/gstutils.c:
12892 * tests/check/gst/gstvalue.c:
12893 * tests/check/libs/adapter.c:
12894 * tests/check/libs/basesrc.c:
12895 * tests/check/libs/collectpads.c:
12896 * tests/check/libs/controller.c:
12897 * tests/check/libs/gdp.c: (gst_dp_suite):
12898 * tests/check/libs/gstnetclientclock.c:
12899 * tests/check/libs/gstnettimeprovider.c:
12900 * tests/check/libs/libsabi.c: (libsabi_suite):
12901 * tests/check/libs/typefindhelper.c:
12902 * tests/check/pipelines/cleanup.c:
12903 * tests/check/pipelines/parse-launch.c:
12904 * tests/check/pipelines/simple-launch-lines.c:
12905 * tests/check/pipelines/stress.c: (stress_suite):
12908 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12910 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12911 * libs/gst/check/gstcheck.h:
12912 create a macro and function so that the simple unit test
12913 case can be just one macro to create main()
12915 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12917 * gst/gstbin.c: (gst_bin_restore_thyself):
12918 * gst/gstxml.c: (gst_xml_make_element):
12919 Fix deserialisation from XML. Set parent manually
12920 instead of using gst_bin_add(), since gst_bin_add()
12921 will unlink all pads of the element being added.
12924 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12926 Patch by: Peter Kjellerstedt <pkj at axis com>
12928 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12929 Fix missing g_strdup() and double free when using the
12930 --gst-plugin-load command line option (#346097).
12932 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12935 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12937 * libs/gst/net/gstnetclientclock.c:
12938 * libs/gst/net/gstnettimeprovider.c:
12939 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12941 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12943 * docs/manual/advanced-dataaccess.xml:
12944 Fix buffer probe example compilation in
12947 2006-06-22 Edward Hervey <edward@fluendo.com>
12949 * gst/gstelement.c: (gst_element_pads_activate):
12950 We need to deactivate src pads first and then sink pads.
12951 The reason is the src pads might be blocking while holding the streaming
12952 lock, so we need to deactivate them first so that deactivating the sink
12953 pads doesn't block (since it will require the streaming lock).
12955 2006-06-22 Wim Taymans <wim@fluendo.com>
12957 * libs/gst/base/gstbasetransform.c:
12958 (gst_base_transform_buffer_alloc):
12959 Forgot to remove two unneeded unrefs.
12960 Simplify a check _is_equal allready checks the obvious case.
12962 2006-06-22 Wim Taymans <wim@fluendo.com>
12964 * docs/design/part-block.txt:
12965 Some docs about what pad_block should do.
12967 2006-06-22 Wim Taymans <wim@fluendo.com>
12969 * gst/gstcaps.c: (gst_caps_replace):
12970 Fix crasher when passed NULL. Doc clarification.
12971 Optimize for the trivial case.
12973 * gst/gstpipeline.c: (gst_pipeline_change_state):
12976 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12977 Small documentation cleanup.
12979 * libs/gst/base/gstbasetransform.c:
12980 (gst_base_transform_buffer_alloc):
12981 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12982 is what we need and it avoids a whole lot of redundant
12983 refcount operations.
12985 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12987 Patch by: Philip Jägenstedt <philip at lysator liu se>
12989 * docs/manual/advanced-dataaccess.xml:
12990 Fix 'Embedding static elements' section to use
12991 GST_PLUGIN_DEFINE_STATIC (#345607).
12993 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12995 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12996 Attempt to 'fix' spuriously failing test case: it seems like the
12997 timeout of half a second is simply too small when the system is under
12998 load otherwise, and the timeout doesn't really seem to serve any
12999 particular purpose here. Give the pipeline a few seconds to preroll
13000 first, and then give it another half a second to go from PAUSED to
13001 PLAYING and marshal the message into the main thread.
13003 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13005 * tools/gst-feedback-m.m:
13006 Don't only use unversioned tools, try versioned tools as well
13009 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13011 * gst/gstbus.c: (gst_bus_class_init):
13012 Fix some typos, make docs more explicit.
13014 2006-06-20 Wim Taymans <wim@fluendo.com>
13016 * tests/check/gst/gstghostpad.c: (block_callback),
13017 (GST_START_TEST), (gst_ghost_pad_suite):
13018 Added some more ghostpad tests, mainly blocking
13021 2006-06-16 Wim Taymans <wim@fluendo.com>
13023 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13024 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13025 (gst_file_sink_event), (gst_file_sink_render):
13026 * plugins/elements/gstfilesink.h:
13027 Check if we can seek in the file instead of assuming
13028 we always can. Post an error when we are asked to seek in a
13029 non-seekable file (like a fifo). Fixes #343312.
13032 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13034 * tools/gst-launch.1.in:
13035 Un-garble (fourcc) bit in filtered caps section.
13037 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13039 * docs/manual/advanced-autoplugging.xml:
13040 * docs/manual/basics-helloworld.xml:
13041 * docs/manual/highlevel-components.xml:
13042 Don't leak bus reference in sample code.
13044 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13047 Add default for new --enable-plugin-docs switch.
13050 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13053 * docs/Makefile.am:
13054 Use new ENABLE_PLUGIN_DOCS conditional.
13056 2006-06-14 Wim Taymans <wim@fluendo.com>
13058 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13059 Make it clear with a FIXME and a real define what the #if 0
13060 previously disabled.
13062 2006-06-14 Wim Taymans <wim@fluendo.com>
13064 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13065 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13066 * libs/gst/base/gstbasetransform.c:
13067 (gst_base_transform_sink_eventfunc):
13068 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13069 Don't randomly and silently reset a segment when the format
13070 changes as this is a bug somewhere upstream. Fixes #330379.
13072 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13074 Patch by: Wouter Paesen <wouter at kangaroot net>
13076 * libs/gst/controller/gstcontroller.c:
13077 (gst_controlled_property_new):
13078 Fix controlling of float properties (#344849).
13080 * tests/check/libs/controller.c:
13081 (gst_test_mono_source_get_property),
13082 (gst_test_mono_source_set_property),
13083 (gst_test_mono_source_class_init), (GST_START_TEST):
13084 While we're at it, add some float stuff to unit test.
13086 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13089 * docs/images/gdp-header.svg:
13091 * docs/libs/Makefile.am:
13092 * docs/libs/gdp-header.png:
13093 * libs/gst/dataprotocol/dataprotocol.c:
13094 add it to the API docs
13095 * docs/manual/intro-motivation.xml:
13098 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13100 * gst/gst.c: (scan_and_update_registry), (init_post):
13101 If the fork()'ed child process can't write the updated registry cache
13102 file to disk for some reason, make it exit with a failure exit code,
13103 so that the parent can then re-scan the plugins itself and update the
13104 registry structures in memory and work with that (rather than failing
13105 when creating elements because seemingly no plugins are available).
13106 Refactor registry scanning code into separate function for this and
13107 also separate fork() and non-fork() code paths. Fixes #344748.
13109 2006-06-13 Wim Taymans <wim@fluendo.com>
13111 * docs/manual/advanced-dataaccess.xml:
13112 Fix wrong PluginDesc. Fixes #344755.
13114 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13116 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13117 Fix silly bug that prevented us from creating
13118 ~/.gstreamer-0.10 and writing the registry in one
13119 go (the first call to g_mkstemp() would overwrite the
13120 placeholder in the template string, so the second call
13121 to g_mkstemp() after creating the missing directory
13122 would then error out with 'invalid argument').
13124 2006-06-13 Edward Hervey <edward@fluendo.com>
13126 * gst/gst.c: (init_post):
13129 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13131 * gst/glib-compat-private.h:
13132 * gst/glib-compat.c:
13133 * gst/glib-compat.h:
13134 * gst/gstvalue.c: (gst_value_serialize_flags):
13135 remove GLib 2.6 compatibility code
13137 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
13139 * gst/parse/Makefile.am:
13140 Fix build with 'make -j N' even more (#340016).
13142 2006-06-12 Wim Taymans <wim@fluendo.com>
13144 * docs/gst/gstreamer-sections.txt:
13147 2006-06-12 Wim Taymans <wim@fluendo.com>
13149 * gst/gstsegment.c: (gst_segment_set_duration),
13150 (gst_segment_set_last_stop), (gst_segment_set_seek),
13151 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
13152 (gst_segment_to_running_time), (gst_segment_clip):
13153 Use G_UNLIKELY to help the compiler a bit.
13155 2006-06-12 Wim Taymans <wim@fluendo.com>
13157 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13159 * gst/gstevent.c: (gst_event_get_type):
13160 * gst/gstmessage.c:
13161 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13163 constify quark registration strings. Fixes #344115
13164 Avoid unneeded type checking is _pad_push() by internally
13165 calling gst_pad_chain_unchecked().
13167 2006-06-12 Wim Taymans <wim@fluendo.com>
13169 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
13170 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
13171 (gst_subbuffer_finalize), (gst_buffer_create_sub),
13172 (gst_buffer_is_span_fast), (gst_buffer_span):
13173 Init _type for consistency.
13174 Use _FLAGS macro to avoid type check.
13175 Avoid unneeded type checks in subbufer code.
13177 2006-06-12 Wim Taymans <wim@fluendo.com>
13179 * gst/gst.c: (gst_debug_help):
13180 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
13181 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13182 (gst_plugin_feature_list_free):
13183 * gst/gstregistry.c: (gst_registry_add_plugin),
13184 (gst_registry_add_feature), (gst_registry_plugin_filter),
13185 (gst_registry_feature_filter), (gst_registry_find_plugin),
13186 (gst_registry_find_feature), (gst_registry_get_plugin_list),
13187 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
13188 * gst/gstregistryxml.c: (load_feature),
13189 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
13190 * gst/gstminiobject.c: (gst_mini_object_unref),
13191 (gst_mini_object_replace), (gst_value_mini_object_free),
13192 (gst_value_mini_object_copy):
13193 Use _CAST macros to avoid unneeded type checking.
13194 Added some more G_UNLIKELY.
13196 2006-06-12 Wim Taymans <wim@fluendo.com>
13199 Avoid unneeded type checking.
13200 API: GST_BUFFER_IS_DISCONT
13202 * gst/gstminiobject.h:
13203 Avoid type check in flag accessor.
13205 * gst/gstelementfactory.h:
13207 * gst/gstpluginfeature.h:
13209 API: GST_ELEMENT_FACTORY_CAST
13210 API: GST_PLUGIN_CAST
13211 API: GST_PLUGIN_FEATURE_CAST
13213 2006-06-12 Wim Taymans <wim@fluendo.com>
13215 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
13216 (gst_object_unref):
13217 Add G_UNLIKELY in type registration.
13218 Avoid type check in _ref/_unref since that is also
13221 2006-06-12 Wim Taymans <wim@fluendo.com>
13223 * gst/gsterror.c: (gst_g_error_get_type):
13224 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
13225 (gst_static_pad_template_get_type):
13226 * gst/gsttaglist.c: (gst_tag_list_get_type):
13227 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
13228 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
13229 * gst/gsturi.c: (gst_uri_handler_get_type):
13230 * gst/gstvalue.c: (gst_date_get_type):
13231 * gst/gstxml.c: (gst_xml_get_type):
13232 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
13233 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13234 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
13235 Add G_UNLIKELY in type registration.
13237 2006-06-12 Wim Taymans <wim@fluendo.com>
13239 * tools/gst-inspect.c: (print_signal_info):
13240 Properly print enum values.
13242 2006-06-12 Wim Taymans <wim@fluendo.com>
13244 * gst/gstinfo.c: (gst_debug_set_active),
13245 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
13247 Add some G_[UN]LIKELY.
13248 Maintain __gst_debug_min to avoid formatting the arguments of
13249 debug messages that will be dropped anyway to avoid a lot of
13250 overhead from the debugging system.
13252 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13255 * po/POTFILES.skip:
13256 add missing files containing translatable strings, tell intltool about
13259 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13261 * tests/check/libs/.cvsignore:
13262 add test-binary to ignore list
13264 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13266 * docs/libs/gstreamer-libs-docs.sgml:
13267 reorder (put dp into a chapter) and indent
13269 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13274 === release 0.10.8 ===
13276 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13279 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
13281 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13283 * gst/gst.c: (init_post):
13284 move pid declaration to declaration block
13286 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13288 * gst/gst.c: (init_post):
13289 use _exit() instead of exit() in our forked child; this ensures
13290 that none of the registered exit handlers from whatever is using
13291 GStreamer get executed. This fixes gnome-mixer-applet failing
13292 to load, because ORBit would shut down.
13293 Spotted by: Edward Hervey <edward@fluendo.com>
13294 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
13297 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
13302 === release 0.10.7 ===
13304 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
13307 releasing 0.10.7, "Soepeke, ik zie ou"
13309 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
13332 * win32/common/config.h:
13333 0.10.6.2 prerelease
13335 2006-06-07 Wim Taymans <wim@fluendo.com>
13337 * gst/gstindex.c: (gst_index_gtype_resolver):
13338 * tools/gst-xmlinspect.c: (print_plugin_info):
13339 Fix leak spotted by coverity checker. Fixes #343827
13340 Fix another other leak found by paolo borelli.
13342 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13344 * libs/gst/dataprotocol/dataprotocol.c:
13345 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13346 (gst_dp_version_get_type), (gst_dp_init),
13347 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
13348 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
13349 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
13350 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
13351 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
13352 (gst_dp_packetizer_free):
13353 * libs/gst/dataprotocol/dataprotocol.h:
13354 API: add a GstDPPacketizer object, and create/free functions
13355 API: add GstDPVersion enum
13356 Add 1.0 event function that uses the string serialization
13357 Serialize more useful buffer flags
13360 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13362 * tests/check/Makefile.am:
13363 * tests/check/gst/gstabi.c:
13364 * tests/check/gst/struct_ppc64.h:
13365 * tests/check/libs/libsabi.c:
13366 * tests/check/libs/struct_ppc64.h:
13367 add ppc64 structure sizes
13369 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13371 * tests/check/Makefile.am:
13372 * tests/check/gst/gstabi.c:
13373 * tests/check/gst/struct_x86_64.h:
13374 * tests/check/libs/libsabi.c:
13375 * tests/check/libs/struct_x86_64.h:
13376 generate and add structure size lists for x86_64
13378 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13380 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
13381 * libs/gst/check/gstcheck.h:
13382 factor out the method from tests that checks size of structures,
13383 and add code to generate the header containing these sizes
13384 * tests/check/gst/gstabi.c: (GST_START_TEST):
13385 * tests/check/gst/struct_i386.h:
13386 * tests/check/libs/libsabi.c: (GST_START_TEST):
13387 * tests/check/libs/struct_i386.h:
13390 2006-06-06 Michael Smith <msmith@fluendo.com>
13392 * gst/gstsegment.h:
13393 Don't use c++-style comments, fixes #343929
13395 2006-06-05 Edward Hervey <edward@fluendo.com>
13398 plugin_paths is not used if we build without registry support.
13400 * gst/gstsegment.c: (gst_segment_copy):
13401 _copy() was always returning NULL...
13403 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13405 * libs/gst/dataprotocol/dataprotocol.c:
13406 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13407 (gst_dp_packet_from_event):
13408 factor out CRC code
13410 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13412 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13413 make sure we unset caps
13415 2006-06-02 Michael Smith <msmith@fluendo.com>
13417 * libs/gst/check/gstcheck.c: (gst_check_init),
13418 (gst_check_chain_func):
13419 * libs/gst/check/gstcheck.h:
13420 Add a cond/mutex to the check support lib, signal this whenever we
13421 add to the buffers list. This will allow tests to not busy-wait on
13424 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13426 * libs/gst/dataprotocol/dataprotocol.c:
13427 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13428 (gst_dp_packet_from_event):
13429 factor out some common header init code
13431 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13433 * docs/libs/gstreamer-libs-sections.txt:
13434 * docs/libs/tmpl/gstdataprotocol.sgml:
13435 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13436 * libs/gst/dataprotocol/dataprotocol.h:
13437 API: make gst_dp_crc() public
13439 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13441 * plugins/indexers/gstindexers.c: (plugin_init):
13442 conditionally register fileindexer (fixes #343598)
13444 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13446 * gst/gsttagsetter.h:
13447 Can't cast ifaces to a class
13449 * libs/gst/net/gstnetclientclock.h:
13450 * libs/gst/net/gstnettimeprovider.h:
13451 * plugins/elements/gstfakesink.h:
13452 * plugins/elements/gstfakesrc.h:
13453 * plugins/elements/gstfdsink.h:
13454 * plugins/elements/gstfdsrc.h:
13455 * plugins/elements/gstfilesink.h:
13456 * plugins/elements/gstfilesrc.h:
13457 * plugins/elements/gstidentity.h:
13458 * plugins/elements/gstqueue.h:
13459 * plugins/elements/gsttee.h:
13460 * plugins/indexers/gstfileindex.c:
13461 * plugins/indexers/gstmemindex.c:
13462 * tests/old/examples/plugins/example.h:
13463 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13465 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
13467 * libs/gst/dataprotocol/dataprotocol.c:
13468 (gst_dp_header_from_buffer):
13469 make sure we zero the whole ABI-compatible area
13471 2006-06-01 Wim Taymans <wim@fluendo.com>
13473 Patch by: Alessandro Decina <alessandro at nnva dot org>
13475 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13476 Make sure the EOS flag is cleared from pads after a flush
13477 or stop. Fixes #343538.
13479 * tests/check/libs/collectpads.c: (GST_START_TEST),
13480 (gst_collect_pads_suite):
13481 Added test for collectpads reusage after EOS.
13483 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
13486 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13487 * win32/common/libgstbase.def:
13488 export gst_collect_pads_set_flushing
13489 * win32/common/libgstreamer.def:
13490 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13491 gst_value_fraction_multiply
13492 * win32/vs6/gst_inspect.dsp:
13493 add a link to intl.lib
13495 2006-05-30 Wim Taymans <wim@fluendo.com>
13497 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13498 (gst_collect_pads_chain):
13499 Handle the case where a pad is removed from the collection
13500 that could cause the other pads to become collectable.
13502 2006-05-30 Wim Taymans <wim@fluendo.com>
13504 * gst/gstelement.c:
13505 Clarify the use of _release_request_pad() and
13506 _get_request_pad() a bit better.
13508 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13509 (gst_adapter_take_buffer):
13510 Fix some doc and comment typos.
13512 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13514 * docs/gst/gstreamer-sections.txt:
13515 * docs/libs/gstreamer-libs-sections.txt:
13516 add declared symbols
13518 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
13520 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13521 Add debug that can be enabled using a #define at the top of the file,
13522 for dumping stats about how late/early we were when waking up from
13523 waiting on the clock.
13525 2006-05-30 Wim Taymans <wim@fluendo.com>
13527 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13528 When rebuilding the pad list, don't leak the previous list.
13530 2006-05-30 Wim Taymans <wim@fluendo.com>
13532 Patch by: Lutz Mueller <lutz at topfrose dot de>
13534 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13535 (gst_base_src_get_query_types), (gst_base_src_update_length):
13536 Publish supported query types.
13537 Update last_stop field in get_range mode so the position
13538 query works. Fixes #342321.
13540 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
13542 * docs/gst/gstreamer-sections.txt:
13543 * gst/gsttaglist.c: (_gst_tag_initialize):
13544 * gst/gsttaglist.h:
13545 API: add GST_TAG_PREVIEW_IMAGE (#343341).
13547 2006-05-30 Wim Taymans <wim@fluendo.com>
13549 Patch by: Alessandro Decina <alessandro at nnva dot org>
13551 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13552 Unlock mutex when removing an unknown pad.
13555 * tests/check/Makefile.am:
13556 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13557 (push_event), (setup), (teardown), (GST_START_TEST),
13558 (gst_collect_pads_suite), (main):
13559 Added collecpads check, disabled for now as check crashes for
13562 2006-05-29 Wim Taymans <wim@fluendo.com>
13564 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13565 Don't leak pads lists.
13567 2006-05-29 Wim Taymans <wim@fluendo.com>
13569 * docs/libs/gstreamer-libs-sections.txt:
13570 * libs/gst/base/gstcollectpads.c:
13571 (gst_collect_pads_set_flushing_unlocked),
13572 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13573 (gst_collect_pads_stop):
13574 * libs/gst/base/gstcollectpads.h:
13575 API: gst_collect_pads_set_flushing()
13576 Added api to set the pads to flushing, useful for seeking
13577 code in elements using collectpads.
13578 Clear segment when receiving a flush.
13580 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
13582 * gst/gst.c: (add_path_func), (init_post):
13583 Don't scan registry paths passed via --gst-plugin-path immediately
13584 (will crash, because absolutely nothing is set up and no types are
13585 registered etc.); do this later in init_post(). Fixes #343057.
13587 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
13589 * gst/gst.c: (init_post):
13590 if we have fork, fork while reading/rebuilding the registry
13591 so the parent doesn't take the hit of having all plugins loaded
13592 in memory. Fixes #342777.
13594 Check if we have fork()
13595 * win32/common/config.h.in:
13598 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13600 * plugins/elements/gstelements.c:
13601 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13602 (gst_file_src_init), (gst_file_src_set_property),
13603 (gst_file_src_get_property), (gst_file_src_start):
13604 * plugins/elements/gstfilesrc.h:
13605 API: GstFileSrc::use-mmap
13607 Add a use-mmap property to enable easier testing of all code paths.
13608 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13609 in the absence of gnomevfssrc. (Closes #340501)
13611 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13613 * tools/gst-inspect.c:
13614 Add missing include, removes warning of ngettext not being defined on
13617 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13619 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13620 Handle NULL input and output pointers silently as a failed conversion,
13621 rather than g_warnings.
13623 2006-05-25 Wim Taymans <wim@fluendo.com>
13625 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13626 Initialize variable before using. Fixes #342820.
13628 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
13630 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13631 Fix off-by-one bug that would only allow peeks of N-1 bytes
13632 from the start even if the buffer to typefind on contains
13633 in fact N bytes of data (makes vorbis typefinding from a
13634 vorbis identification header buffer work).
13636 * tests/check/Makefile.am:
13637 * tests/check/libs/.cvsignore:
13638 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13639 (gst_typefindhelper_suite), (main), (foobar_typefind),
13641 Add very basic unit test for gst_type_find_helper_for_buffer()
13642 that checks for the problem fixed above.
13644 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
13646 * tools/gst-inspect.c: (print_interfaces),
13647 (print_element_properties_info), (print_element_list), (main):
13648 add more translatable strings
13650 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
13652 Patch by: Julien Moutte <julien at moutte net>
13654 * docs/gst/gstreamer-sections.txt:
13655 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13657 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13658 (gst_fake_sink_preroll):
13659 * plugins/elements/gstfakesink.h:
13660 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13662 2006-05-23 Wim Taymans <wim@fluendo.com>
13664 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13666 Added _CUSTOM error and success GstFlowReturn that can be
13667 used be elements internally.
13668 Added macro to check for SUCCESS flowreturns.
13669 API: GST_FLOW_CUSTOM_SUCCESS
13670 API: GST_FLOW_CUSTOM_ERROR
13671 API: GST_FLOW_IS_SUCCESS
13673 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13674 Added check for GstFlowReturn sanity.
13676 2006-05-23 Wim Taymans <wim@fluendo.com>
13678 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13680 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13681 (gst_collect_pads_event):
13682 clear/reset segment info in FLUSH_STOP.
13685 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13687 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13688 (gst_collect_pads_check_collected):
13689 Flush queued buffer on _stop(), fixes playing again (#342454)
13691 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13693 * tests/check/gst/gststructure.c: (GST_START_TEST),
13694 (gst_structure_suite):
13695 add a test for a complete structure
13697 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13699 * docs/faq/developing.xml:
13700 * docs/faq/faq.xml:
13701 * docs/faq/troubleshooting.xml:
13702 * docs/faq/using.xml:
13703 Some minor FAQ updates that won't change the fact that
13704 our FAQ is badly structured, full of information hardly
13705 anyone new to GStreamer needs to know and lacking lots
13706 of information people constantly ask for.
13708 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13710 * gst/gstpad.c: (gst_pad_set_caps):
13711 Short-circuit gst_pad_set_caps if setting the existing
13712 caps pointer again, and avoid printing debug and
13713 reffing/unreffing the caps.
13715 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13716 There's actually no need to set the caps before pushing -
13717 the acceptcaps method will handle it anyway.
13719 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13721 * docs/gst/gstreamer-sections.txt:
13722 * win32/common/libgstreamer.def:
13723 * gst/gstutils.c: (gst_element_seek_simple):
13725 API: add gst_element_seek_simple() (#342238).
13727 2006-05-18 Edward Hervey <edward@fluendo.com>
13729 * gst/gsttypefind.c: (gst_type_find_get_type):
13730 * gst/gsttypefind.h:
13731 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13732 registered for GstTypeFind pointers. This allows wrapping the structure
13733 in bindings (i.e. gst-python).
13735 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13737 * gst/gsttagsetter.c:
13738 Docs additions and fixes (see #339918).
13740 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13742 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13743 The caps intersection algorithm can produce multiple copies of the
13744 caps. Until that is fixed, we need to simplify the result to be
13745 sure whether the allowed caps are fixed or not.
13747 * plugins/elements/gstqueue.c: (gst_queue_init),
13748 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13749 (gst_queue_push_one):
13750 Proxied buffer alloc should not set the caps on the source pad.
13751 When pushing buffers, we always accept the caps change that triggers.
13752 This prevents negotiation errors caused by caps changing mid-stream
13753 and then being refused on our source pad (because upstream is now
13754 refusing those caps).
13756 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13758 * tests/examples/helloworld/helloworld.c: (main):
13759 Must plug audioconvert and audioresample between decoder
13762 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13764 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13765 (load_feature), (load_plugin):
13766 Allow empty strings for some of the plugin fields so we don't
13767 drop valid plugin entries that were written out correctly
13770 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13772 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13773 Use g_remove and g_rename instead of remove and rename that don't
13774 handle utf8 characters. rename was failing for users who had specific
13775 characters in their name then the registry was built at each
13777 * win32/vs6/gst_inspect.dsp:
13778 * win32/vs6/gst_launch.dsp:
13779 * win32/vs6/libgstbase.dsp:
13780 * win32/vs6/libgstcoreelements.dsp:
13781 * win32/vs6/libgstreamer.dsp:
13782 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13783 build of libgstreamer and clean unused libraries in projects link
13786 2006-05-17 Edward Hervey <edward@fluendo.com>
13788 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13789 The queue is not responsible for pushing an EOS when receiving a fatal
13790 flow error. It's up to the real element driving the pipeline to do that.
13792 2006-05-16 Edward Hervey <edward@fluendo.com>
13794 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13795 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13796 buffer returned a fatal error. It should just send an EOS and stop
13798 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13799 when pushing buffers on the queue and will be able to handle the event.
13801 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13803 * docs/manual/basics-bins.xml:
13804 * docs/manual/basics-init.xml:
13805 Fix typos and minor errors in sample code (#341856).
13807 2006-05-16 Wim Taymans <wim@fluendo.com>
13809 * docs/design/part-qos.txt:
13810 Fix indexes in formulas to make more sense.
13812 2006-05-15 Wim Taymans <wim@fluendo.com>
13814 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13815 Don't report POSITION based on clock time if sync is
13816 disabled in a sink.
13818 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13821 Add cast to make compiler happy - refcount variable was a gint
13822 in GstObject but is a guint in GObject and g_atomic_int_get()
13825 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13827 * gst/parse/Makefile.am:
13828 chain commands using &&, which also makes parallel make work
13830 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13832 * docs/gst/gstreamer-sections.txt:
13835 * gst/gstmessage.h:
13838 === release 0.10.6 ===
13840 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13843 releasing 0.10.6, "Take the cannoli"
13845 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13847 * tools/gst-launch.c: (print_tag):
13848 Fix use of uninitialized variable in the hypothetical
13849 case that some broken plugin creates a GST_TAG_IMAGE
13850 tag containing a NULL buffer (#341667).
13852 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13854 * tools/gst-launch.c: (print_tag):
13855 Print something more intelligible for image tags when
13856 using the -t switch (#341556).
13858 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13863 define GST_MAJORMINOR so we have it available in win32/common/config.h
13864 Possibly remove it from our Makefile.am files later
13865 * win32/common/config.h:
13866 * win32/common/config.h.in:
13867 added GST_MAJORMINOR
13868 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13869 * win32/common/gstversion.h:
13872 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13875 Update win32 files listing.
13876 * win32/common/gstversion.h:
13877 Add GST_MAJORMINOR definition.
13878 * win32/common/libgstreamer.def:
13879 Add new exported functions.
13881 2006-05-12 Michael Smith <msmith@fluendo.com>
13883 * gst/gstplugin.c: (gst_plugin_load_file):
13884 If an so file has no plugin entry point, unload the module.
13886 2006-05-11 Wim Taymans <wim@fluendo.com>
13888 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13889 (gst_queue_set_property):
13890 Don't forget to signal the _chain or _loop function
13891 when the queue size or thresholds change since that might
13892 cause them to make progres again.
13894 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13896 * gst/gstclock.c: (gst_clock_class_init):
13897 * gst/gstindex.c: (gst_index_class_init):
13898 * gst/gstobject.c: (gst_object_class_init):
13899 * gst/gstpad.c: (gst_pad_class_init):
13900 * gst/gstpipeline.c: (gst_pipeline_class_init):
13901 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13902 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13903 * libs/gst/base/gstbasetransform.c:
13904 (gst_base_transform_class_init):
13905 * libs/gst/net/gstnetclientclock.c:
13906 (gst_net_client_clock_class_init):
13907 * libs/gst/net/gstnettimeprovider.c:
13908 (gst_net_time_provider_class_init):
13909 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13910 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13911 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13912 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13913 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13914 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13915 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13916 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13917 * plugins/elements/gsttee.c: (gst_tee_class_init):
13918 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13919 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13920 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13922 2006-05-11 Wim Taymans <wim@fluendo.com>
13924 * gst/gstbuffer.c: (_gst_buffer_initialize):
13925 Register subbufer along with the buffer type so that
13926 it does not accidentally gets registered from N
13927 different streaming threads in a non threadsafe way.
13929 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13933 * gst/gstmessage.h:
13934 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13935 gst_event_ref() and gst_message_ref() functions again
13936 (ugly hack, please do fix if there's a better way besides
13937 overrides.txt, which doesn't seem to work).
13939 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13941 * libs/gst/check/gstcheck.h:
13942 add an assert for setting state to avoid lots of repetitive code
13945 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13947 * gst/gstvalue.c: (gst_value_serialize_flags):
13948 fix a leak if no flags are set
13949 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13952 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13954 * docs/manual/basics-pads.xml:
13955 Expand a bit on caps and filtered links and update
13956 examples that were still using the no longer existing
13957 gst_pad_link_filtered() (#338206).
13959 2006-05-10 Wim Taymans <wim@fluendo.com>
13961 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13962 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13963 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13964 (gst_collect_pads_stop):
13965 * libs/gst/base/gstcollectpads.h:
13966 No need to call _stop in _finalize.
13967 Iterate the main pad list in _finalize.
13968 Added some more debug.
13969 Free lists and data in the right order.
13970 Also free data whem doing _remove_pad when stopped for
13971 backward compatibility protect ::started with PAD_LOCK as
13974 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13976 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13977 (gst_structure_parse_value):
13979 rename a method so that it actually says what it does better
13981 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13983 * gst/gstevent.c: (_gst_event_initialize):
13984 * gst/gstformat.c: (_gst_format_initialize):
13985 make sure some essential types used by events are registered
13986 as part of gst_init()
13987 * gst/gstvalue.c: (gst_value_serialize_flags):
13988 if no flags are set, serialize them to a value that represents NONE
13989 so that deserializing them works
13990 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13991 add tests for serialization and deserialization of flags
13993 2006-05-10 Wim Taymans <wim@fluendo.com>
13995 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13996 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13997 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13998 (gst_collect_pads_event), (gst_collect_pads_chain):
14001 Catch and return errors from the collect function
14002 Refuse data on eos pads.
14004 2006-05-10 Edward Hervey <edward@fluendo.com>
14006 * gst/gstinterface.h:
14007 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14008 GInterface type checking.
14009 They were previously using non-defined macros.
14011 2006-05-09 Wim Taymans <wim@fluendo.com>
14013 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14014 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14015 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14016 (gst_collect_pads_start), (gst_collect_pads_stop),
14017 (gst_collect_pads_peek), (gst_collect_pads_pop),
14018 (gst_collect_pads_available), (gst_collect_pads_read),
14019 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14020 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14021 (gst_collect_pads_chain):
14022 * libs/gst/base/gstcollectpads.h:
14023 Clean up the mess that is collectpads, add comments and
14024 FIXMEs where needed.
14025 Maintain a separate pad list so we can add pads while
14026 collecting the other ones. For this we need a new separate
14028 Fix memory leak in finalize.
14029 Refactor some weird code to set/unset pad flushing flags, mark
14031 Don't crash in _available, _read, _flush when we're EOS.
14033 * tests/check/libs/.cvsignore:
14034 Ignore adapter check binary.
14036 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14038 * gst/gstindex.c: (gst_index_resolver_get_type):
14039 * plugins/elements/gstfakesink.c:
14040 (gst_fake_sink_state_error_get_type):
14041 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14042 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14043 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14044 Const-ify GEnumValue arrays.
14046 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14048 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14049 Add test case for flags + gst_buffer_make_metadata_writable().
14051 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14053 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14054 gst_buffer_make_metadata_writable() should maintain the
14055 buffer flags (those that make sense at least) (see #340859).
14057 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14059 * tools/gst-inspect.c:
14060 * tools/gst-launch.c:
14061 * tools/gst-typefind.c:
14062 * tools/gst-xmlinspect.c:
14064 Fix up includes: need to include stdlib.h in tools.h for exit().
14066 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14068 * gst/gsttaglist.c: (_gst_tag_initialize):
14069 * gst/gsttaglist.h:
14070 API: add GST_TAG_IMAGE tag (#340721).
14072 2006-05-08 Wim Taymans <wim@fluendo.com>
14075 Added some docs for the segment query.
14077 2006-05-08 Wim Taymans <wim@fluendo.com>
14079 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14080 (gst_base_src_loop), (gst_base_src_change_state):
14081 Always push non-flushing serialized events in the streaming
14084 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
14086 * gst/gsterror.c: (_gst_stream_errors_init):
14087 Add a missing error string.
14089 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
14091 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14092 Add applied_rate to the debug
14094 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14095 Copy applied_rate into the outgoing NEWSEGMENT event
14097 2006-05-08 Wim Taymans <wim@fluendo.com>
14099 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14101 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14102 (gst_base_sink_change_state):
14103 call ::unlock before taking the PREROLL_LOCK so we can safely
14104 handle elements that lock in ::render.
14107 2006-05-08 Edward Hervey <edward@fluendo.com>
14109 * autogen.sh: (CONFIGURE_DEF_OPT):
14110 Darwin's libtoolize is in fact called glibtoolize.
14111 Adding glibtoolize to the list of accepted names for libtoolize.
14113 2006-05-08 Wim Taymans <wim@fluendo.com>
14115 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14116 Unify error handling, don't post an error message
14117 when a push() returns EOS but perform our normal EOS
14118 handling code. Fixes #340772.
14120 2006-05-08 Wim Taymans <wim@fluendo.com>
14122 * docs/design/part-overview.txt:
14123 Make upsteam/downstream concepts more clear.
14124 Give an example of serialized/non-serialized events.
14126 * docs/design/part-events.txt:
14127 * docs/design/part-streams.txt:
14128 Mention applied_rate.
14130 * docs/design/part-trickmodes.txt:
14131 Mention applied rate, flesh out some more use cases.
14133 * gst/gstevent.c: (gst_event_new_new_segment),
14134 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14135 (gst_event_parse_new_segment_full), (gst_event_new_tag),
14136 (gst_event_parse_tag), (gst_event_new_buffer_size),
14137 (gst_event_parse_buffer_size), (gst_event_new_qos),
14138 (gst_event_parse_qos), (gst_event_parse_seek),
14139 (gst_event_new_navigation):
14141 Add applied_rate field to NEWSEGMENT event.
14142 API: gst_event_new_new_segment_full()
14143 API: gst_event_parse_new_segment_full()
14145 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
14146 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
14147 (gst_segment_to_stream_time), (gst_segment_to_running_time):
14148 * gst/gstsegment.h:
14149 Add applied_rate to GstSegment structure.
14150 Make calculation of stream_time and running_time more correct
14151 wrt rate/applied_rate.
14152 Add some more docs.
14153 API: GstSegment::applied_rate field
14154 API: gst_segment_set_newsegment_full();
14156 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14157 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
14158 * libs/gst/base/gstbasetransform.c:
14159 (gst_base_transform_sink_eventfunc),
14160 (gst_base_transform_handle_buffer):
14161 Parse and use applied_rate in the GstSegment field.
14163 * tests/check/gst/gstevent.c: (GST_START_TEST):
14164 Add check for applied_rate field.
14166 * tests/check/gst/gstsegment.c: (GST_START_TEST),
14167 (gstsegments_suite):
14168 Add more checks for various GstSegment operations.
14170 2006-05-08 Wim Taymans <wim@fluendo.com>
14172 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14173 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
14174 (gst_base_sink_get_position), (gst_base_sink_change_state):
14175 Store the sync time of the buffer end position separatly in a
14176 new variable eos_rtime so we can properly sync the EOS event.
14178 Fix the docs for gst_base_sink_set_qos_enabled().
14179 Don't set segment start to invalid value when we receive a
14180 non TIME newsegment.
14181 get closer to handling position reporting for negative rates
14184 2006-05-07 Stefan Kost <ensonic@users.sf.net>
14187 Docs about how to print caps for debug purposes.
14189 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
14190 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
14192 2006-05-07 Stefan Kost <ensonic@users.sf.net>
14194 * gst/gstelement.c:
14195 use full enum names and preprend a '%' in docs strings to make recent
14196 gtk-doc turn that into a link
14198 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14200 * docs/manual/basics-bins.xml:
14201 * docs/manual/basics-bus.xml:
14202 * docs/manual/basics-pads.xml:
14203 Some typo fixes, some additions, some clarifications.
14205 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14207 * tools/gst-inspect.c: (main):
14208 * tools/gst-launch.c: (main):
14209 * tools/gst-run.c: (main):
14210 * tools/gst-typefind.c: (main):
14211 * tools/gst-xmlinspect.c: (main):
14212 Use the string passed to g_option_context_new() for
14213 what it's intended for - the program name is already
14216 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14218 * tools/Makefile.am:
14219 * tools/gst-inspect.c: (main):
14220 * tools/gst-launch.c: (main):
14221 * tools/gst-xmlinspect.c: (main):
14223 Add back --version command line option (#340460).
14225 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
14226 Add --version option and use GOption for argument parsing; refactor a
14227 bit; accept directories as arguments and recurse into them; lastly,
14228 print a decent error message when things go wrong.
14230 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14232 * docs/manual/basics-bins.xml:
14233 Don't mention GstThread (#340611)
14234 * docs/manual/basics-elements.xml:
14235 Update link to GObject tutorial (#340607)
14237 2006-05-05 Wim Taymans <wim@fluendo.com>
14240 * gst/gstminiobject.c:
14241 Add note about refcounting and miniobject/buffer writeability
14242 to docs. Fixes #340604
14244 * gst/gstelementfactory.h:
14245 Added some explanation about @klass.
14247 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14249 * docs/manual/intro-motivation.xml:
14250 * docs/manual/manual.xml:
14251 Avoid CORBA & Bonobo references (#340598)
14253 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14255 * docs/manual/basics-bus.xml:
14256 * docs/manual/basics-pads.xml:
14257 Fix up some inaccuracies and omissions (#340609)
14259 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14261 * gst/gstghostpad.c:
14262 Small typo in docs (#340625)
14264 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14266 * gst/parse/Makefile.am:
14267 Make 'make -j' proof (see #340698).
14269 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14272 Require GLib-2.8 here as well.
14274 2006-05-05 Wim Taymans <wim@fluendo.com>
14276 * gst/glib-compat.c:
14277 * gst/gst.c: (init_pre):
14278 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
14279 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
14280 (gst_object_dispatch_properties_changed):
14282 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14283 * gst/gststructure.c: (gst_structure_set_valist):
14284 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14285 Remove pre glib2.8 compatibility, fixes #340508
14287 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
14289 * gst/gsttaglist.h:
14290 Mention type of tags in doc blurbs.
14292 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
14294 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14295 (gst_pad_configure_src), (gst_pad_push):
14296 Restore acceptcaps checking behaviour now that good plugins have
14299 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
14301 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
14308 * gst/gstmessage.c:
14312 * gst/parse/Makefile.am:
14313 * libs/gst/base/gstadapter.c:
14314 * libs/gst/base/gstbasesrc.c:
14315 * libs/gst/base/gstpushsrc.c:
14316 * libs/gst/base/gsttypefindhelper.c:
14317 * plugins/elements/gstfakesrc.c:
14318 * plugins/elements/gstidentity.c:
14319 Make sure gstprivate.h and/or config.h are
14320 always included first, otherwise some of our
14321 defines (like _FILE_OFFSET_BITS) might be
14322 redefined in the system headers. Fixes build
14323 on opensolaris (#340016).
14325 2006-05-04 Wim Taymans <wim@fluendo.com>
14327 * docs/libs/gstreamer-libs-sections.txt:
14328 API: addition: gst_adapter_take_buffer()
14330 * libs/gst/base/gstadapter.c: (gst_adapter_push),
14331 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
14332 (gst_adapter_available_fast):
14333 * libs/gst/base/gstadapter.h:
14334 Prepare for optimizing the hell out of this hugely inefficient
14336 Added gst_adapter_take_buffer() so we can at least start thinking
14337 about subbuffering and merging.
14338 Added some comments.
14340 * tests/check/Makefile.am:
14341 * tests/check/libs/adapter.c: (GST_START_TEST),
14342 (gst_adapter_suite), (main):
14343 Added GstAdapter check.
14345 2006-05-04 Wim Taymans <wim@fluendo.com>
14347 * docs/design/part-overview.txt:
14348 Fix some typos, add blurb about buffer flags.
14350 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
14352 * docs/libs/gstreamer-libs-sections.txt:
14353 make sure GstBaseTransformClass shows up in the docs
14354 * libs/gst/base/gstbasetransform.c:
14355 * libs/gst/base/gstbasetransform.h:
14356 move docs so gtk-doc picks it up now
14358 2006-05-02 Stefan Kost <ensonic@users.sf.net>
14360 * docs/libs/gstreamer-libs-sections.txt:
14361 add missing symbols to docs
14363 2006-05-02 Stefan Kost <ensonic@users.sf.net>
14365 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14366 back out the newsegment handling change, see #340060 for ongoing
14369 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
14371 * tools/gst-run.c: (get_candidates), (main):
14372 Fix wrong g_file_test() usage (see glib docs for why it doesn't
14373 work); fix typo in error message. Fixes #340079.
14375 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
14377 * common/Makefile.am:
14378 * docs/Makefile.am:
14379 * docs/faq/Makefile.am:
14380 * docs/gst/Makefile.am:
14381 * docs/libs/Makefile.am:
14382 * docs/manual/Makefile.am:
14383 * docs/plugins/Makefile.am:
14384 * docs/pwg/Makefile.am:
14385 * docs/slides/Makefile.am:
14387 * common/upload.mak:
14388 move upload.mak to common
14390 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
14392 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14393 add more asserts on refcounts
14394 do more cleanup at end of tests
14395 fix test leaks showing in FC5
14397 2006-04-29 Stefan Kost <ensonic@users.sf.net>
14399 * plugins/elements/gsttypefindelement.c:
14400 (gst_type_find_element_handle_event):
14401 reverted wrong change and reflowed code to avoid others falling into
14404 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14406 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14407 fix changelog entry about last collectpads change,
14408 add notes about proper fix
14410 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14413 * gst/gstregistry.c: (gst_registry_scan_path_level),
14414 (gst_registry_scan_path):
14415 * gst/gstregistry.h:
14416 only write out registry if it has changed, fixes #338339
14418 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14421 * gst/gstpipeline.c:
14422 * plugins/elements/gstcapsfilter.c:
14423 * plugins/elements/gstfakesink.c:
14424 * plugins/elements/gstfakesrc.c:
14425 * plugins/elements/gstfdsink.c:
14426 * plugins/elements/gstfdsrc.c:
14427 * plugins/elements/gstfilesink.c:
14428 * plugins/elements/gstfilesrc.c:
14429 * plugins/elements/gstidentity.c:
14430 * plugins/elements/gstqueue.c:
14431 * plugins/elements/gsttee.c:
14432 * plugins/elements/gsttypefindelement.c:
14433 (gst_type_find_element_handle_event):
14434 make GstElementDetails const
14436 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14438 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14440 (gst_collect_pads_is_collected), (gst_collect_pads_event):
14441 more detailed debug and formatting cleanup,
14442 forward newsegments to src-pad (so that e.g. adder not eats them)
14444 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14446 * gst/gstutils.c: (gst_element_link_pads):
14447 cleanup double code
14449 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14451 * libs/gst/controller/gstcontroller.c:
14452 (gst_controller_sync_values):
14454 * tests/check/libs/controller.c: (GST_START_TEST),
14455 (gst_controller_suite):
14456 a new test for live value handling
14458 2006-04-28 Wim Taymans <wim@fluendo.com>
14460 * gst/gstutils.c: (push_and_ref):
14461 Added some more docs.
14462 Fix refcount issue whith gst_element_found_tags() helper
14463 function. Fixes #338335
14465 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14466 Added testsuite for gst_element_found_tags().
14468 2006-04-28 Michael Smith <msmith@fluendo.com>
14470 * gst/gstvalue.c: (gst_value_serialize_flags):
14471 Avoid NULL dereference when trying to serialize flags containing
14474 2006-04-28 Michael Smith <msmith@fluendo.com>
14476 * plugins/elements/gsttypefindelement.c:
14477 (gst_type_find_element_handle_event):
14478 If we get EOS before any data is accumulated, don't use
14479 uninitialised local variables.
14481 2006-04-28 Michael Smith <msmith@fluendo.com>
14483 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14484 (gst_dp_event_from_packet):
14485 Fixes in reading/writing events over GDP (not currently used?) -
14486 dereferencing NULL events for unknown/invalid event types, memory
14487 leak, and change g_warning to GST_WARNING.
14489 2006-04-28 Wim Taymans <wim@fluendo.com>
14491 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14492 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14493 (gst_base_sink_get_position), (gst_base_sink_change_state):
14494 When frame dropping is enabled, we should not ignore frames
14495 without a duration.
14496 Update some documentation.
14498 2006-04-28 Wim Taymans <wim@fluendo.com>
14500 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14501 (gst_base_src_send_event), (gst_base_src_change_state):
14502 Documentation updates.
14504 2006-04-28 Wim Taymans <wim@fluendo.com>
14506 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14507 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14508 handle EAGAIN, EINTR and short writes correctly. Also clean
14509 up some error cases, avoid a deadlock on bad file descriptors and
14510 use GST_DEBUG_OBJECT.
14513 2006-04-28 Wim Taymans <wim@fluendo.com>
14515 * gst/gstvalue.c: (gst_value_serialize_buffer),
14516 (gst_value_deserialize_buffer):
14517 Don't try to serialize a GValue with a NULL buffer.
14520 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14521 Added check for serialisation of NULL buffers.
14523 2006-04-28 Wim Taymans <wim@fluendo.com>
14525 * gst/gstminiobject.c: (gst_value_take_mini_object):
14526 Taking a NULL miniobject is valid, fix the case where
14527 we try to unref the NULL miniobject.
14529 2006-04-28 Wim Taymans <wim@fluendo.com>
14531 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14533 * gst/gstbin.c: (gst_bin_handle_message_func):
14535 Don't leak bin refcount when a state recalc is
14536 in progress and we delay another one #339808.
14538 2006-04-28 Wim Taymans <wim@fluendo.com>
14540 * docs/design/part-TODO.txt:
14541 Mention QoS as an ongoing work item.
14543 * docs/design/part-buffering.txt:
14544 New doc about buffering that needs to be fleshed out
14547 * docs/design/part-qos.txt:
14548 More QoS policy for decoders/demuxers/transforms
14550 * docs/design/part-trickmodes.txt:
14553 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14558 === release 0.10.5 ===
14560 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14563 releasing 0.10.5, "Fogo"
14565 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
14567 patch by: Wim Taymans
14569 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14570 (gst_pad_configure_src), (gst_pad_push):
14571 * gst/gstpipeline.c: (gst_pipeline_init):
14572 Fix internal data flow errors. Fixes #338711.
14574 2006-04-12 Wim Taymans <wim@fluendo.com>
14576 * tests/check/gst/gstelement.c: (GST_START_TEST):
14577 Don't leak the factory.
14579 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
14582 * win32/common/config.h:
14585 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
14587 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14588 (gst_controller_unset_all):
14589 Free allocated GstTimedValues when freeing list nodes.
14590 Should fix leaks 'make check-valgrind' complains about.
14592 * win32/common/libgstcontroller.def:
14593 Add gst_controller_unset_all.
14595 2006-04-11 Stefan Kost <ensonic@users.sf.net>
14597 * docs/libs/gstreamer-libs-sections.txt:
14598 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14599 (gst_controller_unset_all):
14600 * libs/gst/controller/gstcontroller.h:
14601 API: Added new method gst_controller_unset_all()
14602 fixed gst_controller_unset()
14603 * tests/check/libs/controller.c: (GST_START_TEST),
14604 (gst_controller_suite):
14605 Added two testcases for new and fixed method
14607 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
14609 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14610 MSG_DONTWAIT is not defined on Cygwin, so work
14611 around that (fixes #317048).
14613 2006-04-11 Wim Taymans <wim@fluendo.com>
14615 * gst/gstelementfactory.c: (gst_element_register),
14616 (gst_element_factory_create), (gst_element_factory_make):
14619 Updated docs (Fixes #131079)
14621 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14624 * tests/check/gst/gstelement.c: (GST_START_TEST),
14625 (gst_element_suite):
14626 Added testcase for elementfactory class field.
14628 2006-04-10 Wim Taymans <wim@fluendo.com>
14630 * gst/gstsegment.c:
14631 Added some more docs.
14633 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14634 (gst_base_sink_reset_qos):
14635 Calculate more accurate rate values.
14637 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
14639 * gst/gst_private.h:
14640 add a new #ifdef to use __declspec(dllimport) only for
14641 other modules and not for gstreamer core
14642 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14643 use gst_guint64_to_gdouble for conversion
14644 * win32/common/libgstreamer.def:
14645 add new exported functions
14646 * win32/vs6/gst_inspect.dsp:
14647 * win32/vs6/gst_launch.dsp:
14648 * win32/vs6/libgstbase.dsp:
14649 * win32/vs6/libgstcontroller.dsp:
14650 * win32/vs6/libgstcoreelements.dsp:
14651 * win32/vs6/libgstdataprotocol.dsp:
14652 * win32/vs6/libgstnet.dsp:
14653 update project files
14655 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14657 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14658 * gst/gstclock.c: (gst_clock_class_init):
14659 * gst/gstelement.c: (gst_element_class_init):
14660 * gst/gstindex.c: (gst_index_class_init):
14661 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14662 * gst/gstobject.c: (gst_object_class_init),
14663 (gst_signal_object_class_init):
14664 * gst/gstpad.c: (gst_pad_class_init):
14665 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14666 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14667 * gst/gstregistry.c: (gst_registry_class_init):
14668 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14669 * gst/gsttask.c: (gst_task_class_init):
14670 * gst/gstxml.c: (gst_xml_class_init):
14671 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14672 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14673 (gst_base_src_loop):
14674 * libs/gst/controller/gstcontroller.c:/
14675 (_gst_controller_class_init):
14676 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14677 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14678 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14679 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14680 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14681 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14683 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14685 * gst/gstpad.c: (gst_pad_link):
14686 Must set peer pads before calling the link function, otherwise
14687 a task started from a link function might get a flow-not-linked
14688 result when trying to push because the other thread where the
14689 linking happens hasn't had a chance to set the peers yet. This
14690 might happen for example when a queue gets linked to a downstream
14691 element, as queue starts a streaming task when its source pad
14692 gets linked. Happens in real life when playing back flac/musepack
14693 files in playbin (#332390).
14695 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14699 * libs/gst/base/gstadapter.h:
14700 * libs/gst/base/gstbasesink.h:
14701 * libs/gst/base/gstbasesrc.h:
14702 * libs/gst/base/gstbasetransform.h:
14703 * libs/gst/base/gstcollectpads.h:
14704 * libs/gst/base/gstpushsrc.h:
14705 Fix broken GObject macros
14707 2006-04-07 Wim Taymans <wim@fluendo.com>
14709 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14710 Initialize start and stop times, thanks valgrind.
14712 2006-04-07 Wim Taymans <wim@fluendo.com>
14714 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14715 Be a bit nicer to badly behaving upstream elements that expect
14716 us to deal with non TIME segments and timestamps (such as fakesrc
14719 2006-04-07 Wim Taymans <wim@fluendo.com>
14722 Small documentation clarification about the signal watch.
14724 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14725 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14726 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14727 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14728 (gst_base_sink_get_position_last),
14729 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14730 Convert and store timestamps in stream time and running time, the
14731 raw timestamps are not useful, also document this better.
14732 Use different window sizes for good and bad QoS observations so
14733 we react to badness a little quicker.
14734 Keep track of the amount of rendered and dropped buffers.
14735 Send QoS timestamps in running time.
14737 * libs/gst/base/gstbasetransform.c:
14738 (gst_base_transform_sink_eventfunc),
14739 (gst_base_transform_handle_buffer):
14740 Compare QoS timestamps against running time.
14742 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14745 Typo fixes in docs.
14747 2006-04-06 Michael Smith <msmith@fluendo.com>
14749 * gst/gstpad.c: (gst_pad_set_property):
14750 Use g_value_get_object() instead of g_value_dup_gst_object(),
14751 to avoid double-reffing the pad template (which we then sink,
14752 so this worked previously if (and only if) the pad template
14755 * gst/gstpadtemplate.c: (gst_pad_template_init),
14756 (gst_pad_template_pad_created):
14757 Never return floating references to pad templates, create
14758 them as initially-sunken.
14760 Document an extra function (and make this stop sinking our
14761 pad template, since that is now guaranteed to do nothing,
14762 since we created it sunken).
14764 * gst/gstghostpad.c:
14767 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14769 * gst/gstinfo.c: (__gst_in_valgrind):
14772 * plugins/elements/gsttypefindelement.c:
14773 (gst_type_find_element_chain):
14774 Don't leak buffer caps.
14776 2006-04-06 Michael Smith <msmith@fluendo.com>
14778 * gst/parse/grammar.y:
14779 Fix a leak in parse-launch for any source-or-sink named element
14782 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14783 Unref the pipeline if it exists after we've failed parsing.
14785 2006-04-05 Michael Smith <msmith@fluendo.com>
14787 * gst/gstpipeline.c: (gst_pipeline_init):
14788 When we create a pipeline bus, initially create it in flushing mode.
14789 Fixes leaks in at least one test, and makes a new pipeline work the
14790 same as one that has gone to READY and then back to NULL.
14792 * gst/gstelement.c:
14795 2006-04-05 Michael Smith <msmith@fluendo.com>
14797 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14798 Unref a pad we reffed.
14799 * tests/check/gst/gstutils.c: (GST_START_TEST):
14802 2006-04-05 Michael Smith <msmith@fluendo.com>
14804 * gst/gstquery.c: (gst_query_set_formats),
14805 (gst_query_set_formatsv):
14806 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14808 2006-04-05 Michael Smith <msmith@fluendo.com>
14810 * tests/check/generic/sinks.c: (GST_START_TEST):
14811 Fix a variety of memleaks in sinks check, which are only sometimes
14812 shown by running the tests under valgrind (weird?).
14814 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14816 * docs/version.entities.in:
14817 Fix the substituted entity name after thomas' changes on the
14820 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14822 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14825 2006-04-05 Andy Wingo <wingo@pobox.com>
14827 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14829 * libs/gst/base/gstbasetransform.c
14830 (gst_base_transform_sink_eventfunc): When resetting our segment on
14831 FLUSH_STOP, also update the flag saying we haven't seen a
14834 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14836 Patch by: Paolo Borelli <pborelli at katamail dot com>
14838 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14839 (gst_plugin_check_license):
14840 minor clean-ups: G_DEFINE_TYPE already takes care of the
14841 parent_class stuff, no need to do it twice. Mark array of
14842 license strings as constant. (#337103)
14844 2006-04-04 Michael Smith <msmith@fluendo.com>
14846 * tools/gst-inspect.c: (print_element_list):
14847 Free the right plugin list; fixes a memory leak.
14849 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14851 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14853 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14854 Don't error out on empty buffers (#336945).
14856 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14858 * docs/libs/gstreamer-libs-sections.txt:
14859 * gst/gsttaglist.c:
14860 * libs/gst/base/gstbasesink.c:
14861 * libs/gst/base/gstbasesink.h:
14862 * libs/gst/base/gstbasesrc.c:
14863 * libs/gst/base/gstbasesrc.h:
14864 Documentation updates. Make BaseSink and BaseSrc docs contain the
14865 class structure so that people can actually see the prototypes for
14866 virtual functions they're supposed to be overriding.
14868 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14870 * plugins/elements/gsttypefindelement.c:
14871 (gst_type_find_element_chain):
14872 More debug info; when skipping typefinding, send cached
14873 events in all cases.
14875 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14878 use new AS_VERSION and AS_NANO macros
14879 * gst/gst-i18n-lib.h:
14882 * gst/gstversion.h.in:
14883 * win32/common/config.h:
14884 * win32/common/config.h.in:
14887 2006-03-31 Michael Smith <msmith@fluendo.com>
14889 * plugins/elements/gsttypefindelement.c:
14890 (gst_type_find_element_chain):
14891 Do not typefind content if the buffers already have caps.
14892 Neccesary for icydemux (#333657), and the right thing to do anyway.
14894 2006-03-30 Wim Taymans <wim@fluendo.com>
14896 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14897 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14898 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14899 (gst_base_sink_record_qos_observation),
14900 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14901 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14902 (gst_base_sink_change_state):
14903 More QoS measurements as described in the design doc.
14904 Get rid of ringbuffer with observations, running average is
14905 more simple and equally good.
14906 Calculates valid proportion now.
14907 Added beginning of flood measurement.
14909 2006-03-29 Wim Taymans <wim@fluendo.com>
14911 * docs/design/part-qos.txt:
14913 Small documentation updates and additions.
14915 2006-03-29 Wim Taymans <wim@fluendo.com>
14917 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14918 (gst_base_src_send_event), (gst_base_src_loop),
14919 (gst_base_src_change_state):
14920 Perform the EOS logic when we reach the segment stop position.
14921 Fix compilation on gcc4.1
14923 2006-03-29 Wim Taymans <wim@fluendo.com>
14925 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14927 * plugins/elements/gstqueue.c: (gst_queue_init),
14928 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14929 (gst_queue_set_property):
14930 * plugins/elements/gstqueue.h:
14931 In queue, when EOS is received, if minimum threshold > max_size -
14932 current_level, there is chance that queue blocks forever in conditional
14933 item del wait. This is because the queue is not emptied completely due
14934 to minimum threshold. Here is another approach. Instead of setting
14935 cur_levels to max in EOS, just zero all minimum threshold levels. This
14936 should make sure that queue gives out all data. When going to READY
14937 (stop) state, just reset the original minimum threshold levels.
14940 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14942 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14943 (gst_type_find_element_handle_event),
14944 (gst_type_find_element_send_cached_events),
14945 (gst_type_find_element_change_state):
14946 * plugins/elements/gsttypefindelement.h:
14947 When typefinding is done in push mode, we should cache
14948 events we receive during typefinding instead of just
14949 dropping them (e.g. newsegment, custom events from
14950 dvdreadsrc etc.) and then send them out once we've
14951 determined the type of the stream (and decodebin
14952 has had a chance to plug in a decoder/demuxer).
14954 2006-03-27 Wim Taymans <wim@fluendo.com>
14956 * docs/design/part-qos.txt:
14959 2006-03-27 Wim Taymans <wim@fluendo.com>
14961 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14963 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14964 (gst_base_src_send_event), (gst_base_src_change_state):
14965 Handle element seek correctly when we are streaming.
14968 2006-03-24 Michael Smith <msmith@fluendo.com>
14970 * docs/faq/gst-uninstalled:
14971 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14972 allow you to correctly run intalled applications built against old
14973 core, using plugins that require updated core (e.g. running
14974 installed totem against a full uninstalled gstreamer stack)
14976 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14978 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14981 2006-03-24 Wim Taymans <wim@fluendo.com>
14983 * docs/gst/gstreamer-sections.txt:
14984 Rearrange the order of the methods so that related methods
14985 are grouped together in sections.
14987 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14989 * gst/gstelement.c:
14990 Little clarification in the docs
14992 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14996 * plugins/elements/gstidentity.c:
14997 * plugins/elements/gstqueue.c:
14998 * plugins/elements/gsttee.c:
14999 * plugins/elements/gsttypefindelement.c:
15000 GST_ELEMENT_DETAILS formatting
15002 2006-03-24 Wim Taymans <wim@fluendo.com>
15004 * libs/gst/base/gstbasesink.h:
15005 Only add fields, not insert or we break ABI.
15007 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15009 * win32/common/libgstbase.def:
15010 * win32/common/libgstreamer.def:
15011 Update, add recently added functions.
15013 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15015 * docs/gst/gstreamer-sections.txt:
15016 * gst/gstutils.c: (gst_pad_query_peer_position),
15017 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15019 API: add some new utility functions:
15020 - gst_pad_query_peer_position()
15021 - gst_pad_query_peer_duration()
15022 - gst_pad_query_peer_convert()
15024 2006-03-23 Wim Taymans <wim@fluendo.com>
15026 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15027 (gst_base_sink_init), (gst_base_sink_finalize),
15028 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15029 (gst_base_sink_set_property), (gst_base_sink_get_property),
15030 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15031 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15032 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15033 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15034 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15035 (gst_base_sink_preroll_object), (gst_base_sink_event),
15036 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15037 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15038 (gst_base_sink_query), (gst_base_sink_change_state):
15039 Decouple max-lateness and the fact that QoS messages are generated
15040 with a new property (qos).
15041 added API: GstBaseSink::async_play()
15042 Add vmethod so subclasses can be notified of ASYNC playing
15044 Collect timestamp start and stop to report better current
15045 position in EOS/PLAYING/PAUSED/READY/NULL.
15046 Refactor QoS/frame dropping and other measurements.
15047 API: GstBaseSrc::qos
15050 * libs/gst/base/gstbasesink.h:
15051 Added Private struct.
15052 API: gst_base_sink_set_qos_enabled()
15053 API: gst_base_sink_is_qos_enabled()
15055 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15057 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15058 If compiling against GLib-2.8 or newer, try to read the
15059 registry file using GMappedFile first before falling back
15060 to fopen() + fread() (#332151).
15062 2006-03-22 Wim Taymans <wim@fluendo.com>
15064 * gst/gstinfo.c: (gst_debug_set_active),
15065 (gst_debug_category_set_threshold):
15066 Disable debugging unless explicitly activated.
15069 2006-03-22 Wim Taymans <wim@fluendo.com>
15071 * gst/gstelement.c: (gst_element_set_locked_state),
15072 (gst_element_dispose):
15073 Cleanup the error case.
15075 * gst/gstobject.c: (gst_object_dispose):
15076 print a critical when some object was disposed with
15077 a parent, also revive the object since it might
15080 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
15082 * tools/gst-launch.1.in:
15085 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15088 * tests/check/Makefile.am:
15089 disable some tests when we don't have a registry
15090 * tests/check/gst/gstutils.c: (gst_utils_suite):
15091 don't build the part that needs parsing
15093 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15096 * tests/examples/Makefile.am:
15097 fix --disable-parse build
15099 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15101 * tools/gst-feedback.1.in:
15102 Fix typo: s/feeback/feedback/ (#133494).
15104 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15106 * tools/Makefile.am:
15107 * tools/gst-launch.1.in:
15108 Add FILES section and correct entry about GST_REGISTRY_PATH
15109 environment variable (#133495; #133494).
15111 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15113 * tools/Makefile.am:
15114 * tools/gst-md5sum.1.in:
15115 * tools/gst-md5sum.c:
15116 Remove gst-md5sum and man page (the md5sink element
15117 required was removed ages ago)
15119 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15121 * gst/gststructure.c: (gst_structure_id_set_value):
15122 Make sure that string fields in structures/taglists
15123 contain valid UTF-8 - we don't want to pass rubbish to
15124 applications because of a buggy plugin (cp. #334167).
15126 2006-03-21 Edward Hervey <edward@fluendo.com>
15128 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15129 (gst_bin_handle_message_func):
15130 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15131 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15132 (gst_element_set_bus_func):
15133 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15134 * gst/gstminiobject.c: (gst_value_set_mini_object),
15135 (gst_value_take_mini_object):
15136 * gst/gstpad.c: (gst_pad_set_pad_template):
15137 * gst/gstpipeline.c: (gst_pipeline_dispose),
15138 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15139 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
15140 (gst_collect_pads_chain):
15141 * libs/gst/net/gstnettimeprovider.c:
15142 (gst_net_time_provider_set_property):
15143 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
15144 It's in fact all issues with gst_*object_replace().
15146 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15148 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
15150 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15151 * pkgconfig/gstreamer-check.pc.in:
15152 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
15154 2006-03-21 Edward Hervey <edward@fluendo.com>
15158 * gst/gstmessage.h:
15159 gst_[buffer|event|message]_ref() macros are replaced by a static
15160 inline functions because gcc-4.1 will about if the return value
15162 * tests/check/gst/gstevent.c: (event_probe):
15163 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
15165 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
15168 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
15169 the type' case. (Closes: #335195 for now). In the future, when we
15170 depend on GLib 2.10, we could also intern the type name using
15171 g_intern_static_string()
15173 2006-03-20 Wim Taymans <wim@fluendo.com>
15175 * gst/gstbin.c: (gst_bin_handle_message_func),
15176 (bin_query_max_init), (bin_query_position_fold),
15177 (bin_query_position_done), (gst_bin_query):
15178 Position query should also take max of all streams.
15180 2006-03-20 Wim Taymans <wim@fluendo.com>
15182 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15183 (gst_fake_src_finalize):
15184 Fix leaks in fakesrc.
15186 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
15187 Fix leaks in the testcase.
15189 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
15191 * gst/gst_private.h:
15192 add win32 specific import decoration(__declspec(dllimport))
15193 for all extern GstDebugCategory * variables
15194 * win32/common/libgstbase.def:
15195 * win32/common/libgstcontroller.def:
15196 * win32/common/libgstreamer.def:
15197 Add some exports, remove empty lines
15198 * win32/common/libgstdataprotocol.def:
15199 * win32/common/libgstdataprotocol.dsp:
15200 * win32/common/libgstnet.def:
15201 * win32/common/libgstnet.dsp:
15202 new project files and exportation files added
15204 2006-03-19 Wim Taymans <wim@fluendo.com>
15206 * tests/check/libs/basesrc.c: (eos_event_counter):
15207 Use proper return value for probe.
15209 2006-03-17 Wim Taymans <wim@fluendo.com>
15211 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
15213 Don't leak buffers, caps and pads on negotiation errors.
15215 2006-03-16 Stefan Kost <ensonic@users.sf.net>
15217 * docs/faq/cvs.xml:
15218 * docs/faq/dependencies.xml:
15219 * docs/faq/developing.xml:
15220 * docs/faq/faq.xml:
15221 * docs/faq/general.xml:
15222 * docs/faq/getting.xml:
15223 * docs/faq/legal.xml:
15224 * docs/faq/troubleshooting.xml:
15225 * docs/faq/using.xml:
15226 Faq review and update.
15228 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
15230 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
15232 Don't pound the cpu to pieces by checking get_caps when accept_caps
15233 is called with the same caps as the pad already has.
15234 Use GST_DEBUG_OBJECT when outputting caps change information.
15236 2006-03-15 Wim Taymans <wim@fluendo.com>
15238 * gst/gstclock.c: (gst_clock_class_init):
15241 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
15246 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
15247 (gst_pad_accept_caps), (gst_pad_configure_sink),
15248 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
15249 Make the default acceptcaps behaviour be to check the requested
15250 caps against the gst_pad_get_caps output.
15252 Ensure that gst_pad_accept_caps is used to check caps when a pad
15253 doesn't have a setcaps function, so that pads automatically refuse
15254 caps that they don't allow in their pad template. (Fixes #332986)
15256 When a buffer with attached caps is pushed, ensure that the source
15257 pad receives those caps even if the element didn't call
15258 gst_pad_set_caps first.
15260 2006-03-15 Wim Taymans <wim@fluendo.com>
15262 * libs/gst/base/gstadapter.c:
15265 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
15267 * win32/common/libgstbase.def:
15268 * win32/common/libgstcontroller.def:
15269 * win32/common/libgstreamer.def:
15270 Add a whole bunch of missing functions (#334434).
15272 2006-03-14 Wim Taymans <wim@fluendo.com>
15274 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15275 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15276 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
15277 Better debug info when we receive a segment event.
15278 Reorganize a bit so we can pass the get_times() results around.
15279 Use the segment format when calculating the running time.
15280 Don't do QoS is sync is disabled or we have no clock or the
15281 element does not want us to sync to the clock.
15282 Don't drop buffers if QoS is disabled for now.
15284 2006-03-14 Wim Taymans <wim@fluendo.com>
15286 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
15287 Marked the stats property as unimplemented so people don't get
15289 Add debug message when regression goes wrong.
15290 Added some more docs.
15292 2006-03-14 Wim Taymans <wim@fluendo.com>
15294 * gst/gstsegment.c: (gst_segment_to_stream_time):
15295 Return correct return type in case of errors.
15297 2006-03-14 Wim Taymans <wim@fluendo.com>
15299 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
15300 Don't segfault on invalid formats.
15302 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
15304 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15305 Can't use gst_segment_to_running_time() when the segment
15306 is not in GST_TIME_FORMAT (like with filesink, for example).
15307 Stops flac encoding pipelines from spewing critical warnings
15310 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
15312 * gst/gstpipeline.c: (gst_pipeline_class_init):
15313 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
15315 * plugins/elements/gsttypefindelement.c:
15316 (gst_type_find_element_handle_event):
15317 Don't try to typefind empty streams.
15319 2006-03-14 Wim Taymans <wim@fluendo.com>
15321 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15322 (gst_base_sink_do_qos):
15323 Separate QoS calculation.
15324 Only drop buffers when lateness is bigger than the
15325 duration of the buffer.
15327 2006-03-13 Wim Taymans <wim@fluendo.com>
15329 * gst/gstpipeline.c: (gst_pipeline_set_property),
15330 (gst_pipeline_get_property), (do_pipeline_seek),
15331 (gst_pipeline_change_state), (gst_pipeline_set_delay),
15332 (gst_pipeline_get_delay):
15333 Don't deadlock when reading properties.
15335 2006-03-13 Wim Taymans <wim@fluendo.com>
15337 * libs/gst/base/gstbasetransform.c:
15338 (gst_base_transform_class_init), (gst_base_transform_init),
15339 (gst_base_transform_sink_event),
15340 (gst_base_transform_sink_eventfunc),
15341 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
15342 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15343 (gst_base_transform_set_property),
15344 (gst_base_transform_get_property),
15345 (gst_base_transform_change_state), (gst_base_transform_update_qos),
15346 (gst_base_transform_set_qos_enabled),
15347 (gst_base_transform_is_qos_enabled):
15348 * libs/gst/base/gstbasetransform.h:
15349 Make basetransform virtual method for src events too.
15350 Handle QOS in basetransform.
15351 API: gst_base_transform_update_qos()
15352 API: gst_base_transform_set_qos_enabled()
15353 API: gst_base_transform_is_qos_enabled()
15355 2006-03-13 Wim Taymans <wim@fluendo.com>
15357 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15358 (gst_base_sink_do_sync):
15360 Use QOS debug category.
15362 2006-03-13 Wim Taymans <wim@fluendo.com>
15364 * plugins/elements/gstqueue.c:
15365 Very small doc update.
15367 2006-03-13 Wim Taymans <wim@fluendo.com>
15369 * gst/gst_private.h:
15370 * gst/gstinfo.c: (_gst_debug_init):
15371 Added QOS debug category
15373 2006-03-13 Wim Taymans <wim@fluendo.com>
15375 * docs/gst/gstreamer-sections.txt:
15376 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
15378 * gst/gstbus.c: (gst_bus_class_init):
15381 * gst/gstelement.c: (gst_element_set_locked_state):
15382 * gst/gstsegment.c:
15383 Documentation updates.
15385 * gst/gstpipeline.c: (gst_pipeline_get_type),
15386 (gst_pipeline_class_init), (gst_pipeline_init),
15387 (gst_pipeline_dispose), (gst_pipeline_set_property),
15388 (gst_pipeline_get_property), (do_pipeline_seek),
15389 (gst_pipeline_send_event), (gst_pipeline_change_state),
15390 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
15391 (gst_pipeline_get_delay):
15392 * gst/gstpipeline.h:
15393 Added methods for setting the delay.
15394 API: gst_pipeline_set_delay()
15395 API: gst_pipeline_get_delay()
15396 Add pipeline debug category
15399 Don't reset stream time when seek failed.
15401 2006-03-13 Wim Taymans <wim@fluendo.com>
15403 * docs/design/draft-klass.txt:
15404 * docs/design/part-clocks.txt:
15405 * docs/design/part-events.txt:
15406 * docs/design/part-gstbin.txt:
15407 * docs/design/part-gstpipeline.txt:
15408 * docs/design/part-messages.txt:
15409 * docs/design/part-negotiation.txt:
15410 * docs/design/part-overview.txt:
15411 * docs/design/part-preroll.txt:
15412 * docs/design/part-seeking.txt:
15413 * docs/design/part-states.txt:
15414 * docs/design/part-streams.txt:
15415 Documentation updates.
15417 2006-03-12 Julien MOUTTE <julien@moutte.net>
15419 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15420 us to leak strings...
15422 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
15424 * libs/gst/net/gstnettimeprovider.c:
15426 * win32/common/config.h:
15429 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
15431 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15434 Don't check for libgnomeui (leftover from old examples
15435 that aren't built or disted any longer) (#334303).
15437 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
15439 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15440 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15441 Emit RESOURCE_NO_SPACE_LEFT error here as well when
15442 there's no space left on the device.
15444 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
15447 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15448 to cast the input to GstClockTime before comparing with
15449 another GstClockTime value.
15451 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15456 === release 0.10.4 ===
15458 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15461 releasing 0.10.4, "Light"
15463 2006-03-10 Michael Smith <msmith@fluendo.com>
15465 * libs/gst/dataprotocol/dataprotocol.c:
15466 Fix docs for dataprocotol to not get the return types completely
15467 wrong for a few functions.
15469 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15471 * docs/gst/gstreamer-sections.txt:
15472 * gst/gstpipeline.c: (gst_pipeline_class_init),
15473 (gst_pipeline_init), (gst_pipeline_set_property),
15474 (gst_pipeline_get_property), (gst_pipeline_change_state),
15475 (gst_pipeline_set_auto_flush_bus),
15476 (gst_pipeline_get_auto_flush_bus):
15477 * gst/gstpipeline.h:
15478 Add new API: gst_pipeline_set_auto_flush_bus() and
15479 gst_pipeline_get_auto_flush_bus() to disable automatic
15480 flushing of the pipeline's GstBus when going from READY
15481 to NULL state (#332045).
15483 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15485 * docs/gst/gstreamer-sections.txt:
15486 * gst/gsturi.c: (gst_uri_has_protocol):
15488 Add new API: gst_uri_has_protocol() (#333779).
15490 2006-03-09 Wim Taymans <wim@fluendo.com>
15492 * gst/gstclock.c: (gst_clock_entry_new),
15493 (gst_clock_id_compare_func), (gst_clock_id_wait),
15494 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15495 (gst_clock_init), (gst_clock_get_internal_time),
15496 (gst_clock_set_master), (do_linear_regression),
15497 (gst_clock_add_observation), (gst_clock_set_property):
15501 Fix a possible segfault when the window-size is made smaller.
15502 Calculate jitter before performing the clock wait. Ideally
15503 the clock implementation should calculate jitter but we need
15504 API breakage for that.
15506 * gst/gstsystemclock.c: (gst_system_clock_init):
15509 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15510 Remove leftover else
15512 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15513 (gst_systemclock_suite):
15514 Added check to test GST_CLOCK_DIFF.
15516 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15518 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15519 (gst_type_find_helper_get_range):
15520 If we are provided with the size, we should implement
15521 GstTypeFind::get_length, so that typefind functions who
15522 want to can actually peek at the middle of a file.
15524 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
15526 * docs/manual/advanced-dataaccess.xml:
15527 Add some very very basic error checking.
15529 * docs/pwg/appendix-checklist.xml:
15530 Some updates to the list of things to check when writing an element.
15532 2006-03-08 Wim Taymans <wim@fluendo.com>
15534 * docs/design/part-element-transform.txt:
15535 Added some docs about the design of tranform elements.
15537 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15538 (gst_base_src_loop), (gst_base_src_change_state):
15539 Mark buffers with the DISCONT flag.
15541 2006-03-08 Michael Smith <msmith@fluendo.com>
15543 * gst/gstregistry.h:
15544 * gst/gstregistryxml.c: (gst_registry_save),
15545 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15546 (gst_registry_xml_save_pad_template),
15547 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15548 (gst_registry_xml_write_cache):
15549 Rewrite registry-saving to avoid race conditions and check for
15552 2006-03-08 Wim Taymans <wim@fluendo.com>
15554 * libs/gst/base/gstbasetransform.c:
15555 (gst_base_transform_transform_caps),
15556 (gst_base_transform_transform_size),
15557 (gst_base_transform_prepare_output_buffer),
15558 (gst_base_transform_get_unit_size),
15559 (gst_base_transform_buffer_alloc),
15560 (gst_base_transform_handle_buffer),
15561 (gst_base_transform_change_state):
15562 Cleanups, separate normal flow from errors, add sensible
15564 Don't try to renegotiate when allocating an output buffer.
15565 Also copy DISCONT buffer flag when copying a buffer.
15566 Reset the transform after we finish streaming, not during.
15568 2006-03-08 Wim Taymans <wim@fluendo.com>
15570 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15571 Use last buffer timestamp in qos message.
15573 2006-03-07 Wim Taymans <wim@fluendo.com>
15575 Patch by: Christophe Fergeau
15577 * docs/pwg/advanced-tagging.xml:
15578 * docs/pwg/building-pads.xml:
15581 2006-03-07 Wim Taymans <wim@fluendo.com>
15583 * docs/libs/gstreamer-libs-sections.txt:
15584 Added basesink new methods.
15588 Docs updates. Flesh out the QoS docs.
15590 * libs/gst/base/gstadapter.c:
15591 Small doc clarification about ownership and flushing.
15593 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15594 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15595 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15596 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15597 * libs/gst/base/gstbasesink.h:
15599 Added new methods to allow subclass to control max-lateness
15601 Generate very basic QoS events based on last sync observation.
15602 Updated docs, fix typo, added some QoS blurb.
15604 * libs/gst/base/gstbasesrc.c:
15605 Remove obsolete _get_state() calls from docs.
15607 2006-03-07 Wim Taymans <wim@fluendo.com>
15609 * docs/libs/gstreamer-libs-sections.txt:
15610 * libs/gst/base/gstbasetransform.h:
15611 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15612 Fix docs for GstBaseSrc.
15614 2006-03-07 Wim Taymans <wim@fluendo.com>
15616 * docs/gst/gstreamer-sections.txt:
15619 * libs/gst/base/gstbasetransform.h:
15620 Small documentation fixes.
15622 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15625 Document thread-unsafety of gst_value_register_foo_func()
15626 when used at the same time as gst_value_foo() (#322628).
15628 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15630 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15631 (gst_push_src_check_get_range):
15632 Push sources don't support pull mode by default.
15634 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15636 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15637 (gst_base_src_init), (gst_base_src_pad_check_get_range),
15638 (gst_base_src_default_check_get_range):
15639 * libs/gst/base/gstbasesrc.h:
15640 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15641 provide default implementation, and rename
15642 gst_base_src_check_get_range() to
15643 gst_base_src_pad_check_get_range() for clarity.
15645 2006-03-06 Wim Taymans <wim@fluendo.com>
15647 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15648 Make property overridable.
15650 2006-03-06 Wim Taymans <wim@fluendo.com>
15652 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15653 (gst_base_sink_init), (gst_base_sink_set_property),
15654 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15655 * libs/gst/base/gstbasesink.h:
15656 API addition: Make max-lateness a property.
15658 2006-03-06 Wim Taymans <wim@fluendo.com>
15660 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15661 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15662 Don't ever draw a frame that is >10ms late.
15664 2006-03-06 Michael Smith <msmith@fluendo.com>
15666 * gst/gstmessage.c: (_gst_message_copy):
15667 When copying a message, set the parent_refcount of the enclosed
15668 structure to point at the copy, not the original message.
15670 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15672 Patch by: Christophe Fergeau
15675 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15676 usable in c++ code (#333417)
15678 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15681 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15683 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15685 * libs/gst/base/gstbasetransform.c:
15686 (gst_base_transform_transform_caps):
15687 Make sure caps are writable before passing them to
15690 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15693 Fix some minor docs errors.
15695 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15697 Patch by: Ross Burton <ross at burtonini dot com>
15699 * gst/gsterror.c: (_gst_resource_errors_init):
15701 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15703 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15706 Add a check and output a g_warning when GStreamer is built
15707 against GLib 2.6 but running against 2.8 or higher, and vice
15708 versa. (Closes: #323542)
15710 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15712 * gst/parse/parse.l:
15713 Commit patch for parse_launch syntax from #331255. Removes
15714 support for quoted strings and mimetypes when writing filtered
15715 caps. See the bug report for more details - I'm pretty sure this
15716 obscure feature is not in use by _anyone_ anywhere.
15718 With this simple change, the size of the gstreamer.so here
15719 drops from 2193KB to 1565KB.
15721 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15723 * plugins/elements/gsttypefindelement.h:
15724 * plugins/elements/gsttypefindelement.c:
15725 (gst_type_find_element_src_event), (start_typefinding),
15726 (stop_typefinding), (gst_type_find_element_handle_event),
15727 (gst_type_find_element_chain),
15728 (gst_type_find_element_chain_do_typefinding):
15729 Use gst_type_find_helper_for_buffer() for chain-based
15732 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15734 * plugins/elements/gsttypefindelement.c:
15735 (gst_type_find_element_class_init),
15736 (gst_type_find_element_set_property),
15737 (gst_type_find_element_get_property):
15738 Deprecate "maximum" property (not only was it only taken into
15739 account for typefinding in push-mode anyway, it also was never
15740 actually possible to set it in the first place because the
15741 property was registered with the numeric property ID for the
15742 "minimum" property). Register "maximum" property correctly,
15743 for the sake of future copy'n'pasters. Remove some cruft
15744 from property get/set functions.
15746 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15748 * plugins/elements/gsttypefindelement.c:
15749 (gst_type_find_element_activate):
15750 Use gst_type_find_helper_get_range() here, so we
15751 can honour the "minimum" property and also emit
15752 the signal with the correct probability of the found caps.
15754 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15756 * docs/libs/gstreamer-libs-sections.txt:
15757 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15758 (helper_find_suggest), (gst_type_find_helper_get_range),
15759 (gst_type_find_helper):
15760 * libs/gst/base/gsttypefindhelper.h:
15761 New API: gst_type_find_helper_get_range() (#333042).
15763 2006-03-02 Michael Smith <msmith@fluendo.com>
15765 * gst/gstregistryxml.c: (load_feature):
15766 Asserting on a failure to read part of the registry is Not Cool.
15767 Just log a warning and return NULL (which is already handled)
15769 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15771 * win32/common/libgstbase.def:
15772 added export of gst_type_find_helper_for_buffer
15773 * win32/common/libgstbase.def:
15774 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15775 gst_ghost_pad_get_target
15777 2006-02-28 Wim Taymans <wim@fluendo.com>
15779 * docs/design/draft-klass.txt:
15781 Added Connector to mark elements that are only used to
15782 allow pipeline connections.
15783 Moved Debug to extra feature since most of them are
15784 functionally something else.
15786 2006-02-28 Wim Taymans <wim@fluendo.com>
15788 * docs/design/draft-klass.txt:
15789 Some updates and clarifications.
15791 2006-02-28 Wim Taymans <wim@fluendo.com>
15793 * docs/design/draft-klass.txt:
15794 Proposal for klass field values.
15796 * docs/design/part-streams.txt:
15797 Start of a doc describing stream anatomy.
15799 2006-02-28 Wim Taymans <wim@fluendo.com>
15801 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15802 Help the compiler a bit with type registration.
15803 Use existing forward cod path instead of duplicating it when
15804 handling a message.
15806 * gst/gstbus.c: (gst_bus_get_type):
15807 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15808 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15809 * gst/gstclock.c: (gst_clock_get_type):
15810 * gst/gstelement.c: (gst_element_get_type),
15811 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15812 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15813 * gst/gstminiobject.c: (gst_mini_object_get_type):
15814 * gst/gstpad.c: (gst_pad_get_type):
15815 * gst/gstsegment.c: (gst_segment_get_type):
15816 * gst/gststructure.c: (gst_structure_get_type):
15817 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15818 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15820 Help compiler with type registration.
15822 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15825 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15827 * plugins/elements/gsttypefindelement.c:
15828 (gst_type_find_element_handle_event):
15829 When we get an EOS event and have not found a type yet
15830 (most likely because we had not yet accumulated
15831 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15832 type given the data we have so far. Fixes typefinding
15833 for very short streams again, most notably quicktime
15834 redirections as used on Apple's trailer site (#331701).
15836 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15838 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15839 (gst_type_find_helper):
15840 Try typefinding factories with the highest rank first.
15842 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15844 * docs/libs/gstreamer-libs-docs.sgml:
15845 * docs/libs/gstreamer-libs-sections.txt:
15846 * libs/gst/base/gsttypefindhelper.c:
15847 Add section for typefind helper and add documentation
15848 for the old and the new function.
15850 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15852 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15853 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15854 (gst_type_find_helper_for_buffer):
15855 * libs/gst/base/gsttypefindhelper.h:
15856 New API: gst_type_find_helper_for_buffer() (#332723).
15858 2006-02-27 Michael Smith <msmith@fluendo.com>
15860 Patch by: Loïc Minier
15863 * docs/Makefile.am:
15864 * docs/slides/Makefile.am:
15865 prevent CVS directories getting disted.
15867 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15869 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15870 Use the REFCOUNTING category for caps refcounting.
15872 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15874 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15875 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15877 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15879 * plugins/elements/gsttypefindelement.c:
15880 (gst_type_find_element_activate):
15881 Use gst_pad_check_pull_range() before _activate_pull()
15882 to avoid unnecessary open/close (see #331690).
15884 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15887 Docs enhancement: make it crystal clear what the
15888 gst_pad_add_*_probe() callbacks should look like.
15890 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15892 * libs/gst/base/gstbasesrc.c:
15893 Document how applications can stop recording from
15894 live sources (see #330996).
15896 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15898 * tests/check/Makefile.am:
15899 * tests/check/libs/basesrc.c: (eos_event_counter),
15900 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15901 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15902 (gst_basesrc_suite), (main):
15903 ... and add some tests for the base source EOS stuff.
15905 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15907 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15908 Test case originally showed the problem fixed below,
15909 but was then amended. Add checks back at the place
15910 where they used to be.
15912 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15914 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15915 (gst_base_src_init), (gst_base_src_loop),
15916 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15917 (gst_base_src_change_state):
15918 * libs/gst/base/gstbasesrc.h:
15919 Don't unconditionally send EOS when going from PAUSED to
15920 READY state, esp. make sure we don't send two EOS events
15921 in some cases (e.g. one when reaching EOS and one when
15922 going from PAUSED to READY). Also, we don't want to send
15923 EOS events when operating in pull mode. However, we do
15924 want to send an EOS event when shutting down a live
15925 source explicitly, for example (fixes #330996).
15927 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15929 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15930 Update src->read_position after a seek when not using mmap.
15931 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15933 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15939 Make things work with --disable-parse as they do with
15940 --disable-load-save - the symbols involved disappear, but the
15941 header is still installed and GST_DISABLE_PARSE is included via
15944 2006-02-20 Julien MOUTTE <julien@moutte.net>
15946 * libs/gst/base/gstbasetransform.c:
15947 (gst_base_transform_change_state): Fix a stupid bug. I was
15948 sure I compiled that.
15950 2006-02-20 Julien MOUTTE <julien@moutte.net>
15952 * gst/gstpad.c: (gst_pad_set_blocked_async):
15953 * gst/gstutils.c: (gst_pad_add_data_probe),
15954 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15955 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15956 (gst_pad_remove_buffer_probe): Make those function act on the
15957 ghostpad target when it's a ghostpad. (Closes #331727)
15959 2006-02-20 Julien MOUTTE <julien@moutte.net>
15961 * libs/gst/base/gstbasetransform.c:
15962 (gst_base_transform_change_state): Make basetransform reusable.
15965 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15967 * docs/random/release:
15968 Move the current documentation of how to do a release to the top
15971 * gst/gstbin.c: (gst_bin_class_init),
15972 (gst_bin_handle_message_func):
15973 Allow multiple state-recalculation threads. (Closes #328873)
15975 2006-02-19 Julien MOUTTE <julien@moutte.net>
15977 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15978 * gst/gstpad.c: (gst_pad_set_event_function),
15979 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15980 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15981 2 strings. You can't use the STR_NULL macro on that.
15983 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15985 * gst/gstpad.c: (gst_pad_set_event_function),
15986 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15987 (gst_pad_set_getcaps_function)
15988 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15989 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15990 So now, we can use --gst-debug-level=5 on Windows
15991 * win32/common/libgstcontroller.def:
15992 Added export of gst_controller_init
15993 * win32/vs6/libgstcontroller.dsp:
15994 Fixed Release post build configuration
15996 2006-02-17 Wim Taymans <wim@fluendo.com>
15998 * tests/check/gst/gstquery.c: (GST_START_TEST):
15999 Added another check.
16001 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16003 * plugins/elements/gsttypefindelement.c: (find_peek):
16004 We can do peeks at non-zero offsets, as long as they
16005 fall within the buffer we have.
16007 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16009 * tests/check/Makefile.am:
16010 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16011 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16012 (parse_suite), (main):
16013 Add testsuite for parse launch syntax
16015 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16017 * plugins/elements/gsttypefindelement.c:
16018 (gst_type_find_element_chain):
16019 When typefinding is unsuccessful in the chain function, don't
16020 error out immediately. Only error out with NO_CAPS_FOUND if
16021 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16022 otherwise simply wait for more data so we can try typefinding
16023 again with more data later. Also, don't attempt to typefind
16024 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16025 this should improve typefinding from network sources where the
16026 size of the first buffer can be somewhat random.
16028 2006-02-14 Wim Taymans <wim@fluendo.com>
16030 * docs/gst/gstreamer-sections.txt:
16031 * gst/gstpadtemplate.c:
16032 * gst/gstpadtemplate.h:
16033 Fix padtemplate docs, fixes #328805.
16035 2006-02-14 Wim Taymans <wim@fluendo.com>
16037 * tools/gst-launch.c: (main):
16038 NO_PREROLL is not an ERROR so don't send confusing messages
16041 2006-02-14 Wim Taymans <wim@fluendo.com>
16043 Patch by: Torsten Schoenfeld
16045 * gst/gstregistry.c: (gst_registry_get_default),
16046 (_gst_registry_cleanup):
16047 Protect default registry with lock and ref/sink it.
16050 2006-02-14 Wim Taymans <wim@fluendo.com>
16053 * gst/gstquery.c: (gst_query_list_add_format),
16054 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16055 (gst_query_parse_formats_nth):
16056 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16059 2006-02-14 Wim Taymans <wim@fluendo.com>
16061 * docs/gst/gstreamer-sections.txt:
16062 Reworked query docs.
16064 * gst/gstquery.c: (gst_query_new_formats),
16065 (gst_query_list_add_format), (gst_query_set_formats),
16066 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16067 (gst_query_parse_formats_nth):
16069 Flesh out formats query, added some new methods.
16070 Fix part of #324398.
16072 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16073 Added query creation tests.
16075 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16077 * gst/gstpad.c: (fixate_value):
16078 Add a default fixation for fraction lists.
16080 2006-02-13 Wim Taymans <wim@fluendo.com>
16082 * gst/gsttask.c: (gst_task_init), (gst_task_func),
16083 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16086 Detect and warn for obvious deadlocks. fixes #320340
16087 Fix error case where lock was not released.
16089 * tests/check/Makefile.am:
16090 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16091 (task_func), (gst_element_suite), (main):
16094 2006-02-13 Wim Taymans <wim@fluendo.com>
16096 * docs/gst/gstreamer-sections.txt:
16098 Add new functions to docs.
16100 2006-02-13 Wim Taymans <wim@fluendo.com>
16102 * docs/design/part-TODO.txt:
16103 Updated TODO list, basesrc supports seeking to non-bytes
16106 * docs/design/part-element-sink.txt:
16109 * gst/gstbin.c: (bin_replace_message),
16110 (gst_bin_handle_message_func):
16111 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16112 * gst/gstevent.c: (gst_event_finalize):
16113 * gst/gstpad.c: (gst_pad_event_default_dispatch),
16114 (gst_pad_send_event):
16115 Use shiny new _TYPE_NAME macros.
16117 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16118 Move debug statement up.
16120 * gst/gstelement.c: (gst_element_set_locked_state):
16121 Add some debugging.
16123 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
16125 * docs/gst/gstreamer-sections.txt:
16126 * gst/gstmessage.h:
16128 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16129 macros (#330906). Also, document the already existing
16130 GST_QUERY_TYPE macro.
16132 2006-02-13 Wim Taymans <wim@fluendo.com>
16134 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16135 (event_probe), (GST_START_TEST):
16136 Only events up to the pipeline EOS are counted, there are
16137 some more when going to NULL currently which we don't care
16140 2006-02-13 Wim Taymans <wim@fluendo.com>
16142 * gst/gstpad.c: (gst_pad_send_event):
16143 Correctly check flushing and emit probes. fixes #330125
16145 2006-02-10 Andy Wingo <wingo@pobox.com>
16147 * gst/gstbus.c (gst_bus_class_init): Declare our private data
16149 (gst_bus_init): Cache the location of the private data in the
16150 instance structure.
16151 (gst_bus_enable_sync_message_emission)
16152 (gst_bus_disable_sync_message_emission): Implement new public
16154 (gst_bus_post): Emit the sync-message signal if the user asked for
16157 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
16158 location of the bus-private structure.
16159 (gst_bus_enable_sync_message_emission)
16160 (gst_bus_disable_sync_message_emission): API addition
16162 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
16164 Patch by: Vincent Torri
16166 * docs/pwg/building-boiler.xml:
16167 PWG patch from #326800
16169 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
16172 * docs/Makefile.am:
16173 * docs/design/Makefile.am:
16176 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16181 === release 0.10.3 ===
16183 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16186 releasing 0.10.3, "Like a virgin"
16188 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16191 2nd prerelease of 0.10.3
16192 Bump libtool versioning.
16194 2006-02-07 Andy Wingo <wingo@pobox.com>
16196 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
16197 update last_stop if we're in TIME format and the timestamp is
16200 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
16201 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
16202 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
16203 If we get a new newsegment with a different format, adapt
16206 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
16207 of 0. Not a problem, really.
16209 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
16212 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
16217 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
16220 project files updated to the default vs7 configuration
16221 * win32/common/libgstbase.def:
16222 * win32/common/libgstreamer.def:
16224 removed empty lines,
16225 sorted all exported symbols alphabetically
16226 * win32/common/dirent.c:
16227 * win32/common/dirent.h:
16228 * win32/common/gchar.h:
16229 use windows line end.
16231 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
16233 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
16234 Send EOS event when stopping.
16236 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
16239 Tell folks what to do if the plugin-foobar.xml file
16240 hasn't been generated for a newly-added plugin.
16242 2006-02-05 Julien MOUTTE <julien@moutte.net>
16244 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
16245 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
16246 (gst_collect_pads_start), (gst_collect_pads_stop),
16247 (gst_collect_pads_event): Collectpads now holds a reference
16248 to the GstPad that was added. Indeed we don't want to look
16249 at pads that might just go away with no warning...
16251 2006-02-05 Julien MOUTTE <julien@moutte.net>
16253 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16254 (gst_collect_pads_start), (gst_collect_pads_stop),
16255 (gst_collect_pads_event), (gst_collect_pads_chain):
16256 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
16257 Mark Nauwelaerts's patch on bug #328491.
16259 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
16261 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
16263 Add some simple tests for gst_parse_bin_from_description() and
16264 gst_bin_find_unconnected_pad() (#329069).
16266 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
16268 * tools/gst-launch.c: (event_loop), (main):
16269 Catch errors during preroll (#320084).
16271 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
16273 * plugins/elements/gsttypefindelement.c:
16274 (gst_type_find_element_activate):
16275 Post TYPE_NOT_FOUND error message when typefinding
16276 is unsuccessful in the activate function as well.
16278 2006-02-02 Wim Taymans <wim@fluendo.com>
16280 * docs/design/part-element-sink.txt:
16283 2006-02-02 Wim Taymans <wim@fluendo.com>
16285 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16286 (gst_base_sink_render_object),
16287 (gst_base_sink_queue_object_unlocked):
16288 Only keep track of prerollable items when we are
16290 Before rendering after preroll, always check if we
16292 Added some more debugging.
16294 2006-02-02 Wim Taymans <wim@fluendo.com>
16296 * gst/gstelement.c: (gst_element_continue_state),
16297 (gst_element_set_state_func), (gst_element_change_state):
16298 Fixed #326576, been running this for quite some time with
16299 no regressions at all.
16301 2006-02-02 Wim Taymans <wim@fluendo.com>
16304 Added more suppressions
16306 2006-02-02 Wim Taymans <wim@fluendo.com>
16308 * docs/design/part-element-sink.txt:
16311 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16312 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
16313 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
16314 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16315 (gst_base_sink_do_sync), (gst_base_sink_render_object),
16316 (gst_base_sink_preroll_object),
16317 (gst_base_sink_queue_object_unlocked),
16318 (gst_base_sink_queue_object), (gst_base_sink_event),
16319 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
16320 (gst_base_sink_loop), (gst_base_sink_activate_pull),
16321 (gst_base_sink_get_position), (gst_base_sink_change_state):
16322 * libs/gst/base/gstbasesink.h:
16323 Totally refactored matching the design doc.
16324 Use two segments, one to clip incomming buffers and another to
16326 Handle queueing correctly, bypass the queue when playing.
16327 Make EOS cancelable.
16328 Handle errors correctly when operating in pull based mode.
16330 * tests/check/elements/fakesink.c: (GST_START_TEST),
16332 Added new check for sinks.
16334 2006-02-02 Wim Taymans <wim@fluendo.com>
16336 * gst/gstsegment.c: (gst_segment_clip):
16337 No reason to refuse to clip when start == -1
16339 2006-02-02 Stefan Kost <ensonic@users.sf.net>
16342 * docs/manual/intro-basics.xml:
16343 * docs/manual/intro-preface.xml:
16344 * docs/manual/manual.xml:
16345 * docs/pwg/advanced-dparams.xml:
16346 * docs/pwg/intro-basics.xml:
16347 * docs/pwg/intro-preface.xml:
16348 * docs/pwg/pwg.xml:
16349 describe dparams (controller) for plugins
16350 unify docs a little more
16352 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
16354 * docs/gst/gstreamer-sections.txt:
16355 * gst/gstutils.c: (element_find_unconnected_pad),
16356 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
16358 Add new API: gst_parse_bin_from_description() and
16359 gst_bin_find_unconnected_pad() (#329069).
16361 2006-02-01 Stefan Kost <ensonic@users.sf.net>
16363 * docs/manual/README:
16364 uncover a nasty detail of the docs build
16366 2006-01-31 Wim Taymans <wim@fluendo.com>
16368 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
16369 Don't cache duration messages if we're not going to use or
16372 2006-01-31 Stefan Kost <ensonic@users.sf.net>
16374 * docs/manual/advanced-dparams.xml:
16375 * docs/pwg/advanced-dparams.xml:
16379 * libs/gst/controller/lib.c: (gst_controller_init):
16382 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
16384 * gst/gstelement.c: (gst_element_message_full):
16385 also show file/line/func if no additional debug was given
16387 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
16389 * win32/vs7/grammar.vcproj:
16390 activate copy of autogenerated files for Release mode
16392 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16394 * win32/common/libgstreamer.def:
16395 export gst_value_compare
16397 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
16399 * plugins/elements/Makefile.am:
16400 * plugins/elements/gstelements.c:
16401 * plugins/elements/gstfdsink.c: (_do_init),
16402 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16403 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16404 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16405 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16406 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16407 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16408 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16409 * plugins/elements/gstfdsink.h:
16410 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16412 2006-01-30 Stefan Kost <ensonic@users.sf.net>
16414 * docs/manual/advanced-dparams.xml:
16415 describe controller
16416 * docs/manual/advanced-position.xml:
16417 * docs/manual/basics-init.xml:
16418 * docs/manual/manual.xml:
16419 * docs/manual/titlepage.xml:
16420 * docs/pwg/pwg.xml:
16421 * docs/pwg/titlepage.xml:
16422 cleanup xml (more to come)
16423 * libs/gst/controller/gstcontroller.c:
16426 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16428 * win32/vs6/grammar.dsp:
16429 add autogen of gstmarshal.c,h for Release mode
16431 2006-01-30 Wim Taymans <wim@fluendo.com>
16433 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16434 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16435 (gst_base_sink_handle_object), (gst_base_sink_event),
16436 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16437 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16438 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16439 (gst_base_sink_deactivate), (gst_base_sink_activate),
16440 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16441 (gst_base_sink_query), (gst_base_sink_change_state):
16442 Basesink cleanups, remove some old code.
16443 Handle the case where a subclass can preroll in the render
16444 method (mostly audiosinks).
16445 Handle more events.
16446 Remove some locks around variables that are now protected
16447 with the PREROLL_LOCK (clock_id, flushing, ..).
16448 Optimize position query some more, do correct locking.
16449 Remove old code to push queue in state change, this is not
16450 needed anymore since preroll blocks on all prerollable items
16452 Almost implemented as described in design doc.
16454 2006-01-30 Wim Taymans <wim@fluendo.com>
16456 * tests/check/gst/gstbin.c: (GST_START_TEST):
16457 Wait for refcount to settle down before checking.
16459 2006-01-30 Wim Taymans <wim@fluendo.com>
16461 * docs/design/part-element-sink.txt:
16462 Pseudo code overview of desired sink behaviour regarding
16465 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16466 * win32/vs6/grammar.dsp:
16467 fix some bugs in Release mode for autogenerated files
16469 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16470 * win32/common/libgstbase.def:
16471 * win32/common/libgstreamer.def:
16472 export some new symbols: gst_base_src_set_format,
16473 gst_iterator_next, gst_structure_set_valist
16475 2006-01-29 Julien MOUTTE <julien@moutte.net>
16477 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16478 Set pad functions unconditionally. Fixes #329105.
16480 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16482 add vs8 project files created by Sergey Scobich
16484 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
16486 * gst/gstutils.c: (gst_element_unlink_pads):
16487 Don't leak pad references.
16489 * tests/check/elements/fakesink.c: (GST_START_TEST):
16490 * tests/check/generic/sinks.c: (GST_START_TEST):
16491 * tests/check/generic/states.c: (GST_START_TEST):
16492 * tests/check/gst/gstbin.c: (GST_START_TEST):
16493 * tests/check/gst/gstcaps.c: (GST_START_TEST):
16494 * tests/check/gst/gstelement.c: (GST_START_TEST):
16495 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16496 * tests/check/gst/gstiterator.c: (GST_START_TEST):
16497 * tests/check/gst/gstvalue.c: (GST_START_TEST):
16498 Fix a bunch of leaks. Make generic/sinks.c
16499 use a bit less cpu by slowing the buffer rate
16500 between fakesrc and fakesink.
16502 2006-01-27 Stefan Kost <ensonic@users.sf.net>
16504 * gst/gstelement.c: (gst_element_send_event):
16507 * gst/gstiterator.c:
16508 * gst/gstiterator.h:
16509 * gst/gstpad.c: (gst_pad_send_event):
16510 * gst/gststructure.c:
16514 * libs/gst/base/gstadapter.c:
16515 doc fixes, to link to function, just write gst_cool_function(), don't
16518 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16520 * plugins/elements/gsttee.c: (gst_tee_do_push),
16521 (gst_tee_handle_buffer):
16522 Always prefer an actual return value from a src
16523 pad in place of NOT_LINKED. This means we return
16524 WRONG_STATE when all src pads are WRONG_STATE
16525 instead of NOT_LINKED.
16527 Lock when replacing the last message to prevent
16528 racing with the get_property method.
16532 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16534 * tests/check/Makefile.am:
16535 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16537 Add a very simple check that should have caught the memleak I fixed
16538 last night (if not for the slice allocator hiding it)
16540 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16542 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16543 (gst_bin_remove_func), (gst_bin_handle_message_func),
16544 (bin_query_duration_fold), (bin_query_generic_fold):
16545 Clean up references to the clock provider when disposed or when
16546 handling a clock-lost message from it.
16548 Unref sinks when performing a query via gst_iterator_fold, as the
16549 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16551 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16552 (gst_clock_set_master):
16553 Drop our reference to the master clock, if any, when we are disposed.
16555 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16556 Chain up in dispose.
16558 2006-01-26 Wim Taymans <wim@fluendo.com>
16560 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16561 Add some debugging.
16563 2006-01-26 Julien MOUTTE <julien@moutte.net>
16565 * plugins/elements/gsttee.c: (gst_tee_do_push),
16566 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16567 handles pad being NOT_LINKED or in WRONG_STATE.
16569 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16574 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16577 remove obsolete entry
16579 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16581 * docs/gst/gstreamer-sections.txt:
16582 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16583 (gst_bin_iterate_sources), (gst_bin_send_event):
16585 * gst/gstelement.c: (gst_element_send_event):
16587 * gst/gstpad.c: (gst_pad_send_event):
16588 added code for downstream events, reviewed docs in gstevent.c
16590 2006-01-25 Julien MOUTTE <julien@moutte.net>
16592 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16593 We only query position using the clock in the playing state.
16594 Query peer in the other cases.
16595 * win32/common/config.h: Updates.
16597 2006-01-24 Wim Taymans <wim@fluendo.com>
16599 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16600 A clock entry that is scheduled for the exact time of the
16601 clock is still in time.
16603 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16604 (gst_base_sink_do_sync):
16605 Add some more debug info.
16607 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16610 Add new vs7 project files and solution.
16612 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16615 all files removed as they were out-dated.
16617 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16619 * docs/random/release:
16621 * gst/gstbin.c: (gst_bin_init):
16622 * gst/gstbus.c: (gst_bus_new):
16624 * gst/gstpipeline.c: (gst_pipeline_init):
16625 use gst_bus_new(), improve logging, fix docs
16626 * win32/common/config.h:
16627 update for cvs build
16629 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16632 up required version of automake to 1.7
16634 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
16636 * win32/common/libgstreamer.def:
16637 export gst_buffer_is_metadata_writable
16639 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
16641 * docs/gst/gstreamer-sections.txt:
16643 Add gst_event_replace() (#327001)
16645 2006-01-20 Wim Taymans <wim@fluendo.com>
16647 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16648 Make it actually compile too..
16650 2006-01-20 Wim Taymans <wim@fluendo.com>
16653 Clarify behaviour of _is_equal() when passing NULL parameters.
16655 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16656 (gst_pad_set_caps):
16657 Cleanups. Don't unref NULL caps.
16658 When setting the same caps, protect caps of the pad with
16660 Use full functionality of _is_equal() when comparing caps.
16662 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16664 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16665 Don't loop infinitely if there are no buffers to present. Partially
16666 fixes #327197, but collectpads is just broken for reusing elements
16667 to do multiple encodes atm.
16669 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16671 * tools/gst-inspect.c: (print_element_features):
16672 * tools/gst-xmlinspect.c: (main):
16673 URL_HANDLER is not a plugin feature we can search for in
16676 2006-01-19 Edward Hervey <edward@fluendo.com>
16678 * gst/gstelement.c: (gst_element_pads_activate):
16679 When activating, do src pads first, then sink pads.
16680 When de-activating, do sink pads first, then src pads.
16682 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16684 * docs/gst/gstreamer-sections.txt:
16685 Add gst_index_add_associationv to the docs
16687 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16692 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16693 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16694 Do some refactoring. Doesn't actually change functionality,
16695 but makes landing the DRAIN event easier later.
16697 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16699 * docs/pwg/advanced-scheduling.xml:
16700 Update from 0.9.x to 0.10 API and make example a bit
16703 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16705 * docs/gst/gstreamer-sections.txt:
16706 Add gst_buffer_(is|make)_metadata_writable methods.
16708 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16710 * docs/design/part-sparsestreams.txt:
16711 Update sparse streams doc, hopefully for greater clarity
16713 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16715 * docs/design/part-events.txt:
16716 Remove mention of FILLER events.
16719 * docs/design/part-sparsestreams.txt:
16720 Write some things about using NEWSEGMENT to keep sparse streams
16723 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16725 * gst/gstbin.c: (gst_bin_dispose):
16726 Guard gst_object_unref call against a NULL object (dispose
16727 can theoretically be called multiple times).
16729 2006-01-18 Wim Taymans <wim@fluendo.com>
16731 * gst/gstbin.c: (gst_bin_element_set_state):
16732 * gst/gstclock.c: (gst_clock_id_wait):
16733 Added some more debug info.
16735 * libs/gst/base/gstadapter.c:
16738 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16739 (gst_base_sink_do_sync), (gst_base_sink_chain):
16740 Added some comments.
16742 2006-01-18 Wim Taymans <wim@fluendo.com>
16744 * tests/check/Makefile.am:
16745 * tests/check/elements/fakesink.c: (chain_async_buffer),
16746 (chain_async), (chain_async_return), (GST_START_TEST),
16747 (fakesink_suite), (main):
16748 Added fakesink test that checks prerolling and clipping
16751 * tests/check/gst/gstutils.c: (GST_START_TEST):
16752 Make check run faster so that buildbots don't timeout.
16754 2006-01-18 Wim Taymans <wim@fluendo.com>
16756 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16757 (gst_base_sink_do_sync):
16759 When the sink finishes blocking on the preroll buffer, it can
16760 immediatly render it instead of rendering when the next buffer
16763 2006-01-18 Wim Taymans <wim@fluendo.com>
16765 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16766 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16767 (gst_base_sink_chain):
16769 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16770 Don't store _last_stop if the buffer is dropped.
16772 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16774 * plugins/elements/gsttypefindelement.c:
16775 (gst_type_find_element_class_init):
16776 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16777 object method handler that sets the caps on the pad and we want
16778 that to happen before we emit the signal (fixes e.g. feeding a
16779 plain text file to decodebin).
16781 2006-01-18 Christian Schaller <Christian@fluendo.com>
16783 * gst/gstplugin.c: Add MPL and Proprietary as license options
16785 2006-01-18 Andy Wingo <wingo@pobox.com>
16787 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16788 symbol was exported before, it appears this was just an oversight.
16790 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16792 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16793 prototype to gint. OK since this prototype was not in the header.
16795 2006-01-17 Andy Wingo <wingo@pobox.com>
16797 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16798 registry while we remove plugins.
16800 * tools/gst-inspect.c (print_element_info): Don't unref the
16801 factory arg, that should be the responsibility of whatever code
16802 received the ref. Fixes a double-free when called from
16803 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16804 (main): Unref the factory if we have one.
16805 (print_element_list): No change -- relies on the
16806 plugin_feature_list_free to free the list of features.
16808 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16810 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16811 (gst_buffer_make_metadata_writable):
16813 * libs/gst/base/gstbasetransform.c:
16814 (gst_base_transform_prepare_output_buf):
16815 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16816 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16817 Replace gst_buffer_(make|is)_metadata_writable patch now
16818 that the release is out.
16820 2006-01-17 Andy Wingo <wingo@pobox.com>
16822 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16823 in the present tense without reference to versions.
16825 * gst/gstregistry.c (gst_registry_add_plugin)
16826 (gst_registry_remove_plugin, gst_registry_remove_feature)
16827 (gst_registry_find_feature, gst_registry_get_feature_list)
16828 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16829 (gst_registry_lookup, gst_registry_scan_path)
16830 (_gst_registry_remove_cache_plugins)
16831 (gst_registry_get_feature_list_by_plugin): Add argument
16834 === release 0.10.2 ===
16836 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16839 releasing 0.10.2, "If man is five"
16841 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16845 * libs/gst/base/gstbasetransform.c:
16846 (gst_base_transform_prepare_output_buf):
16847 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16848 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16849 Back out patch until after the release.
16851 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16853 * gst/gstminiobject.c:
16854 Spelling fix in docs.
16855 * ChangeLog - remove conflict indicator
16857 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16859 Reviewed By: Andy Wingo
16861 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16862 (gst_buffer_make_metadata_writable):
16864 Add gst_buffer_(is|make)_metadata_writable as analogues of
16865 gst_buffer_(is|make)_writable.
16867 * libs/gst/base/gstbasetransform.c:
16868 (gst_base_transform_prepare_output_buf):
16869 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16870 Use name gst_buffer_(is|make)_metadata_writable functions.
16872 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16873 Test gst_buffer_(is|make)_metadata_writable
16877 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16879 * docs/manual/Makefile.am:
16880 don't do parallel make
16883 * win32/common/config.h.in:
16884 add generations for HOST_CPU and GST_MAJORMINOR
16885 * win32/common/config.h:
16886 commit generated result
16888 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16890 * docs/manual/appendix-integration.xml:
16891 Update GNOME integration section to use gst_init_get_option_group()
16892 instead of the old popt stuff (#322911). Also, GNOME applications
16893 should now use gconf*sink and gconf*src instead of the old gconf
16896 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16899 * docs/gst/gstreamer-docs.sgml:
16900 * docs/gst/gstreamer-sections.txt:
16901 * docs/libs/gstreamer-libs-sections.txt:
16902 add new API entries to the docs
16903 * libs/gst/controller/Makefile.am:
16904 * libs/gst/controller/gstcontroller.c:
16905 * libs/gst/controller/gstcontroller.h:
16906 * libs/gst/controller/gstcontrollerprivate.h:
16907 * libs/gst/controller/gsthelper.c:
16908 * libs/gst/controller/gstinterpolation.c:
16909 move private structs to private header
16911 gstreamer-0.7 -> gstreamer-0.10
16912 * tests/check/libs/struct_i386.h:
16913 remove private structs
16915 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16917 * plugins/indexers/Makefile.am:
16918 Fixes as part of #317048
16920 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16922 * plugins/indexers/Makefile.am:
16923 fix #316086 - compilation when mmap is missing
16925 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16927 * libs/gst/base/gstbasesink.c:
16928 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16929 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16930 * win32/common/config.h:
16931 added some defines GST_MAJORMINOR and HOST_CPU
16932 * win32/common/libgstbase.def:
16933 * win32/common/libgstreamer.def:
16934 added some exported functions.
16936 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16938 * libs/gst/controller/gstcontroller.c:
16939 (gst_controlled_property_set_interpolation_mode),
16940 (gst_controlled_property_new):
16941 * libs/gst/controller/gstcontroller.h:
16942 * libs/gst/controller/gstinterpolation.c:
16943 (interpolate_none_get_string_value_array):
16944 make G_TYPE_STRING controlable
16946 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16949 * tools/gst-feedback.1.in:
16950 * tools/gst-inspect.1.in:
16951 * tools/gst-launch.1.in:
16952 * tools/gst-md5sum.1.in:
16953 * tools/gst-typefind.1.in:
16954 * tools/gst-xmlinspect.1.in:
16955 * tools/gst-xmllaunch.1.in:
16956 cleanup man-pages, remove reference to gst-register, document env-vars
16958 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16960 * gst/gstbuffer.c: (gst_buffer_span):
16961 gst_buffer_span should copy the timestamp of the first buffer
16962 if they were both originally overlapping subbuffers of the
16963 same parent, using the same logic as the 'slow copy' case.
16965 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16967 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16968 Need to awaken ALL the pads when we pop a buffer, otherwise
16969 collectpads only works when there is 2 input streams.
16971 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16973 * docs/random/ensonic/media-device-daemon.txt:
16976 fix doc example, add clarification
16977 * tools/gst-launch.1.in:
16978 add initial info about GST_PLUGIN_PATH, needs more work
16980 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16982 * docs/manual/basics-bins.xml:
16983 * docs/manual/basics-elements.xml:
16984 * docs/manual/intro-basics.xml:
16985 Some more minor docs additions and updates.
16987 2006-01-11 Wim Taymans <wim@fluendo.com>
16989 * docs/manual/basics-bins.xml:
16990 * docs/manual/basics-elements.xml:
16991 Some small fixes as pointed out by Ser-ver on IRC.
16993 2006-01-10 Edward Hervey <edward@fluendo.com>
16995 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16996 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16997 the single-segment mode.
16999 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17001 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17003 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17004 (gst_base_src_perform_seek), (gst_base_src_send_event),
17005 (gst_base_src_set_property), (gst_base_src_get_property),
17006 (gst_base_src_loop), (gst_base_src_start),
17007 (gst_base_src_activate_push):
17008 * libs/gst/base/gstbasesrc.h:
17009 Name (private) union; makes Sun's Forte compiler happy (#324900).
17011 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17014 gst-register is gone.
17016 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17018 * gst/gstvalue.c: (_gst_value_initialize):
17019 make the G_TYPE_DATE instantiation work if debug is disabled
17021 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17023 * gst/gstmessage.c: (gst_message_parse_tag),
17024 (gst_message_parse_error), (gst_message_parse_warning):
17025 Don't crash when return location for error/warning debug
17026 string is NULL; add fact that return locations can be
17027 NULL to docs where appropriate.
17029 2006-01-05 Wim Taymans <wim@fluendo.com>
17031 * gst/gstplugin.c: (gst_plugin_load_file):
17032 Replace strdup by g_strdup.
17034 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17036 * docs/pwg/advanced-types.xml:
17039 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17041 submitted by: Abel Cheung
17045 Added Chinese (traditional) translation
17047 2006-01-04 Wim Taymans <wim@fluendo.com>
17049 * docs/manual/basics-pads.xml:
17050 * docs/plugins/Makefile.am:
17051 * docs/plugins/gstreamer-plugins-docs.sgml:
17052 * docs/plugins/gstreamer-plugins-sections.txt:
17053 * docs/pwg/advanced-clock.xml:
17054 * docs/pwg/advanced-scheduling.xml:
17055 * docs/pwg/advanced-types.xml:
17056 * plugins/elements/gstfdsink.c:
17057 * plugins/elements/gstfdsrc.c:
17058 * plugins/elements/gstfdsrc.h:
17059 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17060 * plugins/elements/gstidentity.h:
17061 * plugins/elements/gstqueue.h:
17062 * plugins/elements/gsttee.c:
17063 * plugins/elements/gsttee.h:
17064 * plugins/elements/gsttypefindelement.c:
17065 (gst_type_find_element_class_init):
17066 * plugins/elements/gsttypefindelement.h:
17067 Small updates to various docs.
17068 Added core plugins to docs.
17070 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17073 add a suppression for liboil's uninitialized variable
17075 2006-01-02 James Livingston <jrl at ids dot org dot au>
17077 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17080 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17081 macro, so that gcc doesn't complain if the -Wmissing-prototypes
17082 compiler switch is being used (#325429).
17084 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
17086 * gst/gstbin.c: (gst_bin_query):
17087 Disable duration query caching in bins until it gets
17088 fixed (see #324807).
17090 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17092 * tools/gst-inspect.c: (print_element_properties_info):
17093 Handle properties of POINTER and BOXED type.
17095 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17097 * gst/gst.c: (init_post):
17098 Init tags stuff and some other things before loading
17099 any static plugins (there may be other static plugins
17100 than just the GStreamer ones, and they may want to
17101 register their own tags or formats or whatever, and
17102 preferably without segfaulting).
17104 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17105 Print at least a warning in the debug logs if we drop a
17106 query just because we don't know how to adjust the value
17107 in the particular format.
17109 2005-12-24 David Schleef <ds@schleef.org>
17111 * tools/gstreamer-completion:
17112 Replacement for gst-complete written in sh and sed. Only
17113 completes names of features, but that's 90% of what I want
17114 it for. Properties are not available in registry.xml. (Maybe
17117 === release 0.10.1 ===
17119 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
17122 releasing 0.10.1, "Nollaig chridheil"
17124 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
17126 * docs/faq/cvs.xml:
17127 Add missing quote, should be make ERROR_CFLAGS="".
17129 2005-12-20 Wim Taymans <wim@fluendo.com>
17131 * docs/design/part-trickmodes.txt:
17132 More documentation on trickmodes.
17134 2005-12-20 Edward Hervey <edward@fluendo.com>
17136 * gst/gstcaps.c: (gst_static_caps_get_type):
17138 API addition: GST_TYPE_STATIC_CAPS
17139 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17140 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
17141 * gst/gstpadtemplate.h:
17142 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
17143 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
17146 2005-12-18 Wim Taymans <wim@fluendo.com>
17148 * libs/gst/base/gstadapter.c:
17149 * libs/gst/base/gstadapter.h:
17150 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17151 (gst_base_sink_get_position):
17152 * libs/gst/base/gstbasesink.h:
17153 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17154 (gst_base_src_default_query), (gst_base_src_default_do_seek),
17155 (gst_base_src_do_seek), (gst_base_src_perform_seek),
17156 (gst_base_src_send_event), (gst_base_src_update_length),
17157 (gst_base_src_get_range), (gst_base_src_loop),
17158 (gst_base_src_start):
17159 * libs/gst/base/gstbasesrc.h:
17160 * libs/gst/base/gstbasetransform.h:
17161 * libs/gst/base/gstcollectpads.h:
17162 * libs/gst/base/gstpushsrc.c:
17163 * libs/gst/base/gstpushsrc.h:
17164 * libs/gst/dataprotocol/dataprotocol.c:
17165 * libs/gst/dataprotocol/dataprotocol.h:
17166 * libs/gst/net/gstnetclientclock.h:
17167 * libs/gst/net/gstnettimeprovider.h:
17168 Documentation updates.
17170 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
17172 * docs/manual/basics-helloworld.xml:
17173 Remove superfluous closing bracket in helloworld example.
17175 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
17177 * tools/gst-launch.1.in:
17178 Update gst-launch man page; add a section with useful
17179 environment variables. Fixes #323882.
17181 2005-12-16 Stefan Kost <ensonic@users.sf.net>
17184 * gst/gst_private.h:
17185 change some char* into char[]
17187 2005-12-16 Wim Taymans <wim@fluendo.com>
17189 * gst/gstregistryxml.c: (load_feature):
17191 Don't use g_object_unref on GstObjects so that we avoid
17192 leaks on unsafe glibs.
17194 2005-12-16 Wim Taymans <wim@fluendo.com>
17196 * gst/gstbin.c: (gst_bin_recalc_state):
17199 2005-12-16 Wim Taymans <wim@fluendo.com>
17201 * common/check.mak:
17202 Added make forever target for check.
17204 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
17206 * gst/gst.c: (init_post):
17207 make the registry cache file HOST_CPU-dependent
17209 2005-12-16 Andy Wingo <wingo@pobox.com>
17211 * plugins/elements/gstbufferstore.c
17212 (gst_buffer_store_cleared_func): Pay attention to g_list_append
17215 * tests/check/gst/gstobject.c
17216 (test_fake_object_name_threaded_unique): Pay attention to
17217 g_list_sort return value.
17219 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
17221 * tools/gst-feedback-m.m:
17222 Update for 0.9/0.10 (fixes #323870).
17224 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
17226 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
17227 Fix lcopy for mini objects, the mini object needs to be ref'ed.
17229 * tests/check/gst/gstminiobject.c: (my_foo_init),
17230 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
17231 (test_value_collection), (gst_mini_object_suite):
17232 Add test to ensure refcounts end up as expected when passing
17233 GstMiniObjects through g_object_get() and g_object_set().
17235 2005-12-14 Julien MOUTTE <julien@moutte.net>
17237 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17238 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
17239 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
17240 of collectpads. This version removes a lot of races without
17241 touching API/ABI. Yay !
17243 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
17245 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
17246 Don't allow activation of a srcpad in pull_range if it has no
17248 Change some debug statements to be a little clearer
17250 * plugins/elements/gsttypefindelement.c:
17251 (gst_type_find_handle_src_query):
17252 Check that we have a peer before executing queries thereupon.
17254 * tests/examples/metadata/read-metadata.c: (message_loop):
17255 Use gst_bus_pop instead of gst_bus_poll when we just want it to
17256 immediately return us any available message with 0 timeout.
17258 2005-12-12 Michael Smith <msmith@fluendo.com>
17260 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
17261 Don't unref factories after calling them.
17262 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
17263 * plugins/elements/gsttypefindelement.c:
17264 (gst_type_find_element_chain):
17265 Free lists of factories after using them. Fixing typefinding memory
17268 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17270 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
17271 (gst_plugin_feature_load):
17272 more meaningful debug output
17274 * tests/Makefile.am:
17275 * tests/old/examples/Makefile.am:
17276 make make distcheck happy again
17278 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
17280 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17281 Catch the special case where we are operating chain-based,
17282 but the downstream peer pad has no chain function. Emit a
17283 custom error message in this case instead of letting the
17284 core generate one implying that this is some sort of core
17285 bug. It's not, it just means that whatever got plugged
17286 into the pipeline downstream when we announced the type
17287 can only operate pull-based, while our source can only
17288 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
17289 Error string has not been marked for translation yet, as
17290 it probably needs some more work first.
17292 (gst_type_find_element_get_best_possibility):
17293 Add helper function to find the best of all available
17294 found possibilities that qualify given the min. threshold.
17296 (gst_type_find_element_handle_event):
17297 Fix the case where we get an EOS while still in TYPEFIND
17298 mode (we want to chose the best of all possible types,
17299 not just the first type that happens to be in our unsorted
17300 list of possible types).
17302 (gst_type_find_element_chain):
17303 Make sure we return GST_FLOW_ERROR when we errored out
17304 in stop_typefinding(); also, don't just find the best of
17305 all found type entries and then use the last examined
17306 type entry, but actually use the best entry.
17308 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
17310 * tests/examples/typefind/typefind.c: (type_found):
17311 * tests/examples/xml/runxml.c: (xml_loaded):
17312 More gcc4 fixes and a mem leak fix.
17314 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17316 * tests/examples/xml/createxml.c: (object_saved):
17319 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17321 * tests/Makefile.am:
17322 enable the examples even more
17324 2005-12-12 Andy Wingo <wingo@pobox.com>
17326 * libs/gst/net/gstnettimeprovider.c
17327 (gst_net_time_provider_class_init, gst_net_time_provider_init)
17328 (gst_net_time_provider_set_property)
17329 (gst_net_time_provider_get_property):
17330 API addition: Export "active" as a GObject property.
17331 (gst_net_time_provider_thread): Only respond to time queries if
17332 the time provider is active.
17334 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
17335 NetTimeProvider, preserving binary compat.
17337 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17339 * tests/examples/controller/audio-example.c: (main):
17340 * tests/examples/launch/Makefile.am:
17341 convert comments again
17343 2005-12-12 Wim Taymans <wim@fluendo.com>
17345 * libs/gst/base/gstpushsrc.c:
17348 2005-12-12 Wim Taymans <wim@fluendo.com>
17350 * docs/libs/gstreamer-libs-sections.txt:
17351 Added new symbol to docs.
17353 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17354 (gst_base_src_init), (gst_base_src_set_format),
17355 (gst_base_src_default_query), (gst_base_src_query),
17356 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
17357 (gst_base_src_perform_seek), (gst_base_src_send_event),
17358 (gst_base_src_default_event), (gst_base_src_event_handler),
17359 (gst_base_src_set_property), (gst_base_src_get_property),
17360 (gst_base_src_wait), (gst_base_src_do_sync),
17361 (gst_base_src_update_length), (gst_base_src_get_range),
17362 (gst_base_src_check_get_range), (gst_base_src_loop),
17363 (gst_base_src_default_negotiate), (gst_base_src_start),
17364 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17365 (gst_base_src_change_state):
17366 * libs/gst/base/gstbasesrc.h:
17367 Implement seeking to other formats than _BYTES.
17368 Implement more seeking methods correctly.
17370 Added query vmethod.
17371 Added do_seek vmethod to make life easier for subclasses
17373 API addition: gst_base_src_set_format()
17375 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17377 * tests/examples/Makefile.am:
17380 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17383 * docs/random/ensonic/media-device-daemon.txt:
17384 * tests/examples/controller/.cvsignore:
17385 * tests/examples/controller/Makefile.am:
17386 * tests/examples/controller/audio-example.c: (main):
17387 * tests/examples/helloworld/.cvsignore:
17388 * tests/examples/helloworld/Makefile.am:
17389 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
17390 * tests/examples/launch/.cvsignore:
17391 * tests/examples/launch/Makefile.am:
17392 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
17393 * tests/examples/metadata/.cvsignore:
17394 * tests/examples/metadata/Makefile.am:
17395 * tests/examples/metadata/read-metadata.c: (message_loop),
17396 (make_pipeline), (print_tag), (main):
17397 * tests/examples/queue/.cvsignore:
17398 * tests/examples/queue/Makefile.am:
17399 * tests/examples/queue/queue.c: (event_loop), (main):
17400 * tests/examples/typefind/.cvsignore:
17401 * tests/examples/typefind/Makefile.am:
17402 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17404 * tests/examples/xml/.cvsignore:
17405 * tests/examples/xml/Makefile.am:
17406 * tests/examples/xml/createxml.c: (object_saved), (main):
17407 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17408 * tests/old/examples/Makefile.am:
17409 * tests/old/examples/TODO:
17410 * tests/old/examples/controller/.cvsignore:
17411 * tests/old/examples/controller/Makefile.am:
17412 * tests/old/examples/controller/audio-example.c:
17413 * tests/old/examples/helloworld/.cvsignore:
17414 * tests/old/examples/helloworld/Makefile.am:
17415 * tests/old/examples/helloworld/helloworld.c:
17416 * tests/old/examples/launch/.cvsignore:
17417 * tests/old/examples/launch/Makefile.am:
17418 * tests/old/examples/launch/mp3parselaunch.c:
17419 * tests/old/examples/launch/mp3play:
17420 * tests/old/examples/manual/Makefile.am:
17421 * tests/old/examples/metadata/Makefile.am:
17422 * tests/old/examples/metadata/read-metadata.c:
17423 * tests/old/examples/queue/.cvsignore:
17424 * tests/old/examples/queue/Makefile.am:
17425 * tests/old/examples/queue/queue.c:
17426 * tests/old/examples/typefind/.cvsignore:
17427 * tests/old/examples/typefind/Makefile.am:
17428 * tests/old/examples/typefind/typefind.c:
17429 * tests/old/examples/xml/.cvsignore:
17430 * tests/old/examples/xml/Makefile.am:
17431 * tests/old/examples/xml/createxml.c:
17432 * tests/old/examples/xml/runxml.c:
17433 applied some simple fixing to some examples
17434 re-enabled the working examples
17436 2005-12-12 Wim Taymans <wim@fluendo.com>
17438 * gst/gstsegment.c: (gst_segment_init),
17439 (gst_segment_set_last_stop), (gst_segment_set_seek),
17440 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17441 (gst_segment_to_running_time):
17442 Added more documentation.
17443 Make sure the last_pos value is updated properly.
17444 Make sure to_stream_time and to_running_time don't
17445 operate on wrong values.
17447 * tests/check/gst/gstsegment.c: (GST_START_TEST):
17450 2005-12-12 Michael Smith <msmith@fluendo.com>
17452 * plugins/elements/gsttypefindelement.c: (free_entry),
17453 (gst_type_find_element_chain):
17454 Now that we're not leaking factories, make sure we keep references
17455 to them while we need them.
17457 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17459 * tests/check/gst/struct_i386.h:
17460 ifdef out the XML structs
17462 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17464 * gst/gstvalue.c: (gst_value_transform_double_fraction):
17465 floor is not needed, F is always positive; this obviates the
17466 need for adding -lm when building without libxml
17468 2005-12-12 Wim Taymans <wim@fluendo.com>
17470 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17471 Take current playback rate into account when reporting
17474 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17476 * docs/manual/mime-world.fig:
17477 Let's try this again, this time with a file that is
17478 actually in XFig format.
17480 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17482 * docs/manual/mime-world.fig:
17483 Add audioconvert element to diagram so that it
17484 matches the text and the code (fixes #319526).
17486 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17488 * docs/pwg/building-chainfn.xml:
17489 * docs/pwg/building-pads.xml:
17490 * docs/pwg/building-state.xml:
17491 * docs/pwg/other-source.xml:
17492 Update state change stuff for 0.10 (fixes #322969).
17494 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17496 * docs/manual/advanced-dataaccess.xml:
17497 * docs/manual/appendix-checklist.xml:
17498 * docs/manual/appendix-programs.xml:
17499 * docs/manual/basics-pads.xml:
17500 * docs/manual/highlevel-components.xml:
17501 * docs/manual/manual.xml:
17502 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17503 add converters in front of pipelines; remove curly
17504 brackets for threads stuff, they no longer exist; use
17505 GST_TYPE_FRACTION for framerates; update some pieces of
17506 code to 0.10, but there's plenty more to do.
17508 * docs/manual/appendix-porting.xml:
17509 Expand on asynchroneous state changes; s/0.9/0.10/;
17510 mention disappearance of gst_init_get_popt_table()
17513 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17515 * docs/faq/using.xml:
17516 Spider no longer exists, and neither does gst-launch-ext.
17517 Update examples to use decodebin and playbin and put
17518 converters in front of sinks (fixes #323726).
17520 2005-12-09 Michael Smith <msmith@fluendo.com>
17522 * plugins/elements/gsttypefindelement.c: (find_peek),
17523 (gst_type_find_element_chain):
17524 Fix leaking element factories in typefinding.
17525 Fix problem where we forgot about a probable type on non-seekable
17526 files, and thus later mis-typefound it.
17528 2005-12-09 Michael Smith <msmith@fluendo.com>
17530 * common/m4/gst-makecontext.m4:
17531 * common/m4/gst-mcsc.m4:
17533 * win32/common/config.h:
17534 * win32/common/config.h.in:
17535 Remove makecontext stuff; not used in 0.10 and causes problems on
17536 HPUX according to bug #322441
17538 2005-12-07 Wim Taymans <wim@fluendo.com>
17540 * tests/check/Makefile.am:
17541 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17543 * tests/check/libs/struct_i386.h:
17544 Added ABI check for libs
17546 2005-12-07 Wim Taymans <wim@fluendo.com>
17548 * tests/check/Makefile.am:
17549 And add the struct_i386.h to dist.
17551 2005-12-07 Wim Taymans <wim@fluendo.com>
17553 * tests/check/Makefile.am:
17554 * tests/check/gst/.cvsignore:
17555 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17557 * tests/check/gst/struct_i386.h:
17558 Added check for ABI compatibility.
17560 2005-12-07 Wim Taymans <wim@fluendo.com>
17562 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17563 (gst_fake_src_get_times), (gst_fake_src_create):
17564 Fix broken sync option, fixes #323259
17566 2005-12-07 Wim Taymans <wim@fluendo.com>
17571 * gst/gstcaps.c: (gst_caps_is_equal):
17572 Don't assert on NULL <--> X. Fixes #323260
17574 * gst/gstminiobject.c: (gst_mini_object_replace):
17575 If we're doing atomic operations, we might just as well use
17576 the proper way to get an atomic pointer.
17578 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17579 Clean up debugging.
17581 2005-12-07 Michael Smith <msmith@fluendo.com>
17583 * gst/parse/grammar.y:
17584 Remove handling of { } for threads.
17586 2005-12-06 David Schleef <ds@schleef.org>
17588 * libs/gst/base/gstbasetransform.c: speling fix.
17590 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
17592 * docs/libs/tmpl/gstdataprotocol.sgml:
17593 * docs/random/omega/testing/gstobject.c:
17596 * gst/gstelement.c:
17597 * gst/gstelementfactory.c:
17600 * gst/gstghostpad.c:
17602 * gst/gstpadtemplate.c:
17603 * gst/gstregistryxml.c:
17604 * gst/gsttaglist.c:
17605 * gst/gsttagsetter.c:
17606 * gst/gsttypefind.c:
17608 * libs/gst/base/gstbasesrc.c:
17609 * libs/gst/net/gstnetclientclock.c:
17610 * libs/gst/net/gstnettimeprovider.c:
17611 * plugins/elements/gstfakesrc.c:
17612 * plugins/elements/gstfdsrc.c:
17613 * plugins/elements/gstfilesrc.c:
17614 * plugins/elements/gstidentity.c:
17615 * plugins/elements/gstqueue.c:
17616 * plugins/elements/gsttypefindelement.c:
17617 * plugins/indexers/gstfileindex.c:
17618 * plugins/indexers/gstmemindex.c:
17619 * tests/check/gst/gsttag.c:
17620 * tests/old/examples/cutter/cutter.c:
17621 * tests/old/examples/mixer/mixer.c:
17622 * tests/old/examples/xml/runxml.c: (main):
17623 * tests/old/testsuite/caps/normalisation.c:
17624 * tests/old/testsuite/debug/global.c:
17625 * tests/old/testsuite/parse/parse1.c:
17626 * tools/gst-xmlinspect.c:
17627 * win32/common/dirent.c:
17630 === release 0.10.0 ===
17632 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17635 releasing 0.10.0, "Maroilles"
17637 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17639 submitted by: Funda Wang <fundawang@linux.net.cn>
17643 added Chinese (Traditional) translation
17645 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17647 * docs/gst/gstreamer-sections.txt:
17648 * docs/libs/tmpl/gstdataprotocol.sgml:
17649 * docs/random/thomasvs/TODO:
17654 2005-12-05 Andy Wingo <wingo@pobox.com>
17656 patch by: Wim Taymans <wim@fluendo.com>
17658 * libs/gst/base/gstbasetransform.c
17659 (gst_base_transform_prepare_output_buf)
17660 (gst_base_transform_buffer_alloc):
17661 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17662 alloc_buffer_and_set_caps.
17664 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17665 set_caps on the source pad.
17666 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17667 alloc_buffer used to do. Fixes #322874.
17669 * docs/gst/gstreamer-sections.txt:
17670 * docs/design/part-negotiation.txt:
17671 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17674 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17676 patch by: Sebastien Moutte
17679 * win32/common/config.h.in:
17680 * win32/vs6/libgstcontroller.dsp:
17683 2005-12-05 Wim Taymans <wim@fluendo.com>
17685 * gst/gstcaps.c: (gst_caps_is_equal):
17686 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17687 (gst_fake_src_create):
17688 Back out previous code changes, leave doc updates, file bugs
17691 2005-12-05 Wim Taymans <wim@fluendo.com>
17693 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17694 (gst_fake_src_get_times), (gst_fake_src_create):
17695 * plugins/elements/gstfakesrc.h:
17696 Fix broken sync code.
17698 2005-12-05 Wim Taymans <wim@fluendo.com>
17700 * gst/gstcaps.c: (gst_caps_is_equal):
17701 Comparing NULL against !NULL yields different caps, not a
17704 2005-12-05 Wim Taymans <wim@fluendo.com>
17706 * gst/gstpipeline.c:
17707 Fix small typo in docs.
17709 2005-12-05 Andy Wingo <wingo@pobox.com>
17711 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17713 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17714 registries/plugins with a MAJORMINOR one.
17715 (plugin_desc): Rename library from gstcoreleements to
17716 staticelements. Fixes #323222.
17718 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17720 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17721 Change debug category to 'collectpads' from 'collect_pads'
17724 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17726 patch by: Sebastien Moutte
17728 * libs/gst/controller/gstinterpolation.c:
17729 use convert function for uint64/double
17730 * win32/vs6/libgstcontroller.dsp:
17733 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17735 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17736 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17738 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17739 add tests that seem to show that the guint64/gdouble conversions
17742 2005-12-02 Wim Taymans <wim@fluendo.com>
17744 * gst/gstregistry.c: (gst_registry_add_path):
17745 * gst/gstregistry.h:
17746 * gst/gstregistryxml.c:
17749 2005-12-02 Wim Taymans <wim@fluendo.com>
17751 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17752 (gst_util_uint64_scale_int):
17755 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17756 Add debug log line.
17758 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17761 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17764 * win32/common/config.h:
17765 * win32/vs6/gstreamer.dsw:
17766 * win32/vs6/libgstcoreelements.dsp:
17767 * win32/vs6/libgstelements.dsp:
17768 renamed core elements plugin
17770 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17772 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17774 do piece-wise major/minor comparison so 0.9 < 0.10
17775 also allow .exe extensions for tools
17777 2005-12-02 Michael Smith <msmith@fluendo.com>
17780 Escape a % to make gtkdoc happier; bug 322958.
17782 === release 0.9.7 ===
17784 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17787 releasing 0.9.7, "My Dog Has No Nose"
17789 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17791 * common/gst-xmlinspect.py:
17793 * docs/libs/tmpl/gstdataprotocol.sgml:
17794 * docs/random/release:
17813 * win32/common/config.h:
17814 * win32/common/config.h.in:
17815 * win32/vs6/gst_inspect.dsp:
17816 * win32/vs6/gst_launch.dsp:
17817 * win32/vs6/libgstbase.dsp:
17818 * win32/vs6/libgstelements.dsp:
17819 * win32/vs6/libgstreamer.dsp:
17820 * win32/vs7/GStreamer.vcproj:
17821 * win32/vs7/gst-inspect.vcproj:
17822 * win32/vs7/gst-launch.vcproj:
17823 * win32/vs7/libgstbase.vcproj:
17824 bump GST_MAJORMINOR to 0.10
17825 reset libtool version
17827 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17831 Added Bulgarian translation by (Alexander Shopov)
17833 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17835 * tests/check/gst/gstplugin.c:
17838 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17840 * common/gst-xmlinspect.py:
17841 * common/gtk-doc-plugins.mak:
17843 * docs/Makefile.am:
17844 * docs/gst/Makefile.am:
17845 * docs/gst/gstreamer-docs.sgml:
17846 * docs/gst/gstreamer-sections.txt:
17847 * docs/gst/gstreamer.types:
17848 * docs/gst/gstreamer.types.in:
17849 * docs/plugins/Makefile.am:
17850 * docs/plugins/gstreamer-plugins-docs.sgml:
17851 * docs/plugins/gstreamer-plugins-sections.txt:
17852 * docs/plugins/gstreamer-plugins.types:
17853 * docs/plugins/inspect.stamp:
17854 * docs/plugins/inspect/plugin-coreelements.xml:
17855 * docs/plugins/inspect/plugin-coreindexers.xml:
17856 * docs/plugins/scanobj-build.stamp:
17857 * gstreamer.spec.in:
17858 * plugins/elements/Makefile.am:
17859 * plugins/elements/gstelements.c:
17860 * plugins/elements/gstfakesink.c:
17861 * plugins/elements/gstfakesrc.c:
17862 * plugins/elements/gstfilesink.c:
17863 * plugins/elements/gstfilesrc.c:
17864 * plugins/elements/gstqueue.c:
17865 * plugins/indexers/Makefile.am:
17866 * plugins/indexers/gstindexers.c:
17867 document core plugins in a separate document just like all the
17869 rename these plugins to something starting with core
17871 2005-12-01 Andy Wingo <wingo@pobox.com>
17873 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17874 padding here before, but it missed the commit.
17876 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17878 * libs/gst/controller/gstinterpolation.c:
17879 whitespace prices have crashed, we should feel free to use some now
17880 use gst_guint64_to_gdouble
17882 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17884 * libs/gst/controller/gstcontroller.c:
17885 * libs/gst/controller/gsthelper.c:
17886 * libs/gst/controller/gstinterpolation.c:
17887 * libs/gst/controller/lib.c:
17888 wrap config.h include
17890 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17892 * docs/gst/gstreamer-sections.txt:
17895 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17897 * plugins/elements/gstelements.c:
17898 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17899 (gst_fd_sink__class_init), (gst_fd_sink__init),
17900 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17901 (gst_fd_sink__get_property):
17902 * plugins/elements/gstfdsink.h:
17903 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17904 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17905 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17906 (gst_fd_src_unlock), (gst_fd_src_set_property),
17907 (gst_fd_src_get_property), (gst_fd_src_create),
17908 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17909 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17910 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17911 (gst_fd_src_uri_handler_init):
17912 * plugins/elements/gstfdsrc.h:
17913 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17916 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17918 * docs/gst/Makefile.am:
17919 * docs/gst/gstreamer.types.in:
17923 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17929 * gst/gstregistry.h:
17930 * tests/benchmarks/complexity.c:
17931 * tests/benchmarks/mass-elements.c:
17932 * tests/check/Makefile.am:
17933 * tools/Makefile.am:
17934 * tools/gst-inspect.c:
17935 * tools/gst-xmlinspect.c:
17936 various fixes to make
17937 --disable-nls --disable-registry --disable-loadsave
17938 --disable-parse --disable-gst-debug
17939 work and get the core .so down to 360444 bytes after stripping
17941 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17946 * docs/random/thomasvs/TODO:
17947 * tests/Makefile.am:
17951 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17953 * win32/GStreamer.vcproj:
17956 * win32/Makefile.inspect:
17957 * win32/Makefile.launch:
17958 * win32/Makefile.register:
17959 * win32/README.txt:
17960 * win32/gst-inspect.vcproj:
17961 * win32/gst-launch.vcproj:
17962 * win32/gst-register.vcproj:
17963 * win32/gstelements.vcproj:
17964 * win32/gstgetbits.def:
17965 * win32/gstgetbits.vcproj:
17966 * win32/gstreamer-dbg.def:
17967 * win32/gstreamer.def:
17968 * win32/libgstbase.def:
17969 * win32/libgstbase.vcproj:
17970 * win32/link_oldruntime.c:
17974 * win32/msvc71.sln:
17975 move even more stuff, win32/ is nice and clean now
17977 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17979 * libs/gst/control/.cvsignore:
17984 * win32/gstbytestream.def:
17985 * win32/gstbytestream.vcproj:
17986 * win32/gstconfig.h:
17987 * win32/gstenumtypes.c:
17988 * win32/gstenumtypes.h:
17989 * win32/gstoptimalscheduler.vcproj:
17990 * win32/gstversion.h:
17992 * win32/testsuite/bins.vcproj:
17993 * win32/testsuite/bytestream.vcproj:
17994 * win32/testsuite/caps.vcproj:
17995 * win32/testsuite/cleanup.vcproj:
17996 * win32/testsuite/clock.vcproj:
17997 * win32/testsuite/debug.vcproj:
17998 * win32/testsuite/dlopen.vcproj:
17999 * win32/testsuite/dynparams.vcproj:
18000 * win32/testsuite/elements.vcproj:
18001 * win32/testsuite/ghostpads.vcproj:
18002 * win32/testsuite/indexers.vcproj:
18003 * win32/testsuite/negotiation.vcproj:
18004 * win32/testsuite/parse.vcproj:
18005 * win32/testsuite/plugin.vcproj:
18006 * win32/testsuite/refcounting.vcproj:
18007 * win32/testsuite/schedulers.vcproj:
18008 * win32/testsuite/states.vcproj:
18009 * win32/testsuite/tags.vcproj:
18010 * win32/testsuite/threads.vcproj:
18011 remove old win32 stuff that isn't maintained and should be
18014 2005-11-30 Andy Wingo <wingo@pobox.com>
18016 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18017 loading the gst.interfaces python module bork.
18019 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18020 available since GLib 2.2. Fixes #318031.
18022 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18025 * check/.cvsignore:
18026 * check/Makefile.am:
18027 * check/elements/.cvsignore:
18028 * check/elements/fakesrc.c:
18029 * check/elements/fdsrc.c:
18030 * check/elements/identity.c:
18031 * check/generic/.cvsignore:
18032 * check/generic/states.c:
18033 * check/gst-libs/.cvsignore:
18034 * check/gst-libs/controller.c:
18035 * check/gst-libs/gdp.c:
18036 * check/gst/.cvsignore:
18037 * check/gst/capslist.h:
18039 * check/gst/gstbin.c:
18040 * check/gst/gstbuffer.c:
18041 * check/gst/gstbus.c:
18042 * check/gst/gstcaps.c:
18043 * check/gst/gstelement.c:
18044 * check/gst/gstevent.c:
18045 * check/gst/gstghostpad.c:
18046 * check/gst/gstiterator.c:
18047 * check/gst/gstmessage.c:
18048 * check/gst/gstminiobject.c:
18049 * check/gst/gstobject.c:
18050 * check/gst/gstpad.c:
18051 * check/gst/gstpipeline.c:
18052 * check/gst/gstplugin.c:
18053 * check/gst/gstsegment.c:
18054 * check/gst/gststructure.c:
18055 * check/gst/gstsystemclock.c:
18056 * check/gst/gsttag.c:
18057 * check/gst/gstutils.c:
18058 * check/gst/gstvalue.c:
18059 * check/net/.cvsignore:
18060 * check/net/gstnetclientclock.c:
18061 * check/net/gstnettimeprovider.c:
18062 * check/pipelines/.cvsignore:
18063 * check/pipelines/cleanup.c:
18064 * check/pipelines/simple_launch_lines.c:
18065 * check/pipelines/stress.c:
18066 * check/states/.cvsignore:
18067 * check/states/sinks.c:
18069 * examples/Makefile.am:
18070 * examples/appreader/.cvsignore:
18071 * examples/appreader/Makefile.am:
18072 * examples/appreader/appreader.c:
18073 * examples/controller/.cvsignore:
18074 * examples/controller/Makefile.am:
18075 * examples/controller/audio-example.c:
18076 * examples/cutter/.cvsignore:
18077 * examples/cutter/Makefile.am:
18078 * examples/cutter/cutter.c:
18079 * examples/cutter/cutter.h:
18080 * examples/events/Makefile.am:
18081 * examples/events/seek.c:
18082 * examples/helloworld/.cvsignore:
18083 * examples/helloworld/Makefile.am:
18084 * examples/helloworld/helloworld.c:
18085 * examples/helloworld2/.cvsignore:
18086 * examples/helloworld2/Makefile.am:
18087 * examples/helloworld2/helloworld2.c:
18088 * examples/launch/.cvsignore:
18089 * examples/launch/Makefile.am:
18090 * examples/launch/mp3parselaunch.c:
18091 * examples/launch/mp3play:
18092 * examples/manual/.cvsignore:
18093 * examples/manual/Makefile.am:
18094 * examples/manual/extract.pl:
18095 * examples/metadata/Makefile.am:
18096 * examples/metadata/read-metadata.c:
18097 * examples/mixer/.cvsignore:
18098 * examples/mixer/Makefile.am:
18099 * examples/mixer/mixer.c:
18100 * examples/mixer/mixer.h:
18101 * examples/pingpong/.cvsignore:
18102 * examples/pingpong/Makefile.am:
18103 * examples/pingpong/pingpong.c:
18104 * examples/plugins/.cvsignore:
18105 * examples/plugins/Makefile.am:
18106 * examples/plugins/example.c:
18107 * examples/plugins/example.h:
18108 * examples/pwg/.cvsignore:
18109 * examples/pwg/Makefile.am:
18110 * examples/pwg/extract.pl:
18111 * examples/queue/.cvsignore:
18112 * examples/queue/Makefile.am:
18113 * examples/queue/queue.c:
18114 * examples/queue2/.cvsignore:
18115 * examples/queue2/Makefile.am:
18116 * examples/queue2/queue2.c:
18117 * examples/queue3/.cvsignore:
18118 * examples/queue3/Makefile.am:
18119 * examples/queue3/queue3.c:
18120 * examples/queue4/.cvsignore:
18121 * examples/queue4/Makefile.am:
18122 * examples/queue4/queue4.c:
18123 * examples/retag/.cvsignore:
18124 * examples/retag/Makefile.am:
18125 * examples/retag/retag.c:
18126 * examples/retag/transcode.c:
18127 * examples/thread/.cvsignore:
18128 * examples/thread/Makefile.am:
18129 * examples/thread/thread.c:
18130 * examples/typefind/.cvsignore:
18131 * examples/typefind/Makefile.am:
18132 * examples/typefind/typefind.c:
18133 * examples/xml/.cvsignore:
18134 * examples/xml/Makefile.am:
18135 * examples/xml/createxml.c:
18136 * examples/xml/runxml.c:
18137 * tests/Makefile.am:
18138 * tests/check/Makefile.am:
18139 * testsuite/.cvsignore:
18140 * testsuite/Makefile.am:
18142 * testsuite/caps/.cvsignore:
18143 * testsuite/caps/Makefile.am:
18144 * testsuite/caps/app_fixate.c:
18145 * testsuite/caps/audioscale.c:
18146 * testsuite/caps/caps.c:
18147 * testsuite/caps/caps.h:
18148 * testsuite/caps/caps_strings:
18149 * testsuite/caps/compatibility.c:
18150 * testsuite/caps/deserialize.c:
18151 * testsuite/caps/enumcaps.c:
18152 * testsuite/caps/eratosthenes.c:
18153 * testsuite/caps/filtercaps.c:
18154 * testsuite/caps/fixed.c:
18155 * testsuite/caps/fraction-convert.c:
18156 * testsuite/caps/fraction-multiply-and-zero.c:
18157 * testsuite/caps/intersect2.c:
18158 * testsuite/caps/intersection.c:
18159 * testsuite/caps/normalisation.c:
18160 * testsuite/caps/random.c:
18161 * testsuite/caps/renegotiate.c:
18162 * testsuite/caps/sets.c:
18163 * testsuite/caps/simplify.c:
18164 * testsuite/caps/string-conversions.c:
18165 * testsuite/caps/structure.c:
18166 * testsuite/caps/subtract.c:
18167 * testsuite/caps/union.c:
18168 * testsuite/debug/.cvsignore:
18169 * testsuite/debug/Makefile.am:
18170 * testsuite/debug/category.c:
18171 * testsuite/debug/commandline.c:
18172 * testsuite/debug/global.c:
18173 * testsuite/debug/output.c:
18174 * testsuite/debug/printf_extension.c:
18175 * testsuite/dlopen/.cvsignore:
18176 * testsuite/dlopen/Makefile.am:
18177 * testsuite/dlopen/dlopen_gst.c:
18178 * testsuite/dlopen/loadgst.c:
18179 * testsuite/elements/.cvsignore:
18180 * testsuite/elements/Makefile.am:
18181 * testsuite/elements/gst-inspect-check.in:
18182 * testsuite/elements/struct_i386.h:
18183 * testsuite/elements/struct_size.c:
18184 * testsuite/indexers/.cvsignore:
18185 * testsuite/indexers/Makefile.am:
18186 * testsuite/indexers/cache1.c:
18187 * testsuite/indexers/indexdump.c:
18188 * testsuite/parse/.cvsignore:
18189 * testsuite/parse/Makefile.am:
18190 * testsuite/parse/parse1.c:
18191 * testsuite/parse/parse2.c:
18192 * testsuite/plugin/.cvsignore:
18193 * testsuite/plugin/Makefile.am:
18194 * testsuite/plugin/README:
18195 * testsuite/plugin/dynamic.c:
18196 * testsuite/plugin/linked.c:
18197 * testsuite/plugin/loading.c:
18198 * testsuite/plugin/registry.c:
18199 * testsuite/plugin/static.c:
18200 * testsuite/plugin/static2.c:
18201 * testsuite/plugin/testplugin.c:
18202 * testsuite/plugin/testplugin2.c:
18203 * testsuite/plugin/testplugin2_s.c:
18204 * testsuite/plugin/testplugin_s.c:
18205 * testsuite/refcounting/.cvsignore:
18206 * testsuite/refcounting/Makefile.am:
18207 * testsuite/refcounting/bin.c:
18208 * testsuite/refcounting/element.c:
18209 * testsuite/refcounting/element_pad.c:
18210 * testsuite/refcounting/mainloop.c:
18211 * testsuite/refcounting/mem.c:
18212 * testsuite/refcounting/mem.h:
18213 * testsuite/refcounting/object.c:
18214 * testsuite/refcounting/pad.c:
18215 * testsuite/refcounting/sched.c:
18216 * testsuite/refcounting/thread.c:
18217 * testsuite/states/.cvsignore:
18218 * testsuite/states/Makefile.am:
18219 * testsuite/states/bin.c:
18220 * testsuite/states/locked.c:
18221 * testsuite/states/parent.c:
18222 * testsuite/threads/.cvsignore:
18223 * testsuite/threads/159566.c:
18224 * testsuite/threads/159852.c:
18225 * testsuite/threads/Makefile.am:
18226 * testsuite/threads/queue.c:
18227 * testsuite/threads/signals.c:
18228 * testsuite/threads/staticrec.c:
18229 * testsuite/threads/thread.c:
18230 * testsuite/threads/threadb.c:
18231 * testsuite/threads/threadc.c:
18232 * testsuite/threads/threadd.c:
18233 * testsuite/threads/threade.c:
18234 * testsuite/threads/threadf.c:
18235 * testsuite/threads/threadg.c:
18236 * testsuite/threads/threadh.c:
18237 * testsuite/threads/threadi.c:
18238 move all of these under tests
18240 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18243 * tests/Makefile.am:
18246 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18248 * docs/gst/gstreamer-sections.txt:
18249 * tests/sched/.cvsignore:
18250 * tests/sched/Makefile.am:
18251 * tests/sched/cases/(fs-fs).xml:
18252 * tests/sched/cases/(fs-i-fs).xml:
18253 * tests/sched/cases/(fs-i-i-fs).xml:
18254 * tests/sched/cases/(fs-i-q[i-fs]).xml:
18255 * tests/sched/dynamic-pipeline.c:
18256 * tests/sched/interrupt1.c:
18257 * tests/sched/interrupt2.c:
18258 * tests/sched/interrupt3.c:
18259 * tests/sched/runtestcases:
18260 * tests/sched/runxml.c:
18261 * tests/sched/sched-stress.c:
18262 * tests/sched/sort.c:
18263 * tests/sched/testcases:
18264 * tests/sched/testcases1.tc:
18265 * tests/seeking/.cvsignore:
18266 * tests/seeking/Makefile.am:
18267 * tests/seeking/seeking1.c:
18268 * tests/threadstate/.cvsignore:
18269 * tests/threadstate/Makefile.am:
18270 * tests/threadstate/test1.c:
18271 * tests/threadstate/test2.c:
18272 * tests/threadstate/threadstate1.c:
18273 * tests/threadstate/threadstate2.c:
18274 * tests/threadstate/threadstate3.c:
18275 * tests/threadstate/threadstate4.c:
18276 * tests/threadstate/threadstate5.c:
18277 remove obsolete tests
18279 * tests/bench-complexity.scm:
18280 * tests/bench-mass_elements.scm:
18281 * tests/complexity.c:
18282 * tests/complexity.gnuplot:
18283 * tests/instantiate/.cvsignore:
18284 * tests/instantiate/Makefile.am:
18285 * tests/instantiate/caps.c:
18286 * tests/mass_elements.c:
18287 * tests/network-clock-utils.scm:
18288 * tests/network-clock.scm:
18290 First pass at cleaning up tests/ dir before moving the rest
18291 Combined with CVS surgery
18293 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18296 queue has moved, update
18298 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18300 * docs/gst/gstreamer-sections.txt:
18301 remove double entries from the docs
18302 * gst/gst_private.h:
18303 * gst/gstinfo.c: (_gst_debug_init):
18304 remove the THREAD debug category
18308 * docs/gst/gstreamer.types:
18309 * plugins/elements/gstqueue.c: (gst_queue_get_type),
18310 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
18311 completely move queue and fix up debugging categories
18313 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18315 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18316 make initialization portable, using LL is not
18318 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18320 * win32/common/gstconfig.h:
18323 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18325 * win32/common/libgstreamer.def:
18326 rename symbols; sort base section
18328 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18330 * gst/gstclock.c: (do_linear_regression):
18331 remove crack non-portable handrolled DEBUG macro
18333 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18335 * docs/random/release:
18337 * win32/common/gstenumtypes.c: (register_gst_object_flags),
18338 (gst_object_flags_get_type), (register_gst_bin_flags),
18339 (gst_bin_flags_get_type), (register_gst_buffer_flag),
18340 (gst_buffer_flag_get_type), (register_gst_bus_flags),
18341 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18342 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
18343 (gst_caps_flags_get_type), (register_gst_clock_return),
18344 (gst_clock_return_get_type), (register_gst_clock_entry_type),
18345 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18346 (gst_clock_flags_get_type), (register_gst_state),
18347 (gst_state_get_type), (register_gst_state_change_return),
18348 (gst_state_change_return_get_type), (register_gst_state_change),
18349 (gst_state_change_get_type), (register_gst_element_flags),
18350 (gst_element_flags_get_type), (register_gst_core_error),
18351 (gst_core_error_get_type), (register_gst_library_error),
18352 (gst_library_error_get_type), (register_gst_resource_error),
18353 (gst_resource_error_get_type), (register_gst_stream_error),
18354 (gst_stream_error_get_type), (register_gst_event_type_flags),
18355 (gst_event_type_flags_get_type), (register_gst_event_type),
18356 (gst_event_type_get_type), (register_gst_seek_type),
18357 (gst_seek_type_get_type), (register_gst_seek_flags),
18358 (gst_seek_flags_get_type), (register_gst_format),
18359 (gst_format_get_type), (register_gst_index_certainty),
18360 (gst_index_certainty_get_type), (register_gst_index_entry_type),
18361 (gst_index_entry_type_get_type),
18362 (register_gst_index_lookup_method),
18363 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18364 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18365 (gst_index_resolver_method_get_type), (register_gst_index_flags),
18366 (gst_index_flags_get_type), (register_gst_debug_level),
18367 (gst_debug_level_get_type), (register_gst_debug_color_flags),
18368 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18369 (gst_iterator_result_get_type), (register_gst_iterator_item),
18370 (gst_iterator_item_get_type), (register_gst_message_type),
18371 (gst_message_type_get_type), (register_gst_mini_object_flags),
18372 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18373 (gst_pad_link_return_get_type), (register_gst_flow_return),
18374 (gst_flow_return_get_type), (register_gst_activate_mode),
18375 (gst_activate_mode_get_type), (register_gst_pad_direction),
18376 (gst_pad_direction_get_type), (register_gst_pad_flags),
18377 (gst_pad_flags_get_type), (register_gst_pad_presence),
18378 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18379 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18380 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18381 (gst_plugin_error_get_type), (register_gst_plugin_flags),
18382 (gst_plugin_flags_get_type), (register_gst_rank),
18383 (gst_rank_get_type), (register_gst_query_type),
18384 (gst_query_type_get_type), (register_gst_tag_merge_mode),
18385 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18386 (gst_tag_flag_get_type), (register_gst_task_state),
18387 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18388 (gst_alloc_trace_flags_get_type),
18389 (register_gst_type_find_probability),
18390 (gst_type_find_probability_get_type), (register_gst_uri_type),
18391 (gst_uri_type_get_type), (register_gst_parse_error),
18392 (gst_parse_error_get_type):
18393 * win32/common/gstenumtypes.h:
18394 * win32/common/gstversion.h:
18395 update visual studio generated files
18397 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18399 * win32/vs6/libgstbase.dsp:
18400 * win32/vs6/libgstelements.dsp:
18401 update project files for new locations
18403 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18408 reinstate and update
18413 * docs/random/LICENSE:
18416 2005-11-30 Edward Hervey <edward@fluendo.com>
18418 * gst/gsttypefind.c: (gst_type_find_register):
18419 * gst/gsttypefind.h:
18420 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18421 (gst_type_find_factory_dispose):
18422 * gst/gsttypefindfactory.h:
18423 Fix memory leak in GstTypeFindFactory.
18425 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18428 * plugins/elements/Makefile.am:
18429 * plugins/elements/gstelements.c:
18430 * plugins/elements/gstqueue.c:
18431 move queue from core to the elements plugin
18433 2005-11-29 Andy Wingo <wingo@pobox.com>
18435 * libs/gst/base/gstbasetransform.h:
18436 * libs/gst/base/gstbasesrc.h:
18437 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18439 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18440 of pointers by which to pad very extensible base classes (like the
18441 ones in libs/gst/base).
18443 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18445 * docs/gst/gstreamer-docs.sgml:
18446 * docs/gst/gstreamer-sections.txt:
18447 * docs/libs/gstreamer-libs-docs.sgml:
18448 * docs/libs/gstreamer-libs-sections.txt:
18449 moving documentation from core to lib
18451 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18453 * check/Makefile.am:
18455 * docs/gst/Makefile.am:
18457 * gst/base/.cvsignore:
18458 * gst/base/Makefile.am:
18460 * gst/base/gstadapter.c:
18461 * gst/base/gstadapter.h:
18462 * gst/base/gstbasesink.c:
18463 * gst/base/gstbasesink.h:
18464 * gst/base/gstbasesrc.c:
18465 * gst/base/gstbasesrc.h:
18466 * gst/base/gstbasetransform.c:
18467 * gst/base/gstbasetransform.h:
18468 * gst/base/gstcollectpads.c:
18469 * gst/base/gstcollectpads.h:
18470 * gst/base/gstpushsrc.c:
18471 * gst/base/gstpushsrc.h:
18472 * gst/base/gsttypefindhelper.c:
18473 * gst/base/gsttypefindhelper.h:
18474 * gst/check/Makefile.am:
18475 * gst/check/gstcheck.c:
18476 * gst/check/gstcheck.h:
18477 * gst/net/Makefile.am:
18478 * gst/net/gstnet.h:
18479 * gst/net/gstnetclientclock.c:
18480 * gst/net/gstnetclientclock.h:
18481 * gst/net/gstnettimepacket.c:
18482 * gst/net/gstnettimepacket.h:
18483 * gst/net/gstnettimeprovider.c:
18484 * gst/net/gstnettimeprovider.h:
18485 * libs/gst/Makefile.am:
18486 * libs/gst/base/Makefile.am:
18487 * libs/gst/base/gstbasetransform.c:
18488 * libs/gst/check/Makefile.am:
18489 * plugins/elements/Makefile.am:
18491 CVS surgery + support to move base, check, and net out of gst
18494 2005-11-29 Andy Wingo <wingo@pobox.com>
18496 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18498 * gst/gststructure.h (struct _GstStructure): Only one pointer of
18501 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18503 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18505 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18507 * gst/gstobject.h: (struct _GstObject): Only one pointer of
18508 padding; reduces object size by about 30%. We don't expect
18509 anything else to go into gstobject.
18511 * gst/gstminiobject.h (struct _GstMiniObject)
18512 (struct _GstMiniObjectClass): Only one pointer of padding; the
18513 payload is only a pointer and two ints anyway. For the class there
18514 are only two methods as well.
18516 * gst/gstelement.h (struct _GstElementClass): Removed
18517 the state_changed signal callback, it is not used.
18519 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18521 * docs/gst/gstreamer.types:
18522 fix includes, though they are a little dinky
18524 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18526 * check/Makefile.am:
18527 look in the right place for elements, a lot more chance of
18530 remove indexers and elements subdirs
18531 * plugins/Makefile.am:
18532 make indexers conditional
18534 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18538 * plugins/elements/Makefile.am:
18539 * plugins/elements/gstcapsfilter.c:
18540 * plugins/elements/gstfilesink.c:
18541 * plugins/elements/gstfilesrc.c:
18542 * plugins/elements/gstidentity.c:
18543 * plugins/indexers/Makefile.am:
18544 do CVS surgery and related build fixery to move elements
18545 and indexers in a new gstreamer/plugins directory, out of the
18548 2005-11-29 Andy Wingo <wingo@pobox.com>
18550 * check/Makefile.am:
18551 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18552 * pkgconfig/gstreamer-net.pc.in:
18553 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18556 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18558 * tools/Makefile.am:
18559 * tools/gst-complete.1.in:
18560 * tools/gst-complete.c:
18561 * tools/gst-compprep.1.in:
18562 * tools/gst-compprep.c:
18563 removing -compprep and -complete
18565 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18567 * gst/gstevent.c: (gst_event_new_new_segment),
18568 (gst_event_parse_new_segment):
18570 fix #320529 - clean up new_segment API and structure.
18571 Let's hope everyone was using the methods, and not the structure.
18573 2005-11-29 Edward Hervey <edward@fluendo.com>
18575 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18576 (gst_base_sink_event), (gst_base_sink_do_sync),
18577 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18578 Properly handle non GST_FORMAT_TIME segment
18579 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18580 Properly handle non GST_FORMAT_TIME segment
18581 * gst/gstsegment.c:
18582 This function is valid if the accumulator is 0 and the format
18583 is different from the requested format.
18585 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18587 * docs/gst/gstreamer-sections.txt:
18588 Add gst_query_new_seeking and gst_query_parse_seeking to the
18591 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18593 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18594 Treat a pad alloc with new caps the same as if we were not
18595 negotiated, in order to allow a changing upstream output
18596 to produce a new format of data.
18598 2005-11-29 Edward Hervey <edward@fluendo.com>
18600 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18601 (gst_base_transform_event), (gst_base_transform_eventfunc):
18602 The event virtual method is now properly implemented, with a default
18604 Sub classes should call the parent_class event method. They should
18605 return FALSE if they had a problem handling the given event, or don't
18606 want GstBaseTransform to send that even downstream
18607 * gst/elements/gstidentity.c: (gst_identity_class_init),
18608 (gst_identity_init), (gst_identity_event),
18609 (gst_identity_transform_ip), (gst_identity_set_property),
18610 (gst_identity_get_property):
18611 * gst/elements/gstidentity.h:
18612 Added the single-segment boolean property.
18613 If set to TRUE, it will output a single segment of data, starting from
18614 0, will eat up all incoming newsegment, and modify the timestamp of the
18615 buffers accordingly
18617 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
18619 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18620 Don't ref NULL target pad (#322751). Improve docs.
18622 2005-11-29 Michael Smith <msmith@fluendo.com>
18624 * gst/gstregistryxml.c: (load_plugin):
18625 Don't crash if we failed to load a feature from a plugin.
18627 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18629 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18631 use more check API and less GLib API
18633 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18636 don't run checks if we don't have check
18637 * common/check.mak:
18638 remove the registry when running make torture
18639 * docs/gst/gstreamer-sections.txt:
18640 remove second multiply
18641 * gst/gstqueue.c: (gst_queue_loop):
18642 fix a compile warning when disabling debug
18644 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18647 Hey! Let's print the pad name if the pointer != NULL instead
18648 of when it == NULL :-)
18650 2005-11-28 Wim Taymans <wim@fluendo.com>
18652 * check/gst/gstutils.c: (GST_START_TEST):
18653 Updated check, add some scaling accuracy checking code.
18655 * gst/gstutils.c: (gst_util_div128_64),
18656 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18657 (gst_util_uint64_scale_int):
18658 Fix 6 times faster division code. Optimize for common
18659 1/1 and less common X/1 cases.
18661 2005-11-28 Wim Taymans <wim@fluendo.com>
18663 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18666 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18667 (do_linear_regression), (gst_clock_add_observation):
18669 Release lock when the clock cannot be slaved.
18670 Catch the case where the regression returned an invalid denominator.
18672 * gst/gstutils.c: (gst_util_div128_64_iterate),
18673 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18674 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18675 Add protentially more performant non-iterative 128/64 divide function
18676 that unfortunatly does not work yet.
18677 Shortcut the trivial 0/X = 0 case.
18678 Remove the warnings on overflow.
18680 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18682 * gst/gstplugin.c: (gst_plugin_register_func):
18683 everything causing a plugin not to load should be at least a WARNING
18685 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18687 * docs/random/ensonic/dparams.txt:
18688 some TODOs for the next dev cycle
18689 * libs/gst/controller/gstcontroller.c:
18690 (gst_controlled_property_set_interpolation_mode),
18691 (gst_controlled_property_new):
18692 * libs/gst/controller/gstcontroller.h:
18693 use base type to assign acccessor functions
18695 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18697 * check/Makefile.am:
18698 Oops, that should have been top_srcdir
18700 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18702 * check/Makefile.am:
18703 * check/elements/fdsrc.c: (GST_START_TEST):
18704 Use a cmdline define to specify the location of a file to use for
18705 testing, to avoid breaking distcheck.
18707 2005-11-28 Andy Wingo <wingo@pobox.com>
18709 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18711 2005-11-28 Edward Hervey <edward@fluendo.com>
18713 * tools/gst-launch.c: (main):
18714 Clarify the output strings, makes it easier to translate.
18717 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18720 don't try and build net if we don't even have <sys/socket.h>
18722 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18724 * check/Makefile.am:
18725 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18726 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18727 Add tests for fdsrc seekability
18729 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18730 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18731 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18732 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18733 * gst/elements/gstfdsrc.h:
18734 fdsrc should not be a 'live' source.
18735 Implement seeking on seekable fd's.
18737 * gst/gstquery.c: (gst_query_new_seeking),
18738 (gst_query_parse_seeking):
18740 Implement SEEKING query functions:
18741 *_new_seeking and *_parse_seeking
18743 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18745 * gst/gstelement.c: (gst_element_dispose):
18748 * gst/gstiterator.c:
18749 * gst/gststructure.c:
18752 * libs/gst/controller/gstcontroller.c:
18753 (gst_controlled_property_set_interpolation_mode):
18754 * libs/gst/controller/gstcontroller.h:
18755 * libs/gst/controller/gstinterpolation.c:
18756 (interpolate_none_get_enum_value_array):
18757 support controlling enums
18759 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18762 Improve documentation for gst_value_union().
18765 Change return value for union, intersect and subtract functions
18766 from gint to gboolean.
18768 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18770 * gst/gstvalue.c: (gst_value_serialize_any_list),
18771 (gst_value_transform_any_list_string),
18772 (gst_value_deserialize_list), (gst_value_deserialize_array),
18773 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18774 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18775 (gst_value_set_fraction_range_full),
18776 (gst_value_deserialize_fraction_range),
18777 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18778 (gst_value_deserialize_boolean),
18779 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18780 (gst_value_serialize_float), (gst_value_deserialize_float),
18781 (gst_string_wrap), (gst_value_deserialize_string),
18782 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18783 (gst_value_union_int_range_int_range),
18784 (gst_value_intersect_int_range_int_range),
18785 (gst_value_intersect_double_range_double_range),
18786 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18787 (gst_value_subtract_int_range_int_range),
18788 (gst_value_subtract_double_double_range),
18789 (gst_value_subtract_double_range_double_range),
18790 (gst_value_deserialize_fraction):
18792 Use gint, gdouble and gchar in our API instead of int, double and
18793 char (and make usage in gstvalue.c more consistent).
18795 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18797 * check/Makefile.am:
18798 * libs/gst/controller/Makefile.am:
18799 * libs/gst/dataprotocol/Makefile.am:
18800 fix up Makefile.am and remove GST_ENABLE_NEW
18802 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18806 * gst/base/Makefile.am:
18807 * gst/check/Makefile.am:
18808 * gst/elements/Makefile.am:
18809 * gst/net/Makefile.am:
18810 update LDFLAGS use some more
18812 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18814 * common/m4/gst-doc.m4:
18817 2005-11-26 Edward Hervey <edward@fluendo.com>
18819 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18820 This shouldn't issue a g_warning since it returns NULL if it
18821 couldn't find the plugin, and all functions using this behave
18822 properly on a NULL return. Switching to a GST_WARNING.
18824 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18826 * gst/gstbin.c: (gst_bin_handle_message_func):
18827 Don't leak clock messages.
18829 2005-11-25 Wim Taymans <wim@fluendo.com>
18831 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18832 (gst_util_uint64_scale_int):
18833 Optimisations, remove unneeded vars.
18835 2005-11-25 Wim Taymans <wim@fluendo.com>
18837 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18838 Added more checks for the high precision uint64 cases.
18840 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18841 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18842 Implement high precision (guint64 * guint64) / guint64.
18844 2005-11-24 Wim Taymans <wim@fluendo.com>
18846 * gst/base/gstbasesrc.c: (gst_base_src_query):
18847 Fix wrong percentage query.
18849 * gst/gstutils.c: (gst_util_uint64_scale),
18850 (gst_util_uint64_scale_int):
18851 Add some more common cases that can be handled
18852 efficiently to _scale.
18854 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18856 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18857 (gst_mini_object_suite):
18858 don't use check calls from threads; check probably isn't
18859 threadsafe and using a lock to make it threadsafe would
18860 defeat the purpose of this check
18861 * gst/check/gstcheck.c:
18862 * gst/check/gstcheck.h:
18863 use GST_DEBUG some more
18865 2005-11-24 Wim Taymans <wim@fluendo.com>
18867 * gst/gstutils.c: (gst_util_uint64_scale),
18868 (gst_util_uint64_scale_int):
18869 Chain trivial case to _scale_int.
18871 2005-11-24 Wim Taymans <wim@fluendo.com>
18873 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18874 Added test for scaling.
18879 * gst/gstutils.c: (gst_util_uint64_scale_int):
18880 Implemented high precision scaling code.
18882 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18885 do not crash on pad==NULL
18887 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18889 Patch by: Stefan Kost
18891 * common/gtk-doc.mak:
18892 * docs/gst/Makefile.am:
18893 * docs/libs/Makefile.am:
18894 Fix distcheck issues for the libraries docs build
18897 2005-11-24 Michael Smith <msmith@fluendo.com>
18899 * docs/manual/basics-helloworld.xml:
18900 Fix bug #315027: memory leak in example code in docs.
18902 2005-11-24 Michael Smith <msmith@fluendo.com>
18904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18905 Unlock the PREROLL_LOCK in a failure case.
18907 2005-11-24 Wim Taymans <wim@fluendo.com>
18909 * docs/gst/gstreamer-sections.txt:
18910 * gst/base/gstadapter.h:
18911 * gst/base/gstbasesink.h:
18912 * gst/base/gstbasesrc.h:
18913 * gst/base/gstbasetransform.h:
18914 * gst/base/gstpushsrc.h:
18915 * gst/elements/gstfakesink.h:
18916 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18917 * gst/elements/gstfakesrc.h:
18918 * gst/elements/gstfilesink.h:
18919 * gst/elements/gstfilesrc.h:
18922 * gst/gstbuffer.c: (_gst_buffer_copy):
18925 * gst/gstchildproxy.c:
18927 * gst/gstelement.c:
18928 * gst/gstelementfactory.c:
18929 * gst/gstelementfactory.h:
18931 * gst/gstghostpad.h:
18933 * gst/gstinterface.h:
18934 * gst/gstminiobject.c:
18935 * gst/gstminiobject.h:
18938 * gst/gstpadtemplate.h:
18939 * gst/gstpipeline.h:
18940 * gst/gstpluginfeature.h:
18943 * gst/gsttaglist.c:
18944 * gst/gsttaglist.h:
18945 * gst/gsttagsetter.c:
18946 * gst/gsttagsetter.h:
18949 * gst/gsttypefind.h:
18952 * gst/net/gstnetclientclock.c:
18953 * gst/net/gstnetclientclock.h:
18954 * gst/net/gstnettimepacket.c:
18955 * gst/net/gstnettimeprovider.c:
18956 * gst/net/gstnettimeprovider.h:
18959 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18961 * configure.ac: back to HEAD
18963 === release 0.9.6 ===
18965 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18968 releasing 0.9.6, "Always On Time"
18970 2005-11-23 Wim Taymans <wim@fluendo.com>
18972 * docs/gst/gstreamer-sections.txt:
18973 * gst/glib-compat.c:
18974 * gst/gsttagsetter.c:
18976 * gst/net/gstnetclientclock.c:
18977 * gst/net/gstnettimepacket.h:
18980 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18982 * docs/faq/using.xml:
18983 * docs/libs/tmpl/gstcontrol.sgml:
18984 * docs/manual/advanced-dparams.xml:
18985 * docs/manual/appendix-checklist.xml:
18986 * docs/manual/basics-elements.xml:
18987 * docs/pwg/other-source.xml:
18988 * docs/random/moving-plugins:
18990 * tools/gst-launch.1.in:
18991 remove mentions of sinesrc
18993 2005-11-23 Michael Smith <msmith@fluendo.com>
18995 * docs/gst/gstreamer-sections.txt:
18996 Update for new API and API changes.
18998 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19000 Documentation typo fix.
19001 * gst/net/gstnettimepacket.c:
19002 Documentation fixes for arguments.
19004 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19006 * gst/gststructure.c: (gst_structure_get_fraction),
19007 (gst_structure_parse_value),
19008 (gst_structure_fixate_field_nearest_fraction):
19009 * gst/gststructure.h:
19010 * gst/gstutils.c: (gst_util_uint64_scale_int):
19012 * scripts/update-funcnames:
19014 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19015 Make gst_structure_fixate_field_nearest_fraction take a numerator
19016 and denominator argument instead of a GValue
19017 add gst_structure_get_fraction helper function.
19019 2005-11-23 Wim Taymans <wim@fluendo.com>
19021 * docs/design/part-TODO.txt:
19024 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19025 * gst/net/gstnetclientclock.h:
19026 Use parent fields for timeout and window_size.
19028 2005-11-23 Andy Wingo <wingo@pobox.com>
19030 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19031 rate_num/rate_denom change.
19033 * gst/net/gstnetclientclock.c
19034 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19035 OBJECT_LOCK. Don't call add_observation with the lock.
19037 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19039 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19041 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19042 deal with rate as a fraction whose numerator and denominator are
19043 GstClockTime values.
19044 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19045 master; the other fields are protected by the SLAVE_LOCK.
19046 (do_linear_regression): Note that this must be called with the
19048 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19049 OBJECT_LOCK. Call set_calibration instead of touching the
19050 variables directly.
19051 (gst_clock_set_property, gst_clock_get_property): Protect
19052 master/slave parameters with the SLAVE_LOCK.
19054 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19055 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19056 note that all of the instance variables that add_observation and
19057 the set_master functions use are protected by that lock and not
19059 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19061 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19062 the caller to take the object lock.
19064 2005-11-23 Wim Taymans <wim@fluendo.com>
19066 * gst/gsterror.c: (_gst_core_errors_init):
19068 Add error for clock stuff.
19070 * gst/gstpipeline.c: (gst_pipeline_change_state),
19071 (gst_pipeline_set_clock):
19072 Post clock error when clock cannot be used in a pipeline.
19074 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19076 * docs/gst/gstreamer-sections.txt:
19077 make two symbols from gstinfo private for the docs
19078 * gst/base/gstcollectpads.h:
19080 fix doc typos, update docs
19082 2005-11-22 Wim Taymans <wim@fluendo.com>
19084 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19085 (gst_base_sink_wait), (gst_base_sink_do_sync),
19086 (gst_base_sink_handle_event):
19087 * gst/base/gstbasesink.h:
19088 No need to store the clock, the parent element class already
19091 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19092 Updates for clock_set returning a gboolean
19094 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19095 (gst_clock_id_wait_async), (gst_clock_class_init),
19096 (gst_clock_init), (gst_clock_finalize),
19097 (gst_clock_get_internal_time), (gst_clock_get_time),
19098 (gst_clock_slave_callback), (gst_clock_set_master),
19099 (gst_clock_get_master), (do_linear_regression),
19100 (gst_clock_add_observation), (gst_clock_set_property),
19101 (gst_clock_get_property):
19103 Implement master/slave. When setting a clock as a slave, a
19104 periodic timeout is scheduled to sample master and slave times.
19105 Then the slave clock is recalibrated to match offset and rate
19106 of the master clock.
19107 Update logging a bit.
19108 Add flag so that a clock can state that is cannot be slaved to
19111 * gst/gstelement.c: (gst_element_set_clock):
19112 * gst/gstelement.h:
19113 The set clock returns a gboolean for when an element cannot
19114 deal with the selected clock in the pipeline.
19116 * gst/gstpipeline.c: (gst_pipeline_change_state),
19117 (gst_pipeline_set_clock):
19118 * gst/gstpipeline.h:
19119 Handle the case where the selected clock cannot be set on
19122 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19123 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19124 (gst_net_client_clock_set_property),
19125 (gst_net_client_clock_get_property),
19126 (gst_net_client_clock_observe_times):
19127 * gst/net/gstnetclientclock.h:
19128 Use regression code in GstClock parent, remove duplicated
19131 2005-11-22 Michael Smith <msmith@fluendo.com>
19133 * gst/gstutils.c: (gst_util_clock_time_scale):
19135 * docs/gst/gstreamer-sections.txt:
19136 Rename method to have extra underscore.
19138 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
19140 * gst/elements/Makefile.am:
19141 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
19142 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19143 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19144 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
19145 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
19146 * gst/elements/gstfakesrc.h:
19147 * gst/gstqueue.c: (queue_leaky_get_type):
19148 correctly fix GEnumValues so that nick is the short lowercase
19150 * tools/gst-inspect.c: (print_element_properties_info):
19151 also show the nick, since it's useful to use from parse_launch
19155 2005-11-22 Michael Smith <msmith@fluendo.com>
19157 * gst/gstutils.c: (gst_util_clocktime_scale):
19159 * docs/gst/gstreamer-sections.txt:
19160 Add util method for scaling a clocktime by a fraction. Useful
19161 implementation is left as an exercise for the reader.
19163 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19165 * gst/gstvalue.c: (gst_value_collect_fraction_range):
19166 If needed, allocate storage in the destination value during
19169 2005-11-22 Edward Hervey <edward@fluendo.com>
19171 * docs/gst/gstreamer-sections.txt:
19174 * gst/gsturitype.c:
19175 * gst/gsturitype.h:
19176 * gst/gstutils.c: (gst_util_set_object_arg):
19177 * tools/gst-compprep.c: (main):
19178 * tools/gst-inspect.c: (print_element_properties_info):
19179 Removed GstURI, closes bug #321061
19181 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19183 * check/gst/gststructure.c: (GST_START_TEST):
19184 * gst/gststructure.c: (gst_structure_parse_value):
19185 Oops, broke automatic string type parsing.
19186 Add a test to catch it in future.
19188 2005-11-22 Andy Wingo <wingo@pobox.com>
19190 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
19191 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
19192 Actually rename the function implementations. Grr.
19194 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19196 * check/gst/capslist.h:
19198 * check/gst/gststructure.c: (GST_START_TEST),
19199 (gst_structure_suite):
19200 Test automatic value type detection in gst_structure_from_string.
19201 * gst/gststructure.c: (gst_structure_parse_value):
19202 Add fraction as a type we try and guess automatically in
19203 caps/structure strings.
19205 2005-11-22 Andy Wingo <wingo@pobox.com>
19207 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
19209 * gst/gsttagsetter.h:
19210 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
19211 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
19212 (gst_tag_setter_add_tag_valist)
19213 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
19214 _add_values, _add_valist, and _add_valist_values. Since this is an
19215 interface the function suffixes should be more explicit so
19216 language binding don't end up with element.add_valist ->
19217 gst_tag_setter_add_valist, for example. Fixes #322069.
19219 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19221 * check/gst/gstcaps.c: (GST_START_TEST):
19222 Extend caps string tests to check that a caps to string
19223 conversion is reversible and produces the same caps.
19225 * gst/gststructure.c: (gst_structure_value_get_generic_type):
19226 Output "fraction" as the generic type fraction range, so caps
19227 serialisation and deserialisation works.
19228 * check/gst/capslist.h:
19229 * gst/gstvalue.c: (gst_value_deserialize_fraction):
19230 Support 'MIN' and 'MAX' for deserialising fractions.
19232 2005-11-22 Andy Wingo <wingo@pobox.com>
19234 * gst/gstevent.h (gst_event_new_new_segment)
19235 (gst_event_parse_new_segment, gst_event_new_buffer_size)
19236 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
19237 Renamed from *_newsegment, *_buffersize, *_notarget.
19239 * scripts/update-funcnames: New script, performs the changes
19242 2005-11-22 Wim Taymans <wim@fluendo.com>
19244 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19245 Make sure the GstFlowReturn is returned.
19247 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
19248 (gst_bus_add_signal_watch):
19250 add gst_bus_add_signal_watch_full.
19252 * gst/gstplugin.c: (gst_plugin_load_file):
19253 Small style cleanup.
19255 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19257 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
19258 Block the fakesrc srcpad when we send an event, to avoid
19259 contention on the stream_lock causing random test failures.
19261 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19263 * check/gst/gstvalue.c: (GST_START_TEST):
19264 * gst/gstvalue.c: (gst_value_fraction_subtract):
19267 2005-11-22 Stefan Kost <ensonic@users.sf.net>
19270 include "gstchildproxy.h"
19271 * gst/gstchildproxy.h:
19272 * libs/gst/controller/gstcontroller.h:
19273 use G_GNUC_NULL_TERMINATED
19275 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19277 * check/gst/capslist.h:
19278 * check/gst/gstcaps.c: (GST_START_TEST):
19279 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19280 * gst/gststructure.c: (gst_structure_parse_range),
19281 (gst_structure_fixate_field_nearest_fraction):
19282 * gst/gststructure.h:
19283 * gst/gstvalue.c: (gst_value_init_fraction_range),
19284 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
19285 (gst_value_collect_fraction_range),
19286 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
19287 (gst_value_set_fraction_range_full),
19288 (gst_value_get_fraction_range_min),
19289 (gst_value_get_fraction_range_max),
19290 (gst_value_serialize_fraction_range),
19291 (gst_value_transform_fraction_range_string),
19292 (gst_value_compare_fraction_range),
19293 (gst_value_deserialize_fraction_range),
19294 (gst_value_intersect_fraction_fraction_range),
19295 (gst_value_intersect_fraction_range_fraction_range),
19296 (gst_value_subtract_fraction_fraction_range),
19297 (gst_value_subtract_fraction_range_fraction),
19298 (gst_value_subtract_fraction_range_fraction_range),
19299 (gst_value_collect_fraction), (gst_value_fraction_multiply),
19300 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
19301 (gst_value_transform_string_fraction), (_gst_value_initialize):
19303 Implement fraction ranges and extend GstFraction to support
19304 arithmetic subtraction, as well as deserialization from integer
19305 strings such as "100"
19306 Add a testsuite as for int and double range set operations
19308 2005-11-21 Andy Wingo <wingo@pobox.com>
19310 * gst/gsttaglist.h:
19312 * gst/gststructure.h: Add glib-compat.h.
19314 2005-11-21 Wim Taymans <wim@fluendo.com>
19316 * gst/gstbin.c: (gst_bin_change_state_func):
19319 2005-11-21 Wim Taymans <wim@fluendo.com>
19321 * gst/gstsegment.h:
19322 And add a nice define too.
19324 2005-11-21 Wim Taymans <wim@fluendo.com>
19326 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
19327 (gst_segment_new), (gst_segment_free), (gst_segment_init),
19328 (gst_segment_set_duration), (gst_segment_set_last_stop),
19329 (gst_segment_set_seek), (gst_segment_set_newsegment),
19330 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19331 (gst_segment_clip):
19332 * gst/gstsegment.h:
19333 Make binding friendly.
19335 2005-11-21 Andy Wingo <wingo@pobox.com>
19337 * gst/gsttagsetter.h:
19338 * gst/gsttaglist.h:
19339 * gst/gststructure.h:
19341 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
19344 * gst/gsterror.c (_gst_core_errors_init):
19345 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
19348 * gst/Makefile.am (gst_headers): Add glib-compat.h.
19349 (noinst_HEADERS): noinst the -private.
19351 2005-11-21 Michael Smith <msmith@fluendo.com>
19354 * gst/gstregistry.h:
19355 Remove unimplemented declarations for which we can see no sensible
19358 2005-11-21 Andy Wingo <wingo@pobox.com>
19360 * gst/gst.h: Include glib-compat.h.
19362 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
19364 * gst/glib-compat.c: Include the public and the private header.
19366 * gst/glib-compat-private.h: Copied here from glib-compat.h.
19370 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
19372 * check/gst/gstevent.c (create_custom_events): Check that
19373 FLUSH_STOP is serialized.
19375 * check/elements/identity.c (event_func):
19376 * check/elements/fakesrc.c (event_func): No stream lock, the core
19379 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
19380 stream lock taking, yay.
19382 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
19383 ensure that core takes the stream lock.
19385 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
19388 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
19389 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
19390 it already. For the flush start we do take it though so we get the
19391 right preroll state change messages.
19393 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
19394 the stream lock here, the core does it for us.
19396 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19397 GST_STREAM_GET_LOCK.
19398 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
19399 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
19400 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19401 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19402 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
19403 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19405 * gst/gstpad.c: Update for stream lock name change.
19407 * gst/base/gstbasesink.c: Update for preroll lock name change.
19409 2005-11-21 Wim Taymans <wim@fluendo.com>
19411 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19412 (gst_clock_get_master):
19414 * gst/gstsystemclock.c: (gst_system_clock_init):
19415 Convert Clock flags to object flags.
19416 Added methods to manage master/slave clocks.
19418 2005-11-21 Wim Taymans <wim@fluendo.com>
19420 * check/gst/gstsegment.c: (GST_START_TEST):
19421 * docs/design/part-TODO.txt:
19422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19423 (gst_base_sink_event), (gst_base_sink_do_sync),
19424 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19425 (gst_base_sink_query), (gst_base_sink_change_state):
19426 * gst/base/gstbasesink.h:
19427 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19428 (gst_base_src_default_newsegment),
19429 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19430 (gst_base_src_get_range), (gst_base_src_loop),
19431 (gst_base_src_change_state):
19432 * gst/base/gstbasesrc.h:
19433 * gst/base/gstbasetransform.c:
19434 (gst_base_transform_prepare_output_buf),
19435 (gst_base_transform_event), (gst_base_transform_change_state):
19436 * gst/base/gstbasetransform.h:
19437 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19438 (gst_collect_pads_event):
19439 * gst/base/gstcollectpads.h:
19440 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19441 (gst_fake_src_create):
19442 * gst/elements/gstfakesrc.h:
19443 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19444 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19445 (gst_segment_set_last_stop), (gst_segment_set_seek),
19446 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19447 (gst_segment_to_running_time), (gst_segment_clip):
19448 * gst/gstsegment.h:
19449 More segment updates, replace code in plugins with segment
19452 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19454 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19455 Don't ignore sscanf results
19457 2005-11-21 Andy Wingo <wingo@pobox.com>
19459 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19462 * *.c: Ran scripts/update-macros. Oh yes.
19464 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19465 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19468 * scripts/update-macros: New script. Run it on your files to
19469 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19472 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19474 * docs/gst/Makefile.am:
19475 * docs/gst/gstreamer-docs.sgml:
19476 * docs/gst/gstreamer-sections.txt:
19477 * docs/gst/gstreamer.types:
19479 more docs fixes, add new api to the docs
19481 2005-11-21 Andy Wingo <wingo@pobox.com>
19483 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19484 state_broadcast call.
19486 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19488 2005-11-21 Julien MOUTTE <julien@moutte.net>
19490 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19491 function calls for arrays.
19493 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19495 * docs/random/ensonic/media-device-daemon.txt:
19496 wild idea, can this be done?
19497 * docs/gst/gstreamer-sections.txt:
19502 * gst/gstpluginfeature.c:
19506 doc fixes and additions
19508 2005-11-21 Andy Wingo <wingo@pobox.com>
19510 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
19511 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
19512 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
19513 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19514 private to the basesrc implementation.
19516 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19517 behalf of event function if necessary. It should no longer be
19518 necessary to take the stream lock in pad's event functions. Fixes
19521 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19522 * docs/gst/gstreamer-sections.txt:
19523 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19524 (gst_structure_fixate_field_nearest_double),
19525 (gst_structure_fixate_field_boolean):
19526 * gst/gststructure.h:
19527 * win32/common/libgstreamer.def:
19528 * win32/gstreamer.def:
19530 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19533 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19535 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19536 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19537 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19538 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19539 (gst_fdsrc_uri_handler_init):
19540 * gst/elements/gstfdsrc.h:
19541 Port fd:// URI handler from 0.8 to fdsrc
19543 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19545 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19546 (gst_value_serialize_fourcc):
19548 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19549 consistent with our other format defines (#320324).
19551 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19553 * gst/gstvalue.c: (gst_value_is_fixed):
19554 Revert previous commit. Value lists are by definition
19555 not fixed, as they are a list of possible values.
19557 2005-11-21 Andy Wingo <wingo@pobox.com>
19559 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19560 during the stable series if we need it. Fixes #319178.
19562 * gst/gstevent.c (gst_event_new_filler): Removed.
19564 * check/gst/gstevent.c: Update comment about filler events.
19566 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19568 * gst/gstvalue.c: (gst_value_is_fixed):
19569 Should handle both value arrays and value lists.
19571 2005-11-21 Andy Wingo <wingo@pobox.com>
19573 patch by: Alessandro Dessina <alessandro nnva org>
19575 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19576 functions to access arrays. Fixes #321962.
19578 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19580 * docs/gst/gstreamer.types:
19581 gst_collectpads_get_type => gst_collect_pads_get_type.
19583 * gst/base/gstbasetransform.c:
19584 Remove unused SIGNAL_HANDOFF enum.
19586 2005-11-21 Andy Wingo <wingo@pobox.com>
19588 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19589 the event type (upstream, downstream, serialized). Renamed
19590 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19591 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19592 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19594 * gst/gstevent.c: Update for new CUSTOM event names.
19596 * check/gst/gstevent.c: Update check for new CUSTOM event names.
19599 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19602 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19604 * docs/gst/gstreamer-sections.txt:
19605 * win32/common/libgstbase.def:
19606 * win32/libgstbase.def:
19607 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19608 (gst_collect_pads_class_init), (gst_collect_pads_init),
19609 (gst_collect_pads_finalize), (gst_collect_pads_new),
19610 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19611 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19612 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19613 (gst_collect_pads_start), (gst_collect_pads_stop),
19614 (gst_collect_pads_peek), (gst_collect_pads_pop),
19615 (gst_collect_pads_available), (gst_collect_pads_read),
19616 (gst_collect_pads_flush), (gst_collect_pads_event),
19617 (gst_collect_pads_chain):
19618 * gst/base/gstcollectpads.h:
19619 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19620 unimplemented functions as unimplemented. Add padding to
19621 GstCollectData. (#320766, #320423)
19623 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19625 * gst/gstmessage.c:
19626 Improve docs for DURATION message (usage of duration parameter)
19629 2005-11-20 Wim Taymans <wim@fluendo.com>
19631 * check/Makefile.am:
19632 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19636 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19637 (gst_segment_set_seek), (gst_segment_set_newsegment),
19638 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19639 (gst_segment_clip):
19640 * gst/gstsegment.h:
19641 Added segment helper structure and methods. Not fully implemented
19643 Added segment check.
19645 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
19647 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19648 Add a deserialisation test for fractions
19649 * examples/metadata/read-metadata.c: (message_loop),
19650 (make_pipeline), (main):
19651 Fix up metadata reading sample.
19652 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19654 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19655 Don't try and fixate empty caps
19656 * gst/gst_private.h:
19657 Wrap in G_BEGIN_DECLS/G_END_DECLS
19658 * gst/gstvalue.c: (gst_value_collect_fraction),
19659 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19660 (gst_value_transform_string_fraction),
19661 (gst_value_compare_fraction):
19662 Add some extra guards to ensure that we don't end up
19663 with an invalid denominator of 0 in a gstfraction and
19664 that fractions always get reduced.
19666 2005-11-20 Wim Taymans <wim@fluendo.com>
19668 * docs/gst/gstreamer-sections.txt:
19670 * gst/gstelement.c:
19679 2005-11-20 Wim Taymans <wim@fluendo.com>
19681 * docs/design/part-TODO.txt:
19683 Make a proper enum of the flag.
19685 2005-11-19 Wim Taymans <wim@fluendo.com>
19687 * docs/design/part-TODO.txt:
19688 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19689 (gst_format_to_quark), (gst_format_register):
19691 * gst/gstquery.c: (_gst_query_initialize),
19692 (gst_query_type_get_name), (gst_query_type_to_quark),
19693 (gst_query_type_register):
19695 Add type to quark and type to string conversions.
19697 2005-11-19 Andy Wingo <wingo@pobox.com>
19699 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19702 2005-11-19 Wim Taymans <wim@fluendo.com>
19704 * docs/design/part-TODO.txt:
19705 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19706 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19707 (gst_bin_handle_message_func):
19709 Make message handling overridable.
19711 2005-11-19 Andy Wingo <wingo@pobox.com>
19713 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19716 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19718 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19719 is a GstClockTime. Fixes #321710.
19721 * gst/gstclock.h (GstClock): Remove offset property. Add
19722 internal_calibration and external_calibration. Fix padding. Pad
19723 also by GstClockTime so we don't run into problems.
19725 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19726 (gst_clock_get_rate_offset): Remove.
19727 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19730 * gst/gstutils.c (g_static_rec_cond_wait)
19731 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19733 * gst/gstbin.c: Remove terrible continue_state prototype.
19735 * gst/gstelement.h (gst_element_continue_state): Make public.
19737 * gst/gstelement.h:
19738 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19739 by continue_state. Fixes #319389.
19741 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19742 Really fixes #168438. However I don't see anywhere where the
19743 filter function is called... stupid GStreamer...
19745 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19746 don't have a dispose function, so it won't get called when the
19747 object is unreffed, but oh well!
19749 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19750 allows a destroy function to be set so user_data can be freed.
19752 (gst_index_set_filter): Call gst_index_set_filter_full.
19754 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19756 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19757 string should produce an error, given the lack of a way to
19758 represent NULL strings. Fixes #165650.
19761 * gst/gstvalue.c (gst_value_array_append_value)
19762 (gst_value_array_prepend_value, gst_value_array_get_size)
19763 (gst_value_array_get_value): New API, copied from
19764 gst_value_list_*, only operates on arrays.
19765 (gst_value_list_append_value, gst_value_list_prepend_value)
19766 (gst_value_list_concat, gst_value_list_get_size)
19767 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19769 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19770 init_list, because it works on both.
19771 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19772 (gst_value_copy_list_or_array): Renamed from copy_list.
19773 (gst_value_free_list_or_array): Renamed from free_list.
19774 (gst_value_collect_list_or_array): Renamed from collect_list.
19775 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19776 (gst_value_list_or_array_peek_pointer): Renamed from
19778 (_gst_value_array_value_table, _gst_value_list_value_table):
19779 Update value table functions.
19780 (gst_value_compare_list_or_array): Renamed from compare_list.
19782 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19785 * gst/gsttaglist.c:
19786 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19787 GstTagList*. Fixes #143472.
19789 * gst/gststructure.h: Clarify what the foreach/map functions can
19790 or can't do to their arguments.
19792 2005-11-18 Wim Taymans <wim@fluendo.com>
19794 * gst/gstclock.c: (gst_clock_set_calibration),
19795 (gst_clock_get_calibration):
19797 Calibration can be set with internal time equal to current
19800 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19806 2005-11-18 Andy Wingo <wingo@pobox.com>
19809 * pkgconfig/gstreamer-net.pc.in:
19810 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19811 * pkgconfig/Makefile.am: Add net pkgconfig files.
19813 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19816 * gst/gstghostpad.c:
19822 2005-11-18 Andy Wingo <wingo@pobox.com>
19824 * gst/net/gstnetclientclock.c: Turn off debugging.
19826 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19827 times connverge somewhat. Can't make a real test.
19829 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19830 integer arithmetic. Return the minimum of the domain, which can be
19831 set as "internal" for gst_clock_set_calibration.
19832 (gst_net_client_clock_observe_times): Call _set_calibration.
19833 (gst_net_client_clock_new): Call _set_calibration instead of
19836 * check/net/gstnetclientclock.c (test_functioning): Use the right
19840 * gst/gstclock.c (gst_clock_get_calibration)
19841 (gst_clock_set_calibration): New functions, obsolete the ones I
19842 added yesterday. Doh. Precision issues mean we have to extrapolate
19843 from a point in the more recent past than 1970.
19844 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19846 (gst_clock_adjust_unlocked): Use the right calibration data.
19848 2005-11-18 Edward Hervey <edward@fluendo.com>
19850 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19851 Also reset the ->current_* values in READY->PAUSED
19853 2005-11-18 Andy Wingo <wingo@pobox.com>
19855 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19856 Whoops, check the right fd. Also add some debugging.
19857 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19858 (do_linear_regression): Add a crapload of debugging. Subtract off
19859 the minimum values from the input series to discard unneeded bits.
19860 Use only int arithmetic. There is still double arithmetic when
19861 calculating the intercept that needs fixing. Return boolean to
19862 indicate success; FALSE would mean the domain or range is too
19863 great. Still needs fixes.
19865 2005-11-18 Wim Taymans <wim@fluendo.com>
19867 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19868 For the current position in stream time, we need to subtract
19871 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19872 Release lock before calling the callback function of async
19875 2005-11-18 Andy Wingo <wingo@pobox.com>
19877 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19878 Port goes all the way to MAXUINT16.
19880 * gst/net/gstnettimeprovider.c: Make the port range the same as
19881 for the kernel: 0 assigns, otherwise ports are less than
19884 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19887 * check/net/gstnetclientclock.c (test_functioning): Add the start
19890 2005-11-18 Wim Taymans <wim@fluendo.com>
19892 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19893 (gst_bin_remove_func), (bin_bus_handler):
19895 Removing a clock provider from a bin, triggers a clock lost message
19896 so that a new clock will be selected.
19897 Adding a clock to a bin triggers a clock provider message.
19898 Make sure we reselect a clock when we received a clock lost message.
19899 Keep a reference to the element that provided the clock.
19901 2005-11-18 Andy Wingo <wingo@pobox.com>
19903 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19904 the clock initially so it produces values around the base time.
19905 (gst_net_client_clock_class_init): Typo fix.
19906 (gst_net_client_clock_thread): Add note on when the socket gets
19909 2005-11-17 Wim Taymans <wim@fluendo.com>
19911 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19912 Free remote and local time arrays.
19914 2005-11-17 Wim Taymans <wim@fluendo.com>
19916 * gst/net/gstnetclientclock.c: (do_linear_regression),
19917 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19918 Fix compilation, uninitialized vars and a forgotten continue.
19920 2005-11-17 Andy Wingo <wingo@pobox.com>
19922 * check/Makefile.am (check_PROGRAMS):
19923 * check/net/gstnetclientclock.c: Add a most minimal test for the
19924 net client clock. More to come later.
19926 * gst/net/gstnet.h:
19927 * gst/net/Makefile.am: Add netclientclock.
19929 * gst/net/gstnetclientclock.h:
19930 * gst/net/gstnetclientclock.c: New files, implement an untested
19931 GstClock that takes its time from a network time provider.
19932 Implements the algorithm in network-clock.scm.
19934 * tests/network-clock.scm (*window-size*): Rename from
19936 * tests/network-clock.scm (network-time):
19937 * tests/network-clock-utils.scm (q-push): Update callers.
19939 2005-11-17 Wim Taymans <wim@fluendo.com>
19941 * gst/gstbin.c: (gst_bin_provide_clock_func),
19942 (gst_bin_sort_iterator_new):
19943 And unref the child too..
19945 2005-11-17 Wim Taymans <wim@fluendo.com>
19947 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19948 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19949 Refactor the sort iterator so it can be used while holding the
19951 Make clock selection select a clock closest to the source.
19953 2005-11-17 Michael Smith <msmith@fluendo.com>
19955 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19956 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19958 Anonymous structs are a gcc (and some other compilers) extension, so
19959 don't use them. Since this is only for ABI-compatibility, and our
19960 API/ABI freeze is over in a few days, this whole thing will only
19961 last a few days, so don't bother trying to think up a meaningful
19962 name for the struct.
19964 2005-11-17 Andy Wingo <wingo@pobox.com>
19966 * gst/gstclock.h (GstClock): Add rate and offset properties,
19967 preserving ABI stability. Add rate/offset accessors. Will file bug
19968 for the freeze break.
19970 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19971 and offset, trying to keep precision and avoiding
19972 underflow/overflow.
19973 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19974 functions. Make gst_clock_set_time_adjust obsolete.
19975 (gst_clock_set_time_adjust): Note that this function is obsolete.
19976 Will file bug soon.
19978 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19979 greppable by using GST_PADDING-1+1.
19981 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19983 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19985 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19986 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19988 * gst/gstpadtemplate.h:
19989 * gst/gstpluginfeature.h:
19990 Don't use c++ style comments in headers (#321638).
19992 2005-11-16 Andy Wingo <wingo@pobox.com>
19994 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19997 * check/net/gstnettimeprovider.c: Check to see that the time
19998 provider actually provides times. Works, yo!
20000 2005-11-16 Wim Taymans <wim@fluendo.com>
20002 * check/Makefile.am:
20005 * check/elements/fakesrc.c: (GST_START_TEST):
20006 Set element to NULL before disposing it.
20008 2005-11-16 Andy Wingo <wingo@pobox.com>
20010 * gst/net/Makefile.am:
20011 * gst/net/gstnet.h:
20012 * gst/net/gstnettimeprovider.c:
20013 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20014 provider, include it from gstnet.h, and add it to the build.
20016 * gst/net/gstnettimepacket.h:
20017 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20018 sending and receiving.
20020 2005-11-16 Wim Taymans <wim@fluendo.com>
20022 * check/Makefile.am:
20023 Enable valgrind check.
20025 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20026 (gst_fake_src_alloc_buffer):
20029 2005-11-16 Wim Taymans <wim@fluendo.com>
20031 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20032 Call parent finalize too.
20034 2005-11-16 Wim Taymans <wim@fluendo.com>
20036 * check/Makefile.am:
20037 Enable valgrind check that should work fine now.
20039 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20040 * gst/gstqueue.c: (gst_queue_init):
20041 Fix memleaks in pad allocation.
20043 2005-11-16 Andy Wingo <wingo@pobox.com>
20045 * gst/net/Makefile.am:
20046 * gst/net/gstnet.h: New part of core to hold network elements and
20047 objects. Put in core because it exposes API that applications want
20048 to use. The library is named libgstnet-tempname right now because
20049 of the existing libgstnet in gst-plugins-base. Solution is
20050 probably to rename the one in plugins-base; will file a bug for
20053 * gst/net/gstnettimeprovider.c:
20054 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20055 get_time call over the network.
20058 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20060 * check/Makefile.am:
20061 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20062 get additions shortly.
20064 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20066 * gst/gstpad.c: (gst_pad_new_from_static_template):
20068 add gst_pad_new_from_static_template functions
20069 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20070 (gst_check_setup_sink_pad):
20071 * gst/elements/gsttee.c: (gst_tee_init):
20074 2005-11-16 Wim Taymans <wim@fluendo.com>
20076 * gst/gstpad.c: (gst_pad_pause_task):
20077 Removed warning, it's not really an error either.
20079 2005-11-16 Wim Taymans <wim@fluendo.com>
20081 * gst/base/gstbasetransform.c:
20082 (gst_base_transform_prepare_output_buf),
20083 (gst_base_transform_event):
20084 Check if the caps are NULL, this can happen if the element
20085 is shutting down and the pad caps are set to NULL.
20087 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20089 * gst/elements/gsttee.c: (gst_tee_init):
20090 fix pad template leak in tee
20092 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20094 * gst/glib-compat.c: (g_value_dup_gst_object):
20095 * gst/glib-compat.h:
20096 * gst/gstpad.c: (gst_pad_set_property):
20097 use gst_object_ref when setting the pad template; this will
20098 trigger the pad template leaks on GLib 2.6 and the slaves
20100 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20102 * gst/glib-compat.c: (gst_flags_get_first_value):
20103 * gst/glib-compat.h:
20104 * gst/gstregistryxml.c:
20105 remove functions copied from GLib 2.6
20107 2005-11-16 Michael Smith <msmith@fluendo.com>
20110 Don't link against VALGRIND_LIBS. That was always the wrong thing to
20111 do, but only breaks with newer valgrind versions. We're not a
20112 valgrind tool, we have no link-time dependencies on libcoregrind.
20114 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20116 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20118 * gst/gstmessage.h:
20121 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20123 * gst/base/gstbasesrc.c: (gst_base_src_init):
20124 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20125 * gst/gstqueue.c: (gst_queue_init):
20126 * gst/gstregistryxml.c: (load_feature):
20127 Revert all these unrefs, they don't even pass make check !
20129 2005-11-15 Johan Dahlin <johan@gnome.org>
20131 * gst/base/gstbasesrc.c: (gst_base_src_init):
20132 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20133 * gst/gstqueue.c: (gst_queue_init):
20134 Free pad templates, fixes a couple of leaks.
20136 2005-11-15 Daniel Fischer <dan at f3c dot com>
20138 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20140 * gst/gstpad.c: (gst_pad_get_property):
20141 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
20142 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
20145 2005-11-15 Wim Taymans <wim@fluendo.com>
20150 2005-11-15 Andy Wingo <wingo@pobox.com>
20152 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
20154 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
20155 using GST_CLOCK_TIME_NONE to disable base time management.
20156 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
20157 time if it was NONE before.
20158 (gst_pipeline_change_state): Only munge the base time if
20159 stream_time != GST_CLOCK_TIME_NONE.
20161 * check/gst/gstpipeline.c (test_base_time): Punt around the
20162 problem of the probe not being called, because that's not the
20163 issue I'm looking at. Add a check that setting stream_time to NONE
20164 disables base time management.
20166 2005-11-15 Wim Taymans <wim@fluendo.com>
20168 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20169 segment_stop == -1 at startup.
20171 * gst/base/gstbasetransform.c: (gst_base_transform_event),
20172 (gst_base_transform_change_state):
20173 Init segment values at start.
20175 2005-11-15 Wim Taymans <wim@fluendo.com>
20177 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20178 0 segment values are 0 in any format.
20180 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20181 * gst/base/gstbasetransform.h:
20182 Parse newsegment correctly in basetransform
20184 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20185 Sync to clock using updated segment values.
20187 2005-11-15 Andy Wingo <wingo@pobox.com>
20189 * check/gst/gstpipeline.c (test_base_time): Add check that the
20190 base time and stream time are reset correctly.
20192 2005-11-15 Wim Taymans <wim@fluendo.com>
20194 * docs/design/part-TODO.txt:
20195 Some more TODO items.
20197 2005-11-15 Andy Wingo <wingo@pobox.com>
20199 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
20200 error if the user selected "no clock" as the clocking method.
20202 * check/gst/gstpipeline.c (test_base_time): New test for buffer
20203 timestamps with live capture.
20205 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
20206 is 0 but we are a live source, timestamp the buffers using the
20209 2005-11-14 Stefan Kost <ensonic@users.sf.net>
20211 * docs/gst/gstreamer-sections.txt:
20213 * gst/gstghostpad.c:
20218 2005-11-14 Wim Taymans <wim@fluendo.com>
20221 add suppressions from Wim's Debian machine
20223 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
20226 add suppressions from Andy's AMD64 Ubuntu machine
20228 2005-11-14 Andy Wingo <wingo@pobox.com>
20230 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
20231 STATE_LOCK not necessary. Fixes #311489.
20233 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
20236 * gst/gstindex.c (gst_index_add_object): Note in the docs that
20237 this function is not implemented.
20239 2005-11-14 Julien MOUTTE <julien@moutte.net>
20241 * gst/base/gstbasetransform.c:
20242 (gst_base_transform_prepare_output_buf):
20243 Ref the source pad caps while we need them.
20246 2005-11-11 Wim Taymans <wim@fluendo.com>
20248 * docs/gst/gstreamer-sections.txt:
20249 Added some docs for GstCollectData.
20251 * gst/base/gstadapter.c:
20252 Some small code example fix.
20254 * gst/base/gstcollectpads.c:
20255 * gst/base/gstcollectpads.h:
20256 Document some more.
20258 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
20260 * configure.ac: back to HEAD
20262 === release 0.9.5 ===
20264 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
20267 releasing 0.9.5, "Bike Lunch Day"
20269 2005-11-11 Wim Taymans <wim@fluendo.com>
20271 * gst/gstbuffer.c: (_gst_buffer_copy):
20274 * gst/gstcaps.c: (gst_caps_is_equal):
20276 Make _is_equal fast in the trivial cases.
20278 * gst/gstminiobject.c:
20279 * gst/gstminiobject.h:
20280 More docs. Spifify .h file.
20285 2005-11-11 Wim Taymans <wim@fluendo.com>
20287 * gst/base/gstbasetransform.c:
20288 (gst_base_transform_prepare_output_buf),
20289 (gst_base_transform_handle_buffer):
20291 If we're processing a buffer and need to allocate an output
20292 buffer, we cannot accept a format change. If we did get a
20293 format change, we have to alloc a buffer ourselves of the
20296 2005-11-11 Wim Taymans <wim@fluendo.com>
20298 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
20299 While checking the flag for reentrancy in the gstcaps function
20300 is nice to detect recursive invocations, it also makes it
20301 impossible to call getcaps from multiple threads, which must be
20302 possible. So, checking for recursive calls has to go.
20304 2005-11-11 Michael Smith <msmith@fluendo.com>
20306 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20307 Don't sync on buffers that fall partially outside our current
20308 segment. Prevents an assertion failure/abort playing some files.
20310 2005-11-10 Andy Wingo <wingo@pobox.com>
20312 * check/gst/gstbin.c (test_message_state_changed_children): Style
20315 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
20316 gst_bus_poll with the signal watch. Ensures that poll and a signal
20317 watch see the same messages.
20319 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
20320 a poll and a watch at the same time get the same messages.
20322 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
20324 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
20325 * gst/gstcaps.c: (gst_caps_intersect):
20326 Don't call gst_caps_do_simplify - it doesn't respect order of caps
20327 and it's not needed.
20329 2005-11-10 Wim Taymans <wim@fluendo.com>
20331 * docs/design/part-TODO.txt:
20334 2005-11-10 Wim Taymans <wim@fluendo.com>
20336 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20337 * gst/base/gstbasesrc.c: (gst_base_src_wait),
20338 (gst_base_src_do_sync), (gst_base_src_get_range):
20339 Implement clock sync in base class.
20341 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
20343 patch by: Tim-Philipp Müller <tim at centricular dot net>
20345 * gst/gststructure.c: (gst_structure_parse_field),
20346 (gst_structure_from_string):
20347 Forward-port a 0.8 patch to handle escaped spaces in structure string,
20348 so that gst_parse_launch() can deal with spaces in filtered link
20349 caps (fixes #164479)
20350 * check/gst/capslist.h:
20351 * check/gst/gststructure.c: (GST_START_TEST):
20352 add unit tests for this change
20354 2005-11-10 Wim Taymans <wim@fluendo.com>
20356 * docs/gst/gstreamer-sections.txt:
20357 * gst/gstelement.c:
20358 * gst/gstelement.h:
20359 Fix docs, move some STATE macros to private.
20361 2005-11-10 Wim Taymans <wim@fluendo.com>
20363 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20364 Added check for bug #317341
20368 Some more spiffifying.
20370 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
20371 Call peer linkfunction if we are a source pad. Totally fixes
20375 Update docs, source pads should call the peer linkfunction
20376 so they can atomically perform the pad link.
20378 2005-11-09 Wim Taymans <wim@fluendo.com>
20382 Uber-spiffy-spiffify some more.
20384 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
20386 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
20387 * gst/elements/gstfilesink.c: (gst_file_sink_init):
20388 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20389 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
20390 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
20391 * gst/gstpad.c: (gst_pad_init):
20392 Use GST_DEBUG_FUNCPTR() more extensively.
20394 2005-11-09 Wim Taymans <wim@fluendo.com>
20396 * gst/gstobject.c: (gst_object_class_init):
20398 Documentation fixes.
20400 2005-11-09 Edward Hervey <edward@fluendo.com>
20402 * gst/gsttypefindfactory.c:
20405 2005-11-09 Edward Hervey <edward@fluendo.com>
20407 * gst/base/gsttypefindhelper.c:
20408 * gst/gsttypefind.c:
20409 * gst/gsttypefind.h:
20412 2005-11-09 Wim Taymans <wim@fluendo.com>
20414 * gst/gstiterator.c:
20421 2005-11-09 Wim Taymans <wim@fluendo.com>
20427 2005-11-09 Wim Taymans <wim@fluendo.com>
20429 * docs/gst/gstreamer-sections.txt:
20430 Moved the message async delivery private lock and cond
20431 to the private section.
20433 * gst/gstmessage.c:
20434 * gst/gstmessage.h:
20437 2005-11-09 Edward Hervey <edward@fluendo.com>
20439 * docs/gst/gstreamer-sections.txt:
20442 Document GstURIHandler
20444 2005-11-09 Wim Taymans <wim@fluendo.com>
20446 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20447 (gst_iterator_find_custom):
20448 * gst/gstiterator.h:
20451 2005-11-09 Wim Taymans <wim@fluendo.com>
20454 Document another field.
20456 * gst/gststructure.c:
20457 * gst/gststructure.h:
20460 2005-11-09 Wim Taymans <wim@fluendo.com>
20463 Documented structs.
20465 2005-11-09 Wim Taymans <wim@fluendo.com>
20467 * docs/gst/gstreamer-sections.txt:
20468 Added some new macros.
20475 2005-11-09 Wim Taymans <wim@fluendo.com>
20477 * docs/design/part-TODO.txt:
20478 Some more items for the TODO
20484 2005-11-09 Andy Wingo <wingo@pobox.com>
20486 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20487 to work on something else now tho...
20489 * gst/base/gstadapter.c: More adapter docs.
20491 * gst/elements/gstfilesink.c (gst_file_sink_start)
20492 (gst_file_sink_stop): New functions, replace the state change
20494 (gst_file_sink_class_init): Hook up the start and stop functions.
20495 (gst_file_sink_base_init): Don't set the state change handler any
20496 more. It was a bit ugly too, being set from here...
20497 (gst_file_sink_get_property, gst_file_sink_set_property):
20499 (gst_file_sink_set_location): More robust check that doesn't call
20500 GST_STATE. Ugggggg.
20502 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
20504 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20505 Hold STREAM_LOCK while pushing newsegment or tag events as well.
20507 2005-11-08 Wim Taymans <wim@fluendo.com>
20509 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20510 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20511 (gst_base_sink_chain), (gst_base_sink_change_state):
20512 * gst/base/gstbasesink.h:
20513 * gst/base/gstbasesrc.h:
20514 * gst/gstelement.h:
20516 Avoid excessive typechecking in macros.
20518 * gst/gstminiobject.c: (gst_mini_object_get_type),
20519 (gst_mini_object_init), (gst_mini_object_new),
20520 (gst_mini_object_free):
20521 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20522 (gst_object_finalize):
20523 Remove cruft code, optimize alloc_trace.
20525 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
20527 * docs/faq/gst-uninstalled:
20528 fix up PS1 for systems that try to reset it
20530 2005-11-07 Wim Taymans <wim@fluendo.com>
20532 * gst/base/gstbasesrc.c: (gst_base_src_init),
20533 (gst_base_src_get_range):
20534 Set the segment_end to -1 initially. Fixed typefind.
20536 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
20538 * gst/base/gstadapter.c:
20539 Debug category should be 'adapter', not 'GstAdapter'.
20541 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20542 (gst_collectpads_class_init), (gst_collectpads_init),
20543 (gst_collectpads_peek), (gst_collectpads_pop),
20544 (gst_collectpads_event), (gst_collectpads_chain):
20545 Add debug category and some debugging output. Use boilerplate
20546 macros. Remove some extraneous words from docs.
20548 2005-11-05 Andy Wingo <wingo@pobox.com>
20550 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20553 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20555 * docs/gst/gstreamer-sections.txt:
20558 * gst/gstminiobject.h:
20563 2005-11-04 Wim Taymans <wim@fluendo.com>
20565 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20566 Small update to stop at the configured segment_end
20569 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20571 * gst/gstregistry.c:
20572 * gst/gstregistry.h:
20575 2005-11-04 Edward Hervey <edward@fluendo.com>
20577 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20578 Check if we are doing a segment seek and have arrived at the
20579 end of that segment.
20581 2005-11-04 Wim Taymans <wim@fluendo.com>
20583 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20584 Don't leak a mutex unlock in case of an error.
20589 2005-11-04 Wim Taymans <wim@fluendo.com>
20591 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20593 Get the context to wake up only once.
20595 2005-11-03 Wim Taymans <wim@fluendo.com>
20597 * check/states/sinks.c: (GST_START_TEST):
20598 Uncomment fixed check.
20600 * docs/design/part-TODO.txt:
20603 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20604 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20605 (gst_base_sink_get_position):
20606 If we are going to PLAYING, post the right pending state
20607 when we post the intermediate paused message.
20609 * gst/gstelement.c: (gst_element_continue_state),
20610 (gst_element_set_state_func), (gst_element_change_state):
20611 Don't post state changes that were between the same state
20612 and were not ASYNC.
20614 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20616 * docs/gst/gstreamer-sections.txt:
20619 * gst/gstminiobject.h:
20622 more docs and doc style fixes
20624 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20626 * docs/gst/gstreamer-sections.txt:
20627 * gst/gstelement.c:
20628 * gst/gstminiobject.c:
20631 2005-11-03 Andy Wingo <wingo@pobox.com>
20633 * check/states/sinks.c (test_livesrc_sink): Add checks that the
20634 state-changed messages actually have the right order and the right
20637 2005-11-03 Wim Taymans <wim@fluendo.com>
20639 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20640 Added some more checks. Specifically the case where NO_PREROLL
20641 elements are in the pipeline.
20643 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20644 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20645 (gst_base_sink_get_position):
20646 Post READY->PAUSED state change messages too.
20647 Fix bug where VOID was posted as pending state...
20649 * gst/gstbin.c: (gst_bin_recalc_state):
20650 use _element_continue_state() to continue the state change.
20652 * gst/gstelement.c: (gst_element_continue_state),
20653 (gst_element_commit_state), (gst_element_set_state_func),
20654 (gst_element_change_state), (gst_element_change_state_func):
20655 Lots of state change cleanups, assign the STATE_RETURN in
20656 a new continue_state() function that also propagates the
20657 last return value from a state change to the app.
20658 Update some debug statements with proper category.
20660 2005-11-03 Wim Taymans <wim@fluendo.com>
20662 * docs/design/part-events.txt:
20663 * docs/design/part-gstpipeline.txt:
20664 * docs/design/part-messages.txt:
20665 * docs/design/part-overview.txt:
20666 * docs/design/part-seeking.txt:
20667 * docs/design/part-states.txt:
20668 * docs/design/part-trickmodes.txt:
20669 * docs/manual/advanced-position.xml:
20670 Small docs updates.
20673 People think !! is ugly, this looks better.
20675 * gst/gstpad.c: (gst_pad_set_blocked_async):
20676 Remove !! since it's fixed elsewhere now.
20678 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20680 * gst/gstminiobject.h:
20682 Add !! to _FLAG_IS_SET macros to make the result boolean.
20684 2005-11-03 Edward Hervey <edward@fluendo.com>
20686 * gst/gstpad.c: (gst_pad_set_blocked_async):
20687 comparing a flag and a gboolean rarely returns coherent results...
20688 Added two characters (!!) to make that work correctly.
20690 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20692 * gst/gstbus.c: (gst_bus_class_init):
20695 * gst/gstqueue.c: (gst_queue_loop):
20696 Don't assume a miniobject that isn't a buffer is an
20697 event (it could be that there is a refcounting
20698 problem somewhere and the pointer is stale and
20699 refers to an already destroyed miniobject).
20701 2005-11-03 Julien MOUTTE <julien@moutte.net>
20703 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20705 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20707 * docs/manual/advanced-position.xml:
20708 Update seek example and explanations to current 0.9 API.
20710 * gst/elements/gsttypefindelement.c:
20711 (gst_type_find_element_activate):
20712 Remove FIXME comment now that the found caps
20715 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20717 * gst/gstregistryxml.c: (load_feature):
20718 Add another GST_STR_NULL instance
20720 2005-11-02 Edward Hervey <edward@fluendo.com>
20722 * gst/gstpad.c: (handle_pad_block):
20723 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20725 2005-11-02 Wim Taymans <wim@fluendo.com>
20730 * gst/gstelement.c: (gst_element_commit_state):
20731 Remove unused value.
20733 * gst/gstiterator.c:
20734 Mention that the returned element is reffed in the docs.
20736 2005-11-02 Wim Taymans <wim@fluendo.com>
20738 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20739 (gst_pad_push), (gst_pad_push_event):
20740 Unlock blocked pads when they are flushed.
20742 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20745 * docs/gst/gstreamer-sections.txt:
20748 * gst/gstregistry.c: (gst_registry_scan_path_level):
20749 fix for a nasty little missed situation where an installed plug-in
20750 which was in the cache did not get overridden by an uninstalled one
20751 which was earlier in the plugin path because the newly created plugin
20752 for the uninstalled one (not in the registry) didn't get its
20753 ->registered set to TRUE
20755 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20757 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20758 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20759 (gst_collectpads_is_active), (gst_collectpads_collect),
20760 (gst_collectpads_collect_range), (gst_collectpads_start),
20761 (gst_collectpads_stop), (gst_collectpads_peek),
20762 (gst_collectpads_pop), (gst_collectpads_available),
20763 (gst_collectpads_read), (gst_collectpads_flush):
20764 Guard public API with assertions.
20767 Fix docs for gst_pad_set_link_function().
20769 2005-11-02 Johan Dahlin <johan@gnome.org>
20771 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20772 Unref found_caps after we used it.
20774 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20776 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20777 Don't try to ref NULL.
20779 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20781 * win32/common/config.h.in:
20782 provide a GST_FUNCTION that just gives a string for now
20784 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20786 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20787 (gst_object_flags_get_type), (register_gst_bin_flags),
20788 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20789 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20790 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20791 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20792 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20793 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20794 (gst_clock_flags_get_type), (register_gst_state),
20795 (gst_state_get_type), (register_gst_state_change_return),
20796 (gst_state_change_return_get_type), (register_gst_state_change),
20797 (gst_state_change_get_type), (register_gst_element_flags),
20798 (gst_element_flags_get_type), (register_gst_core_error),
20799 (gst_core_error_get_type), (register_gst_library_error),
20800 (gst_library_error_get_type), (register_gst_resource_error),
20801 (gst_resource_error_get_type), (register_gst_stream_error),
20802 (gst_stream_error_get_type), (register_gst_event_type),
20803 (gst_event_type_get_type), (register_gst_seek_type),
20804 (gst_seek_type_get_type), (register_gst_seek_flags),
20805 (gst_seek_flags_get_type), (register_gst_format),
20806 (gst_format_get_type), (register_gst_index_certainty),
20807 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20808 (gst_index_entry_type_get_type),
20809 (register_gst_index_lookup_method),
20810 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20811 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20812 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20813 (gst_index_flags_get_type), (register_gst_debug_level),
20814 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20815 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20816 (gst_iterator_result_get_type), (register_gst_iterator_item),
20817 (gst_iterator_item_get_type), (register_gst_message_type),
20818 (gst_message_type_get_type), (register_gst_mini_object_flags),
20819 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20820 (gst_pad_link_return_get_type), (register_gst_flow_return),
20821 (gst_flow_return_get_type), (register_gst_activate_mode),
20822 (gst_activate_mode_get_type), (register_gst_pad_direction),
20823 (gst_pad_direction_get_type), (register_gst_pad_flags),
20824 (gst_pad_flags_get_type), (register_gst_pad_presence),
20825 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20826 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20827 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20828 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20829 (gst_plugin_flags_get_type), (register_gst_rank),
20830 (gst_rank_get_type), (register_gst_query_type),
20831 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20832 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20833 (gst_tag_flag_get_type), (register_gst_task_state),
20834 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20835 (gst_alloc_trace_flags_get_type),
20836 (register_gst_type_find_probability),
20837 (gst_type_find_probability_get_type), (register_gst_uri_type),
20838 (gst_uri_type_get_type), (register_gst_parse_error),
20839 (gst_parse_error_get_type):
20840 * win32/common/gstversion.h:
20841 update win32 copies
20843 2005-11-01 Luca Ognibene <luogni@tin.it>
20846 fix docs. popt is dead, long live GOption.
20848 2005-10-31 Wim Taymans <wim@fluendo.com>
20853 2005-10-31 Andy Wingo <wingo@pobox.com>
20857 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20859 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20860 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20861 the possibility of deadlocks here if code calling notify() or
20862 set() has a lock that can be taken in another notify handler (ABBA
20863 with class lock and e.g. python GIL state lock).
20865 2005-10-28 Julien MOUTTE <julien@moutte.net>
20867 * gst/gstbus.c: Doc updates.
20869 2005-10-28 Wim Taymans <wim@fluendo.com>
20871 * docs/design/part-TODO.txt:
20872 * gst/gstiterator.c:
20873 * gst/gstsystemclock.c:
20874 * gst/gstsystemclock.h:
20877 2005-10-28 Edward Hervey <edward@fluendo.com>
20879 * docs/gst/gstreamer-docs.sgml:
20880 * docs/gst/gstreamer-sections.txt:
20881 the GstURIType documentation page is private, it only defines GstURIType
20882 which should be defined in the GstURIHandler page
20884 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20886 * gst/gstbin.c: (gst_bin_class_init):
20889 Documentation updates.
20891 2005-10-28 Wim Taymans <wim@fluendo.com>
20893 * docs/gst/gstreamer-sections.txt:
20896 Documented the clocks.
20898 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20900 * docs/gst/gstreamer-sections.txt:
20901 move some macros to private sections
20902 * gst/gstminiobject.c:
20903 * gst/gstminiobject.h:
20904 add descriptions provided by ds and some more
20906 mark macro as to be removed
20908 2005-10-28 Wim Taymans <wim@fluendo.com>
20910 * docs/design/part-TODO.txt:
20911 Add an item to TODO.
20913 * gst/gstiterator.c: (gst_iterator_fold),
20914 (gst_iterator_find_custom):
20915 * gst/gstiterator.h:
20918 2005-10-28 Wim Taymans <wim@fluendo.com>
20920 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20921 (gst_base_transform_init):
20924 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20925 An EOS event marks the queue as completely filled.
20927 2005-10-27 Wim Taymans <wim@fluendo.com>
20929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20930 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20931 Some more debugging.
20933 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20934 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20935 (gst_base_transform_event), (gst_base_transform_getrange),
20936 (gst_base_transform_chain):
20937 * gst/base/gstbasetransform.h:
20939 Protect transform and concurrent buffer alloc with a new lock.
20940 Try not to break ABI/API.
20942 2005-10-27 Wim Taymans <wim@fluendo.com>
20944 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20945 (gst_base_src_init), (gst_base_src_query),
20946 (gst_base_src_default_newsegment),
20947 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20948 (gst_base_src_send_event), (gst_base_src_event_handler),
20949 (gst_base_src_pad_get_range), (gst_base_src_loop),
20950 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20951 (gst_base_src_start), (gst_base_src_deactivate),
20952 (gst_base_src_activate_push), (gst_base_src_change_state):
20953 Move some stuff around and cleanup things.
20955 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20957 * gst/base/gstbasesrc.c: (gst_base_src_query):
20958 Add missing break statements.
20960 2005-10-27 Wim Taymans <wim@fluendo.com>
20962 * check/gst/gstbin.c: (GST_START_TEST):
20963 An extra refcount is taken in basesrc.
20965 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20966 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20967 (gst_base_src_loop):
20968 Small cleanups, check for flushing after being unlocked from the
20969 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20970 Don't send out EOS when going to READY.
20972 2005-10-27 Wim Taymans <wim@fluendo.com>
20974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20975 (gst_base_sink_get_position):
20978 * gst/gstbin.c: (message_check), (bin_replace_message),
20979 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20980 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20981 (bin_query_duration_init), (bin_query_duration_fold),
20982 (bin_query_duration_done), (bin_query_generic_fold),
20984 * tools/gst-launch.c: (main):
20987 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20989 * examples/controller/audio-example.c: (main):
20990 * examples/queue/queue.c: (event_loop):
20991 * gst/base/gstbasetransform.h:
20992 * gst/gstelement.c: (gst_element_send_event):
20994 * gst/gstpad.c: (gst_pad_send_event):
20997 changing log priority in error situations
20999 2005-10-25 Wim Taymans <wim@fluendo.com>
21001 * gst/gstbin.c: (message_check), (bin_replace_message),
21002 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21003 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21004 (bin_query_duration_init), (bin_query_duration_fold),
21005 (bin_query_duration_done), (bin_query_generic_fold),
21007 Some doc and debug updates.
21008 Cache previously requested query DURATION for speed. invalidate
21009 cached duration if element posts a DURATION message.
21011 2005-10-25 Wim Taymans <wim@fluendo.com>
21013 * docs/design/part-TODO.txt:
21016 * gst/gstbin.c: (message_check), (bin_replace_message),
21017 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21018 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21019 (bin_query_duration_init), (bin_query_duration_fold),
21020 (bin_query_duration_done), (bin_query_generic_fold),
21022 Handle SEGMENT_START/DONE messages correctly.
21023 More evolved query algorithm that handles duration queries
21026 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21027 (gst_element_get_state_func), (gst_element_abort_state),
21028 (gst_element_commit_state), (gst_element_lost_state):
21029 Some more debugging.
21031 * gst/gstmessage.h:
21034 2005-10-25 Wim Taymans <wim@fluendo.com>
21036 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21037 Don't use invalid stream_time.
21039 * gst/gstevent.c: (gst_event_new_newsegment):
21040 stream_time in newsegment cannot be undefined.
21042 2005-10-24 Wim Taymans <wim@fluendo.com>
21047 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21049 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21051 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21053 * docs/libs/tmpl/gstdparam.sgml:
21054 * docs/libs/tmpl/gstdplinint.sgml:
21055 * docs/libs/tmpl/gstdpman.sgml:
21056 * docs/libs/tmpl/gstdpsmooth.sgml:
21057 * docs/libs/tmpl/gstunitconvert.sgml:
21060 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21065 === release 0.9.4 ===
21067 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21070 releasing 0.9.4, "Tyrannosaurus Rex"
21072 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21074 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21075 (gst_file_sink_get_current_offset):
21076 Use fseeko() and ftello() if available. When falling back on
21077 lseek() to get the current offset, fflush() first to make sure
21078 everything is up-to-date and we get the right offset.
21080 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21082 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21083 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21084 * gst/gsterror.c: (_gst_stream_errors_init):
21086 * gst/gstqueue.c: (gst_queue_loop):
21088 remove prematurely added error category and clean up the instances
21090 2005-10-21 Wim Taymans <wim@fluendo.com>
21092 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21093 (gst_base_sink_get_position), (gst_base_sink_query),
21094 (gst_base_sink_change_state):
21095 Simply set the right flag when going to playing, that's all
21096 we need to do instead of calling a function inside the object
21097 lock (that could take the lock as well and deadlock)
21099 2005-10-21 Wim Taymans <wim@fluendo.com>
21101 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21102 (gst_base_src_loop):
21103 Don't warn, the peer element knows what to do best when
21104 the seek failed, it might try something else.
21106 2005-10-21 Wim Taymans <wim@fluendo.com>
21108 * gst/base/gstbasesrc.c: (gst_base_src_init),
21109 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21112 2005-10-21 Wim Taymans <wim@fluendo.com>
21114 * docs/design/part-segments.txt:
21117 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21118 Correctly set caps, even on the subbufer.
21120 2005-10-21 Wim Taymans <wim@fluendo.com>
21122 * docs/gst/gstreamer-docs.sgml:
21123 * docs/gst/gstreamer-sections.txt:
21124 * gst/gstelement.h:
21127 * gst/gstmessage.h:
21130 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21134 And 2% more doc coverage.
21136 2005-10-21 Andy Wingo <wingo@pobox.com>
21138 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
21139 position reporting.
21141 2005-10-20 Wim Taymans <wim@fluendo.com>
21143 * gst/gsterror.c: (gst_error_get_message):
21146 * gst/gststructure.c:
21151 2005-10-20 Wim Taymans <wim@fluendo.com>
21156 Another 1% more coverage.
21158 2005-10-20 Wim Taymans <wim@fluendo.com>
21160 * docs/gst/gstreamer-sections.txt:
21161 * gst/gstelement.c: (gst_element_get_state_func),
21162 (gst_element_abort_state), (gst_element_commit_state),
21163 (gst_element_lost_state):
21165 * gst/gstquery.c: (gst_query_set_position),
21166 (gst_query_parse_position), (gst_query_set_duration),
21167 (gst_query_parse_duration), (gst_query_new_convert):
21169 Yay! 1% more docs coverage.
21171 2005-10-20 Wim Taymans <wim@fluendo.com>
21174 * gst/gstquery.c: (gst_query_set_position),
21175 (gst_query_parse_position), (gst_query_set_duration),
21176 (gst_query_parse_duration), (gst_query_new_convert):
21178 * gst/gstutils.c: (gst_element_query_convert):
21180 Docs and consistency fixes.
21182 2005-10-20 Wim Taymans <wim@fluendo.com>
21188 2005-10-20 Wim Taymans <wim@fluendo.com>
21190 * gst/gstbin.c: (message_check), (bin_replace_message),
21191 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21192 (update_degree), (gst_bin_sort_iterator_next),
21193 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
21194 Reworked the message handling a bit, cache the messages instead of
21195 only the senders. alows us to do more in the future.
21197 2005-10-20 Wim Taymans <wim@fluendo.com>
21199 * docs/design/part-TODO.txt:
21202 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21203 (gst_base_sink_query):
21204 Don't use clock time to report position when in EOS.
21206 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
21208 * tools/gst-inspect.c: (print_interfaces),
21209 (print_element_properties_info), (print_element_info):
21210 Fix interface output with gst-inspect -a; don't print
21211 newlines after double/float properties.
21213 2005-10-20 Wim Taymans <wim@fluendo.com>
21215 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21216 (gst_base_sink_query):
21217 Speed up current position calculation.
21219 * gst/base/gstbasesrc.c: (gst_base_src_query),
21220 (gst_base_src_default_newsegment):
21221 Correctly set stream position in newsegment.
21223 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
21224 (update_degree), (gst_bin_sort_iterator_next),
21225 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
21226 * gst/gstmessage.c: (gst_message_new_custom):
21227 Clean up debugging info
21229 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21230 (gst_queue_loop), (gst_queue_handle_src_query):
21233 2005-10-19 Wim Taymans <wim@fluendo.com>
21235 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21236 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
21237 Fix query handling again.
21239 2005-10-19 Wim Taymans <wim@fluendo.com>
21241 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21242 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
21243 * gst/base/gstbasesrc.c: (gst_base_src_query):
21244 * gst/elements/gstfilesink.c: (gst_file_sink_query):
21245 * gst/elements/gsttypefindelement.c:
21246 (gst_type_find_handle_src_query), (find_element_get_length),
21247 (gst_type_find_element_activate):
21250 * gst/gstquery.c: (gst_query_new_position),
21251 (gst_query_set_position), (gst_query_parse_position),
21252 (gst_query_new_duration), (gst_query_set_duration),
21253 (gst_query_parse_duration), (gst_query_set_segment),
21254 (gst_query_parse_segment):
21256 Bundling query position/duration is not a good idea since duration
21257 does not change much and we don't want to recalculate it for every
21258 position query, so they are separated again..
21259 Base value in segment query is not needed.
21261 * gst/gstqueue.c: (gst_queue_handle_src_query):
21262 * gst/gstutils.c: (gst_element_query_position),
21263 (gst_element_query_duration), (gst_pad_query_position),
21264 (gst_pad_query_duration):
21266 Updates for query API change.
21267 Added some docs here and there.
21269 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
21271 * check/gst/gstbin.c: (GST_START_TEST):
21272 * check/gst/gstghostpad.c: (GST_START_TEST):
21273 * check/pipelines/cleanup.c: (GST_START_TEST):
21274 wait on thread to die so we can check refcount correctly
21276 2005-10-18 Wim Taymans <wim@fluendo.com>
21278 * check/pipelines/stress.c: (GST_START_TEST):
21279 Make check a little more time consuming.
21281 2005-10-18 Wim Taymans <wim@fluendo.com>
21283 * check/Makefile.am:
21284 * check/pipelines/stress.c: (GST_START_TEST),
21285 (simple_launch_lines_suite), (main):
21286 Small state change torture test.
21288 * docs/design/part-states.txt:
21289 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21290 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
21291 (gst_base_sink_change_state):
21292 Never take state lock from streaming thread, clean up ugly
21293 hacks. Unfortunatly core does not yet support nice ways to
21294 async commit state.
21296 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
21298 Start state recalc if a STATE_DIRTY message is posted, but only
21299 on the toplevel bin.
21301 * gst/gstelement.c: (gst_element_sync_state_with_parent),
21302 (gst_element_get_state_func), (gst_element_abort_state),
21303 (gst_element_commit_state), (gst_element_lost_state),
21304 (gst_element_set_state_func), (gst_element_change_state):
21305 * gst/gstelement.h:
21306 State variables are now protected with the LOCK, the state
21307 lock is only used to serialize _set_state().
21309 2005-10-18 Wim Taymans <wim@fluendo.com>
21311 * check/gst/gstbin.c: (GST_START_TEST):
21312 * check/gst/gstmessage.c: (GST_START_TEST):
21313 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21314 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
21316 * gst/gstelement.c: (gst_element_abort_state),
21317 (gst_element_commit_state), (gst_element_lost_state):
21318 * gst/gstmessage.c: (gst_message_new_state_changed),
21319 (gst_message_new_state_dirty), (gst_message_new_segment_start),
21320 (gst_message_new_segment_done), (gst_message_new_duration),
21321 (gst_message_parse_state_changed),
21322 (gst_message_parse_segment_start),
21323 (gst_message_parse_segment_done), (gst_message_parse_duration):
21324 * gst/gstmessage.h:
21325 * tools/gst-launch.c: (event_loop):
21326 Seriously, this is better than a previous commit as we only need
21327 to notify the fact that an element changed state in a streaming
21328 thread, marking the state of the parents dirty, hence the
21329 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
21332 2005-10-18 Wim Taymans <wim@fluendo.com>
21334 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
21335 (gst_bin_recalc_func):
21336 * gst/gstelement.c: (gst_element_set_clock),
21337 (gst_element_abort_state), (gst_element_lost_state):
21338 Cleanups, prepare for state change fixes.
21340 2005-10-18 Wim Taymans <wim@fluendo.com>
21343 * gst/gstelement.c: (gst_element_class_init),
21344 (gst_element_set_state), (gst_element_set_state_func):
21345 * gst/gstelement.h:
21346 Pending ABI changes.
21347 GThreadPool in GstBinClass to monitor async state changes.
21348 state_cookie in GstElement to detect concurrent gst/set state.
21349 set_state is now virtual too in case a very complicated element
21350 has to be constructed.
21352 2005-10-18 Wim Taymans <wim@fluendo.com>
21354 * check/gst/gstbin.c: (GST_START_TEST):
21355 * check/gst/gstmessage.c: (GST_START_TEST):
21356 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21357 * gst/gstbin.c: (bin_bus_handler):
21358 * gst/gstelement.c: (gst_element_commit_state),
21359 (gst_element_lost_state):
21360 * gst/gstmessage.c: (gst_message_new_state_changed),
21361 (gst_message_new_segment_start), (gst_message_new_segment_done),
21362 (gst_message_new_duration), (gst_message_parse_state_changed),
21363 (gst_message_parse_segment_start),
21364 (gst_message_parse_segment_done), (gst_message_parse_duration):
21365 * gst/gstmessage.h:
21366 * tools/gst-launch.c: (event_loop):
21367 Make messages future proof.
21368 state-change gets a flag if it was a message comming from the
21370 segment-start/stop can also be specified in other formats.
21371 A message to notify an app that a pipeline changed playback
21373 Also fix a GstMessage leak in -launch
21375 2005-10-18 Andy Wingo <wingo@pobox.com>
21377 * gst/gstelement.c (gst_element_dispose): More helpful message.
21379 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
21381 reviewed by: <delete if not using a buddy>
21383 * common/gtk-doc.mak:
21385 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
21387 * gst/gstregistry.c: (gst_registry_scan_path_level):
21388 unref a plug-in we get that was already initialized
21390 2005-10-18 Stefan Kost <ensonic@users.sf.net>
21392 * docs/gst/gstreamer-sections.txt:
21393 * docs/libs/gstreamer-libs-sections.txt:
21394 * gst/gstelement.h:
21395 add new api entries
21396 hide internal macro
21398 2005-10-17 Andy Wingo <wingo@pobox.com>
21400 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21403 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21405 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21407 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21408 (gst_element_get_state_func): Better debug message.
21409 (gst_element_commit_state): s/INFO/DEBUG/.
21410 (gst_element_lost_state, gst_element_change_state):
21412 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21413 (gst_message_new_custom): s/INFO/LOG/.
21415 2005-10-17 Michael Smith <msmith@fluendo.com>
21417 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21418 Check if end time is valid using end time, not start time.
21420 2005-10-17 Stefan Kost <ensonic@users.sf.net>
21422 * check/gst-libs/controller.c: (GST_START_TEST),
21423 (gst_controller_suite):
21424 * libs/gst/controller/gstcontroller.c:
21425 (gst_controlled_property_set_interpolation_mode):
21426 * libs/gst/controller/gstcontroller.h:
21427 * libs/gst/controller/gstinterpolation.c:
21428 * testsuite/controller/.cvsignore:
21429 * testsuite/controller/Makefile.am:
21430 * testsuite/controller/interpolator.c:
21431 merge controller testsuites
21433 remove mem-chunk from docs
21435 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21437 * gst/gstmemchunk.c:
21438 * gst/gstmemchunk.h:
21439 * gst/gsttrashstack.c:
21440 * gst/gsttrashstack.h:
21441 out. get out. you're fired. to the Attic !
21443 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21445 * gst/gstcaps.c: (gst_caps_intersect):
21446 fix signedness issues in a (hopefully) correct way
21447 * gst/gstelement.c: (gst_element_pads_activate):
21449 * gst/gstobject.c: (gst_object_set_parent):
21452 2005-10-17 Julien MOUTTE <julien@moutte.net>
21454 * gst/gstvalue.h: Fix prototypes.
21456 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21458 * docs/gst/gstreamer-sections.txt:
21459 * gst/gst.c: (gst_version_string):
21461 * gst/gstversion.h.in:
21462 * win32/common/libgstreamer.def:
21463 add gst_version_string ()
21465 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21469 * gst/gst.c: (init_post):
21470 * win32/common/config.h.in:
21472 * gst/gstcaps.c: (gst_caps_intersect):
21473 use gint64, the range could be bigger than a guint
21475 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21478 document potential problem in 2038
21480 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21482 * gst/gstcaps.c: (gst_caps_intersect):
21483 Fix guint j diving under 0
21485 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21488 * win32/common/config.h:
21489 * win32/common/config.h.in:
21490 check for process.h, declares getpid() on Windows
21492 include process.h if we have it
21493 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21494 * gst/gstmemchunk.h:
21495 fix signedness issues
21496 * win32/common/libgstreamer.def:
21499 2005-10-16 Julien MOUTTE <julien@moutte.net>
21501 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21502 fix. Because of unsigned ints, caps intersection was going nuts and
21503 trying to access structures with G_MAXUINT index. That fixes
21504 videotestsrc ! ffmpegcolorspace ! fakesink
21505 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21508 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21511 use the gettext macro
21512 * gst/elements/gstelements.c:
21514 * gst/indexers/gstindexers.c:
21515 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21516 * win32/common/config.h:
21518 * win32/common/config.h.in:
21519 add the template to generate config.h
21520 * win32/common/gstenumtypes.c:
21521 * win32/common/gstversion.h:
21524 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21526 * gst/gst.c: (gst_version):
21527 * gst/gstversion.h.in:
21530 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21533 Oops, add missing closing bracket.
21535 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21538 use common m4's for argument checking
21540 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21542 * docs/gst/gstreamer-sections.txt:
21544 Add GST_EVENT_TYPE_NAME() macro.
21546 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21549 * gst/gstpluginfeature.c:
21551 privatize more symbols
21553 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21556 add srcdir, builddir includes to GST_ALL_CFLAGS, since
21557 everything that uses GStreamer API should have the includes
21559 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21561 * docs/gst/gstreamer-sections.txt:
21562 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21564 give each value a _get_type, removes the DATA exports
21566 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21570 remove _gst_registry_auto_load, not used anymore
21571 * gst/gstbin.c: (gst_bin_get_type):
21573 * gst/gstelement.c: (gst_element_get_type):
21574 * gst/gstelement.h:
21575 * gst/gstobject.c: (gst_object_get_type):
21577 * gst/gstpad.c: (gst_pad_get_type):
21579 make _get_type functions similar, fixes data export from library
21581 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21584 correctly make conditionals
21585 * gst/elements/Makefile.am:
21586 * gst/elements/gstelements.c:
21587 fix typo causing fdsrc not to build
21589 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21591 * testsuite/Makefile.am:
21592 * testsuite/bytestream/.cvsignore:
21593 * testsuite/bytestream/Makefile.am:
21594 * testsuite/bytestream/filepadsink.c:
21595 * testsuite/bytestream/gstbstest.c:
21596 * testsuite/bytestream/test1.c:
21597 * testsuite/bytestream/testfile1:
21598 * testsuite/caps/normalisation.c:
21599 * testsuite/caps/random.c: (main):
21600 * testsuite/cleanup/.cvsignore:
21601 * testsuite/cleanup/Makefile.am:
21602 * testsuite/cleanup/cleanup1.c:
21603 * testsuite/cleanup/cleanup2.c:
21604 * testsuite/cleanup/cleanup3.c:
21605 * testsuite/cleanup/cleanup4.c:
21606 * testsuite/cleanup/cleanup5.c:
21607 * testsuite/controller/interpolator.c:
21608 * testsuite/debug/printf_extension.c: (main):
21609 * testsuite/elements/tee.c:
21610 * testsuite/negotiation/.cvsignore:
21611 * testsuite/negotiation/Makefile.am:
21612 * testsuite/negotiation/pad_link.c:
21613 * testsuite/pad/Makefile.am:
21614 * testsuite/pad/chainnopull.c:
21615 * testsuite/pad/getnopush.c:
21616 * testsuite/pad/link.c:
21617 * testsuite/refcounting/sched.c: (create_pipeline):
21618 * testsuite/registry/Makefile.am:
21619 * testsuite/registry/gst-print-formats.c:
21620 * testsuite/schedulers/.cvsignore:
21621 * testsuite/schedulers/142183-2.c:
21622 * testsuite/schedulers/142183.c:
21623 * testsuite/schedulers/143777-2.c:
21624 * testsuite/schedulers/143777.c:
21625 * testsuite/schedulers/147713.c:
21626 * testsuite/schedulers/147819.c:
21627 * testsuite/schedulers/147894-2.c:
21628 * testsuite/schedulers/147894.c:
21629 * testsuite/schedulers/Makefile.am:
21630 * testsuite/schedulers/group_link.c:
21631 * testsuite/schedulers/queue_link.c:
21632 * testsuite/schedulers/relink.c:
21633 * testsuite/schedulers/unlink.c:
21634 * testsuite/schedulers/unref.c:
21635 * testsuite/schedulers/useless_iteration.c:
21636 * testsuite/states/bin.c:
21637 clean out/remove some stuff from the testsuite directories
21639 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21642 check for some headers
21643 * gst/elements/Makefile.am:
21644 * gst/elements/gstelements.c:
21645 don't compile fdsrc without sys/socket.h
21646 * gst/indexers/Makefile.am:
21647 * gst/indexers/gstindexers.c: (plugin_init):
21648 don't compile fileindex without mmap
21650 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21657 * check/Makefile.am:
21658 * docs/gst/Makefile.am:
21659 * examples/helloworld/Makefile.am:
21661 * gst/base/Makefile.am:
21662 * gst/check/Makefile.am:
21663 * gst/elements/Makefile.am:
21664 * gst/indexers/Makefile.am:
21665 * gst/parse/Makefile.am:
21666 * libs/gst/controller/Makefile.am:
21667 * libs/gst/dataprotocol/Makefile.am:
21668 * examples/helloworld/helloworld.c: (event_loop):
21669 compile fixes, though it's not being compiled currently
21671 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21673 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21674 Add some simple tests for the new taglist date API.
21676 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21678 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21679 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21680 Beautify 'last-message' output: print 'none' for buffer timestamps
21681 and durations if none is set; improve alignment with next messages.
21683 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21685 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21686 * gst/gstpluginfeature.h:
21687 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21688 * gst/gstregistry.h:
21689 * docs/gst/gstreamer-sections.txt:
21690 Add new API to check plugin feature version requirements.
21692 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21693 Some basic tests for the above.
21695 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21697 * gst/gststructure.c: (gst_structure_to_string):
21698 guard against NULL printf - happens when for example
21699 a message structure with GstClock gets serialized
21701 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21703 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21704 Fix presumable copy'n'pasto.
21706 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21708 * gst/elements/gstfakesrc.h:
21709 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21710 * gst/elements/gsttypefindelement.c:
21711 fix some signedness
21712 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21713 I wonder if this could actually write +2GB files before
21715 2005-10-13 Andy Wingo <wingo@pobox.com>
21717 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21718 Fix Timmeke Waymans bug.
21719 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21720 string of the proper length to gst_caps_from_string. There's a
21721 potential for, before this fix, that this could cause someone
21722 connecting over the network to cause a segfault if the payload is
21723 not NUL-terminated.
21725 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21727 * docs/design/draft-push-pull.txt:
21728 * docs/design/part-overview.txt:
21729 * docs/random/TODO-pre-0.9:
21730 * docs/random/old/ChangeLog.gstreamer:
21731 * gst/base/gstpushsrc.c:
21735 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21737 * gst/glib-compat.c: (gst_flags_get_first_value):
21738 * gst/glib-compat.h:
21739 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21740 (gst_value_compare_double), (gst_value_serialize_flags):
21741 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21744 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21747 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21749 * tools/gst-launch.c: (event_loop):
21750 print out clock nicely
21752 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21754 * docs/gst/gstreamer-sections.txt:
21755 * gst/gsttaglist.h:
21756 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21757 (gst_tag_list_get_date_index):
21758 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21759 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21761 2005-10-13 Julien MOUTTE <julien@moutte.net>
21763 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21764 (gst_collectpads_chain):
21765 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21768 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21770 * docs/gst/gstreamer-sections.txt:
21773 * tools/gst-inspect.c: (main):
21774 * tools/gst-launch.c: (main):
21775 * tools/gst-run.c: (main):
21776 * tools/gst-xmlinspect.c: (main):
21777 fix GOption context leaks
21780 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21784 * win32/common/config.h:
21786 * win32/vs6/grammar.dsp:
21787 * win32/vs6/libgstelements.dsp:
21788 * win32/vs6/libgstreamer.dsp:
21791 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21793 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21794 * gst/base/gstbasesrc.c: (gst_base_src_query):
21795 fix more guint64<->gdouble conversions
21797 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21800 add win32-update target
21801 * win32/common/gstconfig.h:
21802 * win32/common/gstenumtypes.c:
21803 * win32/common/gstenumtypes.h:
21804 * win32/common/gstversion.h:
21805 add files that visual studio can't generate
21807 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21810 add a win32-update target
21813 2005-10-12 Wim Taymans <wim@fluendo.com>
21815 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21816 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21817 * gst/gstelement.c: (gst_element_commit_state),
21818 (gst_element_set_state):
21819 Protect flags with proper lock.
21820 unref provided cached clock in dispose.
21822 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21825 * gst/gstminiobject.h:
21827 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21828 removed unused flags from miniobject
21831 2005-10-12 Wim Taymans <wim@fluendo.com>
21833 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21834 (gst_file_sink_event), (gst_file_sink_render):
21835 Flush before seeking.
21837 2005-10-12 Andy Wingo <wingo@pobox.com>
21839 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21840 always been the case.
21842 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21844 * check/gst/gstbin.c: (GST_START_TEST):
21845 * docs/gst/gstreamer-sections.txt:
21846 * gst/base/gstbasesink.c: (gst_base_sink_init):
21847 * gst/base/gstbasesrc.c: (gst_base_src_init),
21848 (gst_base_src_get_range), (gst_base_src_check_get_range),
21849 (gst_base_src_start), (gst_base_src_stop):
21850 * gst/base/gstbasesrc.h:
21851 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21852 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21853 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21857 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21859 * gst/gstelement.c: (gst_element_is_locked_state),
21860 (gst_element_set_locked_state), (gst_element_commit_state),
21861 (gst_element_set_state):
21862 * gst/gstelement.h:
21863 * gst/gstindex.c: (gst_index_init):
21865 * gst/gstminiobject.h:
21866 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21867 (gst_object_set_parent):
21869 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21870 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21872 * gst/gstpadtemplate.h:
21873 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21874 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21875 * gst/gstpipeline.h:
21876 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21877 (gst_file_index_commit):
21878 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21879 * testsuite/pad/link.c: (gst_test_src_init),
21880 (gst_test_filter_init), (gst_test_sink_init):
21881 * testsuite/states/locked.c: (main):
21882 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21883 moved bitshift from macro to enum definition
21885 2005-10-12 Wim Taymans <wim@fluendo.com>
21887 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21888 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21889 (gst_file_sink_render):
21890 Some more debugging info.
21892 2005-10-12 Wim Taymans <wim@fluendo.com>
21894 * docs/design/part-states.txt:
21895 * tools/gst-launch.c: (main):
21897 Revert non-intentional change.
21899 2005-10-12 Wim Taymans <wim@fluendo.com>
21901 * check/gst/gstbin.c: (GST_START_TEST):
21902 * check/gst/gstelement.c: (GST_START_TEST):
21903 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21904 * check/gst/gstghostpad.c: (GST_START_TEST):
21905 * check/gst/gstpipeline.c: (GST_START_TEST):
21906 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21907 * check/states/sinks.c: (GST_START_TEST):
21908 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21909 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21910 (gst_bin_remove_func), (gst_bin_get_state_func),
21911 (gst_bin_recalc_state), (gst_bin_change_state_func),
21913 * gst/gstelement.c: (gst_element_get_state_func),
21914 (gst_element_get_state), (gst_element_abort_state),
21915 (gst_element_commit_state), (gst_element_set_state),
21916 (gst_element_change_state), (gst_element_change_state_func):
21917 * gst/gstelement.h:
21918 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21919 (gst_pipeline_provide_clock_func):
21920 * gst/gstutils.c: (gst_element_link_pads_filtered):
21921 * tools/gst-launch.c: (main):
21922 * tools/gst-typefind.c: (main):
21923 Use GstClockTime in _get_state() instead of GTimeVal.
21924 Remove old code in gstutils.c
21926 2005-10-12 Andy Wingo <wingo@pobox.com>
21928 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21931 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21932 there is no task. Shouldn't affect any code, as nothing in our
21933 plugins checks this return value.
21934 (gst_pad_stop_task): Also take the stream lock if the pad has no
21935 task. Docs updated.
21937 2005-10-12 Wim Taymans <wim@fluendo.com>
21939 * gst/gstpad.c: (pre_activate), (post_activate),
21940 (gst_pad_activate_pull), (gst_pad_activate_push):
21941 Cleanup activation code. Reset old state if
21944 2005-10-12 Wim Taymans <wim@fluendo.com>
21946 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21947 (gst_base_sink_change_state):
21948 No need to prerol after receiving EOS.
21950 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21951 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21952 * gst/elements/gstidentity.c: (gst_identity_event):
21953 Print events more verbosely.
21955 2005-10-12 Wim Taymans <wim@fluendo.com>
21957 * check/Makefile.am:
21958 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21959 * check/states/sinks2.c:
21960 Moved sinks2 testcode in sinks check.
21962 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21963 (gst_bin_remove_func), (gst_bin_recalc_state),
21964 (gst_bin_change_state_func), (bin_bus_handler):
21965 Fix potential race condition when _get_state() iterated over an
21966 ASYNC element right before it posted a state completion.
21969 Do proper cast here.
21971 * gst/gstevent.c: (gst_event_new_newsegment),
21972 (gst_event_parse_newsegment):
21973 A playback rate of 0.0 is not allowed.
21975 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21977 * win32/common/config.h:
21978 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21979 (_trewinddir), (_ttelldir), (_tseekdir):
21980 * win32/common/dirent.h:
21981 * win32/common/gtchar.h:
21982 * win32/common/libgstbase.def:
21983 * win32/common/libgstreamer.def:
21984 * win32/vs6/grammar.dsp:
21985 * win32/vs6/gst_inspect.dsp:
21986 * win32/vs6/gst_launch.dsp:
21987 * win32/vs6/gstreamer.dsw:
21988 * win32/vs6/libgstbase.dsp:
21989 * win32/vs6/libgstelements.dsp:
21990 * win32/vs6/libgstreamer.dsp:
21991 Visual Studio 6 project files, and a new common directory.
21994 2005-10-11 Wim Taymans <wim@fluendo.com>
21996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21997 (gst_base_sink_do_sync), (gst_base_sink_query),
21998 (gst_base_sink_change_state):
21999 * gst/base/gstbasesink.h:
22000 Correctly parse newsegment info.
22002 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22004 * gst/gst.c: (init_post):
22005 split plugin paths correctly
22007 2005-10-11 Wim Taymans <wim@fluendo.com>
22009 * check/gst/gstevent.c: (GST_START_TEST):
22010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22011 (gst_base_sink_change_state):
22012 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22013 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22014 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22015 * gst/gstevent.c: (gst_event_new_newsegment),
22016 (gst_event_parse_newsegment):
22018 Added extra flag to newsegment for future API freeze.
22019 Updated check and base elements.
22021 2005-10-11 Julien MOUTTE <julien@moutte.net>
22023 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22024 (gst_collectpads_add_pad), (gst_collectpads_pop),
22025 (gst_collectpads_event), (gst_collectpads_chain):
22026 * gst/base/gstcollectpads.h: Handle EOS correctly.
22028 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22030 * tools/gst-launch.c: (main):
22031 more null protecting
22033 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22035 * gst/gst-i18n-lib.h:
22036 check for ENABLE_NLS, not GETTEXT_PACKAGE
22037 * gst/gstregistry.c: (gst_registry_add_plugin),
22038 (gst_registry_scan_path_level),
22039 (_gst_registry_remove_cache_plugins):
22040 protect possibly NULL strings
22041 * gst/parse/types.h:
22042 config.h already included before
22043 * tools/gst-inspect.c: (main):
22044 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22045 check for ENABLE_NLS, not GETTEXT_PACKAGE
22046 * tools/gst-launch.c: (main):
22047 check for ENABLE_NLS, not GETTEXT_PACKAGE
22049 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22052 if we don't have glib, fail before testing 2.8
22053 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22054 fix a leak, should fix plugins-base testsuite
22056 2005-10-11 Andy Wingo <wingo@pobox.com>
22058 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22059 take the mode we're going to as an arg. Go head and set the mode
22060 and flushing flags now, so that if the activate function starts a
22061 thread all the flags will be in the right state.
22062 (post_activate): Renamed also. Just handle making sure streaming
22063 finishes for the deactivation case, and setting the deactivated
22065 (gst_pad_set_active): Complain loudly if deactivation fails.
22066 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22067 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22068 remove the terrible hack.
22070 2005-10-11 Wim Taymans <wim@fluendo.com>
22072 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22073 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22074 (gst_bin_recalc_state), (gst_bin_change_state_func),
22075 (gst_bin_dispose), (bin_bus_handler):
22077 Prepare to make current EOS message queue more generic.
22080 * gst/gstevent.c: (gst_event_new_newsegment),
22081 (gst_event_parse_newsegment):
22083 Rename base to stream_time.
22085 * gst/gstmessage.h:
22088 2005-10-11 Wim Taymans <wim@fluendo.com>
22090 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22091 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22092 (gst_bin_change_state_func), (bin_bus_handler):
22094 Work on proper clock selection.
22096 2005-10-11 Edward Hervey <edward@fluendo.com>
22098 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
22099 * libs/gst/controller/gstcontroller.h:
22100 Added GList* version of _remove_properties() in order to be able to wrap
22103 2005-10-11 Wim Taymans <wim@fluendo.com>
22105 * docs/design/part-states.txt:
22108 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22109 (gst_bin_change_state_func), (bin_bus_handler):
22110 Doc updates. Don't distribute the same clock over and over again.
22116 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22117 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22118 (gst_pad_send_event):
22120 Make probe emission threadsafe again.
22121 Register quarks and move _get_name() from utils.
22124 * gst/gstpipeline.c: (gst_pipeline_class_init),
22125 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22126 Only redistribute the clock of it changed.
22128 * gst/gstsystemclock.h:
22133 Moved the _flow_get_name() to GstPad.
22135 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22137 * check/gst-libs/gdp.c: (GST_START_TEST):
22138 * check/gst/gstcaps.c: (GST_START_TEST):
22139 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
22140 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
22141 (gst_dp_packet_from_caps):
22142 fix more valgrind warnings before turning up the heat
22144 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22146 * gst/parse/grammar.y:
22147 some cleanup before the hacking
22149 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22151 * gst/base/gstbasesrc.c: (gst_base_src_query):
22153 * gst/gstutils.c: (gst_guint64_to_gdouble),
22154 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
22156 externalize, basesrc uses it
22157 obviously the implementation needs testing
22159 2005-10-10 Wim Taymans <wim@fluendo.com>
22161 * tests/sched/Makefile.am:
22162 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
22163 (make_pipeline3), (make_pipeline4), (print_elem), (main):
22165 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22167 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
22168 apparently converting from guint64 to double is not implemented
22171 2005-10-10 Wim Taymans <wim@fluendo.com>
22173 * check/Makefile.am:
22174 * check/generic/states.c: (GST_START_TEST):
22175 * check/gst/gstbin.c: (GST_START_TEST):
22176 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22177 * check/states/sinks.c: (GST_START_TEST):
22178 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
22180 Check fixes, use API as stated in design docs, remove hacks.
22182 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22183 (gst_base_sink_change_state):
22184 Catch stopping our task while we're shutting down.
22186 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
22187 (gst_bin_remove_func), (gst_bin_get_state_func),
22188 (gst_bin_recalc_state), (gst_bin_change_state_func),
22191 * gst/gstelement.c: (gst_element_init),
22192 (gst_element_get_state_func), (gst_element_abort_state),
22193 (gst_element_commit_state), (gst_element_lost_state),
22194 (gst_element_set_state), (gst_element_change_state),
22195 (gst_element_change_state_func):
22196 * gst/gstelement.h:
22197 New state change algorithm (see #318116)
22199 * gst/gstpipeline.c: (gst_pipeline_class_init),
22200 (gst_pipeline_init), (gst_pipeline_set_property),
22201 (gst_pipeline_get_property), (do_pipeline_seek),
22202 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22203 * gst/gstpipeline.h:
22204 Remove crude state change hacks.
22207 Remove crude hacks.
22209 * tools/gst-launch.c: (main):
22210 Fixes for state change. Needs some more work to fully use the
22213 2005-10-10 Andy Wingo <wingo@pobox.com>
22215 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
22217 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
22218 this flag, but it's not even in GLib 2.6. Odd. Hack around the
22221 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22223 * gst/gstiterator.c: (gst_iterator_new):
22224 Fix my previous commit: GTypes passed to gst_iterator_new()
22225 can be fundamental types.
22227 2005-10-10 Wim Taymans <wim@fluendo.com>
22229 * gst/gstelement.c: (gst_element_iterate_pad_list),
22230 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
22231 (gst_element_iterate_sink_pads):
22232 Use src/sink pads lists for the respective iterators instead
22235 2005-10-10 Andy Wingo <wingo@pobox.com>
22237 Merged in popt removal + GOption addition patch from Ronald, bug
22240 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
22241 GstElement macros around, remove popt-related symbols, add goption
22244 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
22246 * docs/gst/Makefile.am:
22247 * docs/libs/Makefile.am: No POPT_CFLAGS.
22249 * examples/manual/Makefile.am:
22250 * docs/manual/basics-init.xml: Doc updates with an example.
22252 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
22253 (gst_init), (parse_one_option), (parse_goption_arg):
22254 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
22255 bit of hand merging and debugging to get the GOption stuff working
22258 * tests/Makefile.am:
22259 * tools/Makefile.am:
22260 * tools/gst-inspect.c: (main):
22261 * tools/gst-launch.c: (main):
22262 * tools/gst-run.c: (main):
22263 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
22265 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22267 * gst/gstiterator.c: (gst_iterator_new):
22268 Add assertions to make sure passed GType is likely to really
22269 be a GType (as the compiler won't catch it if the size and
22270 GType arguments get mixed up, see #318447).
22272 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
22274 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22276 * gst/gstbin.c: (gst_bin_iterate_sorted):
22277 Pass GType and size arguments to gst_iterator_new() in the right
22278 order (maybe we should make _new() take the GType as first argument
22279 just like _new_list()?) (#318447).
22282 2005-10-10 Wim Taymans <wim@fluendo.com>
22284 * gst/gstelement.c: (gst_element_finalize):
22285 And free the GStaticRecMutex too
22287 2005-10-10 Andy Wingo <wingo@pobox.com>
22289 * gst/gstelement.c (gst_element_init, gst_element_finalize):
22290 Allocate and free the mutex properly.
22292 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
22294 (GstElement): The state_lock is now recursive. Rebuild your
22295 plugins, suckers. Old macros adapted.
22297 * docs/gst/gstreamer-sections.txt: Doc updates.
22300 * gst/gstutils.c (g_static_rec_cond_timed_wait)
22301 (g_static_rec_cond_wait): Ported from state changes patch, while
22302 we wait on bug #317802 to be solved in a well-distributed GLib.
22304 * gst/gstelement.c (gst_element_change_state_func): Renamed from
22305 gst_element_change_state, variable name changes.
22306 (gst_element_change_state): Split out of gst_element_set_state in
22307 preparation for the state change merge. Doesn't pay attention to
22308 the 'transition' argument.
22309 (gst_element_set_state): Updates, hopefully purely cosmetic.
22310 (gst_element_sync_state_with_parent): MT-safety. Ported from the
22311 state change patch.
22312 (gst_element_get_state_func): Renamed from get_state, cosmetic
22315 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22317 * gst/elements/gstelements.c:
22318 * win32/GStreamer.vcproj:
22320 * win32/dirent.c: (_tseekdir):
22321 * win32/gst-inspect.vcproj:
22322 * win32/gst-launch.vcproj:
22323 * win32/gstconfig.h:
22324 * win32/gstelements.vcproj:
22325 * win32/gstenumtypes.c: (gst_object_flags_get_type):
22326 * win32/gstreamer.def:
22327 * win32/msvc71.sln:
22328 updates for the win32 build (patch from Sebastien Moutte)
22330 2005-10-10 Andy Wingo <wingo@pobox.com>
22332 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
22333 gst_bin_get_state, cleaned up (but no logic changes).
22334 (bin_element_is_sink): Comment updates.
22335 (sink_iterator_filter): Remove needless cast.
22336 (gst_bin_iterate_sinks): Doc update.
22337 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
22338 cleaned up (but no logic changes).
22340 * check/states/sinks.c (test_src_sink): Cleanups from the state
22342 (test_livesrc_sink): Sync on the state.
22344 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
22345 the state change patch.
22347 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
22350 * check/gst/gstbin.c: Merge in some style fixes and additional
22351 checks from Wim's state change patch.
22353 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22355 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22356 (gst_type_find_helper):
22357 Check whether we have the requested data already in our list of
22358 cached buffers before pulling a new buffer; also make the buffer
22359 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
22361 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22366 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22367 don't use long long, it's not portable. Replacing with
22368 gint64 seems to work; let's hope no skeletons fall out of the closet.
22370 2005-10-10 Andy Wingo <wingo@pobox.com>
22372 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
22374 2005-10-09 Stefan Kost <ensonic@users.sf.net>
22376 * docs/gst/gstreamer-sections.txt:
22381 * gst/gstmessage.c: (gst_message_parse_state_changed):
22384 more docs, fix compilation
22386 2005-10-09 Philippe Khalaf <burger@speedy.org>
22387 * gst/gstmessage.c:
22388 Fixed a few forgotten variables on previous commit
22390 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
22392 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22393 Fix evil typefind crasher: getrange() might return a short
22394 buffer at the end of a file, but gst_type_find_peek() must
22395 either return the full data as requested or NULL, but
22396 never a short buffer.
22398 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
22400 * gst/gstmessage.c: (gst_message_new_state_changed),
22401 (gst_message_parse_state_changed):
22402 * gst/gstmessage.h:
22403 don't use "new", it's a C++ keyword
22405 2005-10-08 Wim Taymans <wim@fluendo.com>
22407 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22408 * gst/gstelement.c: (gst_element_post_message):
22409 * gst/gstpipeline.c: (gst_pipeline_change_state):
22410 Small docs and debug updates.
22412 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22414 * docs/gst/gstreamer-sections.txt:
22415 * gst/gstelementfactory.c:
22417 * gst/gsttaglist.c:
22420 2005-10-08 Wim Taymans <wim@fluendo.com>
22422 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22423 (gst_bin_dispose), (bin_bus_handler):
22424 Fix typos, add comments.
22425 Clear EOS list when going to PAUSED from any direction and do it
22426 in a threadsafe way.
22427 Get base time in a threadsafe way too.
22428 Fix confusing debug in the change_state function.
22429 Various other small cleanups.
22431 * gst/gstelement.c: (gst_element_post_message):
22432 Fix very verbose bus posting code.
22434 * gst/gstpipeline.c: (gst_pipeline_class_init),
22435 (gst_pipeline_set_property), (gst_pipeline_get_property),
22436 (gst_pipeline_change_state):
22437 Small ARG_ -> PROP_ cleanup
22439 2005-10-08 Wim Taymans <wim@fluendo.com>
22441 * gst/gstbin.c: (is_eos), (bin_bus_handler):
22442 Do a less CPU demanding EOS check because we can.
22444 2005-10-08 Wim Taymans <wim@fluendo.com>
22446 * libs/gst/dataprotocol/dataprotocol.c:
22447 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22448 (gst_dp_packet_from_event):
22449 * libs/gst/dataprotocol/dataprotocol.h:
22450 * libs/gst/dataprotocol/dp-private.h:
22451 It's about time we bump the version number.
22452 Since event types don't fit in the guint8 anymore describing
22453 the payload type, make payload type 16 bits wide.
22455 2005-10-08 Wim Taymans <wim@fluendo.com>
22457 * docs/design/part-TODO.txt:
22458 * docs/design/part-clocks.txt:
22459 * docs/design/part-events.txt:
22460 * docs/design/part-gstbin.txt:
22461 * docs/design/part-gstelement.txt:
22462 * docs/design/part-gstpipeline.txt:
22463 * docs/design/part-live-source.txt:
22464 * docs/design/part-messages.txt:
22465 * docs/design/part-overview.txt:
22466 * docs/design/part-states.txt:
22469 2005-10-08 Wim Taymans <wim@fluendo.com>
22473 Fix event quark registration.
22474 Add some space between events so we can insert them in the
22477 2005-10-08 Wim Taymans <wim@fluendo.com>
22479 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22480 (gst_base_sink_handle_buffer):
22481 Better log message.
22484 * gst/gstelement.h:
22487 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22488 (gst_queue_set_property), (gst_queue_get_property):
22490 Remove old unused properties.
22492 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22493 * docs/gst/gstreamer-sections.txt:
22494 * gst/gstmessage.c:
22495 * gst/gstmessage.h:
22496 * gst/gstminiobject.c:
22497 * gst/gstminiobject.h:
22501 lots of new docs and doc fixes
22503 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22505 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22507 * gst/gstregistry.c: (gst_registry_lookup_locked),
22508 (gst_registry_scan_path_level):
22509 * gst/gstregistryxml.c: (load_plugin):
22510 Only ever load one plugin for a given plugin basename.
22511 This ensures correct overriding of GST_PLUGIN_PATH over
22512 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22513 system installed plugins.
22515 2005-10-08 Wim Taymans <wim@fluendo.com>
22517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22518 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22519 Prepare for doing QOS.
22521 2005-10-08 Wim Taymans <wim@fluendo.com>
22523 * check/gst/gstbin.c: (GST_START_TEST):
22524 * check/pipelines/cleanup.c: (GST_START_TEST):
22525 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22526 Allow new clock message too.
22528 2005-10-08 Wim Taymans <wim@fluendo.com>
22530 * gst/gstmessage.c: (gst_message_new_error),
22531 (gst_message_new_warning), (gst_message_new_tag),
22532 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22533 (gst_message_new_clock_lost), (gst_message_new_new_clock),
22534 (gst_message_new_segment_start), (gst_message_new_segment_done),
22535 (gst_message_parse_state_changed),
22536 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22537 (gst_message_parse_new_clock):
22538 * gst/gstmessage.h:
22539 Also carry the clock in question.
22541 2005-10-08 Wim Taymans <wim@fluendo.com>
22543 * gst/gstmessage.c: (gst_message_new_custom),
22544 (gst_message_new_eos), (gst_message_new_error),
22545 (gst_message_new_warning), (gst_message_new_tag),
22546 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22547 (gst_message_new_new_clock), (gst_message_new_segment_start),
22548 (gst_message_new_segment_done), (gst_message_parse_state_changed),
22549 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22550 * gst/gstmessage.h:
22552 Added clock related messages.
22554 * gst/gstpipeline.c: (gst_pipeline_change_state):
22555 Post message when the clock changed.
22557 * tools/gst-launch.c: (event_loop):
22560 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
22562 * tools/gst-inspect.c: (print_element_properties_info):
22563 Can't pass NULL strings to g_print() on windows.
22565 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22567 * docs/Makefile.am:
22568 * docs/gst/Makefile.am:
22569 * docs/gst/gstreamer-docs.sgml:
22570 * docs/gst/running.xml:
22571 * docs/version.entities.in:
22572 add a chapter on running GStreamer.
22573 document GST_DEBUG and GST_PLUGIN* env vars
22575 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22580 remove PLUGINS_BUILDDIR stuff
22581 * gst/gst.c: (init_post):
22582 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22584 remove, it was condescending and not needed
22586 2005-10-08 Wim Taymans <wim@fluendo.com>
22588 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22589 (gst_base_sink_handle_object), (gst_base_sink_event),
22590 (gst_base_sink_wait), (gst_base_sink_handle_event),
22591 (gst_base_sink_change_state):
22592 * gst/base/gstbasesink.h:
22593 Repost EOS message while going to PLAYING if still EOS.
22594 Make sure that when receiving a FLUSH_START we don't attempt
22595 to sync on the clock anymore.
22597 2005-10-08 Wim Taymans <wim@fluendo.com>
22599 * tools/gst-launch.c: (event_loop):
22600 Better message printout.
22602 2005-10-08 Wim Taymans <wim@fluendo.com>
22604 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22605 (gst_bin_child_proxy_get_children_count):
22606 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22607 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22608 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22609 (gst_child_proxy_set_valist):
22610 * gst/parse/grammar.y:
22611 Make ChildProxy threadsafe and fix mem leaks.
22613 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22615 * gst/gst.c: (init_post):
22616 debug the GST_PLUGIN_ env vars
22618 2005-10-08 Wim Taymans <wim@fluendo.com>
22620 * check/gst/gstbin.c: (GST_START_TEST):
22621 * check/gst/gstmessage.c: (GST_START_TEST):
22622 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22623 * gst/gstelement.c: (gst_element_commit_state),
22624 (gst_element_lost_state):
22625 * gst/gstmessage.c: (gst_message_new_state_changed),
22626 (gst_message_parse_state_changed):
22627 * gst/gstmessage.h:
22628 * tools/gst-launch.c: (event_loop):
22629 Added extra field to STATE_CHANGE message with the pending
22630 state, which will be different from the new state soon.
22632 2005-10-08 Wim Taymans <wim@fluendo.com>
22634 * gst/gstbus.c: (gst_bus_pop):
22636 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22637 Small cleanups and doc updates.
22639 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22641 * gst/gst.c: (init_pre):
22642 * gst/gstbin.c: (gst_bin_add_func):
22643 log distributing clocks and base time
22644 * gst/gstregistry.c: (gst_registry_add_plugin),
22645 (gst_registry_scan_path_level), (gst_registry_scan_path):
22646 clean up the debugging output a little
22647 * gst/gstutils.c: (gst_element_state_get_name):
22648 warn about a memleak (I've actually seen this be used, though
22649 it was probably a bug)
22651 2005-10-07 Wim Taymans <wim@fluendo.com>
22653 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22654 (gst_base_src_init), (gst_base_src_default_newsegment),
22655 (gst_base_src_newsegment), (gst_base_src_do_seek),
22656 (gst_base_src_loop), (gst_base_src_start):
22657 * gst/base/gstbasesrc.h:
22658 Make the newsegment event customizable by subclasses.
22660 2005-10-07 Wim Taymans <wim@fluendo.com>
22662 * gst/gstevent.c: (gst_event_new_buffersize),
22663 (gst_event_parse_buffersize):
22665 New event for future idea.
22667 2005-10-07 Andy Wingo <wingo@pobox.com>
22669 * gst/gstelement.c (gst_element_post_message): Doc update.
22671 * docs/gst/gstreamer-sections.txt: Update.
22673 * gst/gstmessage.c (gst_message_new_application): Made into a
22674 function like honest API calls.
22675 (gst_message_new_element): New message type.
22677 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22679 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22680 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22683 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22684 NO_PREROLL from gst_element_change_state to fall through.
22686 2005-10-07 Wim Taymans <wim@fluendo.com>
22688 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22689 (gst_ghost_pad_do_activate_push):
22690 Activating a ghostpad with no internal pad in push mode
22693 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22696 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22697 Fixes compilation on Windows.
22699 2005-10-07 Michael Smith <msmith@fluendo.com>
22701 * tools/gst-inspect.c:
22702 Print out feature and plugin count at the end when printing out
22705 2005-10-04 Michael Smith <msmith@fluendo.com>
22707 * gst/gsterror.c: (_gst_stream_errors_init):
22708 Add another error string used in a few existing plugins.
22711 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22712 * tools/gst-inspect.c: (print_element_info):
22713 When a feature disappears from a plugin (and the feature exists in
22714 the cached registry file), things went horribly wrong. This isn't a
22715 complete fix, we should actually be removing the 'missing' features
22716 from the features list when we load the actual plugin. That's not
22719 2005-10-04 Johan Dahlin <johan@gnome.org>
22721 * check/gst/gstiterator.c: (GST_START_TEST):
22722 * gst/gstbin.c: (gst_bin_iterate_elements),
22723 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22724 * gst/gstelement.c: (gst_element_iterate_pads):
22725 * gst/gstformat.c: (gst_format_iterate_definitions):
22726 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22727 (gst_iterator_new_list), (gst_iterator_filter):
22728 * gst/gstiterator.h:
22729 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22730 Add a GType to GstIterator, update callsites and tests.
22732 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22734 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22735 give events a chance to be handled by event probes when the pad
22738 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22740 * gst/gstevent.c: (gst_event_type_get_name),
22741 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22743 add string representations for event types
22745 2005-10-06 Wim Taymans <wim@fluendo.com>
22747 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22748 Don't use NULL pointers.
22750 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22752 * gst/gst_private.h:
22754 * gst/gstelement.c:
22756 * gst/gstpluginfeature.c:
22757 widen the debug category in output to fit the biggest one we have
22758 add a bus category and use it
22759 play with the colors
22760 fix up some categories
22762 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22764 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22765 add push activation of sink ghost pads.
22766 Andye, please verify
22768 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22770 * gst/gstutils.c: (gst_element_link_pads):
22771 fix a bug in the case where neither element has a pad
22772 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22773 add a test for that case
22775 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22777 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22778 emit have-data before checking for peers. This allows
22779 for probe handlers to connect elements. This helps autopluggers.
22780 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22782 add six checks, linked/unlinked with no/true/false probe
22784 2005-10-04 Wim Taymans <wim@fluendo.com>
22786 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22787 (gst_fake_sink_event), (gst_fake_sink_preroll),
22788 (gst_fake_sink_render), (gst_fake_sink_change_state):
22789 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22790 (gst_fake_src_get_property), (gst_fake_src_create),
22791 (gst_fake_src_stop):
22792 * gst/elements/gstidentity.c: (gst_identity_stop):
22793 Protect last_message with lock.
22795 2005-10-04 Edward Hervey <edward@fluendo.com>
22798 Added precision in the comments for GST_FORMAT_DEFAULT
22800 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22802 * tools/gst-launch.c: (main):
22803 Don't try to run erroneous pipelines.
22805 2005-10-04 Julien MOUTTE <julien@moutte.net>
22807 * gst/gstbus.c: We don't need this header.
22809 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22812 back to development
22814 === release 0.9.3 ===
22816 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22820 Releasing 0.9.3, "Unregistered"
22822 2005-10-03 Andy Wingo <wingo@pobox.com>
22824 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22825 whereby calling a pad's activatepush() function can start a thread
22826 that starts to push or pull before the pad gets the FLUSHING flag
22827 unset. Hack around it by holding the stream lock until the flag is
22828 set. Need to replace this with a proper solution. Together with
22829 the ghost pad fixes, this fixes mp3 playing/tagreading.
22831 * docs/design/part-gstghostpad.txt: Add a note about activation of
22832 proxy pads outside of ghost pads.
22834 * gst/gstghostpad.c: Implement the ghost pad activation design.
22836 2005-10-02 Andy Wingo <wingo@pobox.com>
22838 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22839 It is volatile, after all.
22841 * docs/design/part-gstghostpad.txt: Flesh out activation with
22844 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22847 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22850 Fix (unused) AM_CONDITIONAL tests.
22852 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22854 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22856 * gst/gstutils.c: (gst_pad_query_convert):
22857 Add assertion that makes sure src_val is >=0, just like
22858 gst_query_new_convert() has. (#315895)
22860 2005-09-30 Edward Hervey <edward@fluendo.com>
22862 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22863 Let's not iterate pads we're not interested in, it avoids getting
22864 sky-high refcounts on sinkpad.
22866 2005-09-30 Wim Taymans <wim@fluendo.com>
22868 * gst/gstelement.c: (gst_element_set_state),
22869 (gst_element_change_state):
22870 Small tweak, element in ASYNC remains ASYNC.
22872 2005-09-30 Wim Taymans <wim@fluendo.com>
22874 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22875 Only error is an error.
22877 * gst/gstbin.c: (gst_bin_change_state):
22880 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22881 Also call pad_block in pad alloc.
22883 * gst/gstutils.c: (gst_flow_get_name):
22886 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22888 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22889 (gst_base_src_get_range):
22890 Fix documentation typos. Add some more debug info.
22892 2005-09-29 David Schleef <ds@schleef.org>
22894 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22895 more end-user friendly.
22896 * tools/gst-inspect.c: (main): Check if command-line argument is
22897 a file and attempt to load that file as a plugin.
22899 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22901 * check/gst/gstbin.c:
22902 * check/states/sinks.c:
22903 fix tests for the new warning
22904 * check/gst/gstpipeline.c:
22905 add a test for pipeline and bus interaction
22906 * gst/gstelement.c:
22907 elements should be NULL if they get disposed; add a warning if not
22909 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22912 for 2.6 refcounting, make debug log more correct by printing
22913 the actual refcounts at the time of swap (Wim)
22915 2005-09-29 Andy Wingo <wingo@pobox.com>
22917 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22918 removes signal watches previously added via
22919 gst_bus_add_signal_watch.
22920 (gst_bus_add_signal_watch): Don't return the source id, just store
22921 it on the bus if there wasn't an id already.
22923 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22924 add_signal_watch and remove_signal_watch.
22926 2005-09-29 Edward Hervey <edward@fluendo.com>
22928 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22929 Better if we actually iterate the list :)
22931 2005-09-29 Wim Taymans <wim@fluendo.com>
22933 * check/gst/gstbin.c: (GST_START_TEST):
22934 Change for new bus API.
22936 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22937 (send_messages), (GST_START_TEST), (gstbus_suite):
22938 Change for new bus signal API.
22940 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22941 (gst_bus_source_prepare), (gst_bus_source_check),
22942 (gst_bus_create_watch), (gst_bus_add_watch_full),
22943 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22944 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22946 Remove support for multiple GSources operating on different
22947 message types as it is too complex and unneeded when using
22949 Added support for receiving signals from the bus.
22951 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22953 * docs/libs/tmpl/gstdataprotocol.sgml:
22954 * docs/manual/advanced-dataaccess.xml:
22955 * gst/elements/gstcapsfilter.c:
22957 rename filter-caps to caps property
22959 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22961 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22962 More robust fraction string parsing.
22964 * docs/pwg/appendix-porting.xml:
22965 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22967 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22969 * gst/gstcaps.c: (gst_caps_do_simplify):
22970 Thou shalt not free a structure and then continue using it
22971 in the next loop iteration.
22973 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22975 Add test case for caps simplification.
22977 2005-09-29 Wim Taymans <wim@fluendo.com>
22979 * check/gst/gstbin.c: (GST_START_TEST):
22982 2005-09-29 Wim Taymans <wim@fluendo.com>
22984 * check/gst/gstbin.c: (GST_START_TEST):
22987 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22988 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22989 (find_element), (gst_bin_sort_iterator_next),
22990 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22991 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22992 (gst_bin_change_state), (gst_bin_dispose):
22993 A bin does not have a bus, it gets the bus from the parent.
22995 * gst/gstelement.c: (gst_element_requires_clock),
22996 (gst_element_provides_clock), (gst_element_is_indexable),
22997 (gst_element_is_locked_state), (gst_element_change_state),
22998 (gst_element_set_bus_func):
23001 * gst/gstpipeline.c: (gst_pipeline_class_init),
23002 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23003 The pipeline provides a bus.
23005 2005-09-28 Johan Dahlin <johan@gnome.org>
23007 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23008 gst_structure_get_enum instead of gst_structure_get_int
23010 * gst/gststructure.c (gst_structure_get_enum): Impl.
23012 * gst/gststructure.h (gst_structure_get_enum): Add
23014 * docs/gst/gstreamer-sections.txt: Ditto
23016 * gst/gstmessage.c (gst_message_new_state_changed): Use
23017 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23018 which does introspection.
23019 Reviewed by Christian Schaller
23021 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23023 * gst/gstinfo.c: (gst_debug_log_default):
23024 don't do dummy g_strdup()s
23025 * libs/gst/controller/gstcontroller.c:
23026 (on_object_controlled_property_changed),
23027 (gst_controlled_property_new), (gst_controller_new_valist),
23028 (gst_controller_new_list),
23029 (gst_controller_remove_properties_valist), (gst_controller_set),
23030 (gst_controller_get), (gst_controller_sync_values),
23031 (gst_controller_get_value_array), (_gst_controller_class_init),
23032 (gst_controller_get_type):
23033 * libs/gst/controller/gstcontroller.h:
23034 * libs/gst/controller/gstinterpolation.c:
23035 (gst_controlled_property_find_timed_value_node):
23036 convert // to /**/ comments
23038 2005-09-28 Wim Taymans <wim@fluendo.com>
23040 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23041 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23042 (gst_bus_sync_signal_handler):
23044 Added async-message and sync-message signals to the bus.
23045 Added helper BusFunc to emit signals for all posted messages.
23047 * gst/gstmessage.c: (gst_message_type_get_name),
23048 (gst_message_type_to_quark), (gst_message_get_type):
23049 * gst/gstmessage.h:
23050 Register quarks for message names.
23052 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23054 * docs/libs/gstreamer-libs-sections.txt:
23055 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23056 (gst_controller_new_list):
23057 * libs/gst/controller/gstcontroller.h:
23058 added another constructor for language bindings
23060 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23062 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23066 * gst/gstinfo.c: (_gst_debug_init):
23067 slightly more readable color for refcount debugging
23069 2005-09-28 Wim Taymans <wim@fluendo.com>
23071 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23072 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23073 (find_element), (gst_bin_sort_iterator_next),
23074 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23075 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23076 (gst_bin_change_state), (gst_bin_dispose):
23077 Small doc fixes. get_clock -> provide_clock.
23079 * gst/gstelement.c: (gst_element_class_init),
23080 (gst_element_provides_clock), (gst_element_provide_clock),
23081 (gst_element_get_clock), (gst_element_commit_state),
23082 (gst_element_lost_state):
23083 * gst/gstelement.h:
23084 Make get/set_clock() symetric. Add provide_clock vmethod since
23085 that is actually what this function does.
23087 * gst/gstpipeline.c: (gst_pipeline_class_init),
23088 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23089 (gst_pipeline_get_clock):
23090 get_clock -> provide_clock.
23092 2005-09-28 Andy Wingo <wingo@pobox.com>
23094 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23095 lieu of real docs...
23097 * gst/elements/gstfdsrc.c: Cleaned up a bit.
23099 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
23101 * gst/elements/gstcapsfilter.c:
23102 * gst/elements/gstfakesink.c:
23103 * gst/elements/gstfakesrc.c:
23104 * gst/elements/gstfdsink.c:
23105 * gst/elements/gstfdsrc.c:
23106 * gst/elements/gstfilesink.c:
23107 * gst/elements/gstfilesrc.c:
23108 * gst/elements/gstidentity.c:
23109 * gst/elements/gsttee.c:
23110 * gst/elements/gsttypefindelement.c:
23111 Make element details static.
23113 2005-09-28 Wim Taymans <wim@fluendo.com>
23115 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23116 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23117 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23118 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23119 (gst_bin_change_state), (gst_bin_dispose):
23120 Some documentation updates.
23121 Clean up dispose handlers.
23123 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23124 * gst/gstpad.c: (gst_pad_dispose):
23125 Clean up dispose handler.
23127 * gst/gstpipeline.c: (gst_pipeline_change_state):
23128 Removed spurious UNLOCK.
23130 2005-09-27 Stefan Kost <ensonic@users.sf.net>
23132 * docs/gst/gstreamer-sections.txt:
23133 * gst/base/gstbasesrc.h:
23134 * gst/gstelement.h:
23138 * gst/gstpipeline.c:
23139 * gst/gstpipeline.h:
23142 added two new functions to the docs
23143 documents all undocumented GstXXXFlags
23144 completed some incomplete docs
23146 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
23148 * gst/gstbin.c: (gst_bin_dispose):
23149 * gst/gstelement.c: (gst_element_dispose):
23150 remove now useless and leaky resurrection code in dispose
23151 * gst/base/gstbasesrc.c: (gst_base_src_init):
23152 * gst/gstelementfactory.c: (gst_element_factory_create):
23153 * gst/gstobject.c: (gst_object_set_parent):
23156 2005-09-27 Wim Taymans <wim@fluendo.com>
23158 * docs/design/part-TODO.txt:
23161 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23162 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23163 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23164 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23165 (gst_bin_change_state):
23166 * gst/gstelement.h:
23167 Remove element variable, we keep element info in the iterator now.
23169 2005-09-27 Andy Wingo <wingo@pobox.com>
23171 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
23174 2005-09-27 Wim Taymans <wim@fluendo.com>
23176 * check/gst/gstbin.c: (GST_START_TEST):
23177 Enable check that works now.
23179 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23180 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23181 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23182 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23183 (gst_bin_change_state):
23185 Redid the state change algorithm using a topological sort algo.
23186 Handles all cases correctly.
23187 Exposed iterator for state change order.
23189 * gst/gstelement.h:
23190 Temp storage for state changes. Need to get rid of this soon.
23192 2005-09-27 Wim Taymans <wim@fluendo.com>
23194 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
23195 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
23196 (link_fold_func), (gst_pad_proxy_setcaps):
23197 Leak fixes, the fold functions need to unref the passed object and
23198 _get_parent_*() returns ref to parent.
23200 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23202 * check/gst/gstbuffer.c: (test_make_writable):
23203 Plug leak in test case and fix 'make check-valgrind'
23205 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23207 * gst/gstbuffer.c: (gst_subbuffer_init):
23208 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
23209 works correctly in all circumstances (we could have just copied
23210 the parent buffer's readonly flag, but conceptually it seems
23211 cleaner to mark all subbuffers as read-only). (based on patch
23212 by Alessandro Decina, #314710).
23214 * check/gst/gstbuffer.c: (create_read_only_buffer),
23215 (test_make_writable), (test_subbuffer_make_writable),
23217 Add some tests for gst_buffer_make_writable().
23219 2005-09-27 Wim Taymans <wim@fluendo.com>
23221 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
23222 use gst_object_has_ancestor().
23224 * gst/gstobject.c: (gst_object_has_ancestor):
23226 gst_object_has_ancestor() copied from gstbin.c as it is a
23229 * tests/instantiate/create.c: (create_all_elements):
23230 * tests/lat.c: (handoff_src), (handoff_sink):
23231 * tests/sched/runxml.c: (main):
23232 * tests/seeking/seeking1.c: (main):
23233 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23235 Fix compilation of some tests.
23237 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23240 Remove comment. GST_TYPE_G_ERROR is here to stay,
23241 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
23242 (#316961, #300610).
23244 2005-09-26 Wim Taymans <wim@fluendo.com>
23246 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23247 Added check that shows error in state change order.
23249 2005-09-26 Wim Taymans <wim@fluendo.com>
23251 * gst/gstbin.c: (gst_bin_change_state):
23252 Make state change function use 3 queues again, we were
23253 adding elements in the wrong order.
23255 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
23258 * gst/gstpad.c: (gst_pad_dispose):
23259 Added some debug info first.
23261 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
23263 * docs/design/draft-push-pull.txt:
23264 * docs/design/part-events.txt:
23265 * docs/design/part-overview.txt:
23266 * docs/design/part-scheduling.txt:
23267 Replace all _pull_region() with _pull_range()
23269 2005-09-26 Andy Wingo <wingo@pobox.com>
23271 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
23273 * check/gst-libs/controller.c: Update for controller api change.
23276 * tests/Makefile.am:
23277 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
23278 over by GLib bug 118439.
23280 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
23281 routines to a function.
23283 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
23285 * libs/gst/controller/gsthelper.c:
23286 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
23287 (gst_object_sync_values): Renamed from sink_values. Ugh.
23289 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
23291 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
23292 Renamed from controller_key, as it is exported.
23294 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
23296 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
23301 * gst/gstpadtemplate.h:
23304 * gst/gstqueryutils.c:
23305 * gst/gstqueryutils.h:
23306 remove queryutils headers after moving the two used functions
23307 to gstquery. also fixes build problem for gstsiddec
23309 2005-09-26 Michael Smith <msmith@fluendo.com>
23311 * tools/gst-launch.1.in:
23312 Correct documentation in manpage of debug syntax
23314 2005-09-26 Wim Taymans <wim@fluendo.com>
23316 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23317 (gst_base_src_is_seekable), (gst_base_src_change_state):
23318 Some more debugging info.
23320 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23322 * docs/gst/gstreamer-sections.txt:
23323 * gst/base/gstbasetransform.h:
23327 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23329 * docs/gst/.cvsignore:
23330 * docs/gst/tmpl/.cvsignore:
23331 * docs/gst/tmpl/gstpipeline.sgml:
23332 * docs/gst/tmpl/gstplugin.sgml:
23333 * gst/gstpipeline.c:
23336 inlined the last two docs files
23337 removed the tmpl directory from cvs (no more conflicts here!)
23339 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23341 * docs/gst/gstreamer-sections.txt:
23342 * docs/gst/tmpl/.cvsignore:
23343 * docs/gst/tmpl/gstpad.sgml:
23344 * docs/gst/tmpl/gstpadtemplate.sgml:
23346 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
23347 (gst_pad_finalize), (gst_pad_set_pad_template):
23349 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
23350 (gst_pad_template_class_init), (gst_pad_template_init),
23351 (gst_pad_template_dispose), (name_is_valid),
23352 (gst_static_pad_template_get), (gst_pad_template_new),
23353 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
23354 (gst_pad_template_pad_created):
23355 * gst/gstpadtemplate.h:
23356 inlined two more docs
23357 factored gstpadtemplate out of gstpad
23359 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
23361 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23362 (test_children_state_change_order_semi_sink):
23363 Fix test case: we can't rely on a fixed state change order when
23364 going from READY => PAUSED because the sink might commit its
23365 new state first when the first buffer created by the source
23366 reaches the sink before the source has finished its change state.
23367 (Test case still fails at times, see #316856, comment 5 onwards)
23369 2005-09-24 Wim Taymans <wim@fluendo.com>
23371 * docs/design/part-events.txt:
23372 * docs/design/part-gstbus.txt:
23373 * docs/design/part-gstpipeline.txt:
23374 * docs/design/part-messages.txt:
23375 * docs/design/part-overview.txt:
23376 * docs/design/part-segments.txt:
23380 * gst/gstelement.c:
23383 * gst/gstiterator.c:
23384 Various documentation updates.
23386 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
23389 Well, that's embarassing. Luckily we weren't using
23390 GST_CLOCK_DIFF anywhere.
23392 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23394 * common/gtk-doc.mak:
23395 don't fail on building XML, FC4 slave shows a bunch of doc
23396 missing bits that I don't get
23398 * gst/gstpipeline.c:
23399 * gst/gststructure.c:
23402 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23404 * docs/design/part-gstbin.txt:
23405 * docs/design/part-gstbus.txt:
23407 Add blurb about how the bus goes into flushing mode and
23408 drops all messages when its bin goes from READY into NULL
23411 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23413 * docs/gst/gstreamer-sections.txt:
23414 * gst/gststructure.c: (gst_structure_get_clock_time):
23415 * gst/gststructure.h:
23416 add a method to get a GstClockTime out of a structure
23418 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23420 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23421 (test_children_state_change_order_semi_sink), (gst_bin_suite):
23422 Added test to check state change order in bins (can still be made
23423 to fail here under heavy disk load; bails out with 'Push on pad
23424 fakesink:sink0, but it was not activated in push mode').
23426 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23427 Fix state change order when there is only a semi sink (#316856)
23429 * gst/gstbus.c: (gst_bus_class_init):
23430 Use _class_peek_parent(), not _class_ref(); fix docs to say
23431 'default main context' instead of 'mainloop' where that is
23434 * gst/gstelement.c: (gst_element_commit_state),
23435 (gst_element_set_state):
23436 Fix typos in debug messages
23438 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23441 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23442 * gst/gstpluginfeature.c:
23444 various doc updates
23445 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23446 change an assert into an error until it gets fixed properly
23448 2005-09-23 Stefan Kost <ensonic@users.sf.net>
23450 * docs/gst/gstreamer-sections.txt:
23451 * docs/gst/tmpl/.cvsignore:
23452 * docs/gst/tmpl/gstelement.sgml:
23453 * docs/gst/tmpl/gstinfo.sgml:
23454 * docs/gst/tmpl/gstobject.sgml:
23455 * gst/gstelement.c:
23456 * gst/gstelement.h:
23459 * gst/gstobject.c: (gst_object_class_init):
23461 inlined 3 more biiiig doc files and added some missing docs on the fly
23463 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23465 * check/gst/.cvsignore:
23466 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23467 * gst/gstregistryxml.c: (load_plugin),
23468 (gst_registry_xml_save_plugin):
23469 put back source in registry. add checks for find_plugin.
23470 * testsuite/states/bin.c: (assert_state), (empty_bin),
23471 (test_adding_one_element), (main):
23472 * testsuite/states/locked.c: (main):
23473 some compile/run fixes
23475 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
23477 * check/gst/gstvalue.c: (GST_START_TEST):
23478 fix leaks in the test itself
23480 2005-09-22 Wim Taymans <wim@fluendo.com>
23482 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23483 (gst_base_sink_send_event), (gst_base_sink_peer_query),
23484 (gst_base_sink_query):
23485 Prepare for more accurate position reporting and query
23488 * gst/gstelement.c: (gst_element_send_event),
23489 (gst_element_set_state):
23492 2005-09-22 Wim Taymans <wim@fluendo.com>
23494 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23495 (gst_query_parse_segment):
23497 More documentation.
23498 Add segment query for future use.
23500 2005-09-22 Wim Taymans <wim@fluendo.com>
23502 * gst/gstbin.c: (gst_bin_add_func):
23503 Some more debug info.
23505 * gst/gstelement.c: (gst_element_send_event):
23506 Simplify send_event
23508 * gst/gstelement.h:
23509 Don't know how flags got broken.
23514 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23516 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23517 Add simplistic test suite for GST_TYPE_DATE serialisation and
23520 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23522 * docs/gst/gstreamer-sections.txt:
23523 * gst/gststructure.c: (gst_structure_set_valist),
23524 (gst_structure_get_date):
23525 * gst/gststructure.h:
23526 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23527 (gst_date_copy), (gst_value_compare_date),
23528 (gst_value_serialize_date), (gst_value_deserialize_date),
23529 (gst_value_transform_date_string),
23530 (gst_value_transform_string_date), (_gst_value_initialize):
23532 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23533 bunch of utility functions along with a hack that checks that
23534 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23535 is required. Part of the grand scheme in #170777.
23537 2005-09-22 Andy Wingo <wingo@pobox.com>
23539 * gst/gstconfig.h.in: Psych out gtk-doc.
23541 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23543 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23545 * tools/gst-inspect.c (print_element_list): Plug some
23546 inconsequential leaks.
23548 * gst/gstregistry.c (gst_registry_get_default): Doc.
23550 * check/gst/gstplugin.c:
23551 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23552 * gst/gstelementfactory.c (gst_element_factory_create):
23553 * gst/gstindexfactory.c (gst_index_factory_create): Update for
23556 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23557 (gst_plugin_feature_load): Doc, don't eat refs.
23559 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23560 (gst_plugin_list_free): Doc.
23561 (gst_plugin_load_file): Doc updates.
23563 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23564 accessors returning refcounted objects, return a ref.
23566 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23567 accessor for caps. IDEMPOTENCE. Oh yes.
23569 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
23571 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23573 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23574 (_gst_debug_register_funcptr):
23575 Add mutex to serialise access to the hash table with
23576 the function pointer => function name string mapping;
23577 make that hash table static scope (#316809).
23579 * gst/registries/.cvsignore:
23580 Remove left-over file.
23582 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23584 * docs/pwg/appendix-porting.xml:
23585 And something about newsegment events and caps-on-buffers to
23586 the porting guide (feel free to improve).
23588 2005-09-21 Andy Wingo <wingo@pobox.com>
23590 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23591 data and event probes on the same pad.
23592 (test_buffer_probe_once): Test that removing probes from within
23593 the probe functions works.
23595 2005-09-21 Andy Wingo <wingo@pobox.com>
23597 * check/gst/gstutils.c: New file.
23598 (test_buffer_probe_n_times): A simple buffer probe test. More to
23601 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23602 have-data::buffer, not have-data.
23603 (gst_pad_add_event_probe): Likewise for have-data::event.
23604 (gst_pad_add_data_probe): More docs. The part about 'resolving the
23605 peer' isn't quite right yet though.
23606 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
23607 (gst_pad_remove_data_probe): Change to take the guint handler_id
23608 as their arg, not the function+data, which is more glib-like.
23610 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23611 the signal emission to indicate if the data is a buffer or an
23613 (gst_pad_get_type): Initialize buffer and event quarks.
23614 (gst_pad_class_init): have-data is now a detailed signal, yes it
23617 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23619 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23620 * gst/gstutils.c: (gst_util_set_value_from_string),
23621 (gst_util_set_object_arg):
23622 Don't put functional code in g_return_if_fail() or
23623 g_return_val_if_fail() statements, otherwise things will
23624 break when G_DISABLE_CHECKS is defined during compilation.
23626 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23628 * docs/gst/tmpl/.cvsignore:
23629 * docs/gst/tmpl/gstvalue.sgml:
23632 inlied another one and added some obvious docs
23634 2005-09-21 Wim Taymans <wim@fluendo.com>
23636 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23637 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23638 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23639 (gst_fdsrc_get_property), (gst_fdsrc_create):
23640 * gst/elements/gstfdsrc.h:
23641 Properly implement fdsrc. Removed signal and timeout,
23642 better implemented somewhere else.
23644 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23646 * docs/gst/tmpl/.cvsignore:
23647 * docs/gst/tmpl/gstimplementsinterface.sgml:
23648 * gst/gstinterface.c:
23651 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23653 * docs/gst/gstreamer-sections.txt:
23654 * docs/gst/tmpl/.cvsignore:
23655 * docs/gst/tmpl/gstenumtypes.sgml:
23656 remove obsolete doc file
23658 2005-09-21 David Schleef <ds@schleef.org>
23660 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23661 little beer, fix a little leak.
23663 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23665 * docs/gst/gstreamer-docs.sgml:
23666 * docs/gst/gstreamer-sections.txt:
23667 * docs/gst/tmpl/.cvsignore:
23671 * gst/gstelement.h:
23672 * gst/gstindex.c: (gst_index_class_init):
23674 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23675 (gst_index_factory_class_init), (gst_index_factory_init),
23676 (gst_index_factory_finalize), (gst_index_factory_new),
23677 (gst_index_factory_destroy), (gst_index_factory_find),
23678 (gst_index_factory_create), (gst_index_factory_make):
23679 * gst/gstindexfactory.h:
23680 * gst/gstpluginfeature.c:
23681 * gst/gstpluginfeature.h:
23682 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23683 more docs inlined, splitted gstindex.{c,h}
23685 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23687 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23690 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23692 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23693 Set sync to FALSE by default.
23695 2005-09-20 Wim Taymans <wim@fluendo.com>
23697 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23698 (gst_base_sink_init):
23699 Make sync property settable from subclass.
23701 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23702 (gst_fake_sink_change_state):
23703 Set sync to FALSE by default.
23705 2005-09-20 Wim Taymans <wim@fluendo.com>
23707 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23708 * tools/gst-launch.c: (main):
23709 The timeout handler should have lower priority than the source
23710 so we don't timeout before popping a message with 0 timeout.
23711 Dump error messages after failed state change.
23713 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23715 * tools/gst-inspect.c: (print_element_properties_info):
23718 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23720 * check/gst/gstevent.c:
23721 * gst/elements/gstfakesink.c:
23722 * gst/elements/gstfakesink.h:
23723 remove the sync property from fakesink.
23724 has the side effect of setting sync TRUE
23725 for fakesink, which is a change. Anyone who knows how
23726 to fix this nicely in a GObject-y way, feel free.
23728 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23730 * docs/gst/gstreamer-docs.sgml:
23731 remove probe refsection
23733 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23735 * check/Makefile.am:
23736 disable valgrinding the controller test again
23737 * docs/gst/gstreamer-sections.txt:
23738 update for api-changes
23740 2005-09-20 Wim Taymans <wim@fluendo.com>
23742 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23743 (gst_base_sink_set_property), (gst_base_sink_get_property),
23744 (gst_base_sink_do_sync):
23745 * gst/base/gstbasesink.h:
23746 Added sync property to basesink to disable clock sync.
23748 2005-09-20 Andy Wingo <wingo@pobox.com>
23750 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23751 eating the caller's refcount.
23753 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23754 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23757 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23758 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23759 of GLib 2.8 public, so we can know which refcount to check in
23762 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23763 (gst_object_init): Only set the gst refcount if we're going ahead
23764 with the refcount hack.
23766 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23768 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23769 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23770 more leaks plumbed, added more debug-logging
23774 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23776 * gst/gstmessage.c:
23777 remove include of gstmemchunk.h
23779 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23781 * gst/gstclock.c: (_gst_clock_id_free):
23782 Commit from the Political Party For More Atomic CVS Commits,
23783 so that people don't waste too much of their day fishing
23784 out obvious leaks out of massive commits.
23785 Oh, and fix a pretty damn obvious leak in the memchunk
23788 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23790 * check/Makefile.am:
23791 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23792 plug mem-leak, re-add to valgrindable tests
23794 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23797 unbreak the build for those who have chronic arthritis
23798 and typing "make check" is just too taxing on the hands
23800 2005-09-20 Andy Wingo <wingo@pobox.com>
23802 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23803 really want it out, you should fix plugins at the same time.
23805 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23808 * docs/gst/gstreamer-sections.txt:
23810 added missing symbols to api docs
23811 disable ref-count hack if we have glib >= 2.8
23813 2005-09-19 David Schleef <ds@schleef.org>
23815 * docs/gst/Makefile.am: Ignore a few more internal headers
23816 * docs/gst/gstreamer-docs.sgml: Remove old sections
23817 * docs/gst/gstreamer-sections.txt: Remove old sections
23818 * docs/gst/tmpl/gstobject.sgml: update
23819 * docs/gst/tmpl/gstplugin.sgml: update
23820 * docs/gst/tmpl/gstpluginfeature.sgml: update
23821 * docs/random/ds/0.9-suggested-changes: update.
23822 * gst/Makefile.am: remove memchunk and trashstack, since they're
23824 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23825 * gst/gst.h: don't include some headers
23826 * gst/gstchildproxy.c: add gstmarshal.h
23827 * gst/gstclock.c: Don't use memchunks
23828 * gst/gstminiobject.c: Add some docs
23829 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23830 * gst/gstobject.h: same
23831 * gst/gstplugin.c: include gstmacros.h
23832 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23833 * gst/gstquery.c: don't use memchunks
23834 * gst/gstregistry.c: rename gst_registry_deinit()
23835 * gst/gstregistry.h: same
23837 2005-09-19 David Schleef <ds@schleef.org>
23839 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23840 * docs/libs/gstreamer-libs-sections.txt:
23841 * docs/libs/tmpl/gstgetbits.sgml:
23842 * docs/libs/tmpl/gstputbits.sgml:
23844 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23846 * win32/gstenumtypes.c:
23847 * win32/gstenumtypes.h:
23850 2005-09-19 Wim Taymans <wim@fluendo.com>
23852 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23853 Automatically PAUSE and RESUME a pipeline when a flushing seek
23856 2005-09-19 Andy Wingo <wingo@pobox.com>
23858 * gst/gstregistry.h: Spacing fixen.
23860 2005-09-19 Wim Taymans <wim@fluendo.com>
23862 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23863 Handle state change failure more correctly.
23865 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23867 * check/Makefile.am:
23868 * check/pipelines/cleanup.c: (run_pipeline):
23869 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23871 enable cleanup again after fixing the leak
23873 some more info on docs
23875 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23877 * check/Makefile.am:
23878 re-enable tests now that leaks are plugged
23880 * check/gst/gstbin.c:
23881 * check/gst/gstpipeline.c:
23882 add some more tests while fixing leaks
23883 * common/check.mak:
23884 make sure binaries are uptodate when valgrinding/gdbing
23886 * gst/gstelementfactory.c:
23887 remove a ref too many, and add a FIXME for when we get
23888 round to disposing of classes
23890 fix the refcounting when loading a plugin from a file and
23891 the code pretends that the pointer is the same even though
23892 of course it can change
23893 * gst/gstpluginfeature.c:
23894 unref plugins marked cached (a bit confusing as a name)
23895 as the docs state should be done
23896 various doc additions to explain refcounting
23897 * gst/gstregistry.c:
23898 * gst/gstregistryxml.c:
23901 2005-09-19 Wim Taymans <wim@fluendo.com>
23903 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23904 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23905 (send_messages), (GST_START_TEST), (gstbus_suite):
23906 * check/gst/gstpipeline.c: (GST_START_TEST):
23907 * check/pipelines/cleanup.c: (run_pipeline):
23908 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23910 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23911 (gst_bus_source_check), (gst_bus_source_dispatch),
23912 (gst_bus_create_watch), (gst_bus_add_watch_full),
23913 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23915 * tools/gst-launch.c: (event_loop):
23916 * tools/gst-md5sum.c: (event_loop):
23917 GstBusHandler -> GstBusFunc, return value has the same meaning as
23918 any other GSource (FALSE == remove source).
23919 _add_watch() and _add_watch_full() now take a MessageType mask to
23920 only handle specific types of messages.
23921 _poll() returns the GstMessage instead of the message type to avoid
23923 _have_pending() takes a MessageType mask now too.
23924 Added testsuite for multiple bus watches.
23925 Fix testsuites and applications for new bus API.
23927 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23929 * check/Makefile.am:
23930 mark a bunch of the tests as to fix until we fix them
23932 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23934 * common/check.mak:
23935 use GST_PLUGIN settings for valgrind tests as well, so we're
23936 valgrinding the correct thing
23937 * gst/gst.c: (init_post):
23940 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23942 * gst/gst.c: (init_post), (gst_deinit):
23943 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23944 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23945 * gst/gstindex.c: (gst_index_factory_class_init),
23946 (gst_index_factory_finalize):
23947 * gst/gstobject.c: (gst_object_dispose):
23948 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23949 (gst_plugin_load_file), (gst_plugin_desc_free):
23950 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23951 (gst_plugin_feature_finalize):
23952 * gst/gstregistry.c: (gst_registry_class_init),
23953 (gst_registry_init), (gst_registry_finalize),
23954 (gst_registry_get_default), (gst_registry_deinit):
23955 * gst/gstregistry.h:
23956 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23957 various cleanups and memleak plugging. make valgrind is happy now.
23959 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23961 * common/check.mak:
23962 add a check-valgrind target
23964 2005-09-18 David Schleef <ds@schleef.org>
23966 * tools/gst-inspect.c: Revert the GOption code.
23968 2005-09-17 David Schleef <ds@schleef.org>
23970 * check/Makefile.am: Fix environment variables.
23971 * check/gst/gstplugin.c: Fix for API changes.
23972 * tools/gst-inspect.c: Fix for API changes.
23973 * tools/gst-xmlinspect.c: Fix for API changes.
23974 * gst/gstelementfactory.c:
23977 * gst/gstpluginfeature.c:
23978 * gst/gstpluginfeature.h:
23979 * gst/gstregistry.c:
23980 * gst/gstregistry.h:
23981 * gst/gstregistryxml.c:
23982 * gst/gsttypefind.c:
23983 * gst/gsttypefindfactory.c:
23984 * gst/indexers/gstfileindex.c:
23985 * gst/indexers/gstmemindex.c:
23986 * gst/schedulers/Makefile.am:
23987 Change registry to keep track of both plugins and features,
23988 removing the feature tracking from plugins themselves.
23990 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23992 * check/Makefile.am:
23993 * tools/gst-register.1.in:
23994 remove gst-register
23996 2005-09-15 David Schleef <ds@schleef.org>
23998 * check/gst/gstplugin.c:
23999 * gst/gstelementfactory.c:
24001 * gst/gstpluginfeature.c:
24002 * gst/gstregistry.c:
24003 Getting tired of debugging. Disabled all the unreffing of
24004 plugins and features, which fixes the segfaults, but of
24005 course leaks like crazy. At least playbin works.
24007 2005-09-15 David Schleef <ds@schleef.org>
24009 * check/gst/gstplugin.c: (register_check_elements),
24010 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24012 * gst/elements/gsttypefindelement.c: Fix refcounting.
24013 * gst/gsttypefind.c:
24014 * gst/gsttypefindfactory.c:
24015 * gst/gsttypefindfactory.h:
24017 2005-09-15 David Schleef <ds@schleef.org>
24019 * gst/gstindex.c: get refcounting correct.
24020 * gst/gstregistry.c: Handle the case where a feature/plugin is
24023 2005-09-15 David Schleef <ds@schleef.org>
24025 * check/Makefile.am:
24026 * check/gst/gstplugin.c: Add test
24027 * gst/gstplugin.c: Fix problems noticed by testsuite
24029 * gst/gstregistry.c:
24030 * gst/gstregistry.h:
24032 2005-09-15 David Schleef <ds@schleef.org>
24034 * gst/gstplugin.c: Implement semi-decent recounting and locking
24035 in plugins and plugin features.
24037 * gst/gstpluginfeature.c:
24038 * gst/gstpluginfeature.h:
24039 * gst/gstregistry.c:
24041 2005-09-15 Michael Smith <msmith@fluendo.com>
24043 * gst/gstregistry.c: (gst_registry_get_feature_list):
24044 Implement this. Makes oggdemux work; decodebin still broken.
24046 2005-09-14 David Schleef <ds@schleef.org>
24048 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24050 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24051 * gst/check/Makefile.am:
24052 * libs/gst/controller/Makefile.am:
24053 * libs/gst/dataprotocol/Makefile.am:
24055 2005-09-14 David Schleef <ds@schleef.org>
24057 * configure.ac: Remove getbits library. Nothing uses it, and
24058 it should be in something like liboil if someone did want
24060 * libs/gst/Makefile.am:
24061 * libs/gst/getbits/Makefile.am:
24062 * libs/gst/getbits/gbtest.c:
24063 * libs/gst/getbits/getbits.c:
24064 * libs/gst/getbits/getbits.h:
24065 * libs/gst/getbits/gstgetbits_generic.c:
24066 * libs/gst/getbits/gstgetbits_i386.s:
24067 * libs/gst/getbits/gstgetbits_inl.h:
24069 2005-09-14 David Schleef <ds@schleef.org>
24071 * gst/Makefile.am: Dist glib-compat.h
24073 2005-09-14 David Schleef <ds@schleef.org>
24075 * configure.ac: Remove gst/registries, since it's no longer used.
24076 * gst/registries/Makefile.am:
24077 * gst/registries/gstlibxmlregistry.c:
24078 * gst/registries/gstlibxmlregistry.h:
24079 * gst/registries/gstxmlregistry.c:
24080 * gst/registries/gstxmlregistry.h:
24081 * gst/registries/registrytest.c:
24083 2005-09-14 David Schleef <ds@schleef.org>
24085 * gst/glib-compat.h:
24086 * gst/gstregistryxml.c:
24087 Convergence is near. Seriously.
24089 2005-09-14 David Schleef <ds@schleef.org>
24091 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24092 * gst/glib-compat.h:
24093 Attempt #4 to appease the buildbots.
24095 2005-09-14 David Schleef <ds@schleef.org>
24097 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24100 2005-09-14 David Schleef <ds@schleef.org>
24102 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24105 2005-09-14 David Schleef <ds@schleef.org>
24107 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24110 2005-09-14 David Schleef <ds@schleef.org>
24112 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24113 * gst/glib-compat.h: Add some functions that are in newer versions
24114 of glib than we care to require.
24115 * gst/gstregistryxml.c: Use them.
24117 2005-09-14 David Schleef <ds@schleef.org>
24119 * po/POTFILES.in: remove gst-register.c
24121 2005-09-14 David Schleef <ds@schleef.org>
24123 * docs/gst/gstreamer-docs.sgml:
24124 * docs/gst/gstreamer-sections.txt:
24125 * docs/gst/gstreamer.types:
24126 * docs/gst/tmpl/gstelement.sgml:
24127 * docs/gst/tmpl/gstplugin.sgml:
24128 * docs/gst/tmpl/gstpluginfeature.sgml:
24129 Documentation updates for registry changes.
24131 2005-09-14 David Schleef <ds@schleef.org>
24133 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24134 because we don't require glib-2.8.
24136 2005-09-14 David Schleef <ds@schleef.org>
24138 * gst/gstregistryxml.c: Added. Essentially moved out of the
24139 registries directory.
24141 2005-09-14 David Schleef <ds@schleef.org>
24143 * check/Makefile.am:
24144 * check/generic/states.c:
24148 * gst/gst_private.h:
24149 * gst/gstelementfactory.c:
24154 * gst/gstpluginfeature.c:
24155 * gst/gstpluginfeature.h:
24156 * gst/gstregistry.c:
24157 * gst/gstregistry.h:
24158 * gst/gstregistrypool.c: remove
24159 * gst/gstregistrypool.h: remove
24160 * gst/gsttypefind.c:
24161 * gst/gsttypefindfactory.c:
24163 * tools/Makefile.am:
24164 * tools/gst-compprep.c:
24165 * tools/gst-inspect.c:
24166 * tools/gst-register.c: remove
24167 * tools/gst-xmlinspect.c:
24168 Registry rewrite. Changes registry from being a file created
24169 by a tool into a simple cache file created automatically by
24170 libgstreamer. Removed gst-register (because it's no longer
24171 needed). Remove registry pools, because we only have one
24172 registry implementation (XML). Fix up other subsystems as
24175 2005-09-13 Michael Smith <msmith@fluendo.com>
24177 * gst/gstconfig.h.in:
24178 Don't Use windows linking attributes for MinGW. Fixes #316157
24180 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
24182 * gst/gstutils.c: (set_state_async_thread_func),
24183 (gst_element_set_state_async):
24184 Apparently people think it's better if this function doesn't
24185 try to set the state to whatever state was asked for on the first
24186 call to this function for any object. Seriously.
24188 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24190 * check/gst/gstpipeline.c: (GST_START_TEST):
24191 * docs/gst/gstreamer-sections.txt:
24192 * gst/gstutils.c: (set_state_async_thread_func),
24193 (gst_element_set_state_async):
24195 add a "gst_element_set_state_async" method that
24196 sets the state and starts a thread to make sure the state
24197 change completes as best as it can
24199 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24201 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24202 codify design+behaviour in testsuite after discussion
24204 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24206 * docs/gst/tmpl/gstelement.sgml:
24207 * docs/manual/appendix-quotes.xml:
24209 * gst/gstelement.c: (gst_element_set_state):
24212 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
24214 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24215 (gst_base_transform_prepare_output_buf),
24216 (gst_base_transform_handle_buffer):
24217 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
24218 (gst_capsfilter_prepare_buf):
24219 Remove the requirement for sub-classes to call the parent
24220 implementation of prepare_output_buffer with a wrapper function.
24222 * gst/gsttaglist.h:
24223 * gst/gsttagsetter.h:
24224 Fix #define wrapper
24226 2005-09-11 Stefan Kost <ensonic@users.sf.net>
24228 * docs/gst/gstreamer-sections.txt:
24231 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24233 * docs/gst/gstreamer-sections.txt:
24234 * docs/gst/tmpl/gstelement.sgml:
24235 * docs/gst/tmpl/gstplugin.sgml:
24236 * gst/gstminiobject.c:
24238 docs now stop throwing warnings
24240 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24242 * docs/gst/gstreamer-sections.txt:
24243 * docs/gst/gstreamer.types:
24244 * docs/gst/tmpl/gstpad.sgml:
24245 * docs/gst/tmpl/gsttypes.sgml:
24246 * gst/base/gstadapter.h:
24247 * gst/base/gstbasesink.h:
24248 * gst/base/gstbasesrc.h:
24254 * gst/gstelement.h:
24256 * gst/gstmessage.h:
24258 * gst/gststructure.c:
24259 * gst/registries/gstlibxmlregistry.h:
24260 various documentation fixes
24262 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24264 * docs/gst/gstreamer-sections.txt:
24265 * docs/gst/tmpl/gstvalue.sgml:
24266 rearrange gstvalue section
24267 * gst/gstutils.c: (gst_element_state_get_name):
24269 * gst/gstvalue.c: (_gst_value_initialize):
24273 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
24275 * check/gst-libs/controller.c:
24276 Header include fix.
24277 * gst/base/gstbasetransform.c:
24278 (gst_base_transform_default_prepare_buf),
24279 (gst_base_transform_handle_buffer):
24280 * gst/base/gstbasetransform.h:
24281 Some more basetransform changes and fixes to enable sub-classes
24282 that modify buffer metadata only.
24283 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24284 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
24285 (gst_capsfilter_prepare_buf):
24286 If the output pad has fixed allowed caps and input buffers
24287 don't have any, set the fixed caps on outgoing buffers.
24289 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
24290 * check/elements/identity.c: (GST_START_TEST):
24291 Make the error a little clearer when the test fails because
24292 identity made a copy of the buffer.
24293 * docs/gst/gstreamer-sections.txt:
24294 New symbols in gstbasetransform.h
24295 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24296 (gst_base_transform_init), (gst_base_transform_transform_size),
24297 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24298 (gst_base_transform_default_prepare_buf),
24299 (gst_base_transform_get_unit_size),
24300 (gst_base_transform_buffer_alloc),
24301 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
24302 (gst_base_transform_change_state),
24303 (gst_base_transform_set_passthrough),
24304 (gst_base_transform_set_in_place),
24305 (gst_base_transform_is_in_place):
24306 * gst/base/gstbasetransform.h:
24307 Change BaseTransform to separate in_place operate from same_caps
24308 output. in_place implies that the element can perform the transform
24309 on incoming buffers in-place, even if the caps on the output are
24311 Sub-class elements can now implement special buffer allocation
24312 methods for outgoing buffers if they wish to.
24313 Big documentation addition.
24314 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
24315 * gst/elements/gstelements.c:
24316 Changes for basetransform modifications.
24317 * gst/elements/Makefile.am:
24318 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
24319 Compile fix. Extra debug output.
24321 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24323 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
24325 add tests for valid pad naming
24326 * gst/check/gstcheck.c: (gst_check_log_message_func),
24327 (gst_check_log_critical_func):
24329 remove printing of code, it is fragile when the code contains
24330 % and the line number is enough info
24331 * gst/check/gstcheck.h:
24332 * gst/gstpad.c: (gst_pad_template_new):
24335 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24338 say what CHECK flags we use
24339 * docs/libs/gstreamer-libs.types:
24340 * libs/gst/controller/Makefile.am:
24341 * libs/gst/controller/gst-controller.c:
24342 * libs/gst/controller/gst-controller.h:
24343 * libs/gst/controller/gst-helper.c:
24344 * libs/gst/controller/gst-interpolation.c:
24345 * libs/gst/controller/gstcontroller.c:
24346 * libs/gst/controller/gsthelper.c:
24347 * libs/gst/controller/gstinterpolation.c:
24348 * tools/gst-inspect.c: (print_plugin_info):
24349 we don't use dashes in header names
24351 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24353 * check/Makefile.am:
24354 * check/gst/.cvsignore:
24355 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
24356 (gst_pipeline_suite), (main):
24357 adding a test for pipelines and state changes
24358 * gst/gstutils.c: (get_state_func):
24360 * gstreamer.spec.in:
24363 2005-09-08 Michael Smith <msmith@fluendo.com>
24365 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
24366 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
24367 (gst_file_src_is_seekable), (gst_file_src_get_size),
24368 (gst_file_src_start):
24369 * gst/elements/gstfilesrc.h:
24370 Various fixes for unseekable, unmmapable, and non-normal files, so
24371 that fallback to read() rather than mmap() works.
24372 * gst/gstevent.c: (gst_event_new_newsegment):
24373 Allow newsegment events with segment_start == segment_end, as will
24374 correctly happen if you use filesrc on a zero-size file, for
24377 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24379 * gst/gstplugin.c: (gst_plugin_load_file):
24380 Call g_module_close when we don't load the module
24382 * gst/registries/gstlibxmlregistry.c:
24383 (gst_xml_registry_get_property):
24384 Port leak fix from 0.8
24386 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24388 * docs/gst/gstreamer-docs.sgml:
24389 * docs/gst/tmpl/.cvsignore:
24390 * docs/gst/tmpl/gsttrace.sgml:
24391 * docs/gst/tmpl/gsttrashstack.sgml:
24394 * gst/gstelement.h:
24396 * gst/gstmessage.c:
24397 * gst/gstmessage.h:
24400 * gst/gsttaginterface.c:
24401 * gst/gsttaginterface.h:
24402 * gst/gsttaglist.c:
24403 * gst/gsttaglist.h:
24404 * gst/gsttagsetter.c:
24405 * gst/gsttagsetter.h:
24408 * gst/gsttrashstack.c:
24409 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24410 inlined docs for gsttrace, gsttrashstack
24412 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24415 * gst/elements/gstbufferstore.h:
24416 * gst/elements/gsttypefindelement.c:
24417 * gst/elements/gsttypefindelement.h:
24419 * gst/gsttypefind.c:
24420 * gst/gsttypefind.h:
24421 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24422 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24423 (gst_type_find_factory_dispose),
24424 (gst_type_find_factory_unload_thyself),
24425 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24426 (gst_type_find_factory_get_caps),
24427 (gst_type_find_factory_get_extensions),
24428 (gst_type_find_factory_call_function):
24429 * gst/gsttypefindfactory.h:
24430 * gst/registries/gstlibxmlregistry.c:
24431 * gst/registries/gstxmlregistry.c:
24432 splitted gsttypefind into gsttypefind, gsttypefindfactory
24434 2005-09-07 Andy Wingo <wingo@pobox.com>
24436 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24437 condition whereby the pad's task function is entered before the
24438 pad_mode variable was set.
24440 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24442 * gst/gstpad.c: (gst_pad_alloc_buffer):
24443 Catch misbehaving pad_alloc functions that don't
24444 set up caps and do it for them.
24446 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24448 * check/pipelines/simple_launch_lines.c: (run_pipeline):
24449 test for pipe!=NULL
24450 * docs/gst/tmpl/.cvsignore:
24451 * docs/gst/tmpl/gstmemchunk.sgml:
24452 * docs/gst/tmpl/gstparse.sgml:
24453 * docs/gst/tmpl/gsttaglist.sgml:
24454 * docs/gst/tmpl/gsttagsetter.sgml:
24455 * docs/gst/tmpl/gsttypefind.sgml:
24456 * docs/gst/tmpl/gsttypefindfactory.sgml:
24457 * gst/gstmemchunk.c:
24460 * gst/gsttaginterface.c:
24461 * gst/gsttypefind.c:
24462 * gst/gsttypefind.h:
24465 === release 0.9.2 ===
24467 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
24472 releasing 0.9.2, "South"
24474 2005-09-05 Andy Wingo <wingo@pobox.com>
24476 * gst/registries/gstxmlregistry.h:
24477 * gst/registries/gstxmlregistry.c: Um... resurrect...
24479 * gst/registries/gstxmlregistry.h:
24480 * gst/registries/gstxmlregistry.c: and update to newer API.
24481 Incidentally they should be a bit faster now that they don't have
24484 2005-09-05 Andy Wingo <wingo@pobox.com>
24486 * gst/registries/gstxmlregistry.h:
24487 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24488 replaced by the libxml registry a while back
24490 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24492 * docs/gst/tmpl/gstplugin.sgml:
24493 * gst/elements/gstelements.c:
24495 * gst/gstplugin.c: (gst_plugin_register_func),
24496 (gst_plugin_desc_copy), (gst_plugin_desc_free),
24497 (gst_plugin_get_source):
24499 * gst/registries/gstlibxmlregistry.c: (load_plugin),
24500 (gst_xml_registry_save_plugin):
24501 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24502 (gst_xml_registry_save_plugin):
24503 * tools/gst-inspect.c: (print_plugin_info):
24504 add a "source" plugin description field, to represent the source
24505 module this plugin is a part of. By default GST_PLUGIN_DEFINE
24506 will set it to PACKAGE, which is automake's idea of the name of
24507 the source project.
24509 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24514 * docs/Makefile.am:
24515 * docs/faq/Makefile.am:
24516 * docs/gst/tmpl/gstelement.sgml:
24517 * docs/gst/tmpl/gsttypes.sgml:
24518 * docs/htmlinstall.mak:
24519 * docs/manual/Makefile.am:
24520 * docs/pwg/Makefile.am:
24521 reorganize doc build a little
24522 split out docbook and gtk-doc stuff
24523 have two separate --enable's and enable them through autogen
24524 but disable by default in configure (to be similar to other
24526 * gstreamer.spec.in:
24527 clean up docs install
24545 translation updates
24547 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
24549 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24552 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24553 (gst_fake_sink_change_state):
24554 Make state change function thread-safe.
24556 * gst/gstpad.c: (gst_pad_alloc_buffer):
24557 Set offset on generic buffer allocated by fallback.
24559 2005-09-03 Stefan Kost <ensonic@users.sf.net>
24561 * docs/gst/gstreamer-sections.txt:
24562 * docs/gst/tmpl/gstelement.sgml:
24564 * libs/gst/controller/gst-controller.c:
24565 (gst_controlled_property_set_interpolation_mode),
24566 (gst_controlled_property_new),
24567 (gst_controller_find_controlled_property):
24568 run the wingo-magic script against the docs
24570 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24572 * docs/gst/gstreamer-docs.sgml:
24573 * docs/gst/gstreamer-sections.txt:
24574 * docs/gst/tmpl/.cvsignore:
24575 * docs/gst/tmpl/gstelementdetails.sgml:
24576 * docs/gst/tmpl/gstelementfactory.sgml:
24579 * gst/gstelementfactory.c:
24580 * gst/gstelementfactory.h:
24581 merged elementdetails docs into elementfactory docs
24584 2005-09-02 Andy Wingo <wingo@pobox.com>
24586 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24587 consider this enum an enum and not a flags.
24589 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24591 * docs/gst/gstreamer-docs.sgml:
24592 * docs/gst/tmpl/.cvsignore:
24593 * docs/gst/tmpl/gstghostpad.sgml:
24594 * docs/gst/tmpl/gstiterator.sgml:
24595 * docs/gst/tmpl/gstmacros.sgml:
24596 * docs/gst/tmpl/gstrealpad.sgml:
24597 * docs/gst/tmpl/gstregistry.sgml:
24598 * docs/gst/tmpl/gstregistrypool.sgml:
24599 * docs/gst/tmpl/gststructure.sgml:
24600 * docs/gst/tmpl/gstsystemclock.sgml:
24601 * docs/gst/tmpl/gsttrace.sgml:
24602 * gst/gstghostpad.c:
24604 * gst/gstmemchunk.c:
24605 * gst/gstmemchunk.h:
24607 * gst/gstregistry.c:
24608 * gst/gstregistrypool.c:
24609 * gst/gststructure.c:
24610 * gst/gstsystemclock.c:
24613 2005-09-02 Andy Wingo <wingo@pobox.com>
24615 * gst/gstelement.h (GstState): Renamed from GstElementState,
24616 changed to be a normal enum instead of flags.
24617 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24618 munged to be GST_STATE_CHANGE_*.
24619 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24620 work with the new state representation.
24621 (GstStateChange): New enumeration of possible state transitions.
24622 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24623 (GstElementClass::change_state): Pass the GstStateChange along as
24624 an argument. Helps language bindings, so they don't have to use
24625 tricky lock-needing macros like GST_STATE_CHANGE ().
24627 * scripts/update-states (file): New script. Run it on a file to
24628 update it for state naming and API changes. Updates files in
24631 * All files updated for the new API.
24633 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
24635 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24636 * gst/gstutils.c: (gst_util_set_value_from_string),
24637 (gst_util_set_object_arg):
24638 fix a bunch of unchecked return values
24639 * tools/gst-complete.c: (main):
24640 * gstreamer.spec.in:
24643 2005-09-01 Wim Taymans <wim@fluendo.com>
24645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24646 (gst_base_sink_event), (gst_base_sink_do_sync),
24647 (gst_base_sink_handle_event):
24648 * gst/base/gstbasesink.h:
24649 Handle newsegments more correctly.
24654 * gst/gstevent.c: (gst_event_new_newsegment):
24655 A newsegment cannot have a start_time of -1
24657 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24659 * win32/gstenumtypes.c:
24660 * win32/gstenumtypes.h:
24663 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24665 * libs/gst/controller/gst-controller.c:
24666 (gst_controlled_property_set_interpolation_mode),
24667 (gst_controlled_property_new):
24668 fixed boolean again
24670 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24672 * docs/faq/gst-uninstalled:
24677 * gst/gstutils.c: (gst_element_link_filtered):
24679 add gst_element_link_filtered
24681 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24683 * docs/gst/gstreamer-docs.sgml:
24684 * docs/gst/gstreamer-sections.txt:
24685 * docs/gst/tmpl/.cvsignore:
24686 * docs/gst/tmpl/gsterror.sgml:
24687 * docs/gst/tmpl/gstfilter.sgml:
24688 * docs/gst/tmpl/gsturihandler.sgml:
24689 * docs/gst/tmpl/gsturitype.sgml:
24690 * docs/gst/tmpl/gstutils.sgml:
24691 * docs/gst/tmpl/gstxml.sgml:
24696 * gst/gsturitype.c:
24699 inlined more docs, fixed double id-ref
24701 2005-08-31 Wim Taymans <wim@fluendo.com>
24703 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24704 (gst_base_transform_handle_buffer):
24705 Passthrough elements don't need the caps as they don't care.
24707 2005-08-31 Wim Taymans <wim@fluendo.com>
24709 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24710 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24711 Don't leak refcounts on buffers.
24713 2005-08-31 Wim Taymans <wim@fluendo.com>
24715 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24716 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24717 (gst_base_transform_chain), (gst_base_transform_change_state):
24718 * gst/base/gstbasetransform.h:
24719 Handle the case where we are not negotiated more gracefully.
24721 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24723 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24724 (gst_file_src_map_region):
24725 Set READONLY flag on mmap'ed buffers, otherwise
24726 gst_buffer_make_writable() won't work properly (#314708).
24728 2005-08-31 Wim Taymans <wim@fluendo.com>
24730 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24731 passthrough elements can even do inplace on non writable
24732 buffers (as they don't touch them).
24734 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24736 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24737 (gst_test_mono_source_set_property),
24738 (gst_test_mono_source_class_init), (GST_START_TEST),
24739 (gst_controller_suite):
24740 more tests (hehe I have the most)
24742 describe popping messages whenusing mulltiple sources
24743 * libs/gst/controller/gst-controller.c:
24744 (gst_controlled_property_set_interpolation_mode),
24745 (gst_controlled_property_new):
24746 * libs/gst/controller/gst-controller.h:
24747 * libs/gst/controller/gst-interpolation.c:
24748 implement boolean properties
24750 2005-08-31 Wim Taymans <wim@fluendo.com>
24752 * gst/gstminiobject.c: (gst_mini_object_ref):
24753 Cannot assert that the refcount has to be positive
24754 since a disposed object can be resurrected.
24756 2005-08-31 Wim Taymans <wim@fluendo.com>
24758 * gst/gstpad.c: (gst_pad_init):
24759 Revert change, need to first fix badly behaving
24762 2005-08-30 Wim Taymans <wim@fluendo.com>
24764 * check/elements/fakesrc.c: (setup_fakesrc):
24765 * check/elements/identity.c: (setup_identity):
24766 Activate pads before using them.
24768 2005-08-30 Wim Taymans <wim@fluendo.com>
24770 * gst/base/gstadapter.c: (gst_adapter_flush):
24771 Flushing out 0 bytes is ok for this function.
24773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24774 no newsegment gives a warning and sets the start/stop to
24777 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24778 (gst_base_transform_set_passthrough):
24781 * gst/gstminiobject.c: (gst_mini_object_ref):
24782 Check refcount here too.
24784 * gst/gstpad.c: (gst_pad_init):
24785 Pads are initially flushing and refusing data.
24787 * gst/gstutils.c: (gst_element_link_pads_filtered):
24788 When adding a capsfilter element make sure it has the
24789 same state as the parent bin.
24791 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24793 * docs/gst/tmpl/.cvsignore:
24794 * docs/gst/tmpl/gstformat.sgml:
24795 * docs/gst/tmpl/gstversion.sgml:
24799 * gst/gstversion.h.in:
24800 more docs and two more inlined
24802 2005-08-30 Wim Taymans <wim@fluendo.com>
24804 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24805 Don't sync to clock.
24807 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24809 * docs/gst/gstreamer-sections.txt:
24810 ultral33t func10ns deserve to appear in the docs actually
24811 * docs/gst/tmpl/.cvsignore:
24812 * docs/gst/tmpl/gstcompat.sgml:
24813 * docs/gst/tmpl/gstconfig.sgml:
24814 * gst/check/gstcheck.c:
24816 * gst/gstconfig.h.in:
24819 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24821 * docs/gst/tmpl/.cvsignore:
24822 * docs/gst/tmpl/gstquery.sgml:
24823 * docs/gst/tmpl/gstutils.sgml:
24826 inlined and extended docs
24828 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24830 * check/gst-libs/controller.c: (GST_START_TEST),
24831 (gst_controller_suite):
24833 * docs/gst/tmpl/gstutils.sgml:
24834 * docs/libs/gstreamer-libs-sections.txt:
24835 * docs/libs/tmpl/gstdataprotocol.sgml:
24837 * examples/controller/audio-example.c: (main):
24838 controller example works now
24841 * tools/gst-inspect.c: (print_element_properties_info):
24842 show param spec flags
24844 2005-08-29 Andy Wingo <wingo@pobox.com>
24846 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24848 2005-08-28 Andy Wingo <wingo@pobox.com>
24850 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24851 as having two arguments instead of just one. Allows superclasses
24852 to access information on subclasses -- see the terrible for() loop
24853 in gtype.c:g_type_create_instance for the reason why. All callers
24856 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24858 * docs/design/part-messages.txt:
24860 * docs/gst/tmpl/.cvsignore:
24861 * docs/gst/tmpl/gstcaps.sgml:
24862 * docs/gst/tmpl/gstclock.sgml:
24868 * gst/gstmessage.c:
24869 added descriptions for bus and message
24870 inline caps and clock docs
24872 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24874 * gst/gstmessage.c:
24875 * gst/gstmessage.h:
24878 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24880 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24883 2005-08-26 Andy Wingo <wingo@pobox.com>
24885 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24886 element_set_state's return val.
24887 (test_2_elements): Add test that's been disabled for months.
24889 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24890 can-activate-pull properties.
24892 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24893 can-activate-pull properties. Implement is_seekable so fakesrc can
24894 operate in pull mode.
24896 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24898 (gst_base_sink_activate, gst_base_sink_activate_pull)
24899 (gst_base_sink_activate_push): Make activation mode choosing work.
24901 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24902 is right. Make pull mode work. Post an eos before pausing in pull
24904 (gst_base_sink_change_state): Pay attention to the core's
24905 change_state() return val.
24907 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24908 has-getrange properties. Cleanups.
24910 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24911 has_getrange and replace with can_activate_pull and
24914 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24915 locking comments. Remove has_loop, has_chain and replace with
24916 can_activate_pull and can_activate_push.
24918 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24921 * examples/Makefile.am:
24922 * examples/metadata/Makefile.am:
24923 * examples/metadata/read-metadata.c: (message_loop),
24924 (have_pad_handler), (make_pipeline), (print_tag), (main):
24925 Add metadata reading example that loops over a list of filenames,
24926 dumping any tags found.
24928 * gst/gstbus.c: (gst_bus_dispose):
24929 * gst/gstelement.c: (gst_element_dispose):
24930 Release a few potentially-held references in dispose.
24932 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24934 * docs/gst/tmpl/gstminiobject.sgml:
24935 do *not* add tmpl/*.sgml files to CVS!
24937 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24939 * libs/gst/bytestream/.cvsignore:
24940 * libs/gst/bytestream/Makefile.am:
24941 * libs/gst/bytestream/adapter.c:
24942 * libs/gst/bytestream/adapter.h:
24943 * libs/gst/bytestream/bytestream.c:
24944 * libs/gst/bytestream/bytestream.h:
24945 * libs/gst/bytestream/filepad.c:
24946 * libs/gst/bytestream/filepad.h:
24947 removing obsolete files
24949 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24951 * docs/gst/gstreamer-docs.sgml:
24952 * docs/libs/gstreamer-libs-docs.sgml:
24953 disabed additional index entries again, as this makes docs-gen just
24954 slow and they aren't useful yet
24955 * docs/libs/gstreamer-libs-sections.txt:
24956 little -section.txt cleanup for libs
24958 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24960 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24961 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24962 fix up some debugging
24963 (gst_base_transform_get_unit_size),
24964 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24965 (gst_base_transform_handle_buffer):
24966 * gst/base/gstbasetransform.h:
24967 handle and store timed NEWSEGMENT events so that subclasses that
24968 calculate time by counting samples have a segment_start time they
24969 need to add to their timestamps - see audioresample
24971 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24974 removed ';' from the end of macro defs
24975 * docs/gst/gstreamer-docs.sgml:
24976 * docs/gst/gstreamer-sections.txt:
24977 * docs/gst/tmpl/.cvsignore:
24979 * gst/gstelement.c: (gst_element_class_init),
24980 (gst_element_set_state), (activate_pads),
24981 (gst_element_save_thyself):
24982 * gst/gstevent.c: (gst_event_new_newsegment):
24984 * gst/gstiterator.c:
24985 * gst/gstiterator.h:
24988 * gst/gstutils.c: (gst_pad_query_convert):
24990 fixed parameter name mismatches between source, header and docs
24991 added some more docs, resolved the last batch of unused elements in
24992 docs (now someone needs to doc them)
24994 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24996 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24997 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24998 don't walk through the plugins backwards. Where is all this
24999 reversed logic coming from ?
25001 2005-08-25 Wim Taymans <wim@fluendo.com>
25003 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25004 (gst_base_transform_transform_size),
25005 (gst_base_transform_configure_caps),
25006 (gst_base_transform_get_unit_size),
25007 (gst_base_transform_buffer_alloc),
25008 (gst_base_transform_change_state):
25009 * gst/base/gstbasetransform.h:
25010 Cache caps unit_size.
25011 Make sure we cannot negotiate up and downstream at the
25014 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25016 * gst/gst.c: (init_pre), (init_post):
25017 register the installed plugin path after the env var
25018 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25019 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25020 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25021 directories, so the tests can prefer uninstalled over installed
25023 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25025 * gst/base/gstbasetransform.h:
25030 2005-08-25 Wim Taymans <wim@fluendo.com>
25032 * gst/gstbin.c: (bin_bus_handler):
25033 Be a bit more conservative about the posted message.
25035 * gst/gstbus.c: (gst_bus_post):
25036 Some cleanups, warn wrong return values.
25038 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25040 * check/gst/gstbin.c: (GST_START_TEST):
25041 * gst/gstbin.c: (bin_bus_handler):
25042 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25043 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25044 (gst_message_new_warning), (gst_message_new_tag),
25045 (gst_message_new_state_changed), (gst_message_new_segment_start),
25046 (gst_message_new_segment_done), (gst_message_new_custom):
25047 * gst/gstmessage.h:
25048 * tools/gst-launch.c: (event_loop):
25049 * tools/gst-md5sum.c: (event_loop):
25050 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25052 2005-08-25 Wim Taymans <wim@fluendo.com>
25054 * check/generic/states.c: (GST_START_TEST):
25055 Cleanup can be done at the end.
25057 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25058 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25059 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25060 Oh boy.. Thanks for finding this, Thomas.
25062 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25064 * docs/gst/gstreamer.types:
25065 added missing types
25067 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25069 * docs/gst/gstreamer-docs.sgml:
25070 * docs/gst/gstreamer-sections.txt:
25071 * docs/gst/tmpl/.cvsignore:
25073 * gst/gstiterator.c:
25075 * gst/registries/gstxmlregistry.h:
25076 added missing classes and symbols (123 more to go)
25077 removed removed symbols from section file
25078 fixed many doc-comments
25080 2005-08-24 Wim Taymans <wim@fluendo.com>
25082 * check/generic/states.c: (GST_START_TEST):
25083 Make sure all tasks are stopped.
25085 * check/gst/gstbin.c: (GST_START_TEST):
25086 Unref after usage for proper valgrinding.
25088 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25089 Really wait for the task to stop before destroying the
25092 * gst/gstqueue.c: (gst_queue_sink_activate_push),
25093 (gst_queue_src_activate_push):
25094 Small cleanups. Don't stop the task when we did not start
25097 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25098 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25099 (gst_task_get_state), (gst_task_start), (gst_task_pause),
25102 Protect the stream lock with the object lock.
25103 Disallow setting the stream lock when running.
25104 Add cleanup_all to wait for the threadpool to finish.
25105 Remove code to autoallocate a mutex if none was provided.
25106 Add _join() to wait for a task to stop.
25107 Protect the thread pool with a global lock.
25109 2005-08-24 Wim Taymans <wim@fluendo.com>
25111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25112 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25113 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25114 * gst/base/gstbasesink.h:
25115 Handle newsegment events correctly.
25116 Drop buffers out of the segment range.
25118 2005-08-22 Andy Wingo <wingo@pobox.com>
25120 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25121 macro, implements an interface and gstimplementsinterface for a
25124 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25126 * check/Makefile.am:
25127 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25128 add a test that does a bunch of state changes on elements
25129 needs some fixing for valgrind
25130 * check/states/sinks.c: (gst_object_suite):
25133 add prototype for gst_caps_is_equal_fixed
25135 * gst/gstregistrypool.c:
25138 2005-08-24 Andy Wingo <wingo@pobox.com>
25140 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
25141 convert a negative value. Doesn't make much sense. Mostly this is
25142 here to force callers to ensure -1 maps to -1.
25144 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25146 * docs/pwg/advanced-types.xml:
25147 Well done to Michael for catching my deliberate introduction
25148 of this spelling mistake.
25149 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
25150 * gst/gstelement.h:
25151 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
25152 unlink pads before removing the element from the bin.
25154 2005-08-24 Andy Wingo <wingo@pobox.com>
25156 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
25157 the same thing as GST_DEBUG=*:4.
25158 (parse_debug_level, parse_debug_category): New helper parsers.
25160 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25162 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25163 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
25164 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
25165 (gst_base_transform_buffer_alloc),
25166 (gst_base_transform_handle_buffer):
25167 use gboolean return values and pointers to size so we can use the
25168 full GST_BUFFER_SIZE range (guint) for buffer sizes
25169 use GstPadDirection for transform_caps
25170 * gst/base/gstbasetransform.h:
25171 rename get_size to get_unit_size since that's what it is
25172 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
25173 use GstPadDirection for transform_caps
25174 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25176 cleanup and debugging
25178 2005-08-24 Stefan Kost <ensonic@users.sf.net>
25180 * gst/gstelement.c: (gst_element_class_init),
25181 (gst_element_set_state), (activate_pads),
25182 (gst_element_save_thyself):
25183 * tools/gst-compprep.c: (main):
25184 * tools/gst-inspect.c: (print_element_properties_info):
25185 * tools/gst-xmlinspect.c: (print_element_properties):
25186 Fixed long standing mem-leak
25188 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25190 * check/gst/gstbin.c: (GST_START_TEST):
25191 * gst/gstbin.c: (bin_bus_handler):
25192 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25193 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25194 (gst_message_new_warning), (gst_message_new_tag),
25195 (gst_message_new_state_changed), (gst_message_new_segment_start),
25196 (gst_message_new_segment_done), (gst_message_new_custom):
25197 * gst/gstmessage.h:
25198 * tools/gst-launch.c: (event_loop):
25199 * tools/gst-md5sum.c: (event_loop):
25200 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
25201 that applications can sensibly post custom messages with references
25202 to their own objects.
25204 2005-08-24 Andy Wingo <wingo@pobox.com>
25206 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
25209 2005-08-24 Wim Taymans <wim@fluendo.com>
25211 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25212 (gst_base_transform_transform_caps),
25213 (gst_base_transform_transform_size),
25214 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25215 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25216 (gst_base_transform_handle_buffer):
25217 * gst/base/gstbasetransform.h:
25218 Many fixes and new features added by Thomas. Can now also do
25219 transforms with variable sizes and a custom fixate_caps function.
25221 2005-08-24 Wim Taymans <wim@fluendo.com>
25223 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25227 Cast to ClockTime before formatting to time.
25232 2005-08-24 Stefan Kost <ensonic@users.sf.net>
25234 * check/gst-libs/controller.c: (GST_START_TEST),
25235 (gst_controller_suite):
25236 * docs/gst/tmpl/gstcaps.sgml:
25237 * docs/gst/tmpl/gstghostpad.sgml:
25238 * docs/gst/tmpl/gstquery.sgml:
25239 * docs/gst/tmpl/gstutils.sgml:
25240 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
25241 (gst_object_sink_values), (gst_object_get_value_arrays),
25242 (gst_object_get_value_array):
25243 gracefully handle helper method calls to objects that are not beeing
25244 controlled, added test case for that
25246 2005-08-23 Wim Taymans <wim@fluendo.com>
25248 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
25249 (gst_event_new_newsegment), (gst_event_parse_newsegment),
25250 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
25251 (gst_event_parse_qos), (gst_event_new_seek),
25252 (gst_event_parse_seek):
25254 Some more debugging output and doc cleanups.
25256 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25257 Fix possible deadlock.
25259 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25261 * docs/gst/gstreamer-docs.sgml:
25262 * docs/gst/gstreamer-sections.txt:
25263 * docs/gst/gstreamer.types:
25264 * docs/gst/tmpl/.cvsignore:
25267 * gst/gstelement.c:
25269 added 100 symbols from gstreamer-unused.txt to the right sections
25270 fixed more broken comments
25271 added GstBus to docs
25273 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25275 * docs/gst/gstreamer-sections.txt:
25276 * docs/gst/tmpl/.cvsignore:
25277 * docs/gst/tmpl/gstbin.sgml:
25278 * docs/gst/tmpl/gstbuffer.sgml:
25279 * gst/base/gstbasesrc.c:
25280 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
25283 * tools/gst-launch.1.in:
25284 inlined more doc comments, added missing comments and fixed comments
25287 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
25289 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25293 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
25295 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
25296 * gst/gststructure.h:
25297 add a fixate function for booleans; add a FIXME that these func
25298 names should probably be gst_structure_fixate_*
25300 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25302 * docs/gst/gstreamer-docs.sgml:
25303 * docs/gst/gstreamer-sections.txt:
25305 * gst/gstbin.c: (gst_bin_get_type),
25306 (gst_bin_child_proxy_get_child_by_index),
25307 (gst_bin_child_proxy_get_children_count),
25308 (gst_bin_child_proxy_init):
25309 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
25310 (gst_child_proxy_get_child_by_index),
25311 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
25312 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
25313 (gst_child_proxy_get), (gst_child_proxy_set_property),
25314 (gst_child_proxy_set_valist), (gst_child_proxy_set),
25315 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
25316 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
25317 * gst/gstchildproxy.h:
25318 * gst/parse/grammar.y:
25319 * tools/gst-inspect.c: (print_interfaces),
25320 (print_element_properties_info), (print_element_info):
25321 ported gstchildproxy over from 0.8
25322 ported gst-inspect fixes and enhancements over from 0.8
25324 2005-08-22 Wim Taymans <wim@fluendo.com>
25326 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25327 (gst_base_transform_handle_buffer):
25328 Also call the transform function if we have ANY caps.
25330 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
25333 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
25335 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
25336 Don't pretend to handle seek events if the source is not seekable
25338 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
25340 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25341 Remove extra parameter to debug output
25343 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25344 (gst_base_src_do_seek), (gst_base_src_activate_push):
25345 Fix seek event handling.
25347 * gst/gstpipeline.c: (gst_pipeline_change_state):
25348 * gst/gstqueue.c: (gst_queue_handle_sink_event),
25349 (gst_queue_src_activate_push):
25350 Don't start the src pad task on FLUSH_STOP if the pad
25354 2005-08-22 Wim Taymans <wim@fluendo.com>
25356 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
25357 Added check for gst_static_caps_get() refcounting.
25359 2005-08-22 Wim Taymans <wim@fluendo.com>
25361 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
25362 Make _static_caps_get() refcounting sane.
25364 * gst/gstelement.c: (gst_element_set_state):
25365 Add g_return_val_if_fail() to protect against segfaults.
25367 2005-08-22 Stefan Kost <ensonic@users.sf.net>
25369 * docs/gst/tmpl/gstevent.sgml:
25372 inlined remaining docs, added missing doc comments
25374 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
25376 * check/gst/gstbin.c: (GST_START_TEST):
25377 since we don't know when preroll is done, use refcount range
25379 * gst/check/gstcheck.h:
25380 add macro for checking refcount range
25382 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25384 * check/Makefile.am:
25385 clean up environment for when registry gets built versus
25386 when actual tests are run; valgrind seems to not report
25387 leaks if GST_PLUGIN_PATH is set to some specific values
25388 * check/gst/gstbin.c: (GST_START_TEST):
25389 add more refcounting checks; maybe this exposes a
25391 * common/check.mak:
25392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25393 * gst/check/gstcheck.h:
25394 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25395 (gst_bin_change_state):
25396 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25397 add/fix debugging/whitespace
25399 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25401 * check/gst/gstevent.c: (event_probe), (test_event),
25403 Er, don't call gst_bin_watch_for_state_change you idiot.
25405 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25407 * check/Makefile.am:
25408 Use CHECK_CFLAGS and CHECK_LIBS
25409 * check/gst/gstevent.c: (event_probe), (test_event),
25412 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25413 (gst_base_src_start), (gst_base_src_stop),
25414 (gst_base_src_activate_push), (gst_base_src_activate_pull),
25415 (gst_base_src_change_state):
25416 Sprinkle gst_base_src_stop liberally around error paths to fix
25417 problems reusing a source after failed state changes.
25418 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25419 (helper_find_suggest), (gst_type_find_helper):
25420 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25422 * docs/gst/tmpl/gstevent.sgml:
25423 Migrate part of the docs from the SGML file. Wait for ensonic to
25424 tell me how I did it wrong ;)
25425 * tools/gst-typefind.c: (main):
25426 Extra robustness to state changes between files.
25428 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25430 * check/Makefile.am:
25431 don't valgrind the controller test - it's leaking - Stefan, HELP
25432 * gst/check/gstcheck.c: (gst_check_message_error),
25433 (gst_check_chain_func), (gst_check_setup_element),
25434 (gst_check_teardown_element), (gst_check_setup_src_pad),
25435 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25436 (gst_check_teardown_sink_pad):
25437 * gst/check/gstcheck.h:
25438 add a bunch of methods to set up elements, and src and sink pads
25439 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25440 * check/elements/identity.c: (setup_identity), (cleanup_identity),
25443 * gst/gstmessage.c:
25445 whitespace/doc fixes
25447 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25449 * gst/gstelement.h:
25450 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25451 be handled by the application and not always printed as well
25453 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25455 * check/Makefile.am:
25457 * gst/check/gstcheck.c: (gst_check_message_error):
25458 * gst/check/gstcheck.h:
25459 add a fail_unless_equals_int
25460 add fail_unless for error messages
25462 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25464 * check/Makefile.am:
25466 * common/Makefile.am:
25467 * common/check.mak:
25469 factor out some of the common stuff so we can use it
25471 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25473 * check/Makefile.am:
25474 * check/gst/gstiterator.c: (GST_START_TEST):
25475 * check/gst/gstsystemclock.c: (GST_START_TEST),
25476 (gst_systemclock_suite):
25477 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25479 valgrind more tests
25481 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25483 * check/elements/.cvsignore:
25484 * check/elements/gstfakesrc.c:
25485 rename to name of element
25486 * check/elements/identity.c: (chain_func), (event_func),
25487 (setup_identity), (cleanup_identity), (GST_START_TEST),
25488 (identity_suite), (main):
25489 add a test for identity
25490 * check/Makefile.am:
25491 * pkgconfig/Makefile.am:
25492 * pkgconfig/gstreamer-check.pc.in:
25493 * pkgconfig/gstreamer-check-uninstalled.pc.in:
25497 move the check stuff to a library that gets installed
25498 * check/gst-libs/controller.c: (GST_START_TEST):
25499 * check/gst-libs/gdp.c:
25500 * check/gst/gst.c: (GST_START_TEST):
25501 * check/gst/gstbin.c:
25502 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25503 * check/gst/gstbus.c:
25504 * check/gst/gstcaps.c: (GST_START_TEST):
25505 * check/gst/gstelement.c:
25506 * check/gst/gstghostpad.c:
25507 * check/gst/gstiterator.c:
25508 * check/gst/gstmessage.c:
25509 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25510 * check/gst/gstobject.c:
25511 * check/gst/gstpad.c: (GST_START_TEST):
25512 * check/gst/gststructure.c: (GST_START_TEST):
25513 * check/gst/gstsystemclock.c: (GST_START_TEST),
25514 (gst_systemclock_suite):
25515 * check/gst/gsttag.c: (gst_tag_suite):
25516 * check/gst/gstvalue.c:
25517 * check/pipelines/cleanup.c:
25518 * check/pipelines/simple_launch_lines.c:
25519 * check/states/sinks.c:
25520 change include statement
25522 * docs/gst/gstreamer-sections.txt:
25523 * docs/gst/tmpl/gstpad.sgml:
25524 document more pad stuff
25525 * gst/gstminiobject.c: (gst_mini_object_ref),
25526 (gst_mini_object_unref):
25529 2005-08-19 Stefan Kost <ensonic@users.sf.net>
25531 * docs/gst/tmpl/gst.sgml:
25533 eliminate another tmpl file, fix spelling in the long-description
25535 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25537 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25538 (test_event), (timediff), (gstevents_suite):
25539 Should fix build on 64-bit arch's
25541 2005-08-18 Andy Wingo <wingo@pobox.com>
25543 Make sure that when a pipeline goes to PLAYING, that data has
25544 actually hit the sink.
25546 * check/states/sinks.c (test_sink): A sink that doesn't get any
25547 data shouldn't return SUCCESS for going to either PLAYING or
25548 PAUSED. Test also the return values on the way back down.
25550 * gst/gstelement.c (gst_element_set_state): When changing the
25551 state of an element currently changing state asynchronously, go to
25552 lost-state after commiting the pending state. Makes future calls
25553 to get_state continue to return ASYNC.
25555 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25556 ASYNC when going to PLAYING if we still don't have preroll, as can
25557 happen with live sources.
25559 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25561 * docs/pwg/advanced-types.xml:
25562 Hack long paragraph into 2 chunks as a workaround for buggy
25563 jadetex version in sid and breezy that loops infinitely and
25566 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25568 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25569 (test_event), (timediff), (gstevents_suite):
25570 Provide more error margin in clock measurements to allow for
25571 g_get_current_time inaccuracies.
25573 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25575 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25576 (test_event), (timediff), (gstevents_suite):
25577 Fix error message output so I might be able to tell why the
25578 test works here but fails on the build farm.
25580 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25582 * check/Makefile.am:
25583 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25584 (test_event), (timediff), (gstevents_suite), (main):
25587 * docs/design/part-seeking.txt:
25588 Spelling correction
25590 * docs/gst/tmpl/gstevent.sgml:
25591 * docs/gst/tmpl/gstfakesrc.sgml:
25594 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25595 Treat a buffer-without-newsegment the same as a receiving
25596 a newsegment not in time format, and disable syncing to the clock
25599 * gst/gstbus.c: (gst_bus_set_sync_handler):
25600 Assert if anyone tries to replace the existing sync_handler for bus,
25601 as only the owner should be setting it.
25604 Have a fixed set of custom event enums with events identified by
25605 their structure name (as in 0.8), rather than a free-for-all
25606 allowing collisions between enum values from different plugins.
25608 * gst/gstpad.c: (gst_pad_class_init):
25611 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25612 Handle out-of-band downstream events from the sending thread.
25614 2005-08-17 Andy Wingo <wingo@pobox.com>
25616 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25617 play-timeout==0 to mean no timeout at all. In that case, don't
25618 bother with a get_state or a warning, just return directly, even
25621 * gst/base/gstbasetransform.c: Debug changes.
25624 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25625 ensure bins post state change messages. A bit of a hack but I can't
25626 think of a way to avoid it.
25628 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25630 2005-08-16 Andy Wingo <wingo@pobox.com>
25632 * gst/base/gstadapter.h:
25633 * gst/base/gstadapter.c (gst_adapter_take): New function, like
25634 peek() but you own the data. Not terribly efficient atm.
25636 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25638 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25639 (gst_element_found_tags):
25641 Add two utility functions for tag handling.
25643 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25645 * docs/manual/advanced-dataaccess.xml:
25646 * docs/manual/basics-helloworld.xml:
25647 Fix docs to use _bin_add() before _link(), which fixes the examples
25648 with recent core versions (reported by Madhan Raj M
25649 <raj_madan@rediffmail.com>, #313199).
25651 2005-08-16 Wim Taymans <wim@fluendo.com>
25653 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25654 Added subtract checks.
25656 * docs/design/part-events.txt:
25657 Some more docs about newsegment
25659 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25662 * gst/gstcaps.c: (gst_caps_to_string):
25663 Add comments, cleanups.
25665 * gst/gstelement.c: (gst_element_save_thyself):
25668 * gst/gstvalue.c: (gst_value_collect_int_range),
25669 (gst_string_unwrap), (gst_value_union_int_int_range),
25670 (gst_value_union_int_range_int_range),
25671 (gst_value_intersect_int_int_range),
25672 (gst_value_intersect_int_range_int_range),
25673 (gst_value_intersect_double_double_range),
25674 (gst_value_intersect_double_range_double_range),
25675 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25676 (gst_value_subtract_int_range_int),
25677 (gst_value_subtract_double_range_double),
25678 (gst_value_subtract_double_range_double_range),
25679 (gst_value_subtract_from_list), (gst_value_subtract_list),
25680 (gst_value_can_compare), (gst_value_compare_fraction):
25681 Cleanups, add comments, remove unneeded asserts.
25683 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25685 * tools/gst-launch.c: (event_loop):
25686 don't convert NULL structures to strings
25688 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25690 * docs/gst/gstreamer-sections.txt:
25691 made some defines private
25692 * docs/gst/tmpl/gstconfig.sgml:
25693 * docs/gst/tmpl/gstqueue.sgml:
25694 * docs/gst/tmpl/gsttaglist.sgml:
25695 * docs/gst/tmpl/gsttypes.sgml:
25696 * docs/gst/tmpl/gstutils.sgml:
25697 * docs/pwg/appendix-porting.xml:
25698 * gst/base/gstbasesink.h:
25699 * gst/base/gstbasesrc.c:
25700 * gst/base/gstbasesrc.h:
25701 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25702 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25703 * gst/gstelement.c: (gst_element_class_init):
25704 * gst/gstpad.c: (gst_pad_class_init):
25705 * gst/gstqueue.c: (gst_queue_class_init):
25706 * gst/gstxml.c: (gst_xml_class_init):
25707 documented all undocumented signal inline
25708 * libs/gst/controller/gst-controller.h:
25711 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25713 * docs/pwg/appendix-porting.xml:
25714 Document _set_link_function -> _set_setcaps_function.
25716 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25718 * check/Makefile.am:
25719 add a .check target for running the check
25720 * check/gst-libs/controller.c: (GST_START_TEST):
25722 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25723 complete checks for gstbuffer; would be nice if I could get the
25724 gcov stuff to work so I can see if I actually completed gstbuffer.c
25725 * check/gstcheck.h:
25726 add ASSERT_BUFFER_REFCOUNT
25728 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25730 * docs/gst/gstreamer-sections.txt:
25731 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25733 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25734 spew out a warning if a tag that is already registered
25735 is re-registered, unless it is re-registered with a
25736 different type (#308438).
25738 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25740 * docs/pwg/appendix-porting.xml:
25741 * docs/pwg/building-state.xml:
25742 Add some paragraphs about state changes in 0.9 to the PWG
25743 and the porting guide, in particular about the new meaning
25744 of GST_STATE_PAUSED and how to write state change functions
25745 with concurrent access by multiple threads in mind.
25747 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25749 * docs/gst/gstreamer-docs.sgml:
25750 * docs/libs/gstreamer-libs-docs.sgml:
25751 added deprecation and since indexes
25752 * libs/gst/controller/gst-controller.c:
25753 * libs/gst/controller/gst-helper.c:
25757 2005-08-11 Wim Taymans <wim@fluendo.com>
25759 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25760 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25761 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25762 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25763 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25764 (gst_ghost_pad_set_target):
25765 Actually implement (re)setting the target on a ghostpad
25766 as described in the docs.
25768 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25770 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25771 Check whether GST_DEBUG_NO_COLOR environment variable is
25772 set and disable coloured debug output if that is the case.
25774 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25776 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25777 (gst_type_find_helper):
25778 The memory returned by gst_type_find_peek() needs to
25779 stay valid until the end of a typefind function, and
25780 typefind functions may keep results from different
25781 offsets around, so we can't just unref the buffer from
25782 the previous _peek(), but have to save all buffers
25783 returned by _peek() until typefinding is done and only
25786 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25788 * docs/gst/gstreamer-sections.txt:
25790 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25792 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25794 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25795 Fix a pretty good memleak.
25797 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25799 * gst/gstiterator.h:
25800 Fix wrong include and 'make distcheck'.
25802 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25804 * gst/gstbin.c: (bin_bus_handler):
25805 Use gst_element_post_message() instead.
25807 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25809 * gst/base/gstadapter.h:
25810 * gst/base/gstbasesink.h:
25811 * gst/base/gstbasesrc.h:
25812 * gst/base/gstbasetransform.h:
25813 * gst/base/gstcollectpads.h:
25814 * gst/base/gstpushsrc.h:
25815 * gst/gstiterator.h:
25816 Add padding to our base elements' class and instance structs and
25817 to GstIterator (you will need to rebuild all plugins and apps!)
25819 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25821 * gst/gstbin.c: (bin_bus_handler):
25822 Make default message forwarding from child->bus to bin->bus
25823 threadsafe and make it not emit warnings if the parent has no bus.
25825 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25827 * gst/gstelement.c: (activate_pads):
25828 On paused->ready, set pad->caps to NULL, as is the documented
25829 behaviour in this state change. Fixes playback of series of
25830 media files when visualization is enabled in Totem.
25832 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25834 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25835 Allow NULL as filter-caps (which means "any").
25837 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25839 * docs/libs/gstreamer-libs-sections.txt:
25840 * libs/gst/controller/gst-controller.c:
25841 * libs/gst/controller/gst-controller.h:
25842 * libs/gst/controller/gst-helper.c:
25843 adding more entries to the docs and fix small doc-bugs
25845 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25847 * docs/gst/gstreamer-docs.sgml:
25848 * docs/gst/gstreamer-sections.txt:
25849 * docs/gst/gstreamer.types:
25850 * docs/gst/tmpl/gstbasesink.sgml:
25851 * docs/gst/tmpl/gstbasesrc.sgml:
25852 * docs/gst/tmpl/gstbasetransform.sgml:
25853 * docs/gst/tmpl/gstfakesrc.sgml:
25854 * gst/base/gstcollectpads.c:
25855 * gst/base/gstcollectpads.h:
25856 * libs/gst/controller/gst-controller.c:
25857 * libs/gst/controller/gst-controller.h:
25858 * libs/gst/controller/gst-helper.c:
25859 * libs/gst/controller/gst-interpolation.c:
25860 * libs/gst/controller/lib.c:
25861 added long/short desc for controller docs
25862 added collectpads base class docs
25863 added correct includes to base-class docs
25865 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25867 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25868 (gst_test_mono_source_set_property),
25869 (gst_test_mono_source_class_init), (GST_START_TEST),
25870 (gst_controller_suite):
25871 * docs/gst/gstreamer-docs.sgml:
25872 * docs/gst/gstreamer-sections.txt:
25873 * docs/gst/gstreamer.types:
25874 * docs/libs/gstreamer-libs-docs.sgml:
25875 * docs/libs/gstreamer-libs-sections.txt:
25876 * gst/base/gstadapter.c:
25877 * libs/gst/controller/gst-controller.c:
25878 (gst_controlled_property_new), (gst_controlled_property_free),
25879 (gst_controller_new_valist),
25880 (gst_controller_remove_properties_valist),
25881 (gst_controller_sink_values), (_gst_controller_finalize):
25882 * libs/gst/controller/gst-controller.h:
25883 * libs/gst/controller/gst-helper.c:
25884 (gst_object_control_properties), (gst_object_uncontrol_properties),
25885 (gst_object_get_controller), (gst_object_set_controller),
25886 (gst_object_sink_values), (gst_object_get_value_arrays),
25887 (gst_object_get_value_array):
25888 more tests (and fixes) for the controller
25889 more docs for the controller
25890 integrated companies docs for the adapter
25892 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25894 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25895 (GST_START_TEST), (fakesrc_suite):
25896 add tests for sizetype
25898 2005-08-04 Andy Wingo <wingo@pobox.com>
25900 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25901 fixes buffer_alloc proxying among other things.
25903 * gst/base/gstbasetransform.c:
25904 * gst/base/gstbasetransform.h:
25905 Revert patch to gstbasetransform from 7-28 removing
25908 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25909 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25910 Semantics changed, should return not the size of the output buffer
25911 but the byte size of a buffer with a given caps.
25913 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25915 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25916 out) are not the pad caps until setcaps finishes.
25917 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25918 not-in-place case as well. Deal with changing from in-place to
25919 not-in-place within calling pad_alloc_buffer. Still a bit
25920 concerned about the overhead here...
25922 2005-08-03 Andy Wingo <wingo@pobox.com>
25924 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25925 fixating is an error.
25927 2005-08-04 Edward Hervey <edward@fluendo.com>
25929 * gst/base/gstadapter.h:
25930 Added gst_adapter_get_type() to the header
25932 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25934 * check/Makefile.am:
25935 * check/gst-libs/controller.c:
25936 * libs/gst/controller/gst-controller.c:
25937 (gst_controller_new_valist):
25938 added check test suite for the controller
25939 * gst/base/gstpushsrc.c:
25942 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25944 * docs/gst/Makefile.am:
25945 * docs/gst/gstreamer-docs.sgml:
25946 * docs/gst/gstreamer-sections.txt:
25947 * docs/gst/gstreamer.types:
25948 * docs/gst/tmpl/gstfakesrc.sgml:
25950 * gst/base/gstbasesink.c:
25951 * gst/base/gstbasesink.h:
25952 * gst/base/gstbasesrc.c:
25953 * gst/base/gstbasesrc.h:
25954 * gst/base/gstbasetransform.c:
25955 * gst/base/gstpushsrc.c:
25956 * gst/base/gstpushsrc.h:
25957 add short/long description docs to base classes
25958 add pushsrc to the docs
25959 remove consolidated doc fragments
25961 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25964 * docs/libs/Makefile.am:
25965 * docs/libs/gstreamer-libs-docs.sgml:
25966 * docs/libs/gstreamer-libs-sections.txt:
25967 * docs/libs/gstreamer-libs.types:
25968 * examples/Makefile.am:
25969 * examples/controller/.cvsignore:
25970 * examples/controller/Makefile.am:
25971 * examples/controller/audio-example.c: (main):
25972 * libs/gst/Makefile.am:
25973 * libs/gst/controller/.cvsignore:
25974 * libs/gst/controller/Makefile.am:
25975 * libs/gst/controller/gst-controller.c:
25976 (on_object_controlled_property_changed), (gst_timed_value_compare),
25977 (gst_timed_value_find),
25978 (gst_controlled_property_set_interpolation_mode),
25979 (gst_controlled_property_new), (gst_controlled_property_free),
25980 (gst_controller_find_controlled_property),
25981 (gst_controller_new_valist), (gst_controller_new),
25982 (gst_controller_remove_properties_valist),
25983 (gst_controller_remove_properties), (gst_controller_set),
25984 (gst_controller_set_from_list), (gst_controller_unset),
25985 (gst_controller_get), (gst_controller_get_all),
25986 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25987 (gst_controller_get_value_array),
25988 (gst_controller_set_interpolation_mode),
25989 (_gst_controller_finalize), (_gst_controller_init),
25990 (_gst_controller_class_init), (gst_controller_get_type):
25991 * libs/gst/controller/gst-controller.h:
25992 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25993 (g_object_uncontrol_properties), (g_object_get_controller),
25994 (g_object_set_controller), (g_object_sink_values),
25995 (g_object_get_value_arrays), (g_object_get_value_array):
25996 * libs/gst/controller/gst-interpolation.c:
25997 (gst_controlled_property_find_timed_value_node),
25998 (interpolate_none_get), (interpolate_trigger_get),
25999 (interpolate_trigger_get_value_array):
26000 * libs/gst/controller/lib.c: (gst_controller_init):
26001 * pkgconfig/Makefile.am:
26002 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26003 * pkgconfig/gstreamer-control.pc.in:
26004 * testsuite/Makefile.am:
26005 * testsuite/controller/.cvsignore:
26006 * testsuite/controller/Makefile.am:
26007 * testsuite/controller/interpolator.c: (main):
26008 added controller code
26009 removed dparam pc files
26011 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26012 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26013 (gst_collectpads_stop):
26014 Broadcast the condition when shutting down, to make sure we wake all
26015 threads up. Shut down pads on finalize, for safety.
26017 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26018 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26019 (gst_base_transform_handle_buffer),
26020 (gst_base_transform_change_state):
26021 Handle PAUSED->READY->PAUSED transition after negotiation
26023 * gst/gstmessage.c: (gst_message_init):
26024 Extra piece of debug for new messages.
26026 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26029 * docs/gst/tmpl/gstbasesrc.sgml:
26030 * docs/gst/tmpl/gstelement.sgml:
26031 * docs/gst/tmpl/gstevent.sgml:
26032 * docs/gst/tmpl/gstfakesrc.sgml:
26033 * docs/gst/tmpl/gstformat.sgml:
26034 * docs/gst/tmpl/gstghostpad.sgml:
26035 * docs/gst/tmpl/gstpad.sgml:
26036 * docs/gst/tmpl/gstquery.sgml:
26037 * docs/gst/tmpl/gststructure.sgml:
26038 * docs/gst/tmpl/gsttaglist.sgml:
26039 * docs/gst/tmpl/gstvalue.sgml:
26040 * docs/libs/gstreamer-libs-docs.sgml:
26041 * docs/libs/gstreamer-libs-sections.txt:
26042 * docs/libs/gstreamer-libs.types:
26043 * libs/gst/Makefile.am:
26044 * libs/gst/control/.cvsignore:
26045 * libs/gst/control/Makefile.am:
26046 * libs/gst/control/control.c:
26047 * libs/gst/control/control.h:
26048 * libs/gst/control/dparam.c:
26049 * libs/gst/control/dparam.h:
26050 * libs/gst/control/dparam_smooth.c:
26051 * libs/gst/control/dparam_smooth.h:
26052 * libs/gst/control/dparamcommon.h:
26053 * libs/gst/control/dparammanager.c:
26054 * libs/gst/control/dparammanager.h:
26055 * libs/gst/control/dplinearinterp.c:
26056 * libs/gst/control/dplinearinterp.h:
26057 * libs/gst/control/unitconvert.c:
26058 * libs/gst/control/unitconvert.h:
26059 * testsuite/Makefile.am:
26060 * testsuite/dynparams/.cvsignore:
26061 * testsuite/dynparams/Makefile.am:
26062 * testsuite/dynparams/dparamstest.c:
26063 * tools/Makefile.am:
26064 * tools/gst-inspect.c: (print_element_info), (main):
26065 * tools/gst-xmlinspect.c: (print_element_info), (main):
26066 deactivate and remove dparams (libgstcontrol)
26068 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26070 * gst/elements/gsttypefindelement.c:
26071 (gst_type_find_element_have_type), (gst_type_find_element_init),
26072 (stop_typefinding), (gst_type_find_element_handle_event),
26073 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26074 * gst/elements/gsttypefindelement.h:
26075 Set caps on all outgoing buffers, not just the first one.
26077 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26079 * gst/elements/gsttypefindelement.c:
26080 (gst_type_find_element_have_type),
26081 (gst_type_find_element_check_set_buffer_caps),
26082 (gst_type_find_element_init), (stop_typefinding),
26083 (gst_type_find_element_handle_event),
26084 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26085 * gst/elements/gsttypefindelement.h:
26086 Set caps on first outgoing buffer when we've found the type.
26088 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26090 * docs/gst/gstreamer-docs.sgml:
26091 * docs/gst/gstreamer-sections.txt:
26092 * docs/gst/tmpl/gstscheduler.sgml:
26093 * docs/gst/tmpl/gstschedulerfactory.sgml:
26094 Remove some old cruft from docs.
26096 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
26099 Fix inline docs for GstPadLinkReturn.
26101 * gst/gststructure.c: (gst_structure_has_name):
26102 * gst/gststructure.h:
26103 * docs/gst/gstreamer-sections.txt:
26104 New API: gst_structure_has_name().
26106 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
26109 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26110 and _LARGEFILE_SOURCE in config.h as required. Do not
26111 export those flags in our .pc files any longer (#142209).
26113 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26115 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26116 (gst_file_sink_do_seek), (gst_file_sink_event),
26117 (gst_file_sink_get_current_offset), (gst_file_sink_render):
26118 Redo seek/tell calls with large file support in mind; add some
26119 debugging messages; add log message that tells us when large
26120 file support is unavailable or not enabled for some reason.
26122 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26123 Add log message that tells us when large file support
26124 is unavailable or not enabled for some reason.
26126 2005-07-29 Wim Taymans <wim@fluendo.com>
26128 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26129 Added test for removing an element with ghostpad from a bin.
26130 Fixed test as current implementation does the right thing.
26132 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26133 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26134 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26135 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26136 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26137 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
26138 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
26139 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26140 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
26141 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
26142 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
26143 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
26144 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
26145 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
26146 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
26147 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
26148 * gst/gstghostpad.h:
26149 Clean up ghostpads, remove properties for internal stuff.
26152 Prepare for switching targets, not all use cases work yet.
26154 2005-07-29 Wim Taymans <wim@fluendo.com>
26156 * docs/design/part-gstghostpad.txt:
26159 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26160 (gst_bin_remove_func):
26161 Unlinking pads while holding the bin LOCK is not a good
26164 * gst/gstpad.c: (gst_pad_class_init),
26165 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
26166 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
26167 No prob setting template after creating the pad.
26169 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
26171 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
26172 (gst_bus_peek), (gst_bus_source_dispatch),
26173 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
26174 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
26175 gst_bus_poll may be called from other threads. Handle
26176 this nicely by not making poll_data disappear off the
26177 stack once gst_bus_poll returns.
26178 gst_bus_peek now increments the refcount on the returned
26181 2005-07-29 Wim Taymans <wim@fluendo.com>
26183 * docs/design/part-gstghostpad.txt:
26184 Overview of current GhostPad datastructures and use
26185 cases for changing the target.
26187 2005-07-28 Wim Taymans <wim@fluendo.com>
26189 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26190 Added checks for hierarchy consistency whan adding linked
26193 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26194 Added check to test element scheduling without bin/pipeline.
26196 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26197 First add elements to bin, then link.
26199 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26200 (gst_bin_remove_func):
26201 Unlink pads from elements added/removed from bin to maintain
26202 hierarchy consistency.
26204 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26206 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26207 (gst_base_transform_handle_buffer):
26208 * gst/base/gstbasetransform.h:
26209 Remove broken delay_configure (fixes renegotiation of software
26210 scaling pipelines); remove some leftover printf()s.
26212 2005-07-28 Wim Taymans <wim@fluendo.com>
26214 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26215 Added some more tests for wrong hierarchy
26217 * docs/design/part-overview.txt:
26220 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
26223 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
26224 (gst_element_dispose):
26225 Some more cleanups.
26227 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
26228 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
26229 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26230 (gst_pad_set_caps), (gst_pad_send_event):
26231 Check for correct hierarchy when linking pads. Moving to
26232 strict requirement for ghostpads when linking elements in
26236 Clean ups. Added WRONG_HIERARCHY return value.
26238 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26240 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26241 Better debug if no transform is possible.
26243 2005-07-27 Wim Taymans <wim@fluendo.com>
26245 * docs/random/wtay/network-transp:
26246 Some old doc I had.
26248 2005-07-27 Wim Taymans <wim@fluendo.com>
26250 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26251 (gst_dp_event_from_packet):
26252 Fix serialization of seek events.
26254 2005-07-27 Wim Taymans <wim@fluendo.com>
26256 * check/gst-libs/gdp.c: (GST_START_TEST):
26257 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26258 Fix compilation and fix event serialization.
26260 2005-07-27 Wim Taymans <wim@fluendo.com>
26263 * docs/design/part-TODO.txt:
26264 * docs/design/part-events.txt:
26267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26268 (gst_base_sink_event), (gst_base_sink_do_sync),
26269 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26270 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26271 (gst_base_src_do_seek), (gst_base_src_event_handler),
26272 (gst_base_src_loop):
26273 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26274 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26275 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26276 (gst_base_transform_event), (gst_base_transform_handle_buffer),
26277 (gst_base_transform_set_passthrough),
26278 (gst_base_transform_is_passthrough):
26279 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26280 * gst/elements/gstfilesink.c: (gst_file_sink_event):
26286 * gst/gstelement.c: (gst_element_seek):
26287 * gst/gstelement.h:
26288 Update gst_element_seek.
26290 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
26291 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
26292 (gst_event_new_flush_start), (gst_event_new_flush_stop),
26293 (gst_event_new_eos), (gst_event_new_newsegment),
26294 (gst_event_parse_newsegment), (gst_event_new_tag),
26295 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
26296 (gst_event_parse_qos), (gst_event_new_seek),
26297 (gst_event_parse_seek), (gst_event_new_navigation):
26299 Make GstEvent use GstStructure. Add parsing code, make sure the
26300 API is sufficiently generic.
26301 Mark possible directions of events and serialization.
26303 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
26304 (_gst_message_copy), (gst_message_new_segment_start),
26305 (gst_message_new_segment_done), (gst_message_new_custom),
26306 (gst_message_parse_segment_start),
26307 (gst_message_parse_segment_done):
26310 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26311 (gst_pad_set_caps), (gst_pad_send_event):
26312 Update for new events.
26313 Catch events sent in wrong directions.
26315 * gst/gstqueue.c: (gst_queue_link_src),
26316 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26317 (gst_queue_handle_src_query):
26322 Remove event code from this file.
26324 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26325 (gst_dp_event_from_packet):
26328 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26330 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
26331 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26332 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
26333 Make debugging actually useful.
26335 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26337 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
26338 (gst_pad_fixate_caps):
26339 Implement default fixation once again, so that gst_pad_fixate()
26340 actually does anything at all. This probably needs to be some
26341 sort of a last resort, and use profile-based fixation first, but
26342 since that doesn't exist yet, this is the best we have. Fixes
26343 visualization in Totem.
26345 2005-07-22 Wim Taymans <wim@fluendo.com>
26347 * docs/design/part-events.txt:
26350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26351 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
26352 (gst_base_sink_activate_pull):
26353 Some more comments.
26355 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
26356 (gst_fake_src_create):
26357 Fix handoff marshall.
26359 * gst/elements/gstidentity.c: (gst_identity_class_init),
26360 (gst_identity_transform_ip):
26361 We're a real inplace element.
26363 * gst/gstbus.c: (gst_bus_post):
26364 Added some comments.
26366 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
26367 * tests/muxing/case1.c: (main):
26368 * tests/sched/dynamic-pipeline.c: (main):
26369 * tests/sched/interrupt1.c: (main):
26370 * tests/sched/interrupt2.c: (main):
26371 * tests/sched/interrupt3.c: (main):
26372 * tests/sched/runxml.c: (main):
26373 * tests/sched/sched-stress.c: (main):
26374 * tests/seeking/seeking1.c: (event_received), (main):
26375 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
26377 * tests/threadstate/threadstate3.c: (main):
26378 * tests/threadstate/threadstate4.c: (main):
26379 * tests/threadstate/threadstate5.c: (main):
26382 2005-07-21 Wim Taymans <wim@fluendo.com>
26384 * docs/design/part-seeking.txt:
26385 Some small additions.
26387 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26388 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26389 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26390 * gst/base/gstbasesink.h:
26391 discont values are gint64, handle the math correctly.
26393 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26394 Make the basesrc report error if the source pad is not linked.
26396 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26397 (gst_queue_loop), (gst_queue_handle_src_query),
26398 (gst_queue_src_activate_push):
26399 Make queue collect data even if the srcpad is not linked.
26400 Start pushing out data as soon as it is linked.
26402 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26404 Added gst_flow_get_name() to ease error reporting.
26406 2005-07-20 Wim Taymans <wim@fluendo.com>
26408 * gst/gstmessage.c: (gst_message_new_segment_start),
26409 (gst_message_new_segment_done), (gst_message_parse_segment_start),
26410 (gst_message_parse_segment_done):
26411 * gst/gstmessage.h:
26412 Added a bunch of messages for advanced seeking.
26414 * gst/parse/grammar.y:
26415 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26416 (gst_dpman_state_changed):
26417 Fix some new-pad -> pad-added signals
26419 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26421 * docs/manual/appendix-porting.xml:
26422 * docs/pwg/appendix-porting.xml:
26423 Document new-pad/state-change signal renames and the FixedList
26426 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26428 * docs/manual/advanced-autoplugging.xml:
26429 * docs/manual/basics-helloworld.xml:
26430 * docs/manual/basics-pads.xml:
26431 * docs/random/ds/0.9-suggested-changes:
26432 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26433 * gst/gstelement.h:
26437 * gst/gststructure.c: (gst_structure_value_get_generic_type),
26438 (gst_structure_parse_array), (gst_structure_parse_value):
26439 * gst/gstvalue.c: (gst_type_is_fixed),
26440 (gst_value_list_prepend_value), (gst_value_list_append_value),
26441 (gst_value_list_get_size), (gst_value_list_get_value),
26442 (gst_value_transform_array_string), (gst_value_serialize_array),
26443 (gst_value_deserialize_array), (gst_value_intersect_array),
26444 (gst_value_is_fixed), (_gst_value_initialize):
26446 GstElement::new-pad -> pad-added, GstElement::state-change ->
26447 state-changed, GstValueFixedList -> GstValueArray, add format and
26448 flags as their own arguments in gst_element_seek() (should improve
26449 "bindeability"), remove function generators since they don't work
26450 under a whole bunch of compilers (they were deprecated already
26453 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26455 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26456 (_gst_debug_register_funcptr):
26458 Fix illegal cast on some platforms (#309253).
26460 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26462 * gst/gstmessage.c: (gst_message_new_custom):
26463 * gst/gstmessage.h:
26464 Add _new_custom, make _new_application a macro to _new_custom.
26466 2005-07-20 Wim Taymans <wim@fluendo.com>
26468 * gst/base/gstbasesrc.c: (gst_base_src_init),
26469 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26470 * gst/base/gstbasesrc.h:
26471 Add a gboolean to decide when to push out a discont.
26473 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26474 (gst_queue_loop), (gst_queue_handle_src_query),
26475 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26476 (gst_queue_set_property), (gst_queue_get_property):
26479 * tests/threadstate/threadstate1.c: (main):
26480 Make a thread test compile and run... very silly..
26483 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26485 * docs/manual/appendix-porting.xml:
26486 Mention removal of libgstgconf-0.9.la and existence of gconf
26489 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26491 * docs/pwg/advanced-clock.xml:
26492 * docs/pwg/appendix-porting.xml:
26493 * docs/pwg/intro-preface.xml:
26494 * docs/pwg/other-base.xml:
26495 * docs/pwg/other-manager.xml:
26496 * docs/pwg/other-nton.xml:
26497 * docs/pwg/other-ntoone.xml:
26498 * docs/pwg/other-oneton.xml:
26499 * docs/pwg/pwg.xml:
26500 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26501 demuxer), remove n-to-n (was never written), fix some code examples
26502 and links and update the porting section to include all this.
26504 2005-07-19 Wim Taymans <wim@fluendo.com>
26506 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26507 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26508 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26509 (gst_queue_src_activate_push), (gst_queue_change_state),
26510 (gst_queue_get_property):
26512 Propagate GstFlowReturn more intelligently upstream and output
26513 an ERROR/EOS when streaming stopped due to fatal error.
26515 2005-07-19 Wim Taymans <wim@fluendo.com>
26517 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26518 Don't block forever for the state change to complete, the
26519 pipeline already did with a sensible timeout.
26521 2005-07-19 Wim Taymans <wim@fluendo.com>
26523 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26524 Make sure we never call the create function is we
26527 2005-07-19 Andy Wingo <wingo@pobox.com>
26529 * gst/parse/parse.l: Attempt to solve bug #172815.
26531 2005-07-19 Wim Taymans <wim@fluendo.com>
26533 * docs/design/part-clocks.txt:
26534 * docs/design/part-events.txt:
26535 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26536 Small docs updates.
26537 Only update the seeking values when we are not
26540 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26542 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26543 Oops, ignore the result of gst_pad_push_event here.
26545 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26547 * gst/base/gstbasesrc.c: (gst_base_src_loop),
26548 (gst_base_src_activate_push):
26549 Send discont event from the loop function, as pads
26550 aren't activated yet in the activate_push handler.
26552 * gst/gstbin.c: (bin_bus_handler):
26553 Don't leak element name.
26555 2005-07-18 Andy Wingo <wingo@pobox.com>
26557 * configure.ac: Use AS_LIBTOOL_TAGS.
26559 2005-07-18 Wim Taymans <wim@fluendo.com>
26561 * docs/gst/gstreamer.types:
26562 Remove deleted types.
26564 2005-07-18 Wim Taymans <wim@fluendo.com>
26566 * check/elements/gstfakesrc.c: (GST_START_TEST):
26569 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26570 (init_popt_callback):
26572 * gst/gst_private.h:
26573 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26574 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26577 * gst/gstconfig.h.in:
26578 * gst/gstelement.c: (gst_element_class_init),
26579 (gst_element_set_base_time), (gst_element_get_base_time),
26580 (iterator_fold_with_resync), (gst_element_change_state),
26581 (gst_element_dispose), (gst_element_get_bus):
26582 * gst/gstelement.h:
26583 * gst/gstelementfactory.h:
26584 * gst/gsterror.c: (_gst_core_errors_init):
26587 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26589 * gst/gstinfo.c: (_gst_debug_init):
26590 * gst/gstmessage.c: (_gst_message_copy):
26591 * gst/gstmessage.h:
26592 * gst/gstminiobject.h:
26595 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26596 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26599 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26600 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26601 (gst_pipeline_get_last_stream_time):
26602 * gst/gstpipeline.h:
26603 * gst/gstpluginfeature.h:
26605 * gst/gstscheduler.c:
26606 * gst/gstscheduler.h:
26607 * gst/gststructure.h:
26608 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26609 (gst_task_finalize), (gst_task_func), (gst_task_create),
26610 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26611 (gst_task_stop), (gst_task_pause):
26613 * gst/gsttypefind.h:
26615 * gst/registries/gstlibxmlregistry.c: (load_feature),
26616 (gst_xml_registry_load), (gst_xml_registry_save_feature):
26617 * gst/registries/gstxmlregistry.c:
26618 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26619 * gst/schedulers/threadscheduler.c:
26620 * libs/gst/control/dparammanager.h:
26621 * tools/gst-inspect.c: (print_element_list),
26622 (print_plugin_features), (print_element_features):
26623 * tools/gst-xmlinspect.c: (print_element_list),
26624 (print_plugin_info), (main):
26625 Removed plugable schedulers.
26626 Removed Scheduler/Manager from elements.
26627 Removed gsttypes.h, rearranged includes.
26628 Removed dependency pad<->element, element<>pipeline, and
26629 various others, fix includes.
26630 implement gst_pad_get_parent() with gst_object_get_parent()
26631 Make GstTask sefcontained.
26632 Fix _get_state() on GstBin, it did not return ASYNC with a 0
26634 Fix endless loop in iterator_fold_with_resync.
26637 2005-07-18 Wim Taymans <wim@fluendo.com>
26643 2005-07-18 Wim Taymans <wim@fluendo.com>
26646 No more cothreads.h
26648 2005-07-18 Wim Taymans <wim@fluendo.com>
26652 Let's remove these.
26654 2005-07-18 Wim Taymans <wim@fluendo.com>
26656 * docs/design/part-dynamic.txt:
26657 * docs/design/part-events.txt:
26658 * docs/design/part-seeking.txt:
26659 Some more docs in the works.
26661 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26662 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26663 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26664 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26665 (gst_base_transform_handle_buffer),
26666 (gst_base_transform_sink_activate_push),
26667 (gst_base_transform_src_activate_pull),
26668 (gst_base_transform_set_passthrough),
26669 (gst_base_transform_is_passthrough):
26672 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26675 * gst/gstevent.c: (gst_event_finalize):
26678 * gst/gstutils.c: (gst_element_unlink),
26679 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26680 (gst_pad_proxy_setcaps):
26682 Add _get_parent_element() to get a pads parent as an element.
26684 2005-07-18 Wim Taymans <wim@fluendo.com>
26686 * check/gst/gstbin.c: (GST_START_TEST):
26689 2005-07-18 Wim Taymans <wim@fluendo.com>
26691 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26692 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26693 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26694 (gst_base_sink_event), (gst_base_sink_do_sync),
26695 (gst_base_sink_chain), (gst_base_sink_loop),
26696 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26697 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26699 Fix logic for returning ASYNC when not prerolled.
26701 2005-07-18 Wim Taymans <wim@fluendo.com>
26703 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26704 Fix nasty refcount bug.
26706 2005-07-16 Philippe Khalaf <burger@speedy.org>
26708 * gst/elements/gstfdsrc.c:
26709 * gst/elements/gstfdsrc.h:
26710 * gst/elements/gstelements.c:
26711 * gst/elements/Makefile.am:
26712 Ported fdsrc to 0.9.
26714 2005-07-16 Wim Taymans <wim@fluendo.com>
26716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26717 (gst_base_sink_do_sync):
26720 2005-07-16 Wim Taymans <wim@fluendo.com>
26722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26723 (gst_base_sink_event), (gst_base_sink_get_times),
26724 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26725 * gst/base/gstbasesink.h:
26726 Store and use discont values when syncing buffers as described
26729 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26730 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26731 (gst_base_src_activate_push):
26732 Push discont event when starting.
26734 * gst/elements/gstidentity.c: (gst_identity_transform):
26737 * gst/gstbin.c: (gst_bin_change_state):
26738 Small cleanups in base_time distribution.
26740 * gst/gstelement.c: (gst_element_set_base_time),
26741 (gst_element_get_base_time), (gst_element_change_state):
26742 * gst/gstelement.h:
26743 Added methods for the base_time of the element.
26746 * gst/gstpipeline.c: (gst_pipeline_send_event),
26747 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26748 (gst_pipeline_get_last_stream_time):
26749 * gst/gstpipeline.h:
26751 Handle seeking as described in design doc, remove stream_time
26753 Cleanups clock and stream_time selection code. Added accessors
26754 for the stream_time.
26757 2005-07-16 Andy Wingo <wingo@pobox.com>
26759 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26762 2005-07-16 Wim Taymans <wim@fluendo.com>
26764 * check/gst/gstbin.c: (GST_START_TEST):
26765 Make elements silent as the deep_notify refs the
26766 parent, which might make the test fail.
26768 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26769 Don't hold the lock for too long.
26771 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26773 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26774 Don't unref the caps we passed to gst_caps_make_writable() after
26775 passing them. gst_caps_make_writable() will do that for us.
26777 2005-07-15 Andy Wingo <wingo@pobox.com>
26779 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26782 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26783 own marshalling function for the handoff signal. Properly type the
26784 buffer as a buffer. Fixes some warnings. Should do a more general
26786 (gst_identity_class_init): Plug into the right marshaller.
26788 2005-07-15 Wim Taymans <wim@fluendo.com>
26790 * docs/design/part-TODO.txt:
26791 * docs/design/part-clocks.txt:
26792 * docs/design/part-element-sink.txt:
26793 * docs/design/part-events.txt:
26794 * docs/design/part-gstpipeline.txt:
26795 Updated docs, mostly DISCONT related.
26797 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26799 * docs/pwg/building-pads.xml:
26800 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26802 2005-07-15 Andy Wingo <wingo@pobox.com>
26804 * tools/gst-typefind.c: Update, add copyright block.
26806 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26807 Normalize and truncate caps before fixation.
26810 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26811 discards all but the first structure from its argument.
26813 2005-07-15 Wim Taymans <wim@fluendo.com>
26815 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26816 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26817 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26818 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26819 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26820 (gst_base_transform_chain), (gst_base_transform_change_state),
26821 (gst_base_transform_set_passthrough),
26822 (gst_base_transform_is_passthrough):
26823 * gst/base/gstbasetransform.h:
26824 Make passthrough work using the bufferpools.
26825 Changed API a bit, subclasses have to write into a buffer
26826 provided by the base class.
26827 More debug info in nego functions.
26829 * gst/elements/gstidentity.c: (gst_identity_init),
26830 (gst_identity_transform):
26831 Port to new base class.
26833 2005-07-15 Wim Taymans <wim@fluendo.com>
26835 * gst/gstmessage.c: (gst_message_new_state_changed):
26836 * tools/gst-launch.c: (event_loop), (main):
26837 Totally dump messages in -launch with the -m option.
26838 Fix message name for State messages,
26840 2005-07-14 Wim Taymans <wim@fluendo.com>
26842 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26843 Post error messages on errors.
26845 2005-07-14 Wim Taymans <wim@fluendo.com>
26847 * gst/gstcaps.c: (gst_caps_do_simplify):
26851 Define error for stream stopped.
26853 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26854 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26855 Do proper return values.
26857 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26858 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26859 (gst_pad_get_range):
26860 Better return values.
26863 Reorganise return values, add macro to check for fatal errors.
26865 * gst/gstqueue.c: (gst_queue_chain):
26866 Return proper GstFlowReturn values,
26868 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26870 * docs/gst/gstreamer-sections.txt:
26871 * docs/gst/gstreamer.types:
26872 * docs/gst/tmpl/gst.sgml:
26873 * docs/gst/tmpl/gstbasesink.sgml:
26874 * docs/gst/tmpl/gstbasesrc.sgml:
26875 * docs/gst/tmpl/gstbasetransform.sgml:
26876 * docs/gst/tmpl/gstbin.sgml:
26877 * docs/gst/tmpl/gstbuffer.sgml:
26878 * docs/gst/tmpl/gstcaps.sgml:
26879 * docs/gst/tmpl/gstclock.sgml:
26880 * docs/gst/tmpl/gstcompat.sgml:
26881 * docs/gst/tmpl/gstconfig.sgml:
26882 * docs/gst/tmpl/gstelement.sgml:
26883 * docs/gst/tmpl/gstelementdetails.sgml:
26884 * docs/gst/tmpl/gstelementfactory.sgml:
26885 * docs/gst/tmpl/gstenumtypes.sgml:
26886 * docs/gst/tmpl/gsterror.sgml:
26887 * docs/gst/tmpl/gstevent.sgml:
26888 * docs/gst/tmpl/gstfakesink.sgml:
26889 * docs/gst/tmpl/gstfakesrc.sgml:
26890 * docs/gst/tmpl/gstfilesink.sgml:
26891 * docs/gst/tmpl/gstfilesrc.sgml:
26892 * docs/gst/tmpl/gstfilter.sgml:
26893 * docs/gst/tmpl/gstformat.sgml:
26894 * docs/gst/tmpl/gstghostpad.sgml:
26895 * docs/gst/tmpl/gstimplementsinterface.sgml:
26896 * docs/gst/tmpl/gstindex.sgml:
26897 * docs/gst/tmpl/gstindexfactory.sgml:
26898 * docs/gst/tmpl/gstinfo.sgml:
26899 * docs/gst/tmpl/gstiterator.sgml:
26900 * docs/gst/tmpl/gstmacros.sgml:
26901 * docs/gst/tmpl/gstmemchunk.sgml:
26902 * docs/gst/tmpl/gstminiobject.sgml:
26903 * docs/gst/tmpl/gstobject.sgml:
26904 * docs/gst/tmpl/gstpad.sgml:
26905 * docs/gst/tmpl/gstpadtemplate.sgml:
26906 * docs/gst/tmpl/gstparse.sgml:
26907 * docs/gst/tmpl/gstpipeline.sgml:
26908 * docs/gst/tmpl/gstplugin.sgml:
26909 * docs/gst/tmpl/gstpluginfeature.sgml:
26910 * docs/gst/tmpl/gstquery.sgml:
26911 * docs/gst/tmpl/gstqueue.sgml:
26912 * docs/gst/tmpl/gstregistry.sgml:
26913 * docs/gst/tmpl/gstregistrypool.sgml:
26914 * docs/gst/tmpl/gstscheduler.sgml:
26915 * docs/gst/tmpl/gstschedulerfactory.sgml:
26916 * docs/gst/tmpl/gststructure.sgml:
26917 * docs/gst/tmpl/gstsystemclock.sgml:
26918 * docs/gst/tmpl/gsttaglist.sgml:
26919 * docs/gst/tmpl/gsttagsetter.sgml:
26920 * docs/gst/tmpl/gsttrace.sgml:
26921 * docs/gst/tmpl/gsttrashstack.sgml:
26922 * docs/gst/tmpl/gsttypefind.sgml:
26923 * docs/gst/tmpl/gsttypefindfactory.sgml:
26924 * docs/gst/tmpl/gsttypes.sgml:
26925 * docs/gst/tmpl/gsturihandler.sgml:
26926 * docs/gst/tmpl/gsturitype.sgml:
26927 * docs/gst/tmpl/gstutils.sgml:
26928 * docs/gst/tmpl/gstvalue.sgml:
26929 * docs/gst/tmpl/gstversion.sgml:
26930 * docs/gst/tmpl/gstxml.sgml:
26931 * docs/libs/tmpl/gstcontrol.sgml:
26932 * docs/libs/tmpl/gstdataprotocol.sgml:
26933 * docs/libs/tmpl/gstdparam.sgml:
26934 * docs/libs/tmpl/gstdplinint.sgml:
26935 * docs/libs/tmpl/gstdpman.sgml:
26936 * docs/libs/tmpl/gstdpsmooth.sgml:
26937 * docs/libs/tmpl/gstgetbits.sgml:
26938 * docs/libs/tmpl/gstunitconvert.sgml:
26939 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26940 (gst_push_src_base_init), (gst_push_src_class_init),
26941 (gst_push_src_init), (gst_push_src_create):
26942 * gst/base/gstpushsrc.h:
26943 * gst/elements/gstelements.c:
26944 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26945 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26946 (gst_fake_sink_init), (gst_fake_sink_set_property),
26947 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26948 (gst_fake_sink_event), (gst_fake_sink_preroll),
26949 (gst_fake_sink_render), (gst_fake_sink_change_state):
26950 * gst/elements/gstfakesink.h:
26951 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26952 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26953 (gst_fake_src_base_init), (gst_fake_src_class_init),
26954 (gst_fake_src_init), (gst_fake_src_event_handler),
26955 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26956 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26957 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26958 (gst_fake_src_create_buffer), (gst_fake_src_create),
26959 (gst_fake_src_start), (gst_fake_src_stop):
26960 * gst/elements/gstfakesrc.h:
26961 * gst/elements/gstfilesink.c: (_do_init),
26962 (gst_file_sink_base_init), (gst_file_sink_class_init),
26963 (gst_file_sink_init), (gst_file_sink_dispose),
26964 (gst_file_sink_set_location), (gst_file_sink_set_property),
26965 (gst_file_sink_get_property), (gst_file_sink_open_file),
26966 (gst_file_sink_close_file), (gst_file_sink_query),
26967 (gst_file_sink_event), (gst_file_sink_render),
26968 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26969 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26970 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26971 * gst/elements/gstfilesink.h:
26972 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26973 (gst_file_src_class_init), (gst_file_src_init),
26974 (gst_file_src_finalize), (gst_file_src_set_location),
26975 (gst_file_src_set_property), (gst_file_src_get_property),
26976 (gst_file_src_map_region), (gst_file_src_map_small_region),
26977 (gst_file_src_create_mmap), (gst_file_src_create_read),
26978 (gst_file_src_create), (gst_file_src_is_seekable),
26979 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26980 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26981 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26982 (gst_file_src_uri_handler_init):
26983 * gst/elements/gstfilesrc.h:
26984 more autistic cleanliness in functions/names/defines
26986 2005-07-13 Andy Wingo <wingo@pobox.com>
26988 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26989 source couldn't negotiate.
26991 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26995 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26996 function. I am channeling Hades. Put your boots on suckers!!!
26998 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27000 * testsuite/caps/Makefile.am:
27001 * testsuite/caps/value_compare.c:
27002 * testsuite/caps/value_intersect.c:
27003 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27004 move two testsuite apps over to the check dir
27006 2005-07-12 Wim Taymans <wim@fluendo.com>
27008 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27009 Added more debug info in the negotiate process.
27011 * gst/gstmessage.h:
27012 Prepare for segment playback.
27014 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27020 * tools/gst-launch.c: (main):
27021 NULL pipeline on errors.
27023 2005-07-12 Andy Wingo <wingo@pobox.com>
27025 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27026 not it comes from a malloc region. Make sure our copy gets freed.
27028 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27030 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27031 * check/gst/gstmessage.c: (GST_START_TEST):
27032 * check/gst/gststructure.c: (GST_START_TEST),
27033 (gst_structure_suite), (main):
27035 * gst/gstelement.c: (gst_element_message_full):
27036 clean up GError and debug string now that they get copied
27037 * gst/gstmessage.c: (gst_message_new_error),
27038 (gst_message_new_warning), (gst_message_parse_error),
27039 (gst_message_parse_warning):
27040 use GST_TYPE_G_ERROR for structure_new, and take copies of
27041 arguments, so that we don't mess up refcounting
27043 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27045 * check/Makefile.am:
27046 add per-test valgrind targets
27047 * check/gst-libs/gdp.c: (GST_START_TEST),
27048 (gst_data_protocol_suite), (main):
27051 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27053 * check/Makefile.am:
27054 instate more valgrindable tests
27055 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27056 (GST_START_TEST), (fakesrc_suite):
27057 * check/gst/gstpad.c: (GST_START_TEST):
27058 * check/gst/gststructure.c: (GST_START_TEST):
27060 * docs/gst/tmpl/gstminiobject.sgml:
27061 * gst/gstpad.c: (gst_pad_finalize):
27062 fix the static mutex leak
27064 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27066 * check/Makefile.am:
27067 add two more tests for valgrinding
27068 * check/gst/gstvalue.c: (GST_START_TEST):
27069 test refcount of deserialized buffer, found a leak
27070 * docs/gst/gstreamer-docs.sgml:
27071 * docs/gst/gstreamer-sections.txt:
27072 * docs/gst/gstreamer.types:
27073 * docs/gst/tmpl/gstminiobject.sgml:
27074 add miniobject to docs
27075 * gst/gstminiobject.c:
27077 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27078 (gst_string_unwrap):
27079 fix a hard-to-find invalid write for one of the tests
27080 fix a leak for deserialized buffers
27082 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27084 * docs/pwg/advanced-events.xml:
27085 * docs/pwg/advanced-request.xml:
27086 * docs/pwg/advanced-scheduling.xml:
27087 * docs/pwg/appendix-porting.xml:
27088 * docs/pwg/building-boiler.xml:
27089 * docs/pwg/intro-preface.xml:
27090 * docs/pwg/other-ntoone.xml:
27091 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27092 of example code and explanation for pad activation, loop() and
27093 getrange() functions and a bit more. Remove old comments pointing
27095 * examples/pwg/Makefile.am:
27096 Add loop/getrange examples.
27098 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27101 check for valgrind binary + some fixes
27103 valgrind suppressions for the tests
27104 * check/Makefile.am:
27105 add a valgrind: target that valgrinds the unit tests
27106 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27107 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27108 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27109 * check/gst/gstghostpad.c:
27111 * check/gst/gstdata.c:
27113 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27114 (thread_unref), (gst_mini_object_suite), (main):
27116 * gst/gst.c: (gst_deinit):
27118 add a method to clean up.
27119 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27120 (gst_system_clock_obtain):
27121 allow for disposing the system clock.
27122 * tools/gst-launch.c: (main):
27125 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27127 * docs/gst/tmpl/gstbasesrc.sgml:
27128 * docs/gst/tmpl/gstfakesrc.sgml:
27129 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27130 (gst_base_src_init), (gst_base_src_set_property),
27131 (gst_base_src_get_property), (gst_base_src_get_range),
27132 (gst_base_src_start):
27133 * gst/base/gstbasesrc.h:
27134 add num-buffers property
27135 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27136 (gst_fakesrc_init), (gst_fakesrc_set_property),
27137 (gst_fakesrc_get_property), (gst_fakesrc_create),
27138 (gst_fakesrc_start):
27139 remove num-buffers property
27141 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27143 * docs/gst/gstreamer-sections.txt:
27144 * docs/gst/tmpl/gstbasesink.sgml:
27145 * docs/gst/tmpl/gstbasesrc.sgml:
27146 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27147 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27148 (gst_base_sink_finalize), (gst_base_sink_set_clock),
27149 (gst_base_sink_set_property), (gst_base_sink_get_property),
27150 (gst_base_sink_handle_object), (gst_base_sink_event),
27151 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
27152 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
27153 (gst_base_sink_loop), (gst_base_sink_deactivate),
27154 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
27155 (gst_base_sink_change_state):
27156 * gst/base/gstbasesink.h:
27157 * gst/base/gstbasesrc.h:
27158 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
27159 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27160 (gst_filesink_init):
27161 more macro splitting
27163 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27165 * gst/gstelement.c: (gst_element_get_bus):
27167 * tools/gst-launch.c: (check_intr), (event_loop):
27170 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27172 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
27175 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27177 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27178 (gst_base_src_finalize):
27179 add finalize method and clean up properly
27180 * gst/gstpipeline.c: (gst_pipeline_dispose):
27183 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27185 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
27187 add more things to check
27188 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27189 * gst/gstelement.c:
27192 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27194 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27195 (GST_START_TEST), (fakesrc_suite):
27196 * check/gst-libs/gdp.c: (GST_START_TEST):
27197 * check/gst/gst.c: (GST_START_TEST):
27198 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27199 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27200 * check/gst/gstbus.c: (GST_START_TEST):
27201 * check/gst/gstcaps.c: (GST_START_TEST):
27202 * check/gst/gstdata.c: (GST_START_TEST):
27203 * check/gst/gstelement.c: (GST_START_TEST):
27204 * check/gst/gstghostpad.c: (GST_START_TEST):
27205 * check/gst/gstiterator.c: (GST_START_TEST):
27206 * check/gst/gstmessage.c: (GST_START_TEST):
27207 * check/gst/gstobject.c: (GST_START_TEST):
27208 * check/gst/gstpad.c: (GST_START_TEST):
27209 * check/gst/gststructure.c: (GST_START_TEST):
27210 * check/gst/gstsystemclock.c: (GST_START_TEST),
27211 (gst_systemclock_suite):
27212 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
27213 * check/gst/gstvalue.c: (GST_START_TEST):
27214 * check/pipelines/cleanup.c: (GST_START_TEST):
27215 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27216 * check/states/sinks.c: (GST_START_TEST):
27217 * check/gstcheck.c: (gst_check_init):
27218 * check/gstcheck.h:
27219 add debugging category
27220 use GST_START_TEST now, so we add a debug line
27222 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27224 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
27225 add test for state change message on a bin
27226 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
27228 * gst/gstbin.c: (gst_bin_init):
27229 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
27230 * gst/gstelement.c: (gst_element_post_message),
27231 (gst_element_set_state):
27232 * gst/gstelementfactory.c: (gst_element_factory_create):
27233 * gst/gstmessage.c: (gst_message_new):
27234 * gst/gstscheduler.c:
27235 various debugging additions and cleanups
27237 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27239 * check/Makefile.am:
27240 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
27242 adding tests for elements
27243 * gst/gstelement.c: (gst_element_dispose):
27245 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27247 * gst/registries/gstlibxmlregistry.c: (load_feature):
27248 plug more leaks. A simple gst_init() now is leakfree, yay.
27250 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27252 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
27253 (gst_xml_registry_load):
27254 plug another memleak
27256 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27259 use GST_SET_ERROR_CFLAGS
27260 * docs/faq/cvs.xml:
27261 change to ERROR_CFLAGS
27263 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27266 make GST_ERROR_CFLAGS overridable and re-enable Werror
27267 * docs/faq/cvs.xml:
27268 add a note about error CFLAGS
27269 * docs/gst/tmpl/gstfakesrc.sgml:
27270 * gst/elements/gstfakesrc.c:
27271 comment out some unused code
27272 * gst/gst.c: (split_and_iterate):
27273 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
27277 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
27279 * common/Makefile.am:
27280 * common/gtk-doc.mak:
27281 * docs/gst/Makefile.am:
27282 factor out gtk-doc.mak
27284 2005-07-07 Wim Taymans <wim@fluendo.com>
27286 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
27287 (gst_thread_scheduler_dispose):
27288 Unlock the STREAM_LOCK completely.
27290 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
27292 * check/Makefile.am:
27293 * check/elements/.cvsignore:
27294 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27295 (START_TEST), (fakesrc_suite), (main):
27296 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27297 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27298 (gst_fakesrc_create), (gst_fakesrc_start):
27299 * gst/elements/gstfakesrc.h:
27300 adding a first element test
27302 2005-07-07 Andy Wingo <wingo@pobox.com>
27304 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
27307 2005-07-07 Wim Taymans <wim@fluendo.com>
27313 2005-07-07 Wim Taymans <wim@fluendo.com>
27315 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
27316 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
27317 Allow subclasses to implement their own negotiation.
27319 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27321 * docs/design/part-gstbin.txt:
27322 * docs/design/part-gstpipeline.txt:
27323 Update design notes to reflect the movement of
27324 responsibility for bus handling from GstPipeline to
27327 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27330 Remove unnecessary queue2/3/4 examples.
27332 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27334 * examples/Makefile.am:
27335 * examples/helloworld/helloworld.c: (event_loop), (main):
27336 * examples/queue/queue.c: (event_loop), (main):
27337 * examples/queue2/queue2.c: (main):
27338 Update a couple of the examples to work again.
27340 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27341 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
27342 Spelling corrections and extra debug.
27344 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
27345 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
27346 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
27348 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27349 (gst_pipeline_change_state):
27350 * gst/gstpipeline.h:
27351 Move the bus handler for children to the GstBin, and create a
27352 separate bus for receiving messages from children to the one the
27353 bus sends 'upwards' on.
27355 2005-07-06 Wim Taymans <wim@fluendo.com>
27358 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27359 (gst_base_sink_handle_object), (gst_base_sink_loop),
27360 (gst_base_sink_change_state):
27361 * gst/base/gstbasesink.h:
27362 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27363 (gst_base_src_init), (gst_base_src_setcaps),
27364 (gst_base_src_getcaps), (gst_base_src_loop),
27365 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
27366 (gst_base_src_start), (gst_base_src_change_state):
27367 * gst/base/gstbasesrc.h:
27368 Make basesrc negotiate.
27369 Handle the case where preroll fails in basesink.
27372 2005-07-06 Wim Taymans <wim@fluendo.com>
27374 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
27375 Implement the fixate function.
27376 Clean up acceptcaps.
27378 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27380 * docs/pwg/building-filterfactory.xml:
27381 * docs/pwg/pwg.xml:
27382 Remove never-written filter-factory chapter; I'll add the various
27383 base classes to part 4 ("other element types") later on.
27385 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27387 * docs/pwg/advanced-negotiation.xml:
27388 * docs/pwg/building-boiler.xml:
27389 * docs/pwg/building-pads.xml:
27390 * docs/pwg/pwg.xml:
27391 * examples/pwg/Makefile.am:
27392 Add a chapter on caps negotiation, simplify the original code
27393 samples a bit w.r.t. caps negotiation, add link to the advanced
27394 section. Add a bunch of examples showing different use cases of
27395 different types of caps negotiation. Upstream renegotiation isn't
27396 fully documented yet since nobody knows how that works.
27398 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
27400 * check/gst/gstpad.c:
27401 * check/gstcheck.c:
27402 * gst/gstpad.c: (gst_pad_get_internal_links_default):
27403 if pad has no parent, return NULL as list of internal links
27405 2005-07-05 Andy Wingo <wingo@pobox.com>
27407 * gst/elements/gstfilesrc.c:
27408 * gst/elements/gstfakesrc.c:
27409 * gst/base/gstpushsrc.c:
27410 * gst/base/gstbasesrc.h:
27411 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27413 2005-07-05 Stefan Kost <ensonic@users.sf.net>
27416 better report generation target (lcov needs a patch)
27418 2005-07-05 Andy Wingo <wingo@pobox.com>
27420 * gst/elements, testsuite: Null if we got it...
27422 2005-07-05 Wim Taymans <wim@fluendo.com>
27425 * libs/gst/dataprotocol/Makefile.am:
27426 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27427 * libs/gst/dataprotocol/dataprotocol.h:
27428 * pkgconfig/Makefile.am:
27429 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27430 * pkgconfig/gstreamer-dataprotocol.pc.in:
27431 Ported dataprotol to 0.9.
27432 Added pkgconfig files.
27434 2005-07-05 Andy Wingo <wingo@pobox.com>
27436 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27437 Default to returning TRUE for the case when tranform_caps returns
27438 a fixed caps, like for identity or volume.
27440 * check/gst/gstbus.c (pound_bus_with_messages):
27441 * check/gst/gstmessage.c (START_TEST):
27442 * check/pipelines/simple_launch_lines.c (got_handoff): Application
27443 message API change.
27445 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27446 logic weaks here: always run transform_caps, trying passthrough
27447 operation only if the original caps intersects with the transform.
27449 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27450 source and sink caps.
27452 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27453 Intersect the peer caps with the pad template before going into
27455 (gst_base_transform_transform_caps): More debugging.
27457 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27460 2005-07-04 Edward Hervey <edward@fluendo.com>
27464 (gst_pad_add_*_probe): now returns the signal id for better wrapping
27467 2005-07-04 Andy Wingo <wingo@pobox.com>
27469 * check/gst/gstpad.c: Only set explicit caps on pads.
27471 2005-07-01 Andy Wingo <wingo@pobox.com>
27473 * tests/network-clock.scm: Commentary update.
27475 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27476 Didn't really make sense, not implementable with basetransform,
27478 (gst_identity_transform): Unref inbuf via make_writable. Feeble
27479 attempt at implementing the sync property, needs an unlock method.
27481 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27482 New func, by default returns the same caps (the identity
27484 (gst_base_transform_getcaps): Uses transform_caps to return
27485 something sensible.
27486 (gst_base_transform_setcaps): Complicated logic to get caps on
27487 both pads, even if they are different, and to call set_caps once
27488 for every time both pads get their caps set.
27489 (gst_base_transform_handle_buffer): Give the ref to the transform
27490 function. Allows in-place modification of the buffer.
27492 * gst/base/gstbasetransform.h (transform_caps): New class method.
27493 Given caps on one side, what can I do on the other.
27494 (set_caps): Take two caps, one for each side of the element.
27497 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27498 caps in place. This is safe because we can check the mutability of
27499 the caps, and a good idea because fixate functions are just called
27500 as a matter of last resort. (Not actually implemented.)
27501 (gst_pad_set_caps): If the caps we're setting is actually the same
27502 as the existing pad caps, just update the pointer without calling
27503 setcaps. Assert that caps is either NULL or fixed, as per the
27506 * gst/gstghostpad.c: Update for fixate changes.
27508 2005-07-02 Andy Wingo <wingo@pobox.com>
27511 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27512 two refcounts makes it immutable, which is enough. Doc more.
27514 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
27516 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27517 Put the mini_object into GValue as a mini_object,
27518 not a gpointer, since that's how we declared
27521 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27523 * examples/pwg/Makefile.am:
27524 Fix buildbot again.
27526 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27528 * docs/pwg/building-testapp.xml:
27530 * examples/pwg/Makefile.am:
27533 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27536 * examples/Makefile.am:
27537 * examples/pwg/Makefile.am:
27538 * examples/pwg/extract.pl:
27539 Enable building the PWG examples.
27540 * docs/pwg/advanced-interfaces.xml:
27541 Add URI interface stub.
27542 * docs/pwg/advanced-types.xml:
27543 * docs/pwg/other-autoplugger.xml:
27544 * docs/pwg/appendix-porting.xml:
27545 * docs/pwg/pwg.xml:
27546 Add porting guide (mostly stubs), remove autoplugging (see ADM).
27547 * docs/pwg/building-boiler.xml:
27548 * docs/pwg/building-chainfn.xml:
27549 * docs/pwg/building-pads.xml:
27550 * docs/pwg/building-props.xml:
27551 * docs/pwg/building-state.xml:
27552 * docs/pwg/building-testapp.xml:
27553 Update the building-*.xml parts for 0.9 changes. All examples
27554 code blocks compile in examples/pwg/*.
27556 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27558 * docs/manual/advanced-autoplugging.xml:
27559 * docs/manual/appendix-checklist.xml:
27560 * docs/manual/appendix-integration.xml:
27561 * docs/manual/highlevel-components.xml:
27562 Fix playbin/decodebin examples, update docs a bit, mention bus
27563 instead of signals in various places, mention kmplayer and
27564 kaffeine since they have a working GStreamer backend in the KDE
27567 2005-06-30 Wim Taymans <wim@fluendo.com>
27570 * docs/design/draft-ghostpads.txt:
27571 * docs/design/draft-push-pull.txt:
27572 * docs/design/draft-query.txt:
27573 * docs/design/part-TODO.txt:
27574 * docs/design/part-query.txt:
27575 Added CHANGES-0.9 doc, updated status of other docs.
27580 2005-06-30 Wim Taymans <wim@fluendo.com>
27582 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27583 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27584 (gst_base_sink_change_state):
27585 * gst/base/gstbasesink.h:
27586 Some tweaks, only EOS and a buffer complete a preroll.
27588 2005-06-30 Andy Wingo <wingo@pobox.com>
27590 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27591 activate_push down to the internal pad as well.
27593 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
27595 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27597 * gst/gsttaginterface.c:
27598 Some documentation fixes (#307394 and #307397).
27600 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
27602 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27604 * gst/gstvalue.c: (gst_value_intersect_list):
27605 Fix memleak (#309125).
27607 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27609 * docs/manual/advanced-dataaccess.xml:
27610 Fix fakesrc example to compile; doesn't work, bug somewhere...?
27611 * docs/manual/basics-pads.xml:
27612 Add reference for filtered caps to above chapter.
27614 2005-06-30 Wim Taymans <wim@fluendo.com>
27616 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27617 (gst_bin_change_state):
27619 Lame attempt at making the state change function a bit
27622 2005-06-30 Wim Taymans <wim@fluendo.com>
27624 * docs/design/part-clocks.txt:
27625 * docs/design/part-element-sink.txt:
27626 * docs/design/part-events.txt:
27627 * docs/design/part-preroll.txt:
27628 * docs/design/part-states.txt:
27629 Some more tweeks and additions to the docs.
27631 2005-06-30 Wim Taymans <wim@fluendo.com>
27633 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27634 (default_have_data), (gst_pad_class_init), (gst_pad_init),
27635 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27636 (gst_pad_check_pull_range), (gst_pad_get_range),
27637 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27639 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27640 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27641 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27642 (gst_pad_remove_buffer_probe):
27643 Removed atomic operations, use existing LOCK.
27644 Move exception handling out of main code path.
27646 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27648 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27649 (silly_return_true_function), (gst_pad_class_init),
27650 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27651 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27652 (gst_pad_send_event):
27653 Fix accumulator, add default value by using _emitv() instead
27654 of _emit() for signal emission.
27656 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27658 * docs/manual/advanced-dataaccess.xml:
27659 * examples/manual/Makefile.am:
27661 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27664 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27666 * gst/elements/gstfilesink.c: (gst_filesink_render):
27667 Simplify code so that we don't have to handle short
27668 writes and return GST_FLOW_ERROR if an error occured.
27670 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27672 * docs/gst/gstreamer-docs.sgml:
27673 Remove probes more.
27675 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27677 * docs/gst/gstreamer-sections.txt:
27678 * docs/gst/tmpl/gstpad.sgml:
27679 * docs/gst/tmpl/gstprobe.sgml:
27681 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27682 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27683 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27684 (gst_pad_push_event), (gst_pad_send_event):
27686 * gst/gstutils.c: (gst_pad_add_data_probe),
27687 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27688 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27689 (gst_pad_remove_buffer_probe):
27691 Remove old probes, add new g-signal-based probes and some utility
27694 2005-06-29 Edward Hervey <edward@fluendo.com>
27696 * gst/gstelementfactory.c:
27699 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27700 the definition to the header file.
27702 2005-06-29 Andy Wingo <wingo@pobox.com>
27704 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27705 plugins from the source directory.
27707 2005-06-29 Wim Taymans <wim@fluendo.com>
27709 * docs/gst/tmpl/gstbuffer.sgml:
27710 * docs/gst/tmpl/gstclock.sgml:
27711 Some fixings for blantently wrong text.
27713 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27715 * check/Makefile.am:
27716 * gst/gst.c: (add_path_func), (init_pre):
27717 * gst/gstregistry.c: (gst_registry_add_path):
27718 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27719 only scan the GST_PLUGIN_PATH locations, and not add
27722 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27724 * docs/gst/gstreamer-sections.txt:
27725 * docs/gst/tmpl/gstbasesrc.sgml:
27726 * gst/gstelement.c:
27727 * gst/gstelement.h:
27732 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27734 * docs/manual/advanced-autoplugging.xml:
27735 Fix autoplugging example.
27737 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27739 * docs/manual/advanced-autoplugging.xml:
27740 * docs/manual/mime-world.fig:
27741 Try to get autoplugging working, fix type detection. Fix text
27742 in hello-world image.
27744 2005-06-29 Wim Taymans <wim@fluendo.com>
27746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27747 (gst_base_sink_change_state):
27751 map SIGNAL and BROADCAST to the right function.
27754 Remove redundant braces.
27756 * gst/gstpad.c: (gst_pad_set_caps):
27757 Don't call setcaps function when reseting caps to NULL.
27759 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27760 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27761 (gst_system_clock_id_unschedule):
27762 Use BROADCAST as this is what we do.
27764 2005-06-29 Wim Taymans <wim@fluendo.com>
27766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27767 We are actually prerolling before commiting the state
27770 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27772 * docs/manual/advanced-clocks.xml:
27773 * docs/manual/advanced-interfaces.xml:
27774 * docs/manual/advanced-metadata.xml:
27775 * docs/manual/advanced-position.xml:
27776 * docs/manual/advanced-schedulers.xml:
27777 * docs/manual/advanced-threads.xml:
27778 * docs/manual/appendix-porting.xml:
27779 * docs/manual/basics-bins.xml:
27780 * docs/manual/basics-bus.xml:
27781 * docs/manual/basics-elements.xml:
27782 * docs/manual/basics-helloworld.xml:
27783 * docs/manual/basics-pads.xml:
27784 * docs/manual/highlevel-components.xml:
27785 * docs/manual/manual.xml:
27786 * docs/manual/thread.fig:
27787 Update (until threads/scheduling) Application Development Manual;
27788 remove GstThread, add GstBus, add simple porting checklist, add
27789 documentation for tag writing, clocks, make all examples until this
27790 part compile and run.
27791 * examples/manual/Makefile.am:
27792 Update from changes to Application Development Manual; add bus
27793 example, remove thread example.
27795 2005-06-28 Wim Taymans <wim@fluendo.com>
27797 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27798 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27799 (gst_bus_source_dispatch):
27800 Add debugging messages.
27801 Make internal methods static.
27802 Handle the case where the bus is flushed in the handler.
27804 * gst/gstelement.c: (gst_element_get_bus):
27805 Fix refcount in _get_bus();
27807 * gst/gstpipeline.c: (gst_pipeline_change_state),
27808 (gst_pipeline_get_clock_func):
27809 Clock refcounting fixes.
27810 Handle the case where preroll timed out more gracefully.
27812 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27813 Clean up the internal thread in dispose. This is needed
27814 for subclasses that actually get disposed.
27816 * gst/schedulers/threadscheduler.c:
27817 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27818 (gst_thread_scheduler_dispose):
27819 Free thread pool in dispose.
27821 2005-06-28 Andy Wingo <wingo@pobox.com>
27823 * tests/network-clock-utils.scm (debug, print-event): New utils.
27825 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27826 (*packet-loss*): Unified loss probability.
27827 (network-time): Report out-of-band events.
27829 * tests/plot-data: Add support for out-of-band events. Hack it
27830 into this script instead of passing it down the pipe; should fix
27833 2005-06-28 Wim Taymans <wim@fluendo.com>
27835 * docs/gst/gstreamer.types:
27836 * docs/gst/tmpl/gstbasesrc.sgml:
27837 * docs/gst/tmpl/gstpad.sgml:
27840 2005-06-28 Wim Taymans <wim@fluendo.com>
27842 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27843 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27844 (gst_proxy_pad_do_fixatecaps):
27845 Correctly proxy the check_pull_range function.
27847 2005-06-28 Andy Wingo <wingo@pobox.com>
27849 * tests/network-clock.scm: Removed need for slib.
27851 2005-06-28 Wim Taymans <wim@fluendo.com>
27853 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27854 (gst_basesink_preroll_queue_flush):
27855 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27856 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27857 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27858 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27859 (gst_proxy_pad_set_property):
27862 * gst/gstqueue.c: (gst_queue_init):
27863 The deprecated pad loop function is removed now.
27865 2005-06-28 Andy Wingo <wingo@pobox.com>
27867 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27868 New parameters, simulate network packet loss.
27870 * tests/network-clock-utils.scm: Initialize the RNG.
27872 2005-06-28 Wim Taymans <wim@fluendo.com>
27874 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27875 (gst_basesink_event), (gst_basesink_deactivate):
27876 Flushing the preroll queue always needs to unlock the waiters.
27878 2005-06-28 Edward Hervey <edward@fluendo.com>
27880 * gst/gstpipeline.c: (gst_pipeline_send_event):
27881 Wheen a seek was successful on a pipeline, set the stream_time to the
27882 seek offset in order to have a synchronized stream_time.
27884 2005-06-28 Wim Taymans <wim@fluendo.com>
27886 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27887 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27888 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27889 (gst_proxy_pad_do_fixatecaps):
27890 Call wrapper function instead of just calling the function
27891 pointers. This takes care of any locking and whatmore.
27893 2005-06-28 Wim Taymans <wim@fluendo.com>
27895 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27896 (gst_pad_pull_range):
27898 CONNECTED -> LINKED.
27900 2005-06-28 Andy Wingo <wingo@pobox.com>
27902 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27903 source-munging commit!!!
27905 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27906 (gst_object_sink): Take gpointer arguments, not GstObject --
27907 avoids casts. Like GLib.
27909 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27912 2005-06-27 Andy Wingo <wingo@pobox.com>
27914 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27917 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27918 returns a sorted copy of the trace list.
27919 (gst_alloc_trace_print_live): New API, only prints traces with
27920 live objects. Sort the list.
27921 (gst_alloc_trace_print_all): Sort the list.
27922 (gst_alloc_trace_print): Align columns.
27924 * gst/elements/gstttypefindelement.c:
27925 * gst/elements/gsttee.c:
27926 * gst/base/gstbasesrc.c:
27927 * gst/base/gstbasesink.c:
27928 * gst/base/gstbasetransform.c:
27929 * gst/gstqueue.c: Adapt for pad activation changes.
27931 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27933 (gst_pipeline_dispose): Drop ref on sched.
27935 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27936 (gst_pad_activate_default): Push mode by default.
27937 (pre_activate_switch, post_activate_switch): New stubs, things to
27938 do before and after switching activation modes on pads.
27939 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27940 the pad's activate function to choose which mode to activate.
27941 Shortcut on deactivation and call the right function directly.
27942 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27944 (gst_pad_activate_push): New API, same for push mode.
27945 (gst_pad_set_activate_function)
27946 (gst_pad_set_activatepull_function)
27947 (gst_pad_set_activatepush_function): Setters for new API.
27949 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27950 Trace all miniobjects.
27951 (gst_mini_object_make_writable): Unref the arg if we copy, like
27952 gst_caps_make_writable.
27954 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27956 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27957 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27958 Adapt for new pad API.
27960 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27962 * gst/gstelement.h:
27963 * gst/gstelement.c (gst_element_iterate_src_pads)
27964 (gst_element_iterate_sink_pads): New API functions.
27966 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27967 should fold into gstiterator.c in some form.
27968 (gst_element_pads_activate): Simplified via use of fold and
27969 delegation of decisions to gstpad->activate.
27971 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27974 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27975 class once in init, like gstmessage. Didn't run into this issue
27976 but it seems correct. Don't initialize a trace, gstminiobject does
27979 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27980 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27982 (assert_live_count): New util function, uses alloc traces to check
27985 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27986 To be modified when unlink drops the internal pad.
27988 2005-06-27 Wim Taymans <wim@fluendo.com>
27990 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27991 (gst_bin_change_state):
27992 Cleanup the get_state() function a little, make sure it
27993 iterates the same set of elements.
27994 Added stub iterate_state_order().
27996 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27998 * docs/gst/gstreamer-docs.sgml:
27999 * docs/gst/gstreamer-sections.txt:
28000 * docs/gst/gstreamer.types:
28001 * docs/gst/tmpl/gstbasesink.sgml:
28002 * docs/gst/tmpl/gstbasesrc.sgml:
28003 * docs/gst/tmpl/gstbasetransform.sgml:
28004 * docs/gst/tmpl/gstelement.sgml:
28005 * docs/gst/tmpl/gstiterator.sgml:
28006 * gst/base/gstbasesrc.c:
28007 * gst/base/gstbasesrc.h:
28008 * gst/base/gstbasetransform.h:
28009 * gst/gstelement.c:
28010 * gst/gstiterator.h:
28011 adding basetransform and iterator docs
28013 2005-06-27 Andy Wingo <wingo@pobox.com>
28015 * docs/design/part-activation.txt: Notes on how activation should
28016 work -- not quite implemented yet.
28018 2005-06-25 Wim Taymans <wim@fluendo.com>
28020 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28021 At least get the chain function correct, needs more
28024 2005-06-25 Wim Taymans <wim@fluendo.com>
28026 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28027 (gst_basesink_handle_object), (gst_basesink_event),
28028 (gst_basesink_do_sync), (gst_basesink_handle_event),
28029 (gst_basesink_change_state):
28031 Right, two problems here: ghostpads don't take locks and
28032 glib _rec_mutex_lock_full() with depth==0 still locks.
28033 Catch illegal locking and g_warn them.
28035 2005-06-25 Wim Taymans <wim@fluendo.com>
28037 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28038 Have to check for completion now...
28040 2005-06-25 Wim Taymans <wim@fluendo.com>
28042 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28043 (gst_basesink_handle_object), (gst_basesink_event),
28044 (gst_basesink_do_sync), (gst_basesink_handle_event),
28045 (gst_basesink_change_state):
28047 Unlock STREAM_LOCK whatever the recursion was.
28049 2005-06-25 Wim Taymans <wim@fluendo.com>
28051 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28052 (gst_basesink_preroll_queue_empty),
28053 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28054 (gst_basesink_event), (gst_basesink_do_sync),
28055 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28056 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28057 (gst_basesink_change_state):
28058 Reworked the base sink, handle event and buffer serialisation
28059 correctly and removed possible deadlock.
28060 Handle EOS correctly.
28062 2005-06-25 Wim Taymans <wim@fluendo.com>
28064 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28065 (gst_pipeline_change_state):
28066 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28067 Allow elements to post EOS in the state change function.
28068 Fix up -launch, make it exit the poll loop when the
28069 pipeline actually changed state.
28070 Fix up warning parsing in -launch.
28072 2005-06-25 Wim Taymans <wim@fluendo.com>
28074 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28075 (gst_tee_sink_activate):
28076 Core takes STREAM_LOCK for us now.
28078 2005-06-25 Wim Taymans <wim@fluendo.com>
28080 * gst/gstelement.c: (gst_element_get_state_func),
28081 (gst_element_set_state):
28082 * gst/gstelement.h:
28083 * gst/gstmessage.c: (gst_message_parse_error),
28084 (gst_message_parse_warning):
28085 Keep track of current target state while performing a state
28086 change so that subclasses can do something interesting.
28087 Fix parsing of warning/error messages when GError is NULL.
28089 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
28091 * docs/gst/Makefile.am:
28092 * docs/gst/gstreamer-docs.sgml:
28093 * docs/gst/gstreamer-sections.txt:
28094 * docs/gst/gstreamer.types:
28095 * docs/gst/tmpl/gstbasesink.sgml:
28096 * docs/gst/tmpl/gstbasesrc.sgml:
28097 * docs/gst/tmpl/gstbin.sgml:
28098 * docs/gst/tmpl/gstcompat.sgml:
28099 * docs/gst/tmpl/gstfakesink.sgml:
28100 * docs/gst/tmpl/gstfakesrc.sgml:
28101 * docs/gst/tmpl/gstfilesink.sgml:
28102 * docs/gst/tmpl/gstfilesrc.sgml:
28103 * docs/gst/tmpl/gstindex.sgml:
28104 * docs/manual/appendix-quotes.xml:
28105 * gst/base/gstbasesrc.h:
28106 * gst/elements/gstfakesrc.h:
28107 * gst/gstmessage.h:
28108 start pulling in base classes and elements in our docs
28110 2005-06-24 Stefan Kost <ensonic@users.sf.net>
28112 * docs/gst/Makefile.am:
28113 * docs/libs/Makefile.am:
28114 fixed make distcheck with gtk-doc 1.3
28116 2005-06-23 Wim Taymans <wim@fluendo.com>
28118 * gst/gstelement.c: (gst_element_get_state_func),
28119 (gst_element_set_state), (gst_element_change_state):
28120 When the state did not change, also report NO_PREROLL
28123 2005-06-23 Wim Taymans <wim@fluendo.com>
28125 * gst/gstpad.c: (gst_pad_event_default):
28126 * gst/gstqueue.c: (gst_queue_loop):
28127 No unsafe task pausing please.
28129 2005-06-23 Wim Taymans <wim@fluendo.com>
28131 * gst/schedulers/threadscheduler.c:
28132 (gst_thread_scheduler_task_start),
28133 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28134 Ref the task before pushing it on the threadpool. This
28135 makes sure that we have a ref when the threadfunction is
28138 2005-06-23 Andy Wingo <wingo@pobox.com>
28140 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
28141 offset is greater than the file's size.
28143 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
28144 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
28145 * gst/gstobject.c (gst_object_class_init): Make the class lock
28146 recursive. Wim won't let me drop deep_notify. Decodebin works
28147 again, whoopdy doo.
28149 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
28150 internal pad, and hacks accordingly. Doesn't do it on the target
28151 pad because we change its caps. Probably catches all cases of
28153 (gst_ghost_pad_set_property): Connect to notify::caps as
28156 * tests/network-clock.scm (plot-simulation): Pipe data to the
28157 elite python skript.
28159 * tests/network-clock-utils.scm (define-parameter): New macro,
28160 defines a parameter that can be set via the command line.
28161 (set-parameter!, parse-parameter-arguments): Command line args
28164 * tests/plot-data: Simple matplotlib-based plotter, takes input on
28167 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
28169 * gst/elements/gsttypefindelement.c:
28170 (gst_type_find_element_handle_event):
28171 Don't restart typefinding on a discont.
28172 * gst/gstelement.c: (gst_element_set_state):
28173 Debug spelling fix.
28174 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
28175 Allow changing mode of an active pad.
28176 Debug output fixes.
28177 * gst/registries/gstlibxmlregistry.c: (load_feature):
28178 Don't cast a static pad template to a normal pad template.
28180 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
28182 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28183 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28184 remove gst_strtoll completely, since it didn't actually do
28185 anything more than what g_ascii_strtoull already does.
28186 check for range errors when deserializing
28187 do a cast for the unsigned cases; but further fixing needs
28188 a decision on what the interpretation of "(int)" and
28189 deserialization should be for values that fall outside the
28190 type's boundaries (ie, refuse, or interpret as casting)
28192 2005-06-23 Wim Taymans <wim@fluendo.com>
28194 * check/Makefile.am:
28195 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
28196 * docs/design/part-live-source.txt:
28197 * docs/design/part-states.txt:
28198 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28199 (gst_basesrc_set_live), (gst_basesrc_is_live),
28200 (gst_basesrc_get_range), (gst_basesrc_activate),
28201 (gst_basesrc_change_state):
28202 * gst/base/gstbasesrc.h:
28203 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28204 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28205 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
28206 * gst/gstelement.c: (gst_element_get_state_func),
28207 (gst_element_set_state):
28208 * gst/gstelement.h:
28210 * tools/gst-launch.c: (event_loop), (main):
28211 Added support for live sources and other elements that
28213 Updated design docs, added live-source design doc.
28214 Implemented live source functionality in basesrc
28215 Fix error condition in _bin_get_state()
28216 Implement live source handling in -launch.
28217 Added check for live sources.
28218 Fixed case in GstBin where elements were changed state
28222 2005-06-23 Andy Wingo <wingo@pobox.com>
28224 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
28225 borken refcounting.
28227 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
28228 gst_caps_replace takes care of this for us.
28230 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
28231 gst_pad_set_caps on the target, not just its setcaps() function.
28233 * tests/network-clock.scm:
28234 * tests/network-clock-utils.scm: A network clock simulator.
28235 Something of an algorithmic testbed before doing something in C.
28237 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28239 * check/Makefile.am:
28240 * check/gst/capslist.h:
28241 copy over from 0.8, and add two with bitmasks specified with
28243 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28244 add test to parse everything from capslist.h
28245 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
28247 add test for structure deserialization
28248 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28249 add tests for deserialization of strings to int types
28250 * gst/gststructure.c: (gst_structure_nth_field_name):
28251 * gst/gststructure.h:
28252 add a way to get the name of a field referenced by index
28253 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28254 instead of checking if the resulting long long lies between
28255 min and max, we check if the long long would fit into
28256 a number of bytes for the final type.
28257 This fixes cases where a string represents 2^32 - 1, which
28258 when cast to int would be the (valid) -1, but is bigger than
28261 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28263 * gst/parse/grammar.y:
28264 add a log line for type deserialization
28266 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28268 * check/gst/gstvalue.c: (START_TEST):
28269 * gst/gstvalue.c: (gst_value_deserialize):
28270 return long long, not int, so gint64 deserialization actually
28271 works. Is there any flag that makes the compiler check this ?
28274 2005-06-22 Wim Taymans <wim@fluendo.com>
28277 Added convenience macros for setting buffers in GValue.
28279 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
28281 * check/gst/.cvsignore:
28282 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28283 add a test deserializing int64, and comment part out because
28286 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
28288 * check/Makefile.am:
28289 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
28290 * testsuite/Makefile.am:
28291 * testsuite/caps/Makefile.am:
28292 * testsuite/caps/value_serialize.c:
28293 * testsuite/test_gst_init.c:
28294 move a value_serialize test over
28296 2005-06-20 Wim Taymans <wim@fluendo.com>
28301 * gst/gstvalue.c: (gst_value_compare_buffer),
28302 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
28303 (gst_value_compare_flags), (gst_value_serialize_flags),
28304 (gst_value_deserialize_flags), (_gst_value_initialize):
28305 Fix serialisation of buffers, they are not boxed types anymore
28307 2005-06-20 Wim Taymans <wim@fluendo.com>
28309 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28310 Testcase to show error in buffer-on-caps serialisation.
28312 2005-06-20 Andy Wingo <wingo@pobox.com>
28314 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
28315 will be adding to later.
28317 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
28318 if its socks fill with rocks.
28319 (gst_system_clock_obtain): Set the name on object construction.
28320 Avoid double-checked locking.
28322 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
28324 * gst/gsturi.c: (gst_element_make_from_uri):
28325 Fix potential endless loop.
28327 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28329 * check/Makefile.am:
28331 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
28333 move over from testsuite dir and clean up
28336 * testsuite/Makefile.am:
28337 * testsuite/tags/.cvsignore:
28338 * testsuite/tags/Makefile.am:
28339 * testsuite/tags/merge.c:
28340 remove testsuite/tags
28342 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28344 * docs/gst/gstreamer-sections.txt:
28345 * docs/gst/tmpl/gstenumtypes.sgml:
28346 * win32/gstenumtypes.c:
28347 clean up documentation build a little
28349 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28351 * check/gstcheck.h:
28352 add macros for checking refcounts on objects and caps
28353 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
28354 add some more unit tests
28355 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
28356 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
28357 fix leaked refcounts (I hope :)) so unittest works
28361 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28363 * configure.ac: back to HEAD
28365 === release 0.9.1 ===
28367 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
28373 2005-06-17 Andy Wingo <wingo@pobox.com>
28375 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
28376 assert; it's always possible that the pad gets deactivated in
28377 between the checks in gstpad.c and the implementation. Rely on
28378 finish_preroll() to return a FLUSHING or similar instead of on the
28381 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
28382 clock and post an EOS message if we come out of finish_preroll in
28385 2005-06-16 David Schleef <ds@schleef.org>
28387 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
28388 (gst_capsfilter_set_property): Allow NULL as possible value
28389 for filter_caps property, indicating GST_CAPS_ANY.
28391 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28393 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28395 * gst/schedulers/Makefile.am:
28397 * gstreamer.spec.in:
28400 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28402 * gstreamer.spec.in:
28405 2005-06-08 Andy Wingo <wingo@pobox.com>
28407 * gst/gstutils.c: RPAD fixes all around.
28408 (gst_element_link_pads): Refcounting fixes.
28410 * tools/gst-inspect.c:
28411 * tools/gst-xmlinspect.c:
28413 * gst/base/gsttypefindhelper.c:
28414 * gst/base/gstbasesink.c:
28415 * gst/gstqueue.c: RPAD fixes.
28417 * gst/gstghostpad.h:
28418 * gst/gstghostpad.c: New ghost pad implementation as full proxy
28419 pads. The tricky thing is they provide both source and sink
28420 interfaces, since they proxy the internal pad for the external
28421 pad, and vice versa. Implement with lower-level ProxyPad objects,
28422 with the interior proxy pad as a child of the exterior ghost pad.
28423 Should write a doc on this.
28425 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28426 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28429 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28430 pads are real pads. No ghost pads in this file. Not documenting
28431 the myriad s/RPAD/PAD/ and REALIZE fixes.
28432 (gst_pad_class_init): Add properties for "direction" and
28433 "template". Both are construct-only, so they can't change during
28434 the life of the pad. Fixes properly deriving from GstPad.
28435 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28436 derived objects, just set properties when creating the objects via
28438 (gst_pad_get_parent): Implement as a function, return NULL if the
28439 parent is not an element.
28440 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28441 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28443 * gst/gstobject.c (gst_object_class_init): Make name a construct
28444 property. Don't set it in the object init.
28446 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28447 with UNKNOWN direction.
28448 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28449 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28450 (gst_element_remove_pad): Remove ghost-pad special cases.
28451 (gst_element_pads_activate): Remove rpad cruft.
28453 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28454 catch the pad's-parent-not-an-element case.
28456 * gst/gst.h: Include gstghostpad.h.
28458 * gst/gst.c (init_post): No more real, ghost pads.
28460 * gst/Makefile.am: Add gstghostpad.[ch].
28462 * check/Makefile.am:
28463 * check/gst/gstbin.c:
28464 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28465 into a bin creates ghost pads, and that the refcounts are right.
28466 Partly moved from gstbin.c.
28468 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28470 * check/gst-libs/.cvsignore:
28471 * check/gst/.cvsignore:
28472 * check/pipelines/.cvsignore:
28474 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28475 (START_TEST), (cleanup_suite), (main):
28476 add some tests related to cleanup after running pipelines
28478 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28480 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28481 add a testsuite for GstBuffer
28483 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28485 * gst/gstminiobject.h:
28486 add defines for accessing the refcount
28488 2005-06-03 Stefan Kost <ensonic@users.sf.net>
28490 * Makefile.am: added support for html unit test coverage reports
28492 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
28494 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28495 Free existing caps if the capsfilter changes. Add a FIXME about
28496 setting those caps on the pads.
28498 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28499 Before adding a ghost pad to a parent bin, check that there isn't
28500 already one for the element on the bin. Prevents infinite recursion
28501 when using decodebin in parse pipelines. Andy says he'll rewrite the
28502 way this works anyway, so ignore the hack.
28504 2005-06-02 Andy Wingo <wingo@pobox.com>
28506 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28507 file size, pass it on to the type find helper.
28509 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28510 segment_start and segment_end properly according to the seek
28511 method. Segment_end is still a bit flaky because offset can be
28512 negative for CUR and END cases, but it takes -1 as an "unset"
28515 2005-06-02 Wim Taymans <wim@fluendo.com>
28517 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28518 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28519 (gst_basesink_activate):
28520 * gst/base/gstbasesink.h:
28521 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28522 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28523 (gst_pad_query), (gst_pad_start_task):
28525 * gst/gstqueue.c: (gst_queue_bufferalloc),
28526 (gst_queue_handle_sink_event), (gst_queue_chain):
28527 Bufferalloc: return GstFlowReturn to more accuratly report
28528 why allocation failed.
28530 2005-06-02 Wim Taymans <wim@fluendo.com>
28532 * gst/gstpipeline.c: (gst_pipeline_send_event):
28533 Take snapshot of state without blocking.
28535 2005-06-02 Wim Taymans <wim@fluendo.com>
28537 * docs/design/part-TODO.txt:
28538 * docs/design/part-caps.txt:
28539 * docs/design/part-clocks.txt:
28540 * docs/design/part-negotiation.txt:
28541 * docs/design/part-preroll.txt:
28544 2005-05-30 Wim Taymans <wim@fluendo.com>
28546 * gst/elements/gstidentity.c: (gst_identity_event),
28547 (gst_identity_transform), (gst_identity_get_property):
28548 Protect last_message property as it is accessed from
28551 2005-05-30 Wim Taymans <wim@fluendo.com>
28553 * gst/gstelement.c: (gst_element_init),
28554 (gst_element_pads_activate), (gst_element_change_state):
28555 Slicker pad activation code.
28557 2005-05-30 Wim Taymans <wim@fluendo.com>
28560 * gst/gstelement.h:
28561 * gst/gstelementfactory.h:
28563 Move elementfactory methods to separate .h file.
28565 2005-05-30 Wim Taymans <wim@fluendo.com>
28567 * docs/design/part-overview.txt:
28568 * gst/gstsystemclock.h:
28569 Small typo fixes, doc updates.
28571 2005-05-30 Wim Taymans <wim@fluendo.com>
28573 * gst/gst.c: (gst_init_get_popt_table), (init_post),
28574 (init_popt_callback):
28575 Remove cpu-opt flag.
28577 2005-05-30 Wim Taymans <wim@fluendo.com>
28579 * gst/gstbuffer.c: (gst_subbuffer_finalize),
28580 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28582 Avoid typechecking in places where not needed.
28583 Added accessor for malloc_data.
28585 2005-05-30 Wim Taymans <wim@fluendo.com>
28587 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28588 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28589 (gst_pad_configure_sink), (gst_pad_configure_src),
28590 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28591 (gst_pad_start_task):
28592 Propagate errors from _set_caps() in configure_src/sink
28593 functions instead of returning TRUE.
28594 FLUSH events can travel up and downstream
28597 2005-05-30 Wim Taymans <wim@fluendo.com>
28599 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28600 (gst_basesink_activate):
28601 Handle EOS in preroll.
28603 2005-05-30 Wim Taymans <wim@fluendo.com>
28605 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28606 (gst_queue_loop), (gst_queue_handle_src_event):
28607 Remove old pieces of code
28608 Flushing the queue in an upstream event is a very bad idea.
28610 2005-05-26 Andy Wingo <wingo@pobox.com>
28612 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28613 gst_value_set_mini_object so as to add a ref on the object (which
28614 will be removed when the value is unset).
28616 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28617 arg type in ::handoff.
28619 * gst/gstelement.c (gst_element_change_state): Also deactivate
28620 pads in READY->NULL, just in case the element didn't make it to
28621 PAUSED. Wingo tested, Wim approved.
28623 2005-05-26 Wim Taymans <wim@fluendo.com>
28625 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28626 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28627 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28628 A flushing pad cannot be used to alloc_buffer from.
28630 2005-05-26 Wim Taymans <wim@fluendo.com>
28632 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28633 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28634 (gst_bus_source_dispatch), (gst_bus_source_finalize),
28635 (gst_bus_create_watch), (gst_bus_add_watch_full):
28637 Implement a real GSource and use g_main_context_wakeup() to
28638 signal new messages instead of the socketpair.
28640 2005-05-25 Wim Taymans <wim@fluendo.com>
28642 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28643 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28644 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28645 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28646 (gst_pad_send_event), (gst_pad_start_task):
28647 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28648 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28649 (gst_queue_sink_activate), (gst_queue_src_activate),
28650 (gst_queue_change_state):
28652 Fix state changes for non sinks. We now change sinks, then elements
28653 with unconnected srcpads, then the rest.
28654 More efficient queue unlocking in flush and state changes.
28655 Set the pad activate mode even if it does not have an activate
28658 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28660 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28661 Don't go in pull mode for non-seekable sources.
28662 * gst/elements/gsttypefindelement.h:
28663 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28664 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28665 (free_entry), (stop_typefinding),
28666 (gst_type_find_element_handle_event), (find_peek),
28667 (gst_type_find_element_chain), (do_pull_typefind),
28668 (gst_type_find_element_change_state):
28669 Allow typefinding (w/o seeking) in push-mode, simplified version
28670 of what was in 0.8.
28671 * gst/gstutils.c: (gst_buffer_join):
28673 gst_buffer_join() from 0.8.
28675 2005-05-25 Wim Taymans <wim@fluendo.com>
28677 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28678 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28679 (gst_pad_send_event), (gst_pad_start_task):
28680 Disable attempt at mode switching until it is figured out.
28682 2005-05-25 Wim Taymans <wim@fluendo.com>
28684 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28685 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28686 (gst_basesink_finish_preroll), (gst_basesink_chain),
28687 (gst_basesink_loop), (gst_basesink_activate),
28688 (gst_basesink_change_state):
28689 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28690 (gst_basesrc_get_range), (gst_basesrc_loop),
28691 (gst_basesrc_activate):
28692 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28693 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28694 (gst_real_pad_init), (gst_real_pad_set_property),
28695 (gst_real_pad_get_property), (gst_pad_set_active),
28696 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28697 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28698 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28699 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28700 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28701 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28702 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28703 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28704 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28705 (gst_pad_stop_task):
28707 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28708 (gst_queue_loop), (gst_queue_src_activate):
28709 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28710 (gst_task_get_state):
28712 * gst/schedulers/threadscheduler.c:
28713 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28714 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28716 Remove ACTIVE pad flag, use FLUSHING everywhere
28717 Added _pad_chain(), _pad_get_range() to call chain/getrange
28719 Add locks around IS_FLUSHING when reading.
28720 Take STREAM lock in chain(), get_range() functions so plugins
28721 don't need to take it anymore.
28725 2005-05-25 Wim Taymans <wim@fluendo.com>
28727 * tools/gst-launch.c: (event_loop):
28728 Unref message after using its contents instead of
28731 2005-05-24 Wim Taymans <wim@fluendo.com>
28733 * docs/design/draft-ghostpads.txt:
28734 * docs/design/draft-push-pull.txt:
28735 * docs/design/draft-query.txt:
28736 * docs/design/part-overview.txt:
28737 Docs updates, added general overview doc.
28739 2005-05-21 David Schleef <ds@schleef.org>
28741 * docs/gst/tmpl/old/GstBin.sgml:
28742 * docs/gst/tmpl/old/GstBuffer.sgml:
28743 * docs/gst/tmpl/old/GstCaps.sgml:
28744 * docs/gst/tmpl/old/GstClock.sgml:
28745 * docs/gst/tmpl/old/GstCompat.sgml:
28746 * docs/gst/tmpl/old/GstData.sgml:
28747 * docs/gst/tmpl/old/GstElement.sgml:
28748 * docs/gst/tmpl/old/GstEvent.sgml:
28749 * docs/gst/tmpl/old/GstIndex.sgml:
28750 * docs/gst/tmpl/old/GstStructure.sgml:
28751 * docs/gst/tmpl/old/GstTag.sgml:
28752 * docs/gst/tmpl/old/cothreads.sgml:
28753 * docs/gst/tmpl/old/cothreads_compat.sgml:
28754 * docs/gst/tmpl/old/gettext.sgml:
28755 * docs/gst/tmpl/old/gobject2gtk.sgml:
28756 * docs/gst/tmpl/old/grammar.tab.sgml:
28757 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28758 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28759 * docs/gst/tmpl/old/gst_private.sgml:
28760 * docs/gst/tmpl/old/gstaggregator.sgml:
28761 * docs/gst/tmpl/old/gstarch.sgml:
28762 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28763 * docs/gst/tmpl/old/gstbufferstore.sgml:
28764 * docs/gst/tmpl/old/gstdata_private.sgml:
28765 * docs/gst/tmpl/old/gstdisksink.sgml:
28766 * docs/gst/tmpl/old/gstdisksrc.sgml:
28767 * docs/gst/tmpl/old/gstelementfactory.sgml:
28768 * docs/gst/tmpl/old/gstextratypes.sgml:
28769 * docs/gst/tmpl/old/gstfakesink.sgml:
28770 * docs/gst/tmpl/old/gstfakesrc.sgml:
28771 * docs/gst/tmpl/old/gstfdsink.sgml:
28772 * docs/gst/tmpl/old/gstfdsrc.sgml:
28773 * docs/gst/tmpl/old/gstfilesink.sgml:
28774 * docs/gst/tmpl/old/gstfilesrc.sgml:
28775 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28776 * docs/gst/tmpl/old/gstidentity.sgml:
28777 * docs/gst/tmpl/old/gstindexfactory.sgml:
28778 * docs/gst/tmpl/old/gstmarshal.sgml:
28779 * docs/gst/tmpl/old/gstmd5sink.sgml:
28780 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28781 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28782 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28783 * docs/gst/tmpl/old/gstpipefilter.sgml:
28784 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28785 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28786 * docs/gst/tmpl/old/gstshaper.sgml:
28787 * docs/gst/tmpl/old/gstspider.sgml:
28788 * docs/gst/tmpl/old/gstspideridentity.sgml:
28789 * docs/gst/tmpl/old/gststatistics.sgml:
28790 * docs/gst/tmpl/old/gsttee.sgml:
28791 * docs/gst/tmpl/old/gsttimecache.sgml:
28792 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28793 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28794 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28795 * docs/gst/tmpl/old/types.sgml:
28796 I didn't intend to add these or check them in.
28798 2005-05-19 David Schleef <ds@schleef.org>
28800 * configure.ac: Use -no-common everywhere. In a sane world, it
28801 would be the default in libtool, because without it, you can't
28802 build DLLs on Windows.
28803 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28804 * docs/gst/gstreamer-sections.txt:
28805 * docs/gst/tmpl/gstcpu.sgml:
28806 * docs/gst/tmpl/gstdata.sgml:
28807 * docs/gst/tmpl/gstthread.sgml:
28809 2005-05-19 David Schleef <ds@schleef.org>
28811 * gst/gstminiobject.c: (gst_value_set_mini_object),
28812 (gst_value_take_mini_object), (gst_value_get_mini_object):
28813 * gst/gstminiobject.h: Add GValue set/get functions.
28815 2005-05-19 Wim Taymans <wim@fluendo.com>
28817 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28818 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28819 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28821 * gst/gstbus.c: (gst_bus_post):
28822 * gst/gstelement.c: (gst_element_get_random_pad):
28823 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28824 Make subbufer unref the parent in finalize.
28825 some more debugging info.
28828 2005-05-19 Wim Taymans <wim@fluendo.com>
28830 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28831 (gst_basesink_init), (gst_basesink_finalize),
28832 (gst_basesink_activate), (gst_basesink_change_state):
28833 Don't free preroll queue too early.
28835 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28839 Hi, I'm outdated. Please shoot me.
28841 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28843 * gst/gstpipeline.c: (gst_pipeline_send_event):
28844 Do not access variables after they have been deleted.
28846 2005-05-19 Wim Taymans <wim@fluendo.com>
28848 * tools/gst-inspect.c: (print_plugin_features):
28849 A plugin feature does unfortunatly not use the
28852 2005-05-18 Wim Taymans <wim@fluendo.com>
28854 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28855 Port _span() functions to new subbuffers.
28857 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28859 * gst/gstbin.c: (gst_bin_add_func):
28860 Fix clock settery in bins when adding kids after the clock has
28863 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28865 * gst/elements/gstidentity.c: (gst_identity_class_init):
28866 Workaround until signals support GstMiniObject.
28868 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28871 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28873 2005-05-18 Wim Taymans <wim@fluendo.com>
28875 * gst/base/Makefile.am:
28876 * gst/base/gstadapter.c: (gst_adapter_base_init),
28877 (gst_adapter_class_init), (gst_adapter_init),
28878 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28879 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28880 (gst_adapter_flush), (gst_adapter_available),
28881 (gst_adapter_available_fast):
28882 * gst/base/gstadapter.h:
28883 Ported and added adapter to the base classes.
28885 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28888 * gst/gstmessage.c:
28889 Make sure the class is reffed/unreffed once before threads can be
28890 used. Fixes #304551.
28892 2005-05-17 Wim Taymans <wim@fluendo.com>
28894 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28895 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28896 * gst/gstminiobject.c: (gst_mini_object_get_type),
28897 (gst_mini_object_free):
28898 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28899 (gst_pad_push), (gst_pad_push_event):
28900 * gst/gstqueue.c: (gst_queue_change_state):
28901 Don't queue buffers in basesink when we are flushing.
28902 Unref buffer when flushing in basesink.
28903 Flush queue when going to READY
28904 Unref buffer when _push() returns an error.
28905 Don't free MiniObject instance when refcount is incremented
28906 in _finalize() so that we can recover objects.
28908 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28910 * docs/manual/advanced-schedulers.xml:
28911 * docs/manual/appendix-checklist.xml:
28912 * docs/pwg/advanced-clock.xml:
28913 * docs/pwg/advanced-interfaces.xml:
28914 * docs/pwg/advanced-request.xml:
28915 * docs/pwg/advanced-types.xml:
28916 * docs/pwg/intro-preface.xml:
28917 * examples/plugins/example.c: (gst_example_get_type),
28918 (gst_example_class_init), (gst_example_chain),
28919 (gst_example_set_property), (gst_example_get_property),
28920 (gst_example_change_state), (plugin_init):
28921 * examples/plugins/example.h:
28924 2005-05-17 Wim Taymans <wim@fluendo.com>
28926 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28927 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28928 * gst/gstqueue.c: (gst_queue_change_state):
28929 Clear queue when going to READY.
28930 Remove IN_SETCAPS flag too.
28932 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28934 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28935 Remove implicit cast from gboolean to GstElementStateReturn;
28936 make sure we still return failure in paused => ready case if
28937 the parent class fails to change state and our own stop
28940 2005-05-17 Wim Taymans <wim@fluendo.com>
28942 * tools/gst-launch.c: (event_loop):
28943 Message was unreffed too soon.
28945 2005-05-16 Andy Wingo <wingo@pobox.com>
28947 * gst/gstbin.c (sink_iterator_filter): Err... um...
28949 * check/gst/gstbin.c (test_ghost_pads): New test for the
28950 ghosting-if-elements-not-in-same-bin behavior.
28952 2005-05-16 David Schleef <ds@schleef.org>
28954 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28955 accessing refcount directly.
28957 2005-05-15 David Schleef <ds@schleef.org>
28959 * check/Makefile.am: remove GstData checks
28960 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28961 * gst/Makefile.am: add miniobject, remove data
28962 * gst/gst.h: add miniobject, remove data
28963 * gst/gstdata.c: remove
28964 * gst/gstdata.h: remove
28965 * gst/gstdata_private.h: remove
28966 * gst/gsttypes.h: remove GstEvent and GstMessage
28967 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28968 * gst/gstmarshal.list: change BOXED -> OBJECT
28970 Implement GstMiniObject.
28971 * gst/gstminiobject.c:
28972 * gst/gstminiobject.h:
28974 Modify to be subclasses of GstMiniObject.
28975 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28976 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28977 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28978 (gst_subbuffer_get_type), (gst_subbuffer_init),
28979 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28982 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28983 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28984 (_gst_event_copy), (gst_event_new):
28986 * gst/gstmessage.c: (_gst_message_initialize),
28987 (gst_message_get_type), (gst_message_class_init),
28988 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28989 (gst_message_new), (gst_message_new_error),
28990 (gst_message_new_warning), (gst_message_new_tag),
28991 (gst_message_new_state_changed), (gst_message_new_application):
28992 * gst/gstmessage.h:
28993 * gst/gstprobe.c: (gst_probe_perform),
28994 (gst_probe_dispatcher_dispatch):
28996 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28997 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28998 (_gst_query_copy), (gst_query_new):
29000 Update elements for GstData -> GstMiniObject changes
29002 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29003 (gst_queue_chain), (gst_queue_loop):
29004 * gst/elements/gstbufferstore.c:
29005 (gst_buffer_store_add_buffer_func),
29006 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29007 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29008 (gst_fakesink_render):
29009 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29010 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29011 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29012 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29013 (gst_filesrc_create_read):
29014 * gst/elements/gstidentity.c: (gst_identity_class_init):
29015 * gst/elements/gsttypefindelement.c:
29016 (gst_type_find_element_src_event), (free_entry_buffers),
29017 (gst_type_find_element_handle_event):
29018 * libs/gst/dataprotocol/dataprotocol.c:
29019 (gst_dp_header_from_buffer):
29020 * libs/gst/dataprotocol/dataprotocol.h:
29021 * libs/gst/dataprotocol/dp-private.h:
29023 2005-05-15 David Schleef <ds@schleef.org>
29025 * gst/elements/gstelements.c: Don't include headers that were
29028 2005-05-15 David Schleef <ds@schleef.org>
29030 * gst/elements/Makefile.am: Remove some elements that don't
29031 need to be in the core (or even exist at all).
29032 * gst/elements/gstaggregator.c:
29033 * gst/elements/gstaggregator.h:
29034 * gst/elements/gstmd5sink.c:
29035 * gst/elements/gstmd5sink.h:
29036 * gst/elements/gstmultifilesrc.c:
29037 * gst/elements/gstmultifilesrc.h:
29038 * gst/elements/gstpipefilter.c:
29039 * gst/elements/gstpipefilter.h:
29040 * gst/elements/gstshaper.c:
29041 * gst/elements/gstshaper.h:
29042 * gst/elements/gststatistics.c:
29043 * gst/elements/gststatistics.h:
29044 * po/POTFILES.in: Remove above files.
29046 2005-05-14 Andy Wingo <wingo@pobox.com>
29048 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29049 so as to get the refs right.
29050 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29051 unreffing objects that don't pass the filter.
29053 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29054 gst_element_set_bus.
29055 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29056 normal cases, this will destroy the bus.
29058 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29061 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29064 2005-05-13 Andy Wingo <wingo@pobox.com>
29066 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29067 gst_pad_link, call pad_link_maybe_ghosting,
29068 (pad_link_maybe_ghosting): Links pads, making sure that the
29069 elements being linked are in the same bin.
29070 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29071 Helpers for pad_link_maybe_ghosting.
29073 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29076 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29078 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29080 * docs/design/part-element-source.txt:
29083 2005-05-12 Wim Taymans <wim@fluendo.com>
29085 * gst/base/gstbasesink.c: (gst_basesink_init),
29086 (gst_basesink_activate):
29087 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29088 (gst_basesrc_is_seekable):
29089 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29090 (bin_element_is_sink), (gst_bin_change_state):
29091 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29092 * gst/gstelement.h:
29093 Identify sinks by their flag to avoid overly complicated
29095 Do state changes even for elements not reachable from the
29097 BaseSink is a sink now :)
29098 Some more debugging info in the basesrc.
29101 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29103 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29104 Implement _query on a bin, similar to _send_event.
29106 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
29108 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29109 Discont event offset format should be GST_FORMAT_BYTES,
29110 not GST_FORMAT_TIME.
29112 2005-05-12 Wim Taymans <wim@fluendo.com>
29114 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29115 Same fix as Ronald's but without the signal.
29117 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29119 * gst/gstutils.c: (gst_element_query_position):
29120 No, an element is not a pad.
29122 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29124 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29125 (gst_bin_get_state):
29126 If a child is removed from a bin while we remove the child from
29127 the bin and while we're retrieving its state, signal this to the
29128 get_state function so we abort the wait (instead of waiting for
29129 a timeout) and can immediately re-iterate over all other elements.
29131 2005-05-12 Wim Taymans <wim@fluendo.com>
29133 * gst/base/Makefile.am:
29134 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29135 (gst_basesrc_start):
29136 * gst/base/gstbasesrc.h:
29137 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
29138 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
29139 (gst_pushsrc_init), (gst_pushsrc_create):
29140 * gst/base/gstpushsrc.h:
29141 Added is_seekable to BaseSrc
29142 Added simple PushSrc.
29144 2005-05-11 Wim Taymans <wim@fluendo.com>
29146 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29147 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29148 (gst_element_link_pads), (gst_element_query_position),
29149 (gst_element_query_convert), (intersect_caps_func),
29150 (gst_pad_query_position), (gst_pad_query_convert):
29151 Fix refcounting in utils function.
29152 No point in trying to activate a pad when it's added, it could
29153 be added from the state change function and then we deadlock, the
29154 element has to decide what to do.
29156 2005-05-10 Andy Wingo <wingo@pobox.com>
29158 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
29159 *all* the arguments.
29161 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
29162 stream lock if it's a FLUSH_DONE; normal flushes don't get the
29163 lock (according to the docs -- if this is wrong change the docs).
29165 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
29166 flush messages in the NULL state.
29168 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
29169 message immediately and return.
29170 (gst_bus_set_flushing): New function. If a bus is flushing, it
29171 flushes out any queued messages and immediately unrefs new
29172 messages. This is so when an element goes to NULL, all of the
29173 unhandled messages coming from it can be freed, and their
29174 references to the element dropped. In other words: message source
29175 ref considered harmful :P
29177 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
29178 we're finished with it.
29180 * gst/gstmessage.c (gst_message_new_state_changed):
29182 2005-05-10 Wim Taymans <wim@fluendo.com>
29184 * gst/gstvalue.c: (gst_value_compare_flags),
29185 (gst_value_serialize_flags), (gst_value_deserialize_flags),
29186 (_gst_value_initialize):
29187 Added flags serialize/deserialize/compare code.
29189 2005-05-09 Andy Wingo <wingo@pobox.com>
29191 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
29192 Intersect the peer's caps with our caps.
29194 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29196 * gst/base/gsttypefindhelper.c: (helper_find_peek):
29197 * gst/elements/gsttypefindelement.c: (find_peek):
29198 Handle negative offsets better. Fixes decodebin.
29200 2005-05-09 Wim Taymans <wim@fluendo.com>
29202 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
29203 (gst_base_transform_event):
29204 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
29205 Implement accept_caps.
29206 Fix silly lock/unlock mismatch in base class.
29208 2005-05-09 Wim Taymans <wim@fluendo.com>
29210 * docs/design/draft-push-pull.txt:
29211 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
29212 * gst/elements/gstfilesink.c: (gst_filesink_init),
29213 (gst_filesink_query):
29214 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29215 (gst_type_find_handle_src_query), (find_element_get_length):
29216 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
29217 * gst/gstelement.h:
29218 * gst/gstmessage.c:
29219 * gst/gstmessage.h:
29220 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
29221 (gst_real_pad_get_caps_unlocked),
29222 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
29223 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29224 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
29225 (gst_real_pad_dispose), (gst_real_pad_finalize),
29226 (gst_pad_load_and_link), (gst_pad_save_thyself),
29227 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
29228 (gst_pad_check_pull_range), (gst_pad_pull_range),
29229 (gst_pad_template_get_type), (gst_pad_template_class_init),
29230 (gst_pad_template_init), (gst_pad_template_dispose),
29231 (name_is_valid), (gst_static_pad_template_get),
29232 (gst_pad_template_new), (gst_static_pad_template_get_caps),
29233 (gst_pad_template_get_caps), (gst_pad_set_element_private),
29234 (gst_pad_get_element_private), (gst_pad_start_task),
29235 (gst_pad_pause_task), (gst_pad_stop_task),
29236 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
29237 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
29238 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
29239 (gst_ghost_pad_new):
29241 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
29242 (gst_query_new_position), (gst_query_set_position),
29243 (gst_query_parse_position), (gst_query_new_convert),
29244 (gst_query_set_convert), (gst_query_parse_convert):
29246 * gst/gstqueryutils.c:
29247 * gst/gstqueryutils.h:
29248 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29249 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29250 (gst_queue_handle_src_query):
29251 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29252 (gst_element_query_position), (gst_element_query_convert),
29253 (intersect_caps_func), (gst_pad_query_position),
29254 (gst_pad_query_convert):
29256 * tools/gst-inspect.c: (print_pad_info):
29257 * tools/gst-xmlinspect.c: (print_element_info):
29258 Remove old query functions. Ported old code.
29259 Added position/convert helper functions to gstutils.
29260 Reordered gstpad.c code, grouping relevant things.
29261 Remove gst_message_new(), always need to speficy a specific
29265 2005-05-09 Andy Wingo <wingo@pobox.com>
29267 * gst/gstiterator.h: Add some includes.
29269 * gst/gstqueryutils.h: Include more headers.
29272 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
29273 some uses of gst_pad_query.
29275 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
29276 NULL out parameters.
29277 (gst_query_new_position): New proc, allocates a new position
29280 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
29281 gstqueryutils.c to the build.
29283 * gst/gststructure.c (gst_structure_set_valist): Implement with
29284 the generic G_VALUE_COLLECT.
29286 2005-05-08 Edward Hervey <bilboed@bilboed.com>
29288 * gst/Makefile.am: (gst_headers):
29289 Added gstqueryutils.h to the list of headers to install, that was
29290 a 'nachty' move wingo :)
29292 2005-05-06 Andy Wingo <wingo@pobox.com>
29295 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
29296 GstData, init a memchunk.
29297 (standard_definitions): Add a few query types, deprecate a few.
29298 (gst_query_get_type): New proc.
29299 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
29301 (gst_query_new_application, gst_query_get_structure): New public
29304 * docs/design/draft-query.txt: Removed LINKS from the query types,
29305 because all the rest can be dispatched to other pads -- seemed
29306 ugly to have a query that couldn't be dispatched. internal_links
29307 is fine as a pad method.
29309 * gst/gstpad.h: Add query2 as a pad method, add the new functions
29310 in gstpad.c, but maintain binary compatibility for the moment.
29311 Will fix before 0.9 is out.
29313 * gst/gstqueryutils.c:
29314 * gst/gstqueryutils.h: New files, implement 3 methods for each
29315 query type: parse_query, parse_response, and set. Probably need an
29318 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
29320 * gst/elements/gstfilesink.c (gst_filesink_query2):
29321 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
29322 query_types, and formats methods.
29324 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
29325 (gst_pad_set_query2_function): New functions.
29326 (gst_real_pad_init): Set query2_default as the default query2
29327 function. Basically just dispatches to internally linked pads.
29331 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
29332 without using the atomic operations. Only one thread can possibly
29333 be accessing the data at this point. Changed so as to avoid
29334 gst_atomic operations.
29336 2005-05-06 Wim Taymans <wim@fluendo.com>
29338 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
29339 Also set caps if we use the fallback buffer alloc.
29341 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
29343 * docs/gst/Makefile.am:
29344 * docs/gst/gstreamer-docs.sgml:
29345 * docs/gst/gstreamer-sections.txt:
29346 * docs/gst/tmpl/gstatomic.sgml:
29347 * docs/gst/tmpl/gstmemchunk.sgml:
29348 * testsuite/elements/struct_i386.h:
29349 * win32/GStreamer.vcproj:
29351 Purge GstAtomic stuff from docs and win32 makefiles as well
29353 2005-05-06 Wim Taymans <wim@fluendo.com>
29355 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
29356 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
29357 * gst/gstpad.c: (gst_pad_peer_get_caps):
29358 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29359 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29360 (gst_queue_src_activate), (gst_queue_change_state):
29362 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29363 (intersect_caps_func):
29364 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
29365 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
29366 Some fixes for the peer_get_caps() change.
29368 2005-05-06 Wim Taymans <wim@fluendo.com>
29370 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29371 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
29372 (gst_basesink_activate):
29373 Actually do something with error codes returned from the push
29376 2005-05-06 Wim Taymans <wim@fluendo.com>
29378 * docs/design/part-element-sink.txt:
29379 * docs/design/part-element-source.txt:
29380 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29381 (gst_basesink_event), (gst_basesink_activate):
29382 * gst/base/gstbasesink.h:
29383 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
29384 (gst_basesrc_activate):
29385 * gst/base/gstbasesrc.h:
29386 * gst/gstelement.c: (gst_element_pads_activate):
29387 Some more documentation.
29388 Fixed scheduling decision in _pads_activate().
29390 2005-05-05 Andy Wingo <wingo@pobox.com>
29392 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29395 2005-05-05 Wim Taymans <wim@fluendo.com>
29397 * gst/base/Makefile.am:
29398 * gst/base/gstbasesink.h:
29399 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29400 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29401 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29402 (gst_collectpads_class_init), (gst_collectpads_init),
29403 (gst_collectpads_finalize), (gst_collectpads_new),
29404 (gst_collectpads_set_function), (gst_collectpads_add_pad),
29405 (find_pad), (gst_collectpads_remove_pad),
29406 (gst_collectpads_is_active), (gst_collectpads_collect),
29407 (gst_collectpads_collect_range), (gst_collectpads_start),
29408 (gst_collectpads_stop), (gst_collectpads_peek),
29409 (gst_collectpads_pop), (gst_collectpads_available),
29410 (gst_collectpads_read), (gst_collectpads_flush),
29411 (gst_collectpads_chain):
29412 * gst/base/gstcollectpads.h:
29413 * gst/elements/Makefile.am:
29414 * gst/elements/gstelements.c:
29415 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29416 (gst_fakesink_get_times), (gst_fakesink_event),
29417 (gst_fakesink_preroll), (gst_fakesink_render):
29418 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29419 (gst_filesink_init), (gst_filesink_set_location),
29420 (gst_filesink_open_file), (gst_filesink_close_file),
29421 (gst_filesink_pad_query), (gst_filesink_event),
29422 (gst_filesink_render), (gst_filesink_change_state):
29423 * gst/elements/gstfilesink.h:
29424 Added object to help in making collect pad based elements.
29426 Make event function in sink baseclass return gboolean.
29428 2005-05-05 Wim Taymans <wim@fluendo.com>
29430 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29431 (gst_bin_get_by_name):
29433 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29434 (gst_clock_finalize):
29435 * gst/gstdata.c: (gst_data_replace):
29437 * gst/gstelement.c: (gst_element_request_pad),
29438 (gst_element_pads_activate):
29439 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29440 (gst_object_unref):
29441 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29442 (gst_pad_set_checkgetrange_function),
29443 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29444 (gst_pad_check_pull_range), (gst_pad_pull_range),
29445 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29446 (gst_pad_pause_task), (gst_pad_stop_task):
29447 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29448 (gst_element_request_pad), (gst_pad_proxy_getcaps):
29449 Fix name lookup in GstBin.
29450 Added _data_replace() function and _buffer_replace()
29451 Use finalize method to clean up clock.
29452 Fix refcounting on request pads.
29453 Fix pad schedule mode error.
29454 Some more object refcounting debug info,
29457 2005-05-04 Andy Wingo <wingo@pobox.com>
29459 * check/Makefile.am:
29460 * docs/gst/tmpl/gstatomic.sgml:
29461 * docs/gst/tmpl/gstplugin.sgml:
29462 * gst/base/gstbasesink.c: (gst_basesink_activate):
29463 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29464 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29465 (gst_basesrc_query), (gst_basesrc_set_property),
29466 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29467 (gst_basesrc_activate):
29468 * gst/base/gstbasesrc.h:
29469 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29470 (gst_base_transform_src_activate):
29471 * gst/elements/gstelements.c:
29472 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29473 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29474 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29475 * gst/elements/gsttypefindelement.c: (find_element_get_length),
29476 (gst_type_find_element_checkgetrange),
29477 (gst_type_find_element_activate):
29478 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29479 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29480 (gst_caps_load_thyself):
29481 * gst/gstelement.c: (gst_element_pads_activate),
29482 (gst_element_save_thyself), (gst_element_restore_thyself):
29483 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29484 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29486 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29487 (gst_xml_parse_file), (gst_xml_parse_memory),
29488 (gst_xml_get_element), (gst_xml_make_element):
29489 * gst/indexers/gstfileindex.c: (gst_file_index_load),
29490 (_file_index_id_save_xml), (gst_file_index_commit):
29491 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29492 (read_enum), (load_pad_template), (load_feature), (load_plugin),
29494 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29495 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29496 * tools/gst-complete.c: (main):
29497 * tools/gst-compprep.c: (main):
29498 * tools/gst-inspect.c: (print_element_properties_info):
29499 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29500 * tools/gst-xmlinspect.c: (print_element_properties):
29503 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
29505 * gst/gstplugin.c: (gst_plugin_check_module),
29506 (gst_plugin_check_file), (gst_plugin_load_file):
29507 apply patch from #172526 to make register work on MacOSX
29509 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29511 * docs/gst/tmpl/gstconfig.sgml:
29512 * gst/gstconfig.h.in:
29513 move documentation for some symbols. Add doc for GST_PTR_FORMAT
29514 * testsuite/debug/printf_extension.c: (main):
29515 Do not use GST_PTR_FORMAT on pointers to types with
29516 sizeof < sizeof(gpointer). Fixes test on 64-bit
29517 * testsuite/elements/property.h:
29518 use correct printf format
29520 2005-05-02 Wim Taymans <wim@fluendo.com>
29522 * docs/design/draft-push-pull.txt:
29523 * docs/design/draft-query.txt:
29524 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29525 (gst_basesrc_start):
29526 Added draft for new query API.
29527 Added draft for better selecting scheduling methods.
29528 Make basesrc ignore length if the subclass does not support
29531 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29534 possible fixes for automake-1.5 - _LIBADD is reserved
29536 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29538 * docs/faq/Makefile.am:
29539 * docs/manual/Makefile.am:
29540 * docs/manuals.mak:
29541 * docs/pwg/Makefile.am:
29543 possible fixes for automake-1.5
29545 2005-04-28 Wim Taymans <wim@fluendo.com>
29547 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29548 (gst_basesink_pad_getcaps), (gst_basesink_init),
29549 (gst_basesink_do_sync):
29550 * gst/gstclock.c: (gst_clock_entry_new):
29551 * gst/gstevent.c: (gst_event_discont_get_value):
29552 * gst/gstpipeline.c: (pipeline_bus_handler),
29553 (gst_pipeline_change_state):
29554 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29555 Better debugging of clocking info.
29556 Allow NULL values when getting discont values.
29558 2005-04-27 Wim Taymans <wim@fluendo.com>
29560 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29561 * check/gst/gstpad.c: (gst_pad_suite):
29562 Increase timeout for checks.
29564 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29566 * check/Makefile.am:
29567 fix the broken rule for cleanup. Apparently this rule is
29568 only needed on FC2, so maybe this warrants further autotool
29571 2005-04-26 Wim Taymans <wim@fluendo.com>
29573 * gst/gsttrashstack.h:
29574 Ooohh. a nasty one! After having a failed pop() from the stack,
29575 it's possible that the stack is empty. In that case, don't
29576 follow the NULL pointer.
29578 2005-04-25 Wim Taymans <wim@fluendo.com>
29580 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29581 (gst_pad_set_checkgetrange_function),
29582 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29583 (gst_pad_check_pull_range), (gst_pad_pull_range),
29584 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29585 (gst_pad_pause_task), (gst_pad_stop_task):
29586 * gst/gstplugin.c: (gst_plugin_load):
29588 Remove gst_library_load as it does more harm than good with
29589 the new g_module flags.
29590 Revert bogus caps template check in pad linking, pad caps
29591 are important when linking not the template, which is more
29592 general than the current caps.
29594 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29596 * gst/autoplug/.cvsignore:
29597 * gst/autoplug/Makefile.am:
29598 * gst/autoplug/gstsearchfuncs.c:
29599 * gst/autoplug/gstsearchfuncs.h:
29600 * gst/autoplug/gstspider.c:
29601 * gst/autoplug/gstspider.h:
29602 * gst/autoplug/gstspideridentity.c:
29603 * gst/autoplug/gstspideridentity.h:
29604 * gst/autoplug/spidertest.c:
29607 2005-04-25 Wim Taymans <wim@fluendo.com>
29609 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29610 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29611 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29612 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29614 Added stubs for unimplemented functions.
29616 2005-04-24 David Schleef <ds@schleef.org>
29618 * gst/gstpad.h: Disable some unimplemented functions. Wim,
29621 2005-04-24 David Schleef <ds@schleef.org>
29623 Convert everything from GstAtomicInt to g_atomic_int_*, and
29628 * gst/gstatomic_impl.h:
29636 * gst/gstdata_private.h:
29640 * gst/gstmessage.c:
29643 * gst/gststructure.c:
29644 * gst/gststructure.h:
29645 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29648 2005-04-24 David Schleef <ds@schleef.org>
29650 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29651 make the regressions tests work. Remove some code that is no
29653 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29654 Disable warning for pads without templates.
29656 2005-04-24 David Schleef <ds@schleef.org>
29658 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29659 functions that handle filtered links.
29660 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29662 * gst/gstutils.c: Fix/remove utility functions that handle
29665 * gst/gstvalue.c: Add serialization/deserialization of caps
29666 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29667 requires fixing so that the filter caps notation creates
29668 a capsfilter element and sets the filter_caps property. I
29669 think everyone probably wants to keep the shorthand notation.
29670 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29671 * docs/gst/tmpl/gstpad.sgml:
29673 * gst/elements/gstelements.c: Register capsfilter element.
29674 * gst/Makefile.am: fix spacing
29675 * docs/random/ds/0.9-suggested-changes: random
29677 2005-04-23 David Schleef <ds@schleef.org>
29679 * gst/elements/Makefile.am:
29680 * gst/elements/gstcapsfilter.c: New element that acts like an
29681 identity, but filters caps. Will eventually replace filtered
29682 caps in pad linking.
29683 * gst/gstutils.c: (gst_element_create_all_pads): New function
29684 to create all the ALWAYS pads that are registered with an
29685 element class. This functionality should eventually be
29686 merged in with GstElement initialization.
29688 * testsuite/trigger/README: part of trigger test code that should
29689 have been checked in a long time ago.
29691 2005-04-23 David Schleef <ds@schleef.org>
29693 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29694 needed with new versions of libtool (nobody will confirm this),
29695 and hard to carry around.
29696 * gst/autoplug/Makefile.am:
29697 * gst/base/Makefile.am:
29698 * gst/elements/Makefile.am:
29699 * gst/indexers/Makefile.am:
29700 * gst/schedulers/Makefile.am:
29701 * libs/gst/bytestream/Makefile.am:
29702 * libs/gst/control/Makefile.am:
29703 * libs/gst/dataprotocol/Makefile.am:
29704 * libs/gst/getbits/Makefile.am:
29706 2005-04-21 Wim Taymans <wim@fluendo.com>
29708 * docs/design/draft-push-pull.txt:
29709 * docs/design/part-MT-refcounting.txt:
29710 * docs/design/part-TODO.txt:
29711 * docs/design/part-caps.txt:
29712 * docs/design/part-events.txt:
29713 * docs/design/part-gstbus.txt:
29714 * docs/design/part-gstpipeline.txt:
29715 * docs/design/part-messages.txt:
29716 * docs/design/part-push-pull.txt:
29717 * docs/design/part-query.txt:
29720 2005-04-21 Wim Taymans <wim@fluendo.com>
29722 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29723 (gst_message_new), (gst_message_new_error),
29724 (gst_message_new_warning), (gst_message_new_tag),
29725 (gst_message_new_state_changed), (gst_message_new_application),
29726 (gst_message_get_structure):
29727 * gst/gstmessage.h:
29728 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29729 (gst_structure_copy_conditional):
29730 Use parent refcount in GstMessage to ensure GstStructure
29732 Cleaned up headers a bit.
29735 2005-04-20 Wim Taymans <wim@fluendo.com>
29737 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29738 (gst_basesink_pad_getcaps), (gst_basesink_init),
29739 (gst_basesink_chain_unlocked):
29740 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29741 (gst_type_find_helper):
29742 * gst/elements/gsttypefindelement.c:
29743 (gst_type_find_element_have_type), (gst_type_find_element_init),
29744 (stop_typefinding), (gst_type_find_element_handle_event),
29745 (find_suggest), (gst_type_find_element_chain),
29746 (gst_type_find_element_checkgetrange),
29747 (gst_type_find_element_getrange), (do_typefind),
29748 (gst_type_find_element_activate):
29749 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29750 (gst_buffer_default_free), (gst_buffer_default_copy),
29751 (gst_buffer_set_caps):
29752 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29753 (gst_caps_replace):
29754 * gst/gstmessage.c: (gst_message_new),
29755 (gst_message_new_state_changed):
29756 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29757 (gst_pad_set_checkgetrange_function),
29758 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29759 (gst_pad_set_caps), (gst_pad_check_pull_range),
29760 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29762 * gst/gsttypefind.c: (gst_type_find_register):
29763 Make gst_caps_replace() work like other _replace() functions.
29764 Use _caps_replace() where possible.
29765 Make sure _message_new() initialises its field.
29766 Add gst_static_pad_template_get_caps()
29769 2005-04-18 Andy Wingo <wingo@pobox.com>
29771 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29772 on the peer, not the pad. I think that was a typo. Pass an extra
29773 arg to see if random access is possible. Activate the pads as
29774 PULL_RANGE if possible.
29776 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29778 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29779 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29782 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29784 * docs/faq/using.xml:
29785 Add note on gstreamer-properties (#154996).
29787 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29789 * docs/random/bbb/optional-properties:
29790 Some analysis on optional properties.
29792 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29794 * docs/gst/tmpl/gstelementfactory.sgml:
29795 * gst/gstelement.h:
29796 * gst/gstelementfactory.c: (gst_element_factory_init),
29797 (gst_element_factory_cleanup), (gst_element_register),
29798 (__gst_element_factory_add_static_pad_template),
29799 (gst_element_factory_get_static_pad_templates),
29800 (gst_element_factory_can_src_caps),
29801 (gst_element_factory_can_sink_caps):
29802 * gst/registries/Makefile.am:
29803 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29804 (gst_xml_registry_class_init), (gst_xml_registry_init),
29805 (gst_xml_registry_new), (gst_xml_registry_set_property),
29806 (gst_xml_registry_get_property), (get_time), (make_dir),
29807 (gst_xml_registry_get_perms_func),
29808 (plugin_times_older_than_recurse), (plugin_times_older_than),
29809 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29810 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29811 (add_to_char_array), (read_string), (read_uint), (read_enum),
29812 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29813 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29814 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29815 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29816 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29817 (gst_xml_registry_rebuild):
29818 * gst/registries/gstlibxmlregistry.h:
29819 * tools/gst-compprep.c: (main):
29820 * tools/gst-inspect.c: (print_pad_templates_info):
29821 * tools/gst-xmlinspect.c: (print_element_info):
29822 Use libxml2 for registry parsing, use staticpadtemplates in
29823 elementfactories. Makes gst_init() +/- 10x faster.
29825 2005-04-12 Wim Taymans <wim@fluendo.com>
29827 * gst/base/Makefile.am:
29828 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29829 (gst_basesink_pad_getcaps), (gst_basesink_init),
29830 (gst_basesink_event), (gst_basesink_change_state):
29831 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29832 (gst_basesrc_init), (gst_basesrc_query),
29833 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29834 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29835 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29836 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29837 (gst_basesrc_stop), (gst_basesrc_activate),
29838 (gst_basesrc_change_state):
29839 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29840 (helper_find_suggest), (gst_type_find_helper):
29841 * gst/base/gsttypefindhelper.h:
29842 * gst/elements/Makefile.am:
29843 * gst/elements/gstelements.c:
29844 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29845 (gst_fakesink_get_times), (gst_fakesink_event),
29846 (gst_fakesink_preroll), (gst_fakesink_render):
29847 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29848 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29849 (gst_fakesrc_get_property), (gst_fakesrc_create),
29850 (gst_fakesrc_start), (gst_fakesrc_stop):
29851 * gst/elements/gstfakesrc.h:
29852 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29853 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29854 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29855 (gst_filesrc_create_read), (gst_filesrc_create),
29856 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29857 (gst_filesrc_start):
29858 * gst/elements/gsttypefindelement.c:
29859 (gst_type_find_element_have_type), (gst_type_find_element_init),
29860 (start_typefinding), (stop_typefinding), (push_buffer_store),
29861 (gst_type_find_element_handle_event),
29862 (gst_type_find_element_chain),
29863 (gst_type_find_element_checkgetrange),
29864 (gst_type_find_element_getrange), (do_typefind),
29865 (gst_type_find_element_activate),
29866 (gst_type_find_element_change_state):
29867 * gst/elements/gsttypefindelement.h:
29868 * gst/gstpipeline.c: (pipeline_bus_handler):
29869 Added typefind helper.
29870 Small preroll fix in the base sink.
29871 Disable typefind code in basesrc.
29872 Crude port of typefindelement.
29876 2005-04-11 Wim Taymans <wim@fluendo.com>
29878 * check/gst/gstbus.c: (gstbus_suite):
29879 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29880 * check/gstcheck.h:
29881 Fix up the timeout so that the test does not fail.
29883 2005-04-06 Wim Taymans <wim@fluendo.com>
29886 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29887 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29888 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29889 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29890 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29891 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29892 (gst_basesrc_stop), (gst_basesrc_activate),
29893 (gst_basesrc_change_state), (basesrc_find_peek),
29894 (basesrc_find_suggest), (gst_basesrc_type_find):
29895 * gst/base/gstbasesrc.h:
29896 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29897 (gst_filesrc_class_init), (gst_filesrc_init),
29898 (gst_filesrc_finalize), (gst_filesrc_set_location),
29899 (gst_filesrc_set_property), (gst_filesrc_get_property),
29900 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29901 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29902 (gst_filesrc_create_read), (gst_filesrc_create),
29903 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29904 * gst/elements/gstfilesrc.h:
29905 * gst/gstelement.c: (gst_element_get_state_func),
29906 (gst_element_lost_state), (gst_element_pads_activate):
29907 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29908 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29909 (gst_pad_pull_range):
29911 More work on the generic source base class, implement seeking,
29913 Make filesrc extend the base source class.
29914 Added gst_pad_set_checkgetrange_function to GstPad.
29916 2005-04-06 Andy Wingo <wingo@pobox.com>
29918 * pkgconfig/gstreamer-base.pc.in:
29919 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29921 * pkgconfig/Makefile.am:
29922 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29924 2005-04-04 Wim Taymans <wim@fluendo.com>
29926 * gst/base/Makefile.am:
29928 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29929 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29930 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29931 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29932 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29933 (gst_basesrc_base_init), (gst_basesrc_class_init),
29934 (gst_basesrc_init), (gst_basesrc_get_formats),
29935 (gst_basesrc_get_query_types), (gst_basesrc_query),
29936 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29937 (gst_basesrc_set_property), (gst_basesrc_get_property),
29938 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29939 (gst_basesrc_loop), (gst_basesrc_activate),
29940 (gst_basesrc_change_state):
29941 * gst/base/gstbasesrc.h:
29942 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29943 (gst_fakesrc_class_init), (gst_fakesrc_init),
29944 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29945 (gst_fakesrc_get_property), (gst_fakesrc_create):
29946 * gst/elements/gstfakesrc.h:
29947 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29948 (gst_filesrc_open_file), (gst_filesrc_loop),
29949 (gst_filesrc_activate), (filesrc_find_peek),
29950 (gst_filesrc_type_find):
29951 Made base source class, make fakesrc extend it.
29952 Add comments to basesink class.
29953 Some filesrc cleanup.
29955 2005-03-31 David Schleef <ds@schleef.org>
29957 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29958 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29959 expected to link against libgstreamer.
29960 * gst/base/Makefile.am: link against libgstreamer
29961 * gst/elements/Makefile.am: same
29963 2005-03-31 Andy Wingo <wingo@pobox.com>
29965 * tests/instantiate/Makefile.am:
29966 * tests/instantiate/caps.c: Add test to test speed of caps copy
29969 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29970 GMemChunk to be fair.
29972 * gst/gsttrashstack.h: Remove warning about using the fallback
29973 trash stack implementation, it's still faster than malloc.
29975 2005-03-30 Andy Wingo <wingo@pobox.com>
29977 * tests/complexity.c: Add a copyright.
29979 2005-03-31 Wim Taymans <wim@fluendo.com>
29981 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29982 (gst_base_transform_class_init), (gst_base_transform_init),
29983 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29984 (gst_base_transform_get_property),
29985 (gst_base_transform_sink_activate),
29986 (gst_base_transform_src_activate),
29987 (gst_base_transform_change_state):
29988 * gst/base/gstbasetransform.h:
29989 * gst/elements/gstidentity.c: (gst_identity_class_init),
29990 (gst_identity_event), (gst_identity_check_perfect),
29991 (gst_identity_transform), (gst_identity_start),
29992 (gst_identity_stop):
29993 Added start/stop methods to transform base class so subclasses
29994 don't need to deal with state changes even.
29996 2005-03-31 Wim Taymans <wim@fluendo.com>
29998 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29999 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30001 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30002 (gst_pad_pull_range):
30003 Added rate to the discont event to prepare for variable speed
30004 and reverse playback.
30006 2005-03-29 David Schleef <ds@schleef.org>
30009 * testsuite/trigger/Makefile.am:
30010 * testsuite/trigger/trigger.c: A little example program to show
30011 how trigger-based elements can work.
30013 2005-03-29 Wim Taymans <wim@fluendo.com>
30015 * gst/base/Makefile.am:
30017 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30018 (gst_basesink_base_init), (gst_basesink_class_init),
30019 (gst_basesink_pad_getcaps), (gst_basesink_init),
30020 (gst_basesink_activate), (gst_basesink_change_state):
30021 * gst/base/gstbasesink.h:
30022 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30023 (gst_base_transform_base_init), (gst_base_transform_finalize),
30024 (gst_base_transform_class_init), (gst_base_transform_init),
30025 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30026 (gst_base_transform_event), (gst_base_transform_getrange),
30027 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30028 (gst_base_transform_set_property),
30029 (gst_base_transform_get_property),
30030 (gst_base_transform_sink_activate),
30031 (gst_base_transform_src_activate),
30032 (gst_base_transform_change_state):
30033 * gst/base/gstbasetransform.h:
30034 * gst/elements/gstidentity.c: (gst_identity_finalize),
30035 (gst_identity_class_init), (gst_identity_init),
30036 (gst_identity_event), (gst_identity_check_perfect),
30037 (gst_identity_transform), (gst_identity_set_property),
30038 (gst_identity_get_property), (gst_identity_change_state):
30039 * gst/elements/gstidentity.h:
30040 * gst/gstelement.c: (gst_element_get_state_func),
30041 (gst_element_lost_state), (gst_element_pads_activate):
30042 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30043 (gst_pad_check_pull_range), (gst_pad_pull_range):
30045 Simplify pad activation.
30046 Added function to check if pull_range can be performed.
30047 Error out when pulling inactive or flushing pads.
30048 Removed const from refcounted types as it does not make sense.
30049 Simplify pad templates in basesink
30050 Added base class for simple 1-to-1 transforms.
30051 Make identity subclass the base transform.
30053 2005-03-29 Andy Wingo <wingo@pobox.com>
30055 * docs/libs/gstreamer-libs-overrides.txt:
30056 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30057 really don't understand what's going on, but like whatever. I want
30060 * docs/gst/Makefile.am:
30061 * docs/libs/Makefile.am: Dist the overrides files.
30063 * check/Makefile.am (clean-local): Remove .libs directories.
30065 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30066 elements to EXTRA_DIST, so po/ files are happy.
30068 * po/POTFILES.in: Er, remove it here.
30070 * po/POTFILES: Remove gstspider.c.
30072 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30074 * docs/libs/gstreamer-libs-docs.sgml:
30075 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30078 * tests/complexity.c (main): Set the length of the preroll queue
30079 on the sinks to prevent a lockup.
30081 * libs/gst/dataprotocol/Makefile.am:
30082 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30083 the same as the one in check/gst-libs/gdp.c.
30085 * po/, docs/gst/: Commit automatic changes to docs and po files.
30087 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30088 the versioned libgstbase.
30090 * check/Makefile.am: Depend on an unversioned gst-register, seems
30091 to make autoconf happier.
30093 * gst/base/Makefile.am: Make libgstbase a versioned lib.
30095 2005-03-28 Wim Taymans <wim@fluendo.com>
30098 * docs/design/part-gstelement.txt:
30099 * docs/design/part-negotiation.txt:
30100 * docs/design/part-preroll.txt:
30101 * docs/design/part-scheduling.txt:
30102 * docs/design/part-states.txt:
30104 * gst/base/Makefile.am:
30106 * gst/base/gstbasesink.c: (gst_basesink_get_template),
30107 (gst_basesink_base_init), (gst_basesink_class_init),
30108 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30109 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30110 (gst_basesink_set_pad_functions),
30111 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30112 (gst_basesink_set_property), (gst_basesink_get_property),
30113 (gst_base_sink_get_template), (gst_base_sink_get_caps),
30114 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30115 (gst_basesink_preroll_queue_push),
30116 (gst_basesink_preroll_queue_empty),
30117 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30118 (gst_basesink_event), (gst_basesink_get_times),
30119 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30120 (gst_basesink_chain_unlocked), (gst_basesink_chain),
30121 (gst_basesink_loop), (gst_basesink_activate),
30122 (gst_basesink_change_state):
30123 * gst/base/gstbasesink.h:
30124 * gst/elements/Makefile.am:
30125 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30126 (gst_fakesink_class_init), (gst_fakesink_init),
30127 (gst_fakesink_set_property), (gst_fakesink_get_property),
30128 (gst_fakesink_get_times), (gst_fakesink_event),
30129 (gst_fakesink_preroll), (gst_fakesink_render),
30130 (gst_fakesink_change_state):
30131 * gst/elements/gstfakesink.h:
30132 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30133 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30134 * gst/gstelement.c: (gst_element_add_pad),
30135 (gst_element_get_state_func), (gst_element_abort_state),
30136 (gst_element_commit_state), (gst_element_lost_state),
30137 (gst_element_set_state), (gst_element_pads_activate):
30138 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
30139 * gst/gstpipeline.c: (gst_pipeline_send_event),
30140 (gst_pipeline_change_state):
30141 Added state change code.
30142 Added/updated docs.
30143 Added sink base class, make fakesink extend the base class.
30144 Small cleanups in GstPipeline.
30146 2005-03-26 David Schleef <ds@schleef.org>
30148 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
30149 is broken and should be implemented in a different library.
30150 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
30151 * gst/gst.h: remove gstcpu.h
30152 * gst/gstcpu.c: remove
30153 * gst/gstcpu.h: remove
30154 * gst/Makefile.am.future: Remove this file. It's ancient.
30156 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30158 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30159 (gst_bin_send_event):
30160 Add default event/set_manager handlers. The set_manager handler
30161 takes care that the manager is distributed over kids that were
30162 already in the bin before the manager was set. The event handler
30163 is a utility virtual function that sends the event over all sinks,
30164 so that gst_element_send_event (bin, event); has the expected
30166 * gst/gstpad.c: (gst_pad_event_default):
30167 Re-install default event handling for discontinuities, so that
30168 seeking works without requiring hacks in applications or extra
30170 * gst/gstpipeline.c: (gst_pipeline_class_init),
30171 (gst_pipeline_send_event):
30172 Half hack, half utility: set a pipeline to PAUSED for seek events,
30173 since that is the only way we can guarantee a/v sync. Means that
30174 you can do gst_element_seek (pipeline, method, pos); on a pipeline
30175 and it "just works".
30177 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30179 * gst/gstpipeline.c: (gst_pipeline_use_clock):
30180 Lock/unlock mismatch.
30182 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
30184 * docs/faq/gst-uninstalled:
30185 add gst-plugins-base
30186 * docs/gst/Makefile.am:
30187 don't error out until docs are fixed
30188 * docs/gst/gstreamer.types:
30191 2005-03-22 Wim Taymans <wim@fluendo.com>
30193 * check/Makefile.am:
30194 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
30195 * gst/gststructure.c: (gst_structure_set_valist),
30196 (gst_structure_copy_conditional):
30197 Activated more tests.
30198 Added message test.
30199 Added G_TYPE_POINTER to GstStructure.
30202 2005-03-22 Wim Taymans <wim@fluendo.com>
30204 * docs/design/part-TODO.txt:
30205 * docs/design/part-events.txt:
30206 * docs/design/part-gstbin.txt:
30207 * docs/design/part-gstbus.txt:
30208 * docs/design/part-gstpipeline.txt:
30209 * docs/design/part-messages.txt:
30211 * gst/gstmessage.c:
30214 2005-03-21 Wim Taymans <wim@fluendo.com>
30216 * gst/gstbus.c: (gst_bus_post):
30217 Fix copy-and-paste error.
30219 2005-03-21 Wim Taymans <wim@fluendo.com>
30221 * check/Makefile.am:
30223 * gst/elements/Makefile.am:
30224 * gst/elements/gstelements.c:
30225 * gst/elements/gstfakesink.c: (gst_fakesink_init),
30226 (gst_fakesink_event), (gst_fakesink_chain):
30227 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30228 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
30229 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
30230 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
30231 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
30232 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
30233 (gst_fakesrc_loop), (gst_fakesrc_activate),
30234 (gst_fakesrc_change_state):
30235 * gst/elements/gstfakesrc.h:
30236 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
30237 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
30238 (gst_filesrc_open_file), (gst_filesrc_loop),
30239 (gst_filesrc_activate), (gst_filesrc_change_state),
30240 (filesrc_find_peek), (filesrc_find_suggest),
30241 (gst_filesrc_type_find):
30242 * gst/elements/gstidentity.c: (gst_identity_finalize),
30243 (gst_identity_class_init), (gst_identity_init),
30244 (gst_identity_proxy_getcaps), (identity_queue_push),
30245 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
30246 (gst_identity_getrange), (gst_identity_chain),
30247 (gst_identity_sink_loop), (gst_identity_src_loop),
30248 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
30249 (gst_identity_set_property), (gst_identity_get_property),
30250 (gst_identity_change_state):
30251 * gst/elements/gstidentity.h:
30252 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
30253 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
30254 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
30255 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
30256 (gst_tee_sink_activate):
30257 * gst/elements/gsttee.h:
30258 * gst/gst.c: (gst_register_core_elements), (init_post):
30260 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
30261 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
30262 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
30263 (gst_bin_change_state):
30265 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
30266 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
30267 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
30268 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
30269 (gst_bus_set_sync_handler), (gst_bus_create_watch),
30270 (bus_watch_callback), (bus_watch_destroy),
30271 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
30272 (poll_timeout), (gst_bus_poll):
30276 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30277 (gst_element_post_message), (gst_element_message_full),
30278 (gst_element_get_state_func), (gst_element_get_state),
30279 (gst_element_abort_state), (gst_element_commit_state),
30280 (gst_element_lost_state), (gst_element_set_state),
30281 (gst_element_pads_activate), (gst_element_change_state),
30282 (gst_element_dispose), (gst_element_set_manager_func),
30283 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
30284 (gst_element_set_manager), (gst_element_get_manager),
30285 (gst_element_set_bus), (gst_element_get_bus),
30286 (gst_element_set_scheduler), (gst_element_get_scheduler):
30287 * gst/gstelement.h:
30288 * gst/gstevent.c: (gst_event_new_segment_seek),
30289 (gst_event_new_flush):
30291 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
30292 (_gst_message_free), (gst_message_get_type), (gst_message_new),
30293 (gst_message_new_eos), (gst_message_new_error),
30294 (gst_message_new_warning), (gst_message_new_tag),
30295 (gst_message_new_state_changed), (gst_message_new_application),
30296 (gst_message_get_structure), (gst_message_parse_tag),
30297 (gst_message_parse_state_changed), (gst_message_parse_error),
30298 (gst_message_parse_warning):
30299 * gst/gstmessage.h:
30300 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
30301 (gst_real_pad_set_property), (gst_pad_set_active),
30302 (gst_pad_is_active), (gst_pad_set_blocked_async),
30303 (gst_pad_set_blocked), (gst_pad_is_blocked),
30304 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
30305 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
30306 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
30307 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
30308 (gst_pad_link_filtered), (gst_pad_relink_filtered),
30309 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
30310 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
30311 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
30312 (gst_pad_set_caps), (gst_pad_configure_sink),
30313 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
30314 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
30315 (gst_real_pad_dispose), (gst_real_pad_finalize),
30316 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
30317 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30318 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
30320 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
30321 (pipeline_bus_handler), (gst_pipeline_change_state),
30322 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
30323 * gst/gstpipeline.h:
30325 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
30326 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
30327 (gst_queue_link_src), (gst_queue_bufferalloc),
30328 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
30329 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
30330 (gst_queue_loop), (gst_queue_handle_src_event),
30331 (gst_queue_handle_src_query), (gst_queue_src_activate),
30332 (gst_queue_change_state):
30334 * gst/gstscheduler.c: (gst_scheduler_init),
30335 (gst_scheduler_dispose), (gst_scheduler_create_task),
30336 (gst_scheduler_factory_create):
30337 * gst/gstscheduler.h:
30338 * gst/gststructure.c: (gst_structure_get_type),
30339 (gst_structure_copy_conditional):
30340 * gst/gststructure.h:
30341 * gst/gsttaginterface.h:
30342 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
30343 (gst_task_init), (gst_task_dispose), (gst_task_create),
30344 (gst_task_get_state), (gst_task_start), (gst_task_stop),
30350 * gst/schedulers/Makefile.am:
30351 * gst/schedulers/cothreads_compat.h:
30352 * gst/schedulers/entryscheduler.c:
30353 * gst/schedulers/faircothreads.c:
30354 * gst/schedulers/faircothreads.h:
30355 * gst/schedulers/fairscheduler.c:
30356 * gst/schedulers/gstbasicscheduler.c:
30357 * gst/schedulers/gstoptimalscheduler.c:
30358 * gst/schedulers/gthread-cothreads.h:
30359 * gst/schedulers/threadscheduler.c:
30360 (gst_thread_scheduler_task_get_type),
30361 (gst_thread_scheduler_task_class_init),
30362 (gst_thread_scheduler_task_init),
30363 (gst_thread_scheduler_task_start),
30364 (gst_thread_scheduler_task_stop),
30365 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
30366 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
30367 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
30368 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
30370 * libs/gst/Makefile.am:
30371 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
30372 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
30373 (gst_file_pad_parent_set):
30374 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
30375 (gst_dp_event_from_packet):
30376 * tests/complexity.c: (main):
30377 * tests/mass_elements.c: (main):
30378 * testsuite/states/locked.c: (message_received), (main):
30379 * testsuite/states/parent.c: (main):
30380 * tools/gst-inspect.c: (print_element_flag_info),
30381 (print_implementation_info), (print_pad_info):
30382 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
30384 * tools/gst-md5sum.c: (event_loop), (main):
30385 * tools/gst-typefind.c: (main):
30386 * tools/gst-xmlinspect.c: (print_element_info):
30388 Added GstBus for mainloop integration.
30389 Added GstMessage for sending notifications on the bus.
30390 Added GstTask as an abstraction for pipeline entry points.
30392 Removed Schedulers.
30393 Simplified GstQueue for multithreaded core.
30394 Made _link threadsafe, removed old capsnego.
30395 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30396 Added pad blocking functions.
30397 Reworked scheduling functions in GstPad to prepare for
30398 scheduling updates soon.
30399 Moved events out of data stream.
30400 Simplified GstEvent types.
30401 Added return values to push/pull.
30402 Removed clocking from GstElement.
30403 Added prototypes for state change function for next merge.
30404 Removed iterate from bins and state change management.
30405 Fixed some elements, disabled others for now.
30406 Fixed -inspect and -launch.
30407 Added check for GstBus.
30409 2005-03-10 Wim Taymans <wim@fluendo.com>
30411 * docs/design/part-MT-refcounting.txt:
30412 * docs/design/part-clocks.txt:
30413 * docs/design/part-gstelement.txt:
30414 * docs/design/part-gstobject.txt:
30415 * docs/design/part-standards.txt:
30416 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30417 (gst_bin_remove_func), (gst_bin_remove):
30421 * testsuite/clock/clock1.c: (main):
30422 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30424 * testsuite/dlopen/loadgst.c: (do_test):
30425 * testsuite/refcounting/bin.c: (add_remove_test1),
30426 (add_remove_test2), (main):
30427 * testsuite/refcounting/element.c: (main):
30428 * testsuite/refcounting/element_pad.c: (main):
30429 * testsuite/refcounting/pad.c: (main):
30430 * tools/gst-launch.c: (sigint_handler_sighandler):
30431 * tools/gst-typefind.c: (main):
30433 Added doc about clock.
30434 removed gst_bin_iterate_recurse_up(), marked methods
30436 Fix more testsuites.
30438 2005-03-09 Wim Taymans <wim@fluendo.com>
30440 * gst/gstpad.c: (gst_pad_get_direction),
30441 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30442 (gst_pad_collect_valist):
30443 * testsuite/bins/interface.c: (main):
30444 * testsuite/caps/audioscale.c: (test_caps):
30445 * testsuite/caps/caps.c: (test1), (test2), (test3):
30446 * testsuite/caps/deserialize.c: (main):
30447 * testsuite/caps/enumcaps.c: (main):
30448 * testsuite/caps/filtercaps.c: (main):
30449 * testsuite/caps/intersect2.c: (main):
30450 * testsuite/caps/random.c: (main):
30451 * testsuite/caps/renegotiate.c: (my_fixate), (main):
30452 * testsuite/caps/sets.c: (check_caps):
30453 * testsuite/caps/simplify.c: (check_caps), (main):
30454 * testsuite/caps/subtract.c: (check_caps):
30455 Fix _pad_get_direction wrt ghostpads.
30456 Fix caps testsuite.
30458 2005-03-09 Wim Taymans <wim@fluendo.com>
30460 * check/Makefile.am:
30461 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30462 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30463 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30464 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30465 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30466 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30467 (gst_bin_remove), (gst_bin_iterate_recurse_up),
30468 (bin_element_is_sink), (gst_bin_iterate_sinks),
30469 (gst_bin_iterate_all_by_interface):
30471 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30472 (gst_element_change_state), (gst_element_dispose),
30473 (gst_element_finalize), (gst_element_set_loop_function):
30474 * gst/gstelement.h:
30475 * gst/gstiterator.c: (find_custom_fold_func):
30476 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30477 (gst_pad_collectv), (gst_pad_collect_valist),
30478 (gst_pad_template_new):
30479 * gst/gstpipeline.c: (gst_pipeline_class_init),
30480 (gst_pipeline_dispose), (gst_pipeline_set_property),
30481 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30482 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30483 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30485 * gst/schedulers/entryscheduler.c:
30486 * gst/schedulers/gstbasicscheduler.c:
30487 (gst_basic_scheduler_cothreaded_chain),
30488 (gst_basic_scheduler_chain_add_element):
30489 * testsuite/bins/interface.c: (main):
30491 Added GstSystemClock test.
30492 Implemented clock distribution code in GstBin.
30493 Implemented iterate sinks method for future use.
30494 Rearranged gstelement.h
30495 Fix GstIterator comparison bug.
30496 Moved some code to GstPipeline, mostly clocking related.
30498 2005-03-09 Wim Taymans <wim@fluendo.com>
30501 * gst/gst_private.h:
30502 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30503 (gst_bin_remove_func), (gst_bin_remove),
30504 (gst_bin_get_by_name_recurse_up):
30505 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30506 (gst_clock_id_compare_func), (gst_clock_id_wait),
30507 (gst_clock_id_wait_async), (gst_clock_init),
30508 (gst_clock_adjust_unlocked), (gst_clock_get_time):
30509 * gst/gstelement.h:
30510 * gst/gstinfo.c: (_gst_debug_init):
30512 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30513 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30515 Bump version number, we're now 0.9.0
30516 Add future debugging category.
30517 Fix NULL _unref() in _get_by_name_recurse_up
30518 Rearrange gstpad.h.
30521 2005-03-08 Wim Taymans <wim@fluendo.com>
30523 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30524 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30525 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30526 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30527 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30528 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30529 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30530 * gst/elements/gstidentity.c: (gst_identity_class_init):
30531 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30532 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30533 * gst/elements/gstshaper.c: (gst_shaper_class_init):
30534 * gst/elements/gststatistics.c: (gst_statistics_class_init):
30535 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30537 * gst/gstelement.c: (gst_element_class_init),
30538 (gst_element_base_class_init), (gst_element_init),
30539 (gst_element_get_random_pad), (gst_element_wait_state_change),
30540 (gst_element_change_state), (gst_element_dispose),
30541 (gst_element_finalize), (gst_element_set_loop_function):
30542 * gst/gstelement.h:
30543 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30544 * gst/gstthread.c: (gst_thread_class_init),
30545 (gst_thread_release_children_locks), (gst_thread_change_state):
30546 * gst/schedulers/gstbasicscheduler.c:
30547 (gst_basic_scheduler_loopfunc_wrapper),
30548 (gst_basic_scheduler_chain_wrapper),
30549 (gst_basic_scheduler_src_wrapper),
30550 (gst_basic_scheduler_remove_element):
30551 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30552 Remove threadsafe properties. Fix elements because GObject
30553 complains when installing a property before declaring a
30554 set/get_property handler.
30555 Rearrange gstelement.h file, use STATE macros for state locks.
30556 Free mutexes in the finalize method instead of dispose.
30558 2005-03-08 Wim Taymans <wim@fluendo.com>
30560 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30561 * gst/gstthread.c: (gst_thread_release_children_locks):
30562 Added parentage check.
30563 Fix build og GstThread again.
30565 2005-03-08 Wim Taymans <wim@fluendo.com>
30567 * docs/design/part-MT-refcounting.txt:
30568 * docs/design/part-conventions.txt:
30569 * docs/design/part-gstobject.txt:
30570 * docs/design/part-relations.txt:
30571 * docs/design/part-standards.txt:
30572 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30573 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30574 (gst_bin_get_by_name), (gst_bin_get_by_interface),
30575 (gst_bin_iterate_all_by_interface):
30578 * gst/gstelement.c: (gst_element_class_init),
30579 (gst_element_change_state), (gst_element_set_loop_function):
30580 * gst/gstelement.h:
30581 * gst/gstiterator.c:
30582 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30583 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30584 (gst_object_dispatch_properties_changed), (gst_object_set_name),
30585 (gst_object_set_parent), (gst_object_unparent),
30586 (gst_object_check_uniqueness):
30588 Docs updates, clean up some headers.
30590 2005-03-07 Wim Taymans <wim@fluendo.com>
30592 * check/.cvsignore:
30593 * check/Makefile.am:
30594 * check/gst-libs/.cvsignore:
30595 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30596 * check/gst/.cvsignore:
30597 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30598 (START_TEST), (gstbus_suite), (main):
30599 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30600 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30601 (gst_data_suite), (main):
30602 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30603 (add_fold_func), (gstiterator_suite), (main):
30604 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30605 (thread_name_object), (thread_name_object_default),
30606 (gst_object_name_compare), (gst_object_suite), (main):
30607 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30608 (gst_pad_suite), (main):
30609 * check/gstcheck.c: (gst_check_log_message_func),
30610 (gst_check_log_critical_func), (gst_check_init):
30611 * check/gstcheck.h:
30612 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30613 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30616 2005-03-07 Wim Taymans <wim@fluendo.com>
30618 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30619 (gst_list_iterator_next), (gst_list_iterator_resync),
30620 (gst_list_iterator_free), (gst_iterator_new_list),
30621 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30622 (gst_iterator_free), (gst_iterator_push), (filter_next),
30623 (filter_resync), (filter_uninit), (filter_free),
30624 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30625 (gst_iterator_foreach), (find_custom_fold_func),
30626 (gst_iterator_find_custom):
30627 * gst/gstiterator.h:
30628 Added missing files.
30630 2005-03-07 Wim Taymans <wim@fluendo.com>
30634 * docs/design/part-MT-refcounting.txt:
30635 * docs/design/part-conventions.txt:
30636 * docs/design/part-gstobject.txt:
30637 * docs/design/part-relations.txt:
30638 * examples/mixer/mixer.c: (main):
30639 * examples/thread/thread.c: (eos), (main):
30641 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30642 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30643 (gst_spider_plug_from_srcpad):
30644 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30645 (gst_spider_identity_change_state),
30646 (gst_spider_identity_sink_loop_type_finding):
30647 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30648 * gst/elements/gstidentity.c: (gst_identity_init):
30649 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30650 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30651 * gst/elements/gsttypefindelement.c: (free_entry):
30654 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30655 (gst_bin_set_clock_func), (gst_bin_auto_clock),
30656 (gst_bin_set_index), (gst_bin_set_element_sched),
30657 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30658 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30659 (gst_bin_iterate_elements), (iterate_child_recurse),
30660 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30661 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30662 (compare_interface), (gst_bin_get_by_interface),
30663 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30665 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30666 (gst_buffer_default_free), (gst_buffer_default_copy),
30667 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30668 (gst_buffer_create_sub):
30670 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30671 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30672 (gst_caps_unref), (gst_static_caps_get),
30673 (gst_caps_remove_and_get_structure), (gst_caps_append),
30674 (gst_caps_append_structure), (gst_caps_remove_structure),
30675 (gst_caps_copy_nth), (gst_caps_set_simple),
30676 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30677 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30678 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30679 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30680 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30681 (gst_caps_structure_figure_out_union),
30682 (gst_caps_switch_structures), (gst_caps_do_simplify),
30683 (gst_caps_replace), (gst_caps_from_string),
30684 (gst_caps_copy_conditional):
30686 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30687 (_gst_clock_id_free), (gst_clock_id_unref),
30688 (gst_clock_id_compare_func), (gst_clock_id_wait),
30689 (gst_clock_id_wait_async), (gst_clock_class_init),
30690 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30691 (gst_clock_get_time), (gst_clock_set_time_adjust),
30692 (gst_clock_set_property), (gst_clock_get_property):
30695 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30696 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30698 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30699 (gst_element_requires_clock), (gst_element_provides_clock),
30700 (gst_element_set_clock), (gst_element_clock_wait),
30701 (gst_element_wait), (gst_element_set_time_delay),
30702 (gst_element_is_indexable), (gst_element_add_pad),
30703 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30704 (pad_compare_name), (gst_element_get_static_pad),
30705 (gst_element_request_pad), (gst_element_get_request_pad),
30706 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30707 (gst_element_class_get_pad_template_list),
30708 (gst_element_class_get_pad_template), (gst_element_error_func),
30709 (gst_element_get_random_pad), (gst_element_get_event_masks),
30710 (gst_element_send_event), (gst_element_seek),
30711 (gst_element_get_query_types), (gst_element_query),
30712 (gst_element_get_formats), (gst_element_convert),
30713 (gst_element_is_locked_state), (gst_element_set_locked_state),
30714 (gst_element_sync_state_with_parent), (gst_element_change_state),
30715 (gst_element_finalize), (gst_element_yield),
30716 (gst_element_interrupt), (gst_element_set_scheduler),
30717 (gst_element_get_scheduler), (gst_element_set_loop_function):
30718 * gst/gstelement.h:
30720 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30721 (gst_format_get_by_nick), (gst_format_get_details),
30722 (gst_format_iterate_definitions):
30724 * gst/gstindex.c: (gst_index_gtype_resolver):
30727 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30728 (gst_mem_chunk_free):
30729 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30730 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30731 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30732 (gst_object_dispatch_properties_changed),
30733 (gst_object_set_name_default), (gst_object_set_name),
30734 (gst_object_get_name), (gst_object_set_name_prefix),
30735 (gst_object_get_name_prefix), (gst_object_set_parent),
30736 (gst_object_get_parent), (gst_object_unparent),
30737 (gst_object_check_uniqueness), (gst_object_save_thyself),
30738 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30739 (gst_object_set_property), (gst_object_get_property),
30740 (gst_object_get_path_string):
30742 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30743 (gst_real_pad_init), (gst_real_pad_get_property),
30744 (gst_pad_custom_new), (gst_pad_get_direction),
30745 (gst_pad_set_active), (gst_pad_is_active),
30746 (gst_pad_set_event_function), (gst_pad_is_linked),
30747 (gst_pad_link_free), (gst_pad_link_intersect),
30748 (gst_pad_link_fixate), (gst_pad_set_caps),
30749 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30750 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30751 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30752 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30753 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30754 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30755 (gst_pad_realize), (gst_pad_get_allowed_caps),
30756 (gst_real_pad_dispose), (gst_real_pad_finalize),
30757 (gst_pad_collectv), (gst_pad_collect_valist),
30758 (gst_pad_template_dispose), (gst_pad_template_new),
30759 (gst_pad_get_internal_links):
30761 * gst/gstpipeline.c: (gst_pipeline_dispose),
30762 (gst_pipeline_change_state):
30763 * gst/gstpipeline.h:
30765 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30766 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30767 * gst/gstpluginfeature.h:
30768 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30769 * gst/gstquery.c: (_gst_query_type_initialize),
30770 (gst_query_type_register), (gst_query_type_get_by_nick),
30771 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30773 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30774 * gst/gstscheduler.c: (gst_scheduler_add_element),
30775 (gst_scheduler_factory_create):
30776 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30777 (gst_structure_free), (gst_structure_set_name),
30778 (gst_structure_id_set_value), (gst_structure_set_value),
30779 (gst_structure_set_valist), (gst_structure_remove_field),
30780 (gst_structure_remove_fields),
30781 (gst_structure_remove_fields_valist),
30782 (gst_structure_remove_all_fields), (gst_structure_foreach),
30783 (gst_structure_map_in_place),
30784 (gst_caps_structure_fixate_field_nearest_int),
30785 (gst_caps_structure_fixate_field_nearest_double):
30786 * gst/gststructure.h:
30787 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30788 (gst_system_clock_init), (gst_system_clock_dispose),
30789 (gst_system_clock_async_thread),
30790 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30791 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30792 * gst/gstsystemclock.h:
30793 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30794 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30795 * gst/gsttaginterface.c:
30796 * gst/gstthread.c: (gst_thread_dispose),
30797 (gst_thread_release_children_locks), (gst_thread_change_state),
30798 (gst_thread_main_loop):
30799 * gst/gsttrashstack.h:
30800 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30802 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30803 (gst_element_request_pad), (gst_element_get_pad_from_template),
30804 (gst_element_request_compatible_pad),
30805 (gst_element_get_compatible_pad_filtered),
30806 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30807 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30808 (gst_element_link_many), (gst_element_link),
30809 (gst_element_link_pads), (gst_element_unlink_pads),
30810 (gst_element_unlink_many), (gst_element_unlink),
30811 (gst_pad_can_link_filtered), (gst_pad_can_link),
30812 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30813 (gst_object_default_error), (gst_bin_add_many),
30814 (gst_bin_remove_many), (gst_element_populate_std_props),
30815 (gst_element_class_install_std_props), (gst_buffer_merge),
30816 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30817 (link_fold_func), (gst_pad_proxy_setcaps):
30819 * gst/gstvalue.c: (gst_value_deserialize_string):
30820 * gst/parse/grammar.y:
30821 * gst/schedulers/gstbasicscheduler.c:
30822 (gst_basic_scheduler_cothreaded_chain),
30823 (gst_basic_scheduler_chain_recursive_add),
30824 (gst_basic_scheduler_pad_link):
30825 * gst/schedulers/gstoptimalscheduler.c:
30826 (get_group_schedule_function),
30827 (gst_opt_scheduler_state_transition),
30828 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30829 * libs/gst/bytestream/bytestream.c:
30830 * libs/gst/dataprotocol/dataprotocol.c:
30831 (gst_dp_header_from_buffer):
30834 * tests/threadstate/threadstate2.c: (eos):
30835 * tools/gst-compprep.c: (main):
30836 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30837 (print_pad_info), (print_children_info):
30838 * tools/gst-launch.c: (idle_func), (main):
30839 * tools/gst-md5sum.c: (idle_func), (main):
30840 * tools/gst-xmlinspect.c: (print_element_info):
30841 First THREADED backport attempt, focusing on adding locks and
30842 making sure the API is threadsafe. Needs more work. More docs
30845 2005-02-24 Andy Wingo <wingo@pobox.com>
30847 * tests/bench-complexity.scm:
30848 * tests/complexity.gnuplot: New files, good for running complexity
30851 * tests/Makefile.am:
30852 * tests/complexity.c: New test, sets up N elements, at each level
30853 teeing into M streams per element. Eeeenteresting.
30855 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30856 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30857 running bench-mass_elements.scm.
30859 * tests/bench-mass_elements.scm: New script, runs mass_elements
30860 for various numbers of identities, outputting the results to a
30861 file. Requires guile 1.6. Just for testing.
30863 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30865 * gst/schedulers/fairscheduler.c:
30866 compile with debug disabled
30868 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30871 hunting season on 0.9 is now OPEN