1 2008-08-27 Stefan Kost <ensonic@users.sf.net>
4 Due to popular request also include ObjectType in
5 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
7 2008-08-26 David Schleef <ds@schleef.org>
9 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
10 src_val must be positive, because that's not a requirement.
11 This causes problems with converting negative granulepos
13 * gst/gstquery.c: Same, gst_query_new_convert().
15 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
17 * gst/gstclock.c: (gst_clock_add_observation):
18 Add some more debugging to the clock slaving code.
20 * win32/common/libgstbase.def:
21 Add new basetransform method.
23 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
25 * gst/gstbin.c: (gst_bin_element_set_state):
26 Take the (recursive) state lock between getting the locked state of an
27 element and changing the element state. This allows the application to
28 lock an element's state and then change its state without races.
30 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
32 * gst/gstbin.c: (gst_bin_element_set_state):
33 When an element is in the locked state we still want to update the
34 base_time of the element.
36 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
38 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
39 Use the result from gst_pad_set_caps() instead of assuming the element
40 always accepted the caps computed by the default negotiate function.
42 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
44 * docs/libs/gstreamer-libs-sections.txt:
45 * libs/gst/base/gstbasetransform.c:
46 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
47 (gst_base_transform_chain), (gst_base_transform_suggest),
48 (gst_base_transform_reconfigure):
49 * libs/gst/base/gstbasetransform.h:
50 Implement method for reconfiguring basetransform.
51 API: GstBaseTransform::gst_base_transform_reconfigure()
53 2008-08-20 Stefan Kost <ensonic@users.sf.net>
55 patch by: Murray Cumming <murrayc@murrayc.com>
58 Mention that this is just like gst_buffer_merge() but with extra
59 unreffing for C coders. Advise language bindings not to wrap it.
62 Also fix file comment.
64 2008-08-20 Stefan Kost <ensonic@users.sf.net>
66 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
68 * plugins/elements/gstfakesink.c:
69 * plugins/elements/gstfakesrc.c:
70 Call super::event() when not handling it. Fixes #544855.
72 2008-08-19 Michael Smith <msmith@songbirdnest.com>
74 Patch by: Alessandro Decina <alessandro@nnva.org>
75 * plugins/elements/gstfilesrc.c:
76 Use 64 bit variants of stat functions on win32, to enable support
80 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
82 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
83 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
84 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
85 (gst_base_sink_get_position), (gst_base_sink_change_state):
86 Improve position reporting in the flushing state.
87 Also report the position when we are not yet prerolled but we
88 have a newsegment event. Fixes #543444.
89 Improve the pull-based negotiation code.
91 * tests/check/elements/fakesink.c: (GST_START_TEST),
93 Add testcase for position reporting while flushing in PAUSED and
96 * tests/check/generic/sinks.c: (GST_START_TEST):
97 Update unit-test, we can now query the position as soon as we receive a
100 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
102 Based on patch by: Jason Zhao <e3423c at motorola dot com>
104 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
105 When the subclass event handler releases the PREROLL_LOCK, we could be
106 in the flushing state and we have to ignore the event. Fixes #548394.
108 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
110 * tools/gst-launch.1.in:
111 Document GST_REGISTRY_UPDATE environment variable.
113 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
115 * libs/gst/base/gstbasetransform.c:
116 (gst_base_transform_prepare_output_buffer):
117 If the element is configured in passthrough mode but the
118 prepare_output_buffer gave us a new output buffer, discard that buffer
119 and reuse the input buffer.
121 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
123 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
125 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
126 (gst_tee_request_new_pad), (gst_tee_release_pad),
127 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
128 * plugins/elements/gsttee.h:
129 Protect pad_alloc with a new lock so that we can be sure that nothing is
130 performing a pad_alloc when removing the pad. Fixes #547835.
132 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
133 (buffer_alloc_harness_teardown), (app_thread_func),
134 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
135 Added testcase for shutdown race.
137 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
142 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
144 * libs/gst/base/gstbasetransform.c:
145 (gst_base_transform_prepare_output_buffer),
146 (gst_base_transform_buffer_alloc):
147 Go over the buffer_alloc function again and make sure we always end up
150 Avoid doing pad alloc when we have a pending suggestion because we
151 cannot yet deal with changing caps in that case. Fixes #547728
153 2008-08-14 Stefan Kost <ensonic@users.sf.net>
155 patch by: Luc Pionchon <luc.pionchon@nokia.com>
157 * docs/manual/advanced-clocks.xml:
158 * docs/manual/clocks.png:
159 * docs/manual/diagrams-clocks.svg:
160 Add one more image showing different times together with a describing
161 paragraph. Fixes #547729.
163 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
165 * win32/common/libgstbase.def:
168 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
170 * libs/gst/base/gstbasetransform.c:
171 (gst_base_transform_transform_caps),
172 (gst_base_transform_prepare_output_buffer),
173 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
174 Don't overwrite the outsize when calculating the expected size of a new
175 buffer because we still need it in case we cannot process the new
177 When converting the size of the new buffer to an upstream size, actually
178 use the expected size of the buffer, not some other random value.
179 Use an atomic int to signal that a new upstream caps suggestion is
181 When we can convert the current buffer to a new format, check if the
182 buffer size is of the expected size and allocate a new buffer of the
183 expected size when this is not the case. Fixes #546883.
185 * tests/check/libs/transform1.c: (GST_START_TEST):
186 remove ifdeffed code from the unit test.
188 2008-08-12 Stefan Kost <ensonic@users.sf.net>
190 * pkgconfig/gstreamer-uninstalled.pc.in:
191 * pkgconfig/gstreamer.pc.in:
192 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
193 called gstcontroller-0.10.
195 2008-08-12 Stefan Kost <ensonic@users.sf.net>
197 * gst/gstchildproxy.h:
199 Remove double interface from doc-string.
201 2008-08-12 Stefan Kost <ensonic@users.sf.net>
203 * libs/gst/base/gstbasesrc.c:
204 * libs/gst/base/gstbasetransform.c:
205 Fix headings in docs and gtk-doc warnings.
207 2008-08-11 Michael Smith <msmith@songbirdnest.com>
209 * gst/gstregistrybinary.c:
210 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
214 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
216 * libs/gst/base/gstbasetransform.c:
217 (gst_base_transform_buffer_alloc):
218 Fix a "may be used unitialized" warning.
220 2008-08-11 Stefan Kost <ensonic@users.sf.net>
222 * docs/gst/gstreamer-sections.txt:
224 Document preset-iface vmethods.
226 2008-08-11 Stefan Kost <ensonic@users.sf.net>
228 * docs/manual/advanced-interfaces.xml:
229 Turn thoughts about HAL into a note-tag. Remove mentioning that is
230 only used to discover devices.
232 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
234 Patch by: Frederic Crozat <fcrozat@mandriva.org>
236 * gst/gst.c: (init_pre):
237 Make sure gettext returns translations in UTF-8 encoding rather
238 than in the current locale encoding (#546822).
240 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
242 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
245 * tests/check/gst/gstcaps.c: (GST_START_TEST):
246 Improve unit test subset tests and add a testcase for the subset failure
249 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
250 Improve subtraction unit test.
252 2008-08-07 Stefan Kost <ensonic@users.sf.net>
254 * plugins/elements/gsttee.c:
255 Unlock, instead of locking again.
257 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
260 Clarify the docs a bit more.
262 2008-08-05 Stefan Kost <ensonic@users.sf.net>
264 * tests/examples/metadata/read-metadata.c:
265 Don't leak old taglist.
267 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
269 Patch by: Olivier Crete <tester at tester dot ca>
271 * gst/gststructure.c:
272 (gst_structure_fixate_field_nearest_fraction):
273 Avoid overflows in fixation code when dealing with MAXINT values, which
277 * tests/check/gst/gststructure.c: (GST_START_TEST):
278 Make a unit test to check the fix.
280 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
282 * plugins/elements/gstcapsfilter.c: (copy_func),
283 (gst_capsfilter_set_property):
284 Use new caps suggestion feature of basetransform to request a caps
285 negotiation upstream.
287 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
289 * docs/libs/gstreamer-libs-sections.txt:
291 API: GstBaseTransform::gst_base_transform_suggest()
293 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
294 (gst_base_transform_init), (gst_base_transform_transform_caps),
295 (gst_base_transform_transform_size),
296 (gst_base_transform_configure_caps),
297 (gst_base_transform_can_transform),
298 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
299 (gst_base_transform_prepare_output_buffer),
300 (gst_base_transform_buffer_alloc),
301 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
302 (gst_base_transform_chain), (gst_base_transform_activate),
303 (gst_base_transform_set_passthrough),
304 (gst_base_transform_is_passthrough),
305 (gst_base_transform_set_in_place),
306 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
307 (gst_base_transform_set_qos_enabled),
308 (gst_base_transform_is_qos_enabled),
309 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
310 (gst_base_transform_reconfigure):
311 * libs/gst/base/gstbasetransform.h:
312 Rewrite of basetransform to perform negotiation outside of the
313 buffer_alloc functions. Fixes #545853.
315 * tests/check/libs/transform1.c: (GST_START_TEST),
319 2008-08-05 Stefan Kost <ensonic@users.sf.net>
321 * tests/check/gst/gstpreset.c:
322 Only run preset tests when $HOME is writable. Preliminary fix for
325 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
327 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
328 (gst_bin_change_state_func), (bin_handle_async_done),
329 (gst_bin_handle_message_func):
330 Fix race for bins that simulate ASYNC state changes by inserting
331 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
332 pending ASYNC messages even when the bin does not have ASYNC children.
333 We note detect this behaviour because we will receive an ASYNC message
334 that is originating from the bin itself.
335 Fixes races with decodebin2 state changes.
337 * tests/check/gst/gstbin.c: (GST_START_TEST):
340 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
342 * gst/gsttaglist.c: (_gst_tag_initialize):
345 2008-08-04 Stefan Kost <ensonic@users.sf.net>
348 Argh. actually save the text before committing. Now adds
349 gst_tag_merge_strings_with_comma() to gst_tag_register().
351 2008-08-04 Stefan Kost <ensonic@users.sf.net>
355 Do as tim pointed out and actually register the new tag. Also improve
356 te docs and use gst_tag_merge_strings_with_comma() method to allow
357 retriving all keywords merged in one list.
359 2008-08-01 Stefan Kost <ensonic@users.sf.net>
362 * docs/gst/gstreamer.types:
363 Revert 'accidential' change of the configure option removal. We still
364 need to generate the types file in configure --disable-load-save.
366 2008-08-01 Stefan Kost <ensonic@users.sf.net>
368 * docs/gst/gstreamer-sections.txt:
370 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
372 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
374 * gst/gstpadtemplate.c:
375 (gst_pad_template_class_init), (gst_static_pad_template_get),
376 (gst_pad_template_new), (gst_pad_template_pad_created),
377 (gst_pad_template_set_property), (gst_pad_template_get_property):
378 Add "name-template", "direction", "presence" and "caps" properties,
379 so that gst_pad_template_new() is just a thin wrapper around
380 g_object_new(), which is better for bindings. (Fixes: #539772)
382 2008-07-31 Michael Smith <msmith@songbirdnest.com>
385 Be more liberal in what URIs we accept.
386 Do not unescape bits of the URI for no apparent reason before passing to
387 the element. Fixes #545352.
389 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
391 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
394 Include gstconfig.h as macros from it are used. Fixes bug #545607.
396 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
399 * docs/gst/gstreamer-sections.txt:
400 * docs/gst/gstreamer.types:
401 * docs/gst/gstreamer.types.in:
404 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
405 * gst/gstconfig.h.in:
406 * gst/gstelement.c: (gst_element_get_index):
407 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
408 (gst_registry_binary_load_feature),
409 (gst_registry_binary_read_cache):
410 * gst/gstregistryxml.c: (load_feature),
411 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
412 * plugins/Makefile.am:
414 * tools/gst-inspect.c: (print_index_info), (print_element_list),
415 (print_plugin_features), (print_element_features):
416 * tools/gst-xmlinspect.c: (print_event_masks),
417 (print_element_info):
418 * win32/common/gstconfig.h:
419 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
421 Disabling the indexers and URI handler code will only reduce the
422 required amount of memory by a very small amount but on the other hand
423 requires much more maintaince work. Apart from that many places of
424 code are broken when disabling them.
426 Disabling the enum types doesn't reduce the required amount of memory
427 by more than a few bytes and makes it hard to fix bugs like #539772,
428 i.e. use the enums as GObject properties.
430 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
432 * docs/design/part-TODO.txt:
433 Add some thoughts and problems with upstream renegotiation.
435 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
437 * gst/gstpad.c: (gst_pad_acceptcaps_default),
438 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
439 Remove silly redundant debug.
440 Add some more debug info.
441 Clarify the docs regarding new caps received from pad_alloc.
443 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
445 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
446 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
447 Make setting the caps more threadsafe.
449 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
451 * docs/design/part-element-transform.txt:
454 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
456 * plugins/elements/gstqueue.c: (gst_queue_init),
457 (gst_queue_acceptcaps):
458 Add and use a custom acceptcaps function instead of falling back to the
459 potentially less optimized default implementation.
461 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
463 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
464 Only sanity-check the buffer size if requested_caps == buffer_caps
465 (ie. don't take pad caps into account, they're not relevant here)
467 2008-07-29 Stefan Kost <ensonic@users.sf.net>
469 * plugins/elements/gsttee.c:
470 * plugins/elements/gsttee.h:
471 Reverting as not everything is clear yet. Needs some general design
474 2008-07-29 Stefan Kost <ensonic@users.sf.net>
477 ChangeLog surgery for tee commit.
479 2008-07-29 Stefan Kost <ensonic@users.sf.net>
481 * docs/gst/gstreamer-sections.txt:
482 Cleanup section-file.
484 2008-07-29 Stefan Kost <ensonic@users.sf.net>
486 * plugins/elements/gsttee.c:
487 * plugins/elements/gsttee.h:
488 Relay tag events in tee. Fixes parts of #474016.
489 Downgrades 3 reoccurring debugs to log.
491 2008-07-28 Michael Smith <msmith@songbirdnest.com>
494 * libs/gst/Makefile.am:
495 Build the net library if we have winsock2.
497 2008-07-26 Stefan Kost <ensonic@users.sf.net>
499 patch by: Luc Pionchon <luc.pionchon@nokia.com>
501 * docs/manual/advanced-threads.xml:
502 * docs/manual/diagrams-pipelines.svg:
503 * docs/manual/hello-world.png:
504 * docs/manual/linked-elements.png:
505 * docs/manual/mime-world.png:
506 * docs/manual/queue.png:
507 * docs/manual/thread-buffering.png:
508 * docs/manual/thread-synchronizing.png:
509 Replace one diagram with two separate ones and updates others.
512 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
515 Fix link in documentation.
517 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
520 Fix confusing documentation.
522 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
524 * libs/gst/base/gstbasesrc.h:
525 revert the changes to the header file for the ABI.
527 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
529 * libs/gst/base/gstbasesrc.c:
530 * libs/gst/base/gstbasesrc.h:
531 Don't cache the seekable status.
534 2008-07-24 Rene Stadler <mail@renestadler.de>
536 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
537 code to close the pipeline graph. This prevents the program from
538 printing internal data flow errors.
540 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
542 * docs/manual/basics-bus.xml:
543 Correct typo. Fixes bug #544320.
545 2008-07-22 Michael Smith <msmith@songbirdnest.com>
548 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
549 Add check (taken from -base) for winsock, adds WIN32_LIBS
551 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
553 Define GST_EXPORTS when building libgstreamer (only used on win32)
556 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
557 for symbols that we need to export in both these files.
559 Include gst_private.h higher up to avoid some compile problems on win32.
561 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
566 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
569 Previous commit was wrong NULL caps does not exist
570 and indicate an error, so also add a FIXME to
571 gst_caps_is_equal where NULL caps are accepted.
573 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
576 Allow passing of NULL to gst_caps_union
578 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
581 Add in doc that gst_ghost_pad_set_target can accept
584 2008-07-15 Michael Smith <msmith@songbirdnest.com>
588 GstRegistryPool doesn't exist; don't refer to it in docs.
589 Don't refer to functions that don't exist in docs, it's
592 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
595 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
597 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
599 Patch by: tmatth <le dot businessman at gmail dot com>
601 * docs/pwg/building-testapp.xml:
602 Don't use an undeclared variable in the example program.
605 2008-07-12 Stefan Kost <ensonic@users.sf.net>
607 * gst/gstdebugutils.c:
608 Squeeze ghost-pad links and remove <> from classname labels to save
609 more horizontal space.
611 2008-07-11 Stefan Kost <ensonic@users.sf.net>
613 * gst/gstdebugutils.c:
614 Give request and sometimes pads a different shpe style. Condense the
615 graphs a little more.
617 2008-07-09 Michael Smith <msmith@songbirdnest.com>
620 Don't require flex and bison if the parser is disabled.
622 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
624 * libs/gst/controller/gstinterpolationcontrolsource.c:
625 (_list_find_sorted_custom):
626 Don't use declarations after statements.
628 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
630 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
631 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
632 of the the child-added / -removed signals as GstChildProxy
633 only supports GstObjects.
635 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
637 * gst/gstdebugutils.c:
640 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
642 Patch by: Alessandro Decina <alessandro at nnva dot org>
645 Fix "ignored return value" compiler warning with newer glibc.
647 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
649 * gst/gstchildproxy.c:
650 Fix copy&paste error in gst_child_proxy_removed() documentation.
652 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
654 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
655 Print error debug message if plugin description fields that should
658 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
659 Don't crash if the string to serialise is NULL (it really should
660 not be, but apparently this used to work with the xml registry ...).
662 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
664 * tools/gst-plot-timeline.py:
665 Fix parsing of log messages
667 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
669 * win32/common/libgstbase.def::
670 Sort alphabetically so make check-exports doesn't barf.
672 2008-07-01 Stefan Kost <ensonic@users.sf.net>
675 Use gst_format_get_name() to improve debug output.
678 Remove #ifdef'ed code. Add TODO comment.
681 Add debug output to ease spotting format != segment.format assertions.
683 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
685 * tests/check/libs/gdp.c: (gst_dp_suite):
686 Also enable the GDP unit test again on PPC now that the bug
689 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
691 * libs/gst/dataprotocol/dataprotocol.c:
692 Don't write to the same region of memory as a uint64 and uint16
693 as this breaks strict aliasing rules and apparantly breaks on PPC
694 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
696 2008-06-29 Stefan Kost <ensonic@users.sf.net>
698 * libs/gst/controller/gstinterpolationcontrolsource.c:
699 Optimize list handling. Use own find function. Exploit that fact that
700 the list is sorted. Also pass back the node before, so that we can
701 insert quickly. Have a fast path for append.
703 2008-06-29 Stefan Kost <ensonic@users.sf.net>
705 * docs/design/draft-framestep.txt:
706 * docs/design/part-negotiation.txt:
709 2008-06-27 Stefan Kost <ensonic@users.sf.net>
712 Show configuration sumary after configure run. Based on patch by
713 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
715 2008-06-27 Stefan Kost <ensonic@users.sf.net>
717 patch by: Luc Pionchon <luc.pionchon@nokia.com>
719 * docs/manual/advanced-autoplugging.xml:
720 * docs/manual/advanced-threads.xml:
721 * docs/manual/basics-bins.xml:
722 * docs/manual/basics-elements.xml:
723 * docs/manual/basics-helloworld.xml:
724 * docs/manual/basics-pads.xml:
725 Add scale factor for pdf output.
727 * docs/manual/intro-basics.xml:
728 Switched sections "pads" and "bins" and added a pipeline diagram.
730 * docs/manual/intro-gstreamer.xml:
731 Added more info on gstreamer.
733 * docs/manual/intro-motivation.xml:
734 Commented out the whole section "current problem", which sounds
735 historical and somehow osolete; it could be turned in a positive
736 way and reused to improve the design principles.
738 * docs/manual/intro-preface.xml:
739 - Update URLs to library.gnome.org.
740 - Do not mention GTK+ in preliminary reading (irrelevant).
741 - Mention Plugin Writer's Manual and further reading only in the
743 - Added a list of most relevant GObject/glib topics.
745 * docs/manual/Makefile.am:
746 * docs/manual/bin-element-ghost.fig:
747 * docs/manual/bin-element-ghost.png:
748 * docs/manual/bin-element-noghost.fig:
749 * docs/manual/bin-element-noghost.png:
750 * docs/manual/bin-element.fig:
751 * docs/manual/bin-element.png:
752 * docs/manual/filter-element-multi.fig:
753 * docs/manual/filter-element-multi.png:
754 * docs/manual/filter-element.fig:
755 * docs/manual/filter-element.png:
756 * docs/manual/gstreamer-overview.png:
757 * docs/manual/hello-world.fig:
758 * docs/manual/hello-world.png:
759 * docs/manual/linked-elements.fig:
760 * docs/manual/linked-elements.png:
761 * docs/manual/mime-world.fig:
762 * docs/manual/mime-world.png:
763 * docs/manual/queue.fig:
764 * docs/manual/queue.png:
765 * docs/manual/simple-player.png:
766 * docs/manual/sink-element.fig:
767 * docs/manual/sink-element.png:
768 * docs/manual/src-element.fig:
769 * docs/manual/src-element.png:
770 * docs/manual/diagrams-general.svg:
771 * docs/manual/diagrams-pipelines.svg:
772 Removed .fig, added .png counterpart.
776 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
778 * plugins/elements/gstmultiqueue.c:
779 * plugins/elements/gstmultiqueue.h:
780 revert extra-size-buffers stuff, caused some race conditions
781 and extra-size-buffers is not used anymore. Docs needs some updates
783 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
785 * win32/common/config.h:
786 * win32/common/gstenumtypes.c:
787 * win32/common/gstenumtypes.h:
788 * win32/common/gstversion.h:
791 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
793 * gst/gstdebugutils.h: (GstDebugGraphDetails),
794 (GST_DEBUG_BIN_TO_DOT_FILE):
795 Add missing Since' markers to gtk-doc blurbs.
797 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
799 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
800 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
801 (set_caps_1), (set_caps_ct1), (transform_ct1),
802 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
803 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
804 (transform_size_ct2), (buffer_alloc_ct2):
805 Add some more tests with switching caps in buffer_alloc.
807 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
809 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
810 (gst_test_trans_class_init), (result_sink_chain),
811 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
812 (gst_test_trans_push), (gst_test_trans_pop):
813 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
814 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
815 (set_caps_1), (set_caps_ct1), (transform_ct1),
816 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
817 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
818 (transform_size_ct2), (buffer_alloc_ct2),
819 (gst_basetransform_suite):
820 More tests, prepare for tests with switching caps in buffer_alloc.
822 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
824 * plugins/elements/gstmultiqueue.c:
825 * plugins/elements/gstmultiqueue.h:
826 Fix dead-lock in underrun_cb
828 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
830 * docs/design/part-states.txt:
831 Fix device open/close docs.
833 2008-06-25 Stefan Kost <ensonic@users.sf.net>
836 Mention bugnumber for last commit.
838 2008-06-25 Stefan Kost <ensonic@users.sf.net>
840 patch by: Luc Pionchon <luc.pionchon@nokia.com>
842 * docs/manual/manual.xml:
843 - Reorganised the previous "introduction" bundle into Foreword,
844 Introduction, and About GStreamer. The two first are <preface>
845 docbook elements. The later is the first part of the book.
846 - added intro-gstreamer.xml (content partially from
848 - moved appendix-win32.xml into appendix-integration.xml
850 * docs/manual/intro-preface.xml: gstreamer section moved...
851 * docs/manual/intro-gstreamer.xml: ...here. new file.
853 * docs/manual/appendix-win32.xml: removed file. Content moved...
854 * docs/manual/appendix-integration.xml: ...here.
856 * docs/manual/highlevel-components.xml: section about GstEditor moved...
857 * docs/manual/appendix-checklist.xml: ...here.
861 2008-06-25 Stefan Kost <ensonic@users.sf.net>
863 patch by: Luc Pionchon <luc.pionchon@nokia.com>
865 * docs/manual/basics-helloworld.xml:
866 * docs/manual/hello-world.fig:
867 - Explicitely include glib.h.
868 - Do not use global variables.
869 - Use g_printerr() instead of g_print().
870 - Minor formating/renaming to increase readibility.
871 - Renamed new_pad() to on_pad_added()
872 - Improved explenatory comments.
873 - renamed ogg parser to ogg demuxer
874 - Use "autoaudiosink" instead of "alsasink".
877 2008-06-25 Stefan Kost <ensonic@users.sf.net>
880 Remove cvs conflict marker.
882 2008-06-25 Stefan Kost <ensonic@users.sf.net>
885 Document that for plgin-docs we extraxt he short-desc from the element
888 * docs/design/part-states.txt:
889 Tell that devices should be closed in PAUSED -> READY.
891 * docs/manual/README:
892 Document how tests in the manual are handled.
897 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
899 * gst/gstbin.c: (bin_query_latency_fold):
900 Only care about latency min and max when the sink is actually a live
903 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
905 * docs/design/part-block.txt:
908 * docs/design/part-element-transform.txt:
909 Add notes about why transform needs to know input/output sizes.
910 Add some issues that need to be solved.
911 Add some more use cases.
913 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
914 (gst_test_trans_class_init), (result_sink_chain),
915 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
916 (gst_test_trans_push), (gst_test_trans_pop):
917 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
918 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
919 (set_caps_1), (set_caps_ct1), (transform_ct1),
920 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
921 (gst_basetransform_suite):
922 Add suport for different pad templates and buffer-alloc.
923 Add more checks for caps and buffer-alloc.
924 Add checks for proxy buffer alloc.
925 Add unit test for copy transform.
927 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
929 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
931 * docs/manual/appendix-integration.xml:
932 * docs/manual/appendix-licensing.xml:
933 * docs/manual/basics-elements.xml:
934 * docs/manual/basics-helloworld.xml:
935 * docs/manual/basics-pads.xml:
936 * docs/manual/highlevel-components.xml:
937 * docs/manual/highlevel-xml.xml:
938 * docs/manual/intro-basics.xml:
939 * docs/manual/intro-preface.xml:
940 Typo and formatting fixes (#538594).
942 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
944 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
945 Fix some memory leaks and uses of object instances that we don't
948 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
950 * plugins/elements/gstmultiqueue.c:
951 Add functionality to extra-size-buffers property.
953 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
955 * plugins/elements/gstmultiqueue.c:
956 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
957 activate the pads if they are added in STATE_NULL.
959 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
961 * docs/libs/gstreamer-libs-sections.txt:
963 * libs/gst/check/gstcheck.c:
964 * libs/gst/check/gstcheck.h:
965 API: gst_check_teardown_pad_by_name
967 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
969 * libs/gst/check/gstcheck.c:
970 * libs/gst/check/gstcheck.h:
971 Also setup request pads and allow setup pads by name (#537812)
972 API: gst_check_setup_src_pad_by_name
973 API: gst_check_setup_sink_pad_by_name
975 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
977 * tests/check/gst/gstbuffer.c:
978 * tests/check/pipelines/parse-launch.c:
979 Use HAVE_VALGRIND_H some more.
981 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
983 * scripts/cvs-update.sh:
984 Pass arguments to make.
985 Run autoregen.sh if Makefile is not there.
987 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
991 Don't assume that <valgrind/valgrind.h> exists just because
994 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
996 * tests/check/Makefile.am:
997 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
998 (gst_test_trans_class_init), (gst_test_trans_init),
999 (gst_test_trans_set_data), (result_sink_chain),
1000 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1001 (gst_test_trans_pop):
1002 * tests/check/libs/transform1.c: (GST_START_TEST),
1003 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1004 Add some test basetransform element and the beginnings of various
1007 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1009 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1010 Increase code readability.
1011 Don't try to compare buffer offsets when ther are invalid.
1013 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1015 * docs/design/Makefile.am:
1016 Dist some more design docs.
1018 * docs/random/moving-plugins:
1019 Small addition: good plugins mustn't have functional code
1020 within assertion macros.
1022 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1024 * docs/design/draft-framestep.txt:
1025 Some ideas about a framestep API
1027 * docs/design/part-element-transform.txt:
1028 Start design and use cases for basetransform in order to get it
1031 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1034 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1035 be in UTF-8 encoding.
1037 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1040 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1042 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1044 * plugins/elements/gstcapsfilter.c:
1045 * plugins/elements/gstfakesink.c:
1046 * plugins/elements/gstfakesrc.c:
1047 * plugins/elements/gstfdsink.c:
1048 * plugins/elements/gstfdsrc.c:
1049 * plugins/elements/gstfilesink.c:
1050 * plugins/elements/gstfilesrc.c:
1051 * plugins/elements/gstidentity.c:
1052 * plugins/elements/gstmultiqueue.c:
1053 * plugins/elements/gstqueue.c:
1054 * plugins/elements/gsttee.c:
1055 * plugins/elements/gsttypefindelement.c:
1056 Remove short_description. Add basic docs for gsttypefindelement.
1057 Simplify markup for fakesrc/fdsrc.
1059 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1061 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1064 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1066 Patch by: joel larsson <tilljoel at gmail dot com>
1068 * docs/plugins/gstreamer-plugins.args:
1069 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1070 (gst_fd_src_init), (gst_fd_src_update_fd),
1071 (gst_fd_src_set_property), (gst_fd_src_get_property),
1072 (gst_fd_src_create):
1073 * plugins/elements/gstfdsrc.h:
1074 Add timeout property like udpsrc. Fixes #538628.
1075 Add some more docs and example pipelines.
1077 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1079 * docs/libs/gstreamer-libs-sections.txt:
1080 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1081 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1082 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1083 (gst_base_sink_do_sync):
1084 * libs/gst/base/gstbasesink.h:
1085 * win32/common/libgstbase.def:
1086 Add method to allow sinks to specify additional delay between the sync
1087 times and the actual rendering of the data.
1088 API: gst_base_sink_set_render_delay()
1089 API: gst_base_sink_get_render_delay()
1091 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
1094 Bump version number back to dev -> 0.10.20.1
1096 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
1098 * docs/gst/gstreamer-sections.txt:
1099 * gst/gsttaglist.c: (_gst_tag_initialize):
1101 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
1104 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1106 * libs/gst/controller/gstcontroller.c:
1107 Revert one change, that make ret value possible uninitialized.
1109 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1111 * libs/gst/controller/gstcontroller.c:
1112 Use freeze/thaw notify to sync notify emission a bit (its also more
1113 efficient). Move debug output to LOG (is called a lot in a loop).
1114 Always unset g_values if the have been initialized.
1116 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1118 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1119 (gst_base_sink_wait_eos), (gst_base_sink_event):
1120 If we have not seen a buffer before EOS, use the segment values to
1121 report the current position instead of invalid positions.
1123 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1125 * docs/plugins/tmpl/.cvsignore:
1126 * tests/check/gst/.cvsignore:
1129 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1131 * libs/gst/controller/gstinterpolation.c:
1132 * libs/gst/controller/gstinterpolationcontrolsource.c:
1133 * tests/check/libs/controller.c:
1134 Rewrite handling of default values. Fix overflow with unsigned types
1135 in linear interpolation. Remove now obsolete _first_value() function.
1136 Add more tests. Fixes #538201.
1138 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1140 * libs/gst/base/gstbasetransform.c:
1141 (gst_base_transform_class_init), (gst_base_transform_init),
1142 (gst_base_transform_transform_caps),
1143 (gst_base_transform_prepare_output_buffer):
1145 When a buffer is writable, its metadata is also writable so we don't
1146 need to subbuffer (which then makes the buffer not-writable anymore).
1148 === release 0.10.20 ===
1150 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
1153 releasing 0.10.20, "You Crazy Diamond"
1155 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
1158 0.10.19.3 pre-release
1160 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
1164 Rename DATADIR to GST_DATADIR to avoid build problems
1165 on win32. Patch By: David Schleef <ds@schleef.org>
1168 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
1171 Explicitely link with -ldl if dladdr() is found there. Before it was
1172 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
1173 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
1175 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1177 * gst/gsterror.c: (_gst_stream_errors_init):
1178 Fix typo (spotted by Fabricio Godoy, #536723).
1180 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
1183 0.10.19.2 pre-release
1185 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
1187 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
1188 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
1190 Make sure we don't generate invalid QoS messages.
1192 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
1194 * gst/gstevent.c: (gst_event_new_qos):
1195 Add some assert and docs for invalid input to the qos function.
1197 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
1199 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1200 (gst_base_sink_get_position):
1201 The reported position must always be smaller than the last seen
1202 timestamps (or timestamp + duration for reverse).
1204 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
1206 Patch by: Rob Bradford <rob at robster dot org dot uk>
1208 * gst/gstregistry.c: (gst_registry_scan_path_level):
1209 Don't recurse into .debug directories as some distros install
1210 the debugging symbols next to the plugins in .debug directories
1211 and dlopen() crashes on them sometimes. Fixes bug #508070.
1213 Add FIXME for 0.11 to not recurse into directories at all because
1214 it's very inconsistent to the behaviour of other PATH environment
1217 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
1219 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1220 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
1221 Fix position query range checks in reverse playback.
1223 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
1227 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
1228 clear of the reference to the resulting pad must be released later
1229 or not, resulting in possible leaks. Fixes bug #533865.
1231 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
1233 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1235 * gst/gstelementfactory.c:
1236 Small doc fix. Fixes #535285.
1238 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
1240 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
1242 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1243 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1244 (gst_base_src_loop), (gst_base_src_set_flushing),
1245 (gst_base_src_change_state):
1246 Make sending an EOS event to the basesrc non-blocking even if the
1247 implementation does blocking waits in the create function. This is done
1248 by unlocking the create function when EOS is sent.
1251 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
1253 * tools/gst-inspect.c: (print_element_properties_info):
1254 If possible print the element type of GValueArray properties.
1256 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
1258 * gst/gstiterator.c:
1259 Remove an unused field from the private GstListIterator struct.
1261 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1263 * libs/gst/controller/gstcontroller.c:
1264 Add parameter guards.
1266 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1268 * tests/check/gst/gstpipeline.c:
1269 Revert test change and add comment why it should not work.
1271 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1273 * tests/check/gst/gstpipeline.c:
1274 Extending the test a little to verify that we also get the NULL state-
1277 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
1279 * gst/gstpreset.c: (gst_preset_default_get_meta),
1280 (gst_preset_get_preset_names), (gst_preset_get_property_names),
1281 (gst_preset_load_preset), (gst_preset_save_preset),
1282 (gst_preset_rename_preset), (gst_preset_delete_preset),
1283 (gst_preset_set_meta):
1284 Add Since: markers to docs blurbs.
1286 * win32/common/libgstreamer.def:
1287 Add recently-added API.
1289 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1291 Patch by: Stefan Kost <ensonic@users.sf.net>
1294 Add DATADIR for storing presets.
1296 * docs/gst/gstreamer-docs.sgml:
1297 * docs/gst/gstreamer-sections.txt:
1298 * docs/gst/gstreamer.types.in:
1299 Add GstPreset to docs.
1303 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
1304 (preset_open_and_parse_header), (preset_parse_version),
1305 (preset_merge), (preset_get_keyfile),
1306 (gst_preset_default_get_preset_names),
1307 (gst_preset_default_get_property_names),
1308 (gst_preset_default_load_preset),
1309 (gst_preset_default_save_presets_file),
1310 (gst_preset_default_save_preset),
1311 (gst_preset_default_rename_preset),
1312 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
1313 (gst_preset_default_get_meta), (gst_preset_default_randomize),
1314 (gst_preset_default_reset), (gst_preset_get_preset_names),
1315 (gst_preset_get_property_names), (gst_preset_load_preset),
1316 (gst_preset_save_preset), (gst_preset_rename_preset),
1317 (gst_preset_delete_preset), (gst_preset_set_meta),
1318 (gst_preset_get_meta), (gst_preset_class_init),
1319 (gst_preset_base_init), (gst_preset_get_type):
1321 Add GstPreset to core. Fixes #396779
1323 * tests/check/Makefile.am:
1324 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
1325 (gst_preset_test_set_property), (gst_preset_test_class_init),
1326 (gst_preset_test_base_init), (gst_preset_test_get_type),
1327 (gst_preset_test_plugin_init), (GST_START_TEST),
1328 (remove_preset_file), (test_setup), (test_teardown),
1330 Add GstPreset unit tests.
1332 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1334 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1335 The default event function on a sinkpad should return TRUE when
1336 there are no internal links but should collect the return values from
1337 the internal links otherwise.
1339 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1341 * plugins/elements/gsttypefindelement.c:
1342 (gst_type_find_element_src_event),
1343 (gst_type_find_element_handle_event):
1344 Use faster and safer _pad_push_event().
1346 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
1348 * docs/gst/gstreamer-sections.txt:
1349 * gst/gstutils.c: (element_find_unlinked_pad),
1350 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
1352 API: add gst_bin_find_unlinked_pad()
1353 API: deprecate gst_bin_find_unconnected_pad() (#401456)
1355 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
1361 Fixed a bunch of typos.
1363 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1366 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1367 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1368 (gst_parse_bin_from_description_full):
1370 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1372 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1374 * docs/pwg/advanced-tagging.xml:
1375 Small docs update, can't be bothered to rewrite the nonsensical
1378 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1381 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1383 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1385 * gst/parse/grammar.y:
1386 Remove unneeded casts.
1388 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1390 * gst/parse/grammar.y:
1391 * tests/check/pipelines/parse-launch.c:
1392 Get all missing elements from a parse launch string if possible
1393 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1395 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1397 * tests/check/Makefile.am:
1398 * tests/check/pipelines/parse-launch.c:
1399 Add some unit tests for the new gst_parse_launch*_full() API.
1400 (Exposes a previously-existing memory leak in the error code
1401 path, so adding to VALGRIND_TO_FIX for now).
1403 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1405 * docs/gst/gstreamer-sections.txt:
1406 * gst/gst.c: (init_post):
1407 * gst/gst_private.h: (_GstParseContext):
1408 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1409 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1410 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1411 (gst_parse_launch_full):
1412 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1413 (GstParseFlags), (GstParseContext):
1414 * gst/gstutils.c: (gst_parse_bin_from_description),
1415 (gst_parse_bin_from_description_full):
1417 * gst/parse/grammar.y:
1418 * gst/parse/types.h:
1419 * win32/common/libgstreamer.def:
1420 Add new gst_parse_*_full API (#528178):
1421 API: gst_parse_launch_full()
1422 API: gst_parse_launchv_full()
1423 API: gst_parse_bin_from_description_full()
1424 API: gst_parse_context_new()
1425 API: gst_parse_context_free()
1426 API: gst_parse_context_get_missing_elements()
1428 2008-05-23 Stefan Kost <ensonic@users.sf.net>
1430 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1432 * docs/faq/gst-uninstalled:
1433 Also support ffmpeg in gst-uninstalled.
1435 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1438 After discussion on IRC use the binary registry as default
1439 but allow to disable it with --disable-binary-registry.
1441 * win32/common/libgstreamer.def:
1442 Add the two new symbols for the binary registry.
1444 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
1446 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1447 * gst/gstutils.c: (gst_parse_bin_from_description):
1448 * gst/parse/grammar.y: (graph):
1449 More guards against bad input; typo fix; some minor clean-ups.
1451 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1453 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1455 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1456 If nothing else can be used, use the last buffer's start time as
1457 the segment's last stop. Fixes bug #534258.
1459 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
1461 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1462 Move size sanity check to the right place: downstream may return
1463 a buffer with a smaller size if the buffer caps are different than
1464 the requested ones, as may happen when doing reverse negotiation.
1466 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1468 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1469 (gst_file_sink_render):
1470 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1471 (gst_file_src_start):
1472 Small cleanups. Add note adbout g_fopen() on windows and why we don't
1475 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1477 * gst/gstpad.c: (gst_pad_load_and_link):
1478 * gst/gstutils.c: (gst_element_link_pads),
1479 (gst_element_unlink_pads):
1480 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1481 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1482 (gst_check_teardown_sink_pad),
1483 (gst_check_element_push_buffer_list):
1484 * tests/check/elements/fakesink.c: (GST_START_TEST):
1485 * tests/check/elements/filesink.c:
1486 * tests/check/elements/filesrc.c: (GST_START_TEST):
1487 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1488 (mq_sinkpad_to_srcpad):
1489 * tests/check/elements/tee.c: (GST_START_TEST):
1490 * tests/check/generic/sinks.c: (GST_START_TEST):
1491 * tests/check/gst/gstbin.c: (GST_START_TEST):
1492 * tests/check/gst/gstevent.c: (GST_START_TEST):
1493 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1494 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1495 * tests/check/gst/gstquery.c: (GST_START_TEST):
1496 * tests/check/gst/gstutils.c: (GST_START_TEST):
1497 * tests/check/libs/basesrc.c: (GST_START_TEST):
1498 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1499 (gst_parse_test_element_change_state):
1500 Don't use gst_element_get_pad().
1502 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
1505 Fix installing plugin documentation when gtk-doc is disabled.
1507 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1509 * docs/manual/advanced-autoplugging.xml:
1510 * docs/manual/basics-helloworld.xml:
1511 * docs/manual/basics-pads.xml:
1512 * docs/manual/highlevel-components.xml:
1513 Avoid using a bad function in the example code.
1515 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1517 * gst/gstclock.c: (gst_clock_set_calibration):
1518 Fix debug of the new clock rate.
1520 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1522 * win32/common/libgstbase.def:
1523 Add gst_base_sink_wait_clock() to the exported symbols.
1525 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
1527 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
1529 * libs/gst/base/gstbasetransform.c:
1530 (gst_base_transform_sink_event):
1531 Unref events that the GstBaseTransform::event vfunc didn't want to
1532 have forwarded by the base class. Closes a leak in identity.
1535 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1537 * docs/libs/gstreamer-libs-sections.txt:
1538 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1539 * libs/gst/base/gstbasesink.h:
1540 Expose a method that was previously used internally to synchronize
1541 against the clock because it can be useful for subclasses too.
1542 API: GstBaseSink::gst_base_sink_wait_clock()
1544 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1546 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1547 Add sanity check to make sure we don't get smaller buffers
1548 than requested (and fallback to normal buffer alloc if we do).
1550 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1552 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1553 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1554 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1555 Refactor adjusting the running_time with latency and offset into a
1557 When doing clipping, we still want to use the subclass get_times method,
1558 just in case the DURATION or TIMESTAMP are not set.
1560 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1562 * docs/gst/gstreamer-sections.txt:
1563 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1564 * gst/gsttypefind.h:
1565 * win32/common/libgstreamer.def:
1566 API: add gst_type_find_suggest_simple(), #533740.
1568 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1570 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1571 Use right error code when typefinding fails, so we can use
1572 the default (translated) error messages.
1574 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1576 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1577 (gst_base_src_start):
1578 When the subclass did not set caps on outgoing buffers, configure the
1579 caps we negotiated on the source pad.
1580 When the typefind helper does not find caps, error out properly instead
1581 of doing things with NULL caps.
1583 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1585 * gst/gsttypefind.h:
1586 Tabs to spaces, oh yes!
1588 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1590 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1591 Add David's and Benjamin's tests for array intersection to the
1592 unit test suite (#147931).
1594 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1597 Document that gst_event_new_tag() and gst_event_new_navigation()
1598 take ownership of the taglist/structure passed to them. (#533635).
1600 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
1603 Don't descend into the plugins dir if plugin docs building
1607 Add a note about the new type:GTypeName syntax for the plugin
1608 documentation .types file.
1610 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1612 * gst/gstmessage.c: (gst_message_new_error),
1613 (gst_message_new_warning), (gst_message_new_info):
1615 Mark the debug string parameters as const. Fixes bug #533490.
1617 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
1619 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1620 Sort buffer cache list by end offsets. This makes sure that we don't
1621 stop to search for a cached buffer that contains the requested data
1623 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1624 more efficient. Fixes bug #459862.
1626 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1629 Explain why we copy the list.
1631 * gst/gstpipeline.c:
1635 Add one debug-log statement to help tracing probelms with linking pads.
1637 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1639 * tests/check/gst/gstinfo.c:
1640 Add a test for removing the default log handler. Seems to fail under
1643 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1645 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1646 Release pad lock before calling out to avoid a possible deadlock.
1648 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1650 * gst/parse/grammar.y:
1651 Remove unneeded value unset.
1653 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1654 Add unit test for de/serialization of caps.
1656 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1658 * plugins/elements/gstfakesink.c:
1659 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1660 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1661 (gst_fake_src_class_init):
1662 Use custom marshalers that take GstMiniObject as first parameter.
1663 Using OBJECT as parameter while a GstMiniObject is given will lead
1664 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1666 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1668 * plugins/elements/gsttypefindelement.c:
1669 (gst_type_find_element_handle_event),
1670 (gst_type_find_element_send_cached_events),
1671 (gst_type_find_element_change_state):
1672 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1675 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1677 * plugins/elements/gsttypefindelement.c:
1678 (gst_type_find_handle_src_query), (stop_typefinding),
1679 (gst_type_find_element_handle_event),
1680 (gst_type_find_element_send_cached_events),
1681 (gst_type_find_element_change_state):
1682 Forward FLUSH_START events immediately and clean up instead of
1685 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1687 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1689 * libs/gst/base/gstbasetransform.c:
1690 (gst_base_transform_buffer_alloc):
1691 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1692 fall back to default negotiation in the chain function if the caps
1693 are different from what was requested. Fixes bug #526768.
1695 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1698 * tests/check/gst/gstsegment.c:
1699 No, let's not use g_slice_{dup|copy} here, since they only exist
1700 since GLib 2.14 and we still depend only on >= 2.12. Also add
1701 unit test for gst_segment_copy().
1703 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1705 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1706 Try to fix 'dereferencing type-punned pointer will break strict
1707 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1708 changed the default GType typedef from gulong to gsize at some point,
1709 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1710 g_once_* functions all take a gsize * though, so work around the type
1711 mismatch for C++ by doing everything in gsize and casting to GType
1714 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1716 * plugins/elements/gstmultiqueue.c:
1717 Add documentation for the signals to push our core plugin docs
1718 coverage back up to 100%.
1720 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1722 * gst/gstinfo.h (GST_FUNCTION):
1723 Reverted GST_FUNCTION to the old version as we don't want the
1724 full signature in C++ code. Also added support for MSVC.
1726 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1729 Intern the type name string, similar to what G_DEFINE_TYPE does.
1731 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1734 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1736 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1738 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1740 * libs/gst/base/gstbasetransform.c:
1741 (gst_base_transform_buffer_alloc):
1742 Don't passthrough buffer allocation too easily if the caps change.
1743 This breaks when working in passthrough mode and upstream changes
1744 it's caps. Fixes bug #526768.
1746 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1748 * gst/gstinfo.c (gst_debug_log_valist):
1749 Improved the __FILE__ part of debug output for MSVC.
1751 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1753 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1754 Declaration after statement fix for compilers like MSVC.
1756 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1758 * win32/common/config.h.in:
1759 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1760 use the real thing than having "???" unconditionally.
1762 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1764 * gst/gstinfo.h (GST_FUNCTION):
1765 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1767 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1769 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1772 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1773 (gst_base_sink_set_flushing):
1774 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1777 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1779 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1780 (gst_fake_src_init), (gst_fake_src_set_property),
1781 (gst_fake_src_get_property), (gst_fake_src_start):
1782 * plugins/elements/gstfakesrc.h:
1783 Added format property to control the format of the newsegment events.
1784 API: GstFakeSrc:format
1786 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1788 * win32/common/libgstreamer.def:
1789 Add gst_pad_has_name() to the exported symbols.
1791 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1793 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1794 * libs/gst/base/gstbasetransform.c:
1795 (gst_base_transform_prepare_output_buffer):
1796 Don't allow negative sizes when allocating new buffers.
1799 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1801 Patch by: Sjoerd Simons <sjoerd at luon net>
1803 * gst/gstbus.c: (gst_bus_source_dispatch):
1804 Don't print a warning if the queue is empty when we try to pop
1805 here. That could happen if another thread or callback set the
1806 bus to flushing between the source's check/prepare and the
1807 dispatch being called (#531538).
1809 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1811 * plugins/elements/gstmultiqueue.c:
1814 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1816 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1817 Add unit test for deserializing uint64s and check some really large
1818 numbers in the int64 test.
1820 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1822 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1823 (print_interfaces), (print_element_properties_info),
1824 (print_signal_info):
1825 Use "%s" as format string instead of printing strings directly.
1827 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1829 * gst/gstclock.c: (gst_clock_set_calibration):
1830 Make some checks actually useful.
1832 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1833 Remove some unused code. Unsigned integers tend to be >= 0.
1835 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1837 * gst/gstminiobject.c: (gst_value_get_mini_object):
1838 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1839 function was not in the unscheduled 0.10.19 release.
1841 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1843 * gst/gstregistry.c: (gst_registry_scan_path_level):
1844 Only print one log message per non-plugin file.
1846 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1848 * gst/gstinfo.c: (gst_debug_log_default):
1849 Fix alignment of debug log columns on 64-bit.
1851 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1853 * docs/libs/Makefile.am:
1854 * docs/libs/gstreamer-libs-sections.txt:
1855 Ignore private controller headers for docs.
1857 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1859 * libs/gst/controller/gstcontrollerprivate.h:
1860 * libs/gst/controller/gsthelper.c:
1861 * libs/gst/controller/gstinterpolation.c:
1862 * libs/gst/controller/gstinterpolationcontrolsource.c:
1863 (gst_interpolation_control_source_set_interpolation_mode):
1864 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1865 * libs/gst/controller/lib.c:
1866 Move some private declarations into private headers.
1868 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1870 * gst/gstdebugutils.c: (debug_dump_element_pad):
1871 Remove some code that is unused after Stefan's refactoring and uses
1872 uninitialized variables now, resulting in a compiler warning.
1874 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1876 * gst/gstregistry.c: (gst_registry_scan_path_level):
1877 Run g_str_has_suffix() only on the file name, not the
1880 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1882 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1883 Since we're not called only from the chain function any longer,
1884 we can't assume that there's always data in the queue, so move
1885 the is_full check to the beginning of the loop (otherwise we'd
1886 hit the assert when changing the limit properties while the
1887 queue is empty or not running yet).
1888 Also, only set a discont if items were actually removed from
1891 * tests/check/elements/queue.c: (test_leaky_downstream):
1892 Test case for the above.
1894 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1896 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1898 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1899 (gst_queue_chain), (queue_capacity_change),
1900 (gst_queue_set_property):
1901 When changing thr max capacity of a leaky queue, immediatly drop buffers
1902 instead of waiting for a push on the sinkpad. Fixes #530637.
1904 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1906 * gst/gstdebugutils.c:
1907 Refactor code and fix handling of ghostpads and their proxypads.
1909 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1911 * docs/gst/gstreamer-sections.txt:
1912 * gst/gstevent.c: (gst_event_has_name):
1914 * tests/check/gst/gstevent.c: (GST_START_TEST):
1915 Add method to conveniently check the name of a custom event with
1916 gst_event_has_name().
1917 Reformat the event docs so that related methods are put together instead
1918 of the default alphabetical sort.
1919 Update unit test with new method.
1920 API: GstEvent::gst_event_has_name()
1922 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1924 * libs/gst/check/Makefile.am:
1925 Don't add an explicit link to libgstreamer-0.10.la; it's already
1926 included in GST_OBJ_LIBS.
1928 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1931 Register GstClock type from a type-safe context. Fixes bug #530317.
1933 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1935 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1937 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1939 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1941 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1943 Use the GLib stuff to create a private structure.
1944 Add some locking around some dispose methods to make them a little
1945 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1947 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1949 * libs/gst/base/gstbasesink.h:
1950 * libs/gst/base/gstbasesrc.h:
1951 * libs/gst/base/gstbasetransform.h:
1952 * libs/gst/base/gstcollectpads.h:
1953 Fix doc typos and unify caps a bit.
1955 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1957 * tools/gst-launch.1.in:
1958 Forgot to also add the envvar docs here.
1960 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1962 * gst/gst.c: (init_post), (gst_deinit):
1963 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1964 (test_concurrent_create), (gst_pipeline_suite):
1965 Ref some more classes in gst_init() to work around thread-safety
1966 issues in pre-2.16 GLibs, and add basic unit test.
1968 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1970 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1971 (gst_base_sink_send_event):
1972 Rearrange the latency query code. We always want to do the upstream
1973 query, even if we are not live so that the upstream elements can get the
1974 latency results too. If we fail doing the query and we are live, we
1975 return TRUE afterwards.
1977 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1979 patch by: Jason Zhao <e3423c@motorola.com>
1981 * docs/gst/running.xml:
1983 Enable/disable scan_and_update_registry() based on commandline switch
1984 or environment variable. Fixes #520468.
1987 Fix typo in my previous commit.
1989 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1991 * gst/gstregistrybinary.c:
1992 Add a warning if we hit unhandled factories when saving.
1993 More debug logging detail, but move to LOG category.
1995 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1997 * gst/gstregistry.c:
1998 Tell the *truth* when improving the documentation.
2000 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2002 * gst/gstelementfactory.c: (gst_element_factory_make):
2003 Unref the factory after it was used the last time, not before.
2005 * gst/gstindexfactory.c: (gst_index_factory_make):
2006 Improve debugging a bit and don't leak a ref to the index factory with
2009 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2011 * gst/gstregistry.c:
2012 Improve the documentation.
2014 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2017 The glib macro seems to be borked. Use g_slice_copy directly and cast
2018 in the hope that this fixes the warning on 64bit.
2020 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2023 Document the new function. Use g_slice_dup() (no need for
2024 gst_segment_init()).
2026 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2028 * docs/gst/gstreamer-sections.txt:
2029 Move GParamSepc macros to standart section.
2032 Dn't document _get_type - its in private section in docs anyway and
2033 this doc-blob was incomplete.
2036 Fix wrong symbol names in docs.
2039 Add once doc sentence.
2041 * tests/check/gst/.cvsignore:
2044 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2046 * docs/gst/Makefile.am:
2047 And remove those libs here.
2049 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
2051 * docs/libs/Makefile.am:
2052 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2054 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
2056 Patch by: Olivier Crete <tester at tester dot ca>
2058 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2059 Add the min-threshold to the min latency if possible. Fixes #529148.
2061 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2063 * docs/gst/gstreamer.types.in:
2064 Stupid editor, I removed that line as it should go in yet.
2066 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2068 * docs/gst/gstreamer.types.in:
2069 * docs/libs/gstreamer-libs.types:
2070 Remove library types fro core docs and have them in libs docs.
2071 Reformat and cleanup. Add comment for miniobject types.
2073 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
2075 * gst/gsturi.c: (gst_uri_get_protocol):
2076 Fix leak: g_strdown operates on the string in place, while
2077 g_ascii_strdown() returns a newly-allocated string.
2079 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
2081 * tools/gst-inspect.c: (print_uri_handler_info),
2082 (print_element_info):
2083 Print the URI protocols and the URI type supported by the element.
2085 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2087 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2088 Use g_value_take_string() instead of the deprecated
2089 g_value_set_string_take_ownership().
2091 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2093 * gst/gstregistrybinary.c: (_gst_crc32):
2094 Return the old CRC instead of 0 if we give a NULL buffer
2095 or a buffer with a length of 0.
2097 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2099 * gst/gsturi.c: (gst_uri_protocol_check_internal),
2100 (gst_uri_get_protocol), (gst_uri_has_protocol),
2101 (gst_uri_construct), (gst_uri_handler_set_uri):
2102 A valid URI scheme can also include '+', '-' and '.' additional
2103 to alphanumeric characters as per RFC 3986 Section 3.1.
2105 Handle URI schemes case insensitive in all places and convert
2106 to lower-case when constructing an URI or setting an URI with
2107 the GstURIHandler interface. Fixes bug #528868.
2108 All elements can still assume (as before) that they will
2109 get passed URIs with a lower-case URI scheme by the GstURIHandler
2112 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
2114 * gst/gstcaps.c: (gst_static_caps_get):
2115 * gst/gstclock.c: (gst_clock_entry_new):
2116 Don't use g_atomic_set_int where it's not needed.
2118 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
2120 * gst/gstvalue.c: (gst_value_deserialize_caps):
2121 * gst/parse/grammar.y:
2124 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
2126 * gst/gstutils.c: (gst_atomic_int_set):
2127 Use g_atomic_int_set() here too instead of assignment +
2130 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
2134 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
2135 now that we depend on new enough GLib.
2137 * gst/gstcaps.c: (gst_static_caps_get):
2138 * gst/gstclock.c: (gst_clock_entry_new):
2139 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
2140 (gst_debug_set_default_threshold), (_gst_debug_category_new),
2141 (gst_debug_category_set_threshold):
2142 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2143 (gst_base_sink_set_qos_enabled):
2144 * libs/gst/net/gstnettimeprovider.c:
2145 (gst_net_time_provider_set_property):
2146 Use g_atomic_int_set() instead of gst_atomic_int_set().
2148 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2151 Also use G_GINT64_CONSTANT for the queries.
2153 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2156 Use G_GINT64_CONSTANT in varargs function.
2158 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2160 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
2161 Initialize the registry magic with zeroes.
2163 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2165 * gst/gstregistrybinary.c: (_gst_crc32),
2166 (gst_registry_binary_write),
2167 (gst_registry_binary_initialize_magic),
2168 (gst_registry_binary_write_cache),
2169 (gst_registry_binary_check_magic),
2170 (gst_registry_binary_read_cache):
2171 * gst/gstregistrybinary.h:
2172 Add crc32 checksum to the binary registry file and check this before
2173 accepting a registry file.
2175 Also free the data list when writing to the registry file fails.
2177 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2179 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2180 (gst_registry_binary_load_feature),
2181 (gst_registry_binary_load_plugin):
2182 If an element supports the Uri interface, returns a valid pointer
2183 to the supported URI protocols but this pointer contains nothing
2184 don't try to save that as it will corrupt the registry.
2186 Don't unref the plugin if we added it to the registry already but
2187 fail to load a feature as gst_registry_add_plugin() takes ownership
2190 Improve debugging a bit.
2192 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2195 Clarify some tag item docs after discussion on irc.
2197 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2199 * docs/gst/gstreamer-docs.sgml:
2200 Remove commented out plugins (they have their own docs). Update
2203 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2205 * docs/gst/gstreamer-docs.sgml:
2206 * docs/gst/gstreamer-sections.txt:
2207 * gst/gstparamspecs.c:
2208 * gst/gstparamspecs.h:
2209 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
2210 docs to own section.
2213 This now only documents GValue.
2215 * docs/libs/gstreamer-libs-sections.txt:
2216 * libs/gst/controller/gstcontroller.h:
2217 Remove GST_PARAM_CONTROLLABLE.
2219 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2222 Correct file path. Tell about how to use -overrides.txt.
2223 * docs/design/draft-tagreading.txt:
2224 Small design update.
2226 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
2228 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
2229 (gst_registry_binary_load_plugin):
2230 Fix a typo in a debug message and revert change from yesterday as
2231 gst_registry_add_plugin() will only fail if something is really wrong
2232 already and we can't survive it anyway.
2234 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
2236 * gst/gst.c: (init_post), (gst_deinit):
2237 Pre-register GstGError GType from a thread-safe context
2238 (fixes #527967); unref enum type classes in deinit.
2240 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2242 Patch by: Rene Stadler <mail at renestadler de>
2244 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2245 Merging an empty list with another list in KEEP_ALL mode should
2246 yield an empty list as result and not the second list (#512578).
2248 * tests/check/gst/gsttagsetter.c:
2249 Add unit test for tag merge modes and the aforementioned bug.
2251 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2253 Patch by: Rene Stadler <mail at renestadler de>
2256 Fix description to match the order in the table (#512577).
2258 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2260 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
2262 * libs/gst/net/gstnettimepacket.h:
2263 * docs/libs/gstreamer-libs-sections.txt:
2264 Define socklen_t as int if it's not defined yet. Fixes compilation
2265 with MSVC6 and other versions where socklen_t is not defined in
2266 the windows headers (#518022).
2268 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
2270 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2271 If gst_registry_add_plugin() fails our reference to the plugin is
2272 invalid so don't try to use it anymore and instead error out.
2274 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
2276 * tools/gst-xmlinspect.c: (print_element_info), (main):
2277 De-cruft a bit. If no argument is specified, print all elements in
2278 XML syntax rather than a freestyle list of elements like gst-inspect.
2279 Also, don't print XML header chunk unless we actually have something
2280 to print (ie. don't print it before an error message); print error
2281 message to stderr not stdout. Remove support for printing plugin
2282 info (it would just output something freestyle along the lines of
2283 gst-inspect so far), which fixes #514507. Also add license header.
2285 2008-04-11 Julien Moutte <julien@fluendo.com>
2288 * configure.ac: Merge platform specific defines, introduce a new
2289 define on OS X to remember that forking when updating registry is
2291 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
2293 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
2295 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
2296 condition that leads to absolutely no plugins being registered on
2299 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
2301 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2303 * gst/gstutils.c: (gst_pad_add_data_probe),
2304 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
2305 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
2306 (gst_pad_add_buffer_probe_full):
2308 * docs/gst/gstreamer-sections.txt:
2309 * win32/common/libgstreamer.def:
2310 Add gst_pad_add_*_probe_full() functions with a notify callback that
2311 lets the caller free the data it passes to the probe functions. This
2312 is useful for bindings such as gst-python or gstreamermm (#526814).
2313 API: gst_pad_add_data_probe_full
2314 API: gst_pad_add_buffer_probe_full
2315 API: gst_pad_add_event_probe_full
2317 * tests/check/gst/gstutils.c:
2318 Add minimal unit test to make sure freeing the data actually works
2321 * tests/benchmarks/.cvsignore:
2322 Random cvsignore addendum.
2324 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
2326 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
2327 (GST_DEBUG_BIN_TO_DOT_FILE):
2328 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
2329 to it in the docs (since these are macros the types of the arguments
2330 won't be shown in the docs otherwise).
2332 2008-04-10 Stefan Kost <ensonic@users.sf.net>
2335 Do not abort on out of memory for pad_alloc_buffer.
2337 2008-04-10 Stefan Kost <ensonic@users.sf.net>
2339 * libs/gst/check/gstcheck.c:
2340 Remove blank line between symbol name ad parameters to fix gtkdoc
2343 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2345 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2347 * docs/gst/gstreamer-sections.txt:
2350 * win32/common/libgstreamer.def:
2351 Expose gst_segment_copy() to make things easier for the c++ bindings.
2353 API: gst_segment_copy()
2355 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2357 * gst/gst.c: (gst_init_get_option_group), (init_post):
2358 Fix const position; ref GType classes for enum types to work
2359 around thread-safety issues in GLib versions < 2.16.
2361 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
2363 * docs/design/part-buffering.txt:
2364 Fix some typos and set the estimated total for push mode to -1.
2366 * gst/gstquery.c: (gst_query_new_buffering):
2367 Set buffering-left to 0 as we're not buffering by default.
2369 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2370 Implement BUFFERING query.
2372 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2374 Based on patch by: Milosz Derezynski <internalerror gmail com>
2376 * gst/gsterror.c: (_gst_stream_errors_init):
2378 Add two new error codes for encrypted content. Fixes #524659.
2379 API: GST_STREAM_ERROR_DECRYPT
2380 API: GST_STREAM_ERROR_DECRYPT_NOKEY
2382 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2387 * win32/common/libgstreamer.def:
2390 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
2392 * plugins/elements/gstidentity.c: (gst_identity_event),
2393 (gst_identity_start):
2394 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2395 event after processing some data. Fixes bug #526042.
2397 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2399 * docs/gst/gstreamer-sections.txt:
2400 * gst/gstquery.c: (gst_query_parse_latency),
2401 (gst_query_set_buffering_percent),
2402 (gst_query_parse_buffering_percent),
2403 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2405 Rename _avail -> _range
2406 API: gst_query_set_buffering_range
2407 API: gst_query_parse_buffering_range
2409 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2411 * docs/design/part-buffering.txt:
2414 * gst/gstquery.c: (gst_query_parse_latency),
2415 (gst_query_new_buffering), (gst_query_set_buffering_percent),
2416 (gst_query_parse_buffering_percent):
2418 Add busy field and quark for the buffering query so that the app can
2419 only use the query to see if buffering is in progress.
2421 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2423 * docs/gst/gstreamer-sections.txt:
2424 * gst/gstmessage.c: (gst_message_set_buffering_stats),
2425 (gst_message_parse_buffering_stats):
2427 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2428 (gst_query_parse_latency), (gst_query_new_buffering),
2429 (gst_query_set_buffering_percent),
2430 (gst_query_parse_buffering_percent),
2431 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2432 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2434 Reorder the message docs and headers for clarity.
2435 Add aditional buffering stats API for messages.
2436 Add buffering query.
2437 Convert some leftover queries to use GstQuark.
2438 API: gst_message_set_buffering_stats
2439 API: gst_message_parse_buffering_stats
2440 API: GST_QUERY_BUFFERING
2441 API: GstBufferingMode
2442 API: gst_query_new_buffering
2443 API: gst_query_set_buffering_percent
2444 API: gst_query_parse_buffering_percent
2445 API: gst_query_set_buffering_stats
2446 API: gst_query_parse_buffering_stats
2448 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2450 * gst/gstmessage.c: (gst_message_new_error),
2451 (gst_message_new_warning), (gst_message_new_info),
2452 (gst_message_new_buffering), (gst_message_new_state_changed),
2453 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2454 (gst_message_new_new_clock), (gst_message_new_segment_start),
2455 (gst_message_new_segment_done), (gst_message_new_duration),
2456 (gst_message_new_async_start), (gst_message_parse_buffering),
2457 (gst_message_parse_state_changed),
2458 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2459 (gst_message_parse_new_clock), (gst_message_parse_error),
2460 (gst_message_parse_warning), (gst_message_parse_info),
2461 (gst_message_parse_segment_start),
2462 (gst_message_parse_segment_done), (gst_message_parse_duration),
2463 (gst_message_parse_async_start):
2464 Use GstQuark for messages.
2466 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2468 * gst/gstquark.c: (_priv_gst_quarks_initialize):
2470 Add some more quarks needed for messages and queries.
2472 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2474 * docs/design/part-buffering.txt:
2475 Remove the "none" buffering mode, STREAM is a good default.
2476 Move estimated-time to the avail query, that's when it will be needed.
2477 Other small typo fixes and updates.
2479 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2481 * gst/gstindex.c: (gst_index_resolver_get_type):
2482 Don't put descriptions into the nick field of a GEnumValue: it's not
2483 meant for that and some language bindings rely on the nick field to
2484 construct constants and the like. Fixes #526705.
2486 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2491 Merge other changes from 0.10.19 release branch.
2493 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
2495 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2498 Actually build dlls when cross-compiling with mingw32.
2501 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
2503 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2506 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2508 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
2510 * docs/design/draft-latency.txt:
2513 * docs/design/part-buffering.txt:
2514 Update design docs with more buffering ideas.
2516 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
2519 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2521 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2524 Revert part that belongs to the preset patch.
2526 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2529 Add qoutes to the define. Fixes # 525961.
2531 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
2533 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2534 (gst_file_index_load), (gst_file_index_add_id),
2535 (gst_file_index_get_assoc_entry):
2536 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2537 (gst_mem_index_free_id), (gst_mem_index_add_id),
2538 (gst_mem_index_index_format):
2539 Use GSlice when possible.
2541 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
2543 * libs/gst/controller/gstinterpolationcontrolsource.c:
2544 (gst_control_point_free),
2545 (gst_interpolation_control_source_set_internal):
2546 Use GSlice for allocating the control points.
2548 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
2550 * plugins/elements/gsttypefindelement.c:
2551 (gst_type_find_element_class_init),
2552 (gst_type_find_element_set_property),
2553 (gst_type_find_element_get_property),
2554 (gst_type_find_element_activate):
2555 * plugins/elements/gsttypefindelement.h:
2557 Fix pad leak when peer query fails.
2558 We can still typefind when the peer returns -1.
2559 Add property to force caps and bypass typefinding. This will be used in
2563 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2568 * gst/glib-compat-private.h:
2569 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2570 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2571 Unconditionally use GSlice for allocation.
2573 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2574 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2575 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2576 (gst_structure_free):
2577 Use GSlice for allocation.
2579 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2581 * gst/parse/Makefile.am:
2582 * gst/parse/grammar.tab.pre.c:
2583 * gst/parse/grammar.tab.pre.h:
2584 * gst/parse/lex._gst_parse_yy.pre.c:
2585 Require a new enough flex and bison and remove the parser hacks to use
2586 a pre-regenerated version.
2588 2008-04-01 Julien Moutte <julien@fluendo.com>
2590 patch by: Jason Zhao <E3423C@motorola.com>
2592 * configure.ac: Add a configure switch to disable option parsing
2596 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2599 * gst/gstregistry.c:
2600 MacOS has plugins under .so or under .dylib. Add detection for MacOS
2601 and handle this case.
2604 Add a comment here describing, why we stat each plugin and not try to
2607 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
2609 * libs/gst/base/gstbasetransform.c:
2610 (gst_base_transform_prepare_output_buffer):
2611 Also unset the GAP flag on buffers if we're working inplace but
2612 the element is not GAP-aware.
2614 Mark a comment as FIXME 0.11.
2616 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2619 Fix type in log message and add one to ease seeing how long registry
2620 cache verification takes.
2622 * gst/gstregistry.c:
2623 Only test plugin filenames against G_MODULE_SUFFIX.
2625 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2627 * gst/gstdebugutils.c:
2628 Improve handling ghost/proxy pads.
2630 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2632 * docs/gst/gstreamer-sections.txt:
2635 Expose macro to docs and fix link to it.
2637 2008-03-27 Michael Smith <msmith@fluendo.com>
2639 * libs/gst/dataprotocol/dataprotocol.c:
2640 (gst_dp_packet_from_event_1_0):
2641 When calculating GDP body CRC, use the correct pointer.
2642 Fixes part of #522401.
2644 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2646 Patch by: Mark Nauwelaerts <manauw at skynet be>
2648 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2649 (gst_identity_init), (gst_identity_prepare_output_buffer):
2650 Identity is not always a passthrough element, it can modify the buffer
2651 timestamps when it has a datarate and operates in single-segment mode.
2652 We therefore make it an in_place filter with a custom buffer prepare
2653 function that conditionally makes the input buffer metadata writable
2654 when needed. Fixes #523985.
2656 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2658 Patch by: Mark Nauwelaerts <manauw at skynet be>
2661 * libs/gst/base/gstbasesrc.h:
2662 * libs/gst/base/gstbasetransform.c:
2663 * libs/gst/check/gstcheck.c:
2664 Small documentation fixes. Fixes #523978.
2666 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2668 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2669 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2670 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2672 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2674 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2675 (single_queue_underrun_cb):
2676 When trying to make room in the queue, bump the max allowed buffers
2677 bigger than the current amount of buffers in the queue. this fixes some
2678 nasty deadlocks in multiqueue when dynamically changing the limits of
2681 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2683 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2685 * gst/gstcaps.c: (gst_caps_set_simple),
2686 (gst_caps_set_simple_valist), (gst_caps_intersect):
2688 Constify the field gchar * params in set_simple and friends.
2691 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2693 * gst/gstvalue.c: (gst_value_transform_object_string):
2694 Transform a GstObject to a more meaningfull string that includes the
2695 object type in addition to its name.
2697 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2700 ChangeLog surgery to add bugnumber to commit.
2702 2008-03-23 Rene Stadler <mail@renestadler.de>
2704 * libs/gst/base/gstbasetransform.c:
2705 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2707 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2709 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2710 Rename constant everywhere and don't forget one occurence.
2712 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2714 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2715 Align memory to the pointer size even if the architecture allows
2716 unaligned memory access. Unaligned memory access usually comes with
2717 performance penality.
2719 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2721 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2722 (gst_registry_binary_check_magic),
2723 (gst_registry_binary_load_pad_template),
2724 (gst_registry_binary_load_feature),
2725 (gst_registry_binary_load_plugin):
2726 Align memory to the pointer size instead of always 32 bit. Fixes
2727 unaligned memory accesses on ia64 and friends.
2729 * gst/gstregistrybinary.h:
2730 Bump binary registry format version for this as it changes the
2731 format on those architectures that don't have unaligned access
2732 and 64 bit pointers.
2734 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2736 * docs/pwg/advanced-dparams.xml:
2737 * docs/pwg/building-props.xml:
2738 * docs/pwg/other-source.xml:
2739 * gst/glib-compat.h:
2740 * gst/gstbin.c: (gst_bin_class_init):
2741 * gst/gstclock.c: (gst_clock_class_init):
2742 * gst/gstindex.c: (gst_index_class_init):
2743 * gst/gstobject.c: (gst_object_class_init):
2744 * gst/gstpad.c: (gst_pad_class_init):
2745 * gst/gstpipeline.c: (gst_pipeline_class_init):
2746 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2747 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2748 * libs/gst/base/gstbasetransform.c:
2749 (gst_base_transform_class_init):
2750 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2751 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2752 (_gst_check_fault_handler_sighandler),
2753 (_gst_check_fault_handler_setup), (gst_check_init):
2754 * libs/gst/controller/gstcontroller.c:
2755 (_gst_controller_class_init):
2756 * libs/gst/controller/gstlfocontrolsource.c:
2757 (gst_lfo_control_source_class_init):
2758 * libs/gst/net/gstnetclientclock.c:
2759 (gst_net_client_clock_class_init):
2760 * libs/gst/net/gstnettimeprovider.c:
2761 (gst_net_time_provider_class_init):
2762 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2763 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2764 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2765 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2766 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2767 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2768 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2769 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2770 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2771 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2772 * plugins/elements/gsttee.c: (gst_tee_class_init):
2773 * plugins/elements/gsttypefindelement.c:
2774 (gst_type_find_element_class_init):
2775 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2776 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2777 use it everywhere for GParamSpecs that use static strings (i.e. all).
2778 This gives us less memory usage, fewer allocations and thus less
2779 memory defragmentation. Fixes bug #523806.
2781 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2783 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2784 (gst_param_spec_mini_object):
2785 * gst/gstminiobject.h:
2786 * win32/common/libgstreamer.def:
2787 * docs/gst/gstreamer-sections.txt:
2788 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2789 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2790 GstParamSpecMiniObject into a public header for this.
2792 This make GstMiniObject a bit more consistent with GObject and makes
2793 it possible to extend the param specs.
2795 gst_value_dup_mini_object is mainly useful for set_property methods.
2799 * tools/gst-inspect.c: (print_element_properties_info):
2800 Print something useful for GstMiniObject properties and not just
2803 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2805 * docs/gst/gstreamer-sections.txt:
2806 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2807 (gst_registry_binary_check_magic):
2808 * gst/gstregistrybinary.h:
2809 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2810 and add it to the (private part) of the docs to fix the build.
2812 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2814 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2815 (gst_registry_binary_check_magic),
2816 (gst_registry_binary_read_cache):
2817 * gst/gstregistrybinary.h:
2818 Don't use GST_MAJORMINOR for the binary registry version. Instead
2819 hardcode a value that must be changed whenever the format changes
2820 in an incompatible way.
2821 Also don't GST_ERROR when there is a version mismatch, just
2822 regenerate the registry silently.
2824 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2827 Back to development - 0.10.18.1
2829 === release 0.10.18 ===
2831 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2834 releasing 0.10.18, "So far away"
2836 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2839 * win32/common/config.h:
2840 0.10.17.4 pre-release
2842 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2844 Patch by: Ole André Vadla Ravnås
2845 <ole dot andre dot ravnas at tandberg dot com>
2847 * docs/gst/gstreamer-sections.txt:
2848 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2849 (gst_poll_update_winsock_event_mask),
2850 (gst_poll_prepare_winsock_active_sets),
2851 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2852 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2853 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2854 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2855 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2857 * win32/common/libgstreamer.def:
2858 Add new function gst_poll_fd_ignored() for improved Windows
2860 Various minor fixes and cleanups. See #520808.
2862 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2864 * gst/gstindex.c: (gst_index_entry_free):
2866 Don't free key strings which we don't own. Fixes crash in
2867 gst_index_entry_free() (#522741).
2869 * tests/check/Makefile.am:
2870 * tests/check/gst/.cvsignore:
2871 * tests/check/gst/gstindex.c: (test_index_entries),
2872 (gst_index_suite), (gst_index):
2873 Add unit test for the above.
2875 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2877 * win32/common/libgstreamer.def:
2878 Remove symbols that were removed recently. Fixes bug #521740.
2880 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2883 * win32/common/config.h:
2884 0.10.17.3 pre-release
2886 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2888 Patch by: Ole André Vadla Ravnås
2889 <ole dot andre dot ravnas at tandberg dot com>
2891 * docs/gst/gstreamer-sections.txt:
2892 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2893 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2894 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2895 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2896 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2897 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2898 (gst_poll_fd_can_write), (gst_poll_wait),
2899 (gst_poll_set_controllable), (gst_poll_restart),
2900 (gst_poll_set_flushing):
2902 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2903 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2904 (gst_net_time_provider_new):
2905 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2906 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2907 * tests/benchmarks/gstpollstress.c: (main):
2908 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2909 Remove GstPollMode from the API, it does not make sense to let the
2910 application control this.
2911 Add support for Win32.
2912 Fix the testsuite. Fixes #520671.
2914 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2916 Patch by: Ole André Vadla Ravnås
2917 <ole dot andre dot ravnas at tandberg dot com>
2919 * gst/gstregistrybinary.c:
2920 Include io.h for write() and close() when building with MSVC. Fixes
2923 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2926 * gst/gst_private.h:
2927 * gst/gstconfig.h.in:
2928 * gst/gstregistry.h:
2929 * gst/gstregistrybinary.c:
2930 * win32/common/gstconfig.h:
2931 Move registry backend API to private headers where we can. Add
2932 fixme-0.11 comments for the others. Add stubs for the xml backend when
2933 using the binary to ensure they functions exists (they should not be
2934 used though). Fixes #520756.
2936 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2939 * win32/common/config.h:
2942 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2944 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2945 (gst_registry_binary_read_cache):
2946 * gst/gstregistryxml.c: (gst_registry_save):
2947 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2948 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2949 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2950 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2951 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2954 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2956 * gst/gstminiobject.c:
2957 Import gst_private.h before any other header that might include other
2958 glib headers. This fixes the build on windows using native compilers.
2960 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2962 * win32/common/gstconfig.h:
2963 Add here too, just for completeness.
2965 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2968 * gst/gstconfig.h.in:
2969 * gst/gstregistry.h:
2970 Fix broken use of config.h-defined preprocessor directive in a public
2971 header file. Add a corresponding define to gstconfig.h, since we can't
2972 really remove those function declarations from the header file now
2973 (or can we? and why are they there in the first place?).
2975 2008-03-03 Andy Wingo <wingo@pobox.com>
2977 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2980 * gst/gststructure.c (gst_structure_from_string): Warn if
2981 structure_from_string didn't consume the whole string, but the
2982 caller did not provide an end pointer.
2984 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2986 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2988 * gst/gstregistryxml.c: (read_string), (load_feature):
2989 Strings allocated by libxml2 should be freed with xmlFree(), not
2990 with g_free(). Fixes issues on windows in certain contexts (#519698).
2992 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2994 * gst/gstinterface.c: (gst_element_implements_interface):
2995 Don't crash if the element supports the interface queried, but does
2996 not implement GstImplementsInterface. Fixes #519584.
2998 * tests/check/Makefile.am:
2999 * tests/check/gst/.cvsignore:
3000 * tests/check/gst/gstinterface.c:
3001 Add unit test for the above.
3003 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3005 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3008 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3010 * gst/gstsegment.c: (gst_segment_set_seek),
3011 (gst_segment_to_stream_time):
3012 Improve some comment.
3013 Update variables where it makes more sense.
3015 2008-02-29 Rene Stadler <mail@renestadler.de>
3017 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3018 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3019 URIHandlers implemented using language bindings.
3021 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3023 * gst/gstelementfactory.h:
3024 * tests/check/elements/fakesink.c:
3025 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3026 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3027 * tests/check/elements/filesink.c: (setup_filesink):
3028 * tests/check/elements/filesrc.c: (setup_filesrc):
3029 * tests/check/elements/identity.c: (setup_identity):
3030 * tests/check/elements/tee.c:
3031 * tests/check/generic/sinks.c:
3032 * tests/check/generic/states.c: (setup), (teardown):
3033 * tests/check/gst/gst.c:
3034 * tests/check/gst/gstabi.c:
3035 * tests/check/gst/gstbin.c:
3036 * tests/check/gst/gstbus.c: (pull_messages):
3037 * tests/check/gst/gstcaps.c:
3038 * tests/check/gst/gstelement.c:
3039 * tests/check/gst/gstevent.c:
3040 * tests/check/gst/gstghostpad.c:
3041 * tests/check/gst/gstiterator.c:
3042 * tests/check/gst/gstmessage.c:
3043 * tests/check/gst/gstminiobject.c: (my_foo_init):
3044 * tests/check/gst/gstobject.c: (thread_name_object),
3046 * tests/check/gst/gstpad.c:
3047 * tests/check/gst/gstplugin.c:
3048 * tests/check/gst/gstpoll.c:
3049 * tests/check/gst/gstquery.c:
3050 * tests/check/gst/gstsegment.c:
3051 * tests/check/gst/gststructure.c:
3052 * tests/check/gst/gstsystemclock.c:
3053 * tests/check/gst/gsttask.c:
3054 * tests/check/gst/gstutils.c:
3055 * tests/check/gst/gstvalue.c:
3056 * tests/check/gst/struct_hppa.h:
3057 * tests/check/gst/struct_i386.h:
3058 * tests/check/gst/struct_ppc32.h:
3059 * tests/check/gst/struct_ppc64.h:
3060 * tests/check/gst/struct_x86_64.h:
3061 * tests/check/libs/adapter.c: (create_and_fill_adapter):
3062 * tests/check/libs/basesrc.c:
3063 * tests/check/libs/controller.c: (GST_START_TEST):
3064 * tests/check/libs/gdp.c:
3065 * tests/check/libs/gstnetclientclock.c:
3066 * tests/check/libs/gstnettimeprovider.c:
3067 * tests/check/libs/libsabi.c:
3068 * tests/check/libs/struct_hppa.h:
3069 * tests/check/libs/struct_i386.h:
3070 * tests/check/libs/struct_ppc32.h:
3071 * tests/check/libs/struct_ppc64.h:
3072 * tests/check/libs/struct_x86_64.h:
3073 * tests/check/pipelines/cleanup.c:
3074 * tests/check/pipelines/simple-launch-lines.c:
3075 * tests/check/pipelines/stress.c:
3076 And correct even more valid sparse warnings.
3078 * win32/common/libgstreamer.def:
3079 Add gst_poll_fd_init to the list of symbols.
3081 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3083 * gst/gstconfig.h.in:
3084 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3085 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3086 (gst_check_log_critical_func), (gst_check_drop_buffers),
3087 (gst_check_element_push_buffer_list):
3088 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3089 (gst_controller_get_type):
3090 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3091 (gst_object_get_controller), (gst_object_get_control_source):
3092 * libs/gst/controller/gstinterpolationcontrolsource.c:
3093 (gst_interpolation_control_source_new):
3094 * libs/gst/controller/gstlfocontrolsource.c:
3095 (gst_lfo_control_source_new):
3096 * libs/gst/dataprotocol/dataprotocol.c:
3097 (gst_dp_event_from_packet_0_2):
3098 * plugins/elements/gstfdsrc.c:
3099 * plugins/elements/gstmultiqueue.c:
3100 * plugins/elements/gsttee.c:
3101 * plugins/elements/gsttypefindelement.c:
3102 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
3103 (gst_file_index_add_association):
3104 * plugins/indexers/gstmemindex.c:
3105 * tests/benchmarks/gstpollstress.c: (mess_some_more):
3106 * tests/check/elements/queue.c: (setup_queue):
3107 * tests/check/gst/gstpipeline.c:
3108 * tests/check/libs/collectpads.c: (setup), (teardown),
3109 (gst_collect_pads_suite):
3110 * tests/examples/adapter/adapter_test.c:
3111 * tests/examples/metadata/read-metadata.c: (make_pipeline):
3112 * tests/examples/xml/createxml.c:
3113 * tests/examples/xml/runxml.c:
3114 * tools/gst-inspect.c:
3116 Correct all relevant warnings found by the sparse semantic code
3117 analyzer. This include marking several symbols static, using
3118 NULL instead of 0 for pointers, not using variable sized arrays
3119 on the stack, moving variable declarations to the beginning of
3120 a block and using "foo (void)" instead of "foo ()" for declarations.
3122 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3124 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3125 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3126 Don't reset GstPollFDs, this is not necessary at all.
3128 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3129 (delayed_restart), (delayed_control):
3130 Use GST_POLL_FD_INIT.
3132 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3134 * gst/gstpoll.c: (gst_poll_fd_init):
3138 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3139 Use some more init macros.
3141 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3143 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3144 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3145 Use init macros and functions.
3147 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3149 * docs/gst/gstreamer-sections.txt:
3150 * gst/gstpoll.c: (gst_poll_fd_init):
3152 Add INIT macro and _init method for initializing the GstPollFD.
3154 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
3156 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
3157 (gst_fd_sink_update_fd):
3158 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3159 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3160 (delayed_restart), (delayed_control):
3161 Initialize some uninitialized variables as spotted by valgrind.
3163 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
3165 * tests/benchmarks/Makefile.am:
3166 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
3168 Add poll stress test.
3170 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
3172 Patch by: Peter Kjellerstedt <pkj at axis dot com>
3174 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3175 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
3176 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
3177 * plugins/elements/gstfdsink.h:
3178 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
3179 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
3180 (gst_fd_src_unlock_stop), (gst_fd_src_create),
3181 (gst_fd_src_uri_set_uri):
3182 * plugins/elements/gstfdsrc.h:
3183 Port to GstPoll. See #505417.
3185 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
3187 * win32/common/libgstreamer.def:
3188 Add new gst_poll_ symbols to win32 defs.
3190 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3192 * docs/libs/gstreamer-libs-sections.txt:
3193 * libs/gst/net/gstnetclientclock.c:
3194 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
3195 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
3196 (gst_net_client_clock_thread), (gst_net_client_clock_start),
3197 (gst_net_client_clock_stop), (gst_net_client_clock_new):
3198 * libs/gst/net/gstnetclientclock.h:
3199 * libs/gst/net/gstnettimeprovider.c:
3200 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
3201 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
3202 (gst_net_time_provider_start), (gst_net_time_provider_stop),
3203 (gst_net_time_provider_new):
3204 * libs/gst/net/gstnettimeprovider.h:
3205 Use a private stuct to not break ABI.
3207 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3209 Patch by: Peter Kjellerstedt <pkj at axis dot com>
3211 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
3212 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
3213 (gst_net_client_clock_thread), (gst_net_client_clock_start),
3214 (gst_net_client_clock_stop), (gst_net_client_clock_new):
3215 * libs/gst/net/gstnetclientclock.h:
3216 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
3217 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
3218 (gst_net_time_provider_start), (gst_net_time_provider_stop),
3219 (gst_net_time_provider_new):
3220 * libs/gst/net/gstnettimeprovider.h:
3221 Massive code removal and cleanups because of GstPoll.
3224 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3227 Add checks for poll, ppoll and pselect.
3229 * docs/gst/gstreamer-docs.sgml:
3230 * docs/gst/gstreamer-sections.txt:
3231 Add docs for GstPoll.
3235 * gst/gstpoll.c: (find_index), (selectable_fds),
3236 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
3237 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
3238 (gst_poll_set_mode), (gst_poll_get_mode),
3239 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
3240 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3241 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
3242 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
3243 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
3244 (gst_poll_fd_can_write), (gst_poll_wait),
3245 (gst_poll_set_controllable), (gst_poll_restart),
3246 (gst_poll_set_flushing):
3248 Add generic poll abstraction. We ideally don't want to have this in core
3249 here but in glib intead...
3250 This code will be used in various network elements and ultimately for
3251 the nanosecond precision monotonic clock (that's why it's here in core).
3252 It'll allow us to implement cancelable socket operations for windows too.
3254 * tests/check/Makefile.am:
3255 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3256 (delayed_stop), (delayed_restart), (delayed_flush),
3257 (delayed_control), (gst_poll_suite):
3258 Add GstPoll unit test.
3260 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
3263 Improve documentation of gst_filter_run(). Fixes #518627.
3265 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
3268 Add a few lines about the new 'check-inspected-versions' target.
3270 2008-02-21 Stefan Kost <ensonic@users.sf.net>
3272 * tests/check/gst/gstevent.c:
3273 Add qos to the event test. Rename tcase/tsuite; is not only about
3276 2008-02-21 Stefan Kost <ensonic@users.sf.net>
3278 * plugins/elements/gstqueue.c:
3279 Ensure that buffer metadata is writeable, before modifying. Spotted by
3282 2008-02-20 Stefan Kost <ensonic@users.sf.net>
3284 * plugins/elements/gstqueue.c:
3285 * plugins/elements/gstqueue.h:
3286 When dropping buffers in leaky modes, mark next buffers we sent as
3289 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
3291 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
3292 Also, if mmap() fails that would be a READ error, not OPEN_READ.
3294 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
3296 * plugins/elements/Makefile.am:
3297 * plugins/elements/gstbufferstore.c:
3298 * plugins/elements/gstbufferstore.h:
3299 * plugins/elements/gsttypefindelement.h:
3300 Remove GstBufferStore, no idea why we were still building it.
3301 It's not used anywhere and superseded by GstAdapter.
3303 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3304 (gst_file_src_create_mmap):
3305 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
3306 Printf format fixes for 64-bit integers.
3308 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3311 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
3312 We're not in 0.8 times anymore.
3314 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
3316 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
3317 (gst_check_element_push_buffer_list):
3318 * libs/gst/check/gstcheck.h:
3319 Make the declaration in the header for
3320 gst_check_element_push_buffer_list match the implementation.
3322 Fix up spelling, grammar and wording of the documentation in a few
3323 places, and add the Since keyword to new API functions.
3324 Use g_list_delete_link instead of g_list_remove in
3325 gst_check_drop_buffers, since it's immeasurably more efficient.
3327 * tests/check/elements/fakesrc.c: (GST_START_TEST):
3328 Use new gst_check_drop_buffers function where appropriate.
3330 * win32/common/libgstbase.def:
3331 * win32/common/libgstreamer.def:
3332 Add new symbols gst_collect_pads_take_buffer,
3333 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
3336 Changelog surgery to add API keyword to new gst_check API.
3338 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3340 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
3341 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
3342 Update pre-generated flex files with flex 2.3.34.
3344 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3346 * gst/gstminiobject.c:
3347 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
3348 friendly to subclasses and not require them to know all internals
3349 of their parent class.
3351 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3353 * docs/libs/gstreamer-libs-sections.txt:
3354 * libs/gst/base/gstcollectpads.c:
3355 * libs/gst/base/gstcollectpads.h:
3356 Add sub-buffer functions to collectpads. Fixes #516187.
3357 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3359 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3362 Copy selected buffer-flags when creating subbuffers.
3365 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
3367 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3368 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3369 * gst/gstmessage.c: (gst_message_class_init),
3370 (gst_message_finalize):
3371 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3372 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3373 (gst_mmap_buffer_finalize):
3374 Properly chain up finalize functions to the parent class.
3376 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
3378 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3380 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3381 (gst_index_set_resolver_full):
3383 Add new function with option to dispose of user_data in resolver.
3384 Actually call the dispose function when finalizing the object and not
3385 just when changing the resolver/filter.
3386 API: GstIndex::gst_index_set_resolver_full()
3388 * docs/gst/gstreamer-sections.txt:
3389 Add new function to docs. Fixes #515469.
3391 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
3393 * gst/gstindex.c: (gst_index_finalize):
3394 Chain up finalize to the parent class. Fixes leaking the GstObject
3395 name and other things.
3397 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
3400 Make DISABLE_DEPRECATED defined *only* during CVS, not during
3401 pre-releases or releases.
3403 * docs/faq/gst-uninstalled:
3406 * docs/random/release:
3407 Change one of the steps - we only upload core & base to Gnome FTP
3409 2008-02-06 Stefan Kost <ensonic@users.sf.net>
3411 * gst/gstconfig.h.in:
3412 Add 'id' for example.
3416 * plugins/elements/gstfdsink.c:
3417 Link to signals. Doc and comment fixes.
3419 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
3421 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3422 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3423 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3424 unused and unimplemented; finally, it is plugin features, not
3425 plugins, that have ranks.
3427 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3429 * gst/gstpluginfeature.h:
3430 Clarify GstRank range docs.
3432 2008-02-05 David Schleef <ds@schleef.org>
3434 * gst/gst.c: Add a separate gst_deinitialized that prevents
3435 gst_init() from being called after gst_deinit(). Fixes #509559
3437 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3439 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3440 (gst_bin_class_init):
3441 * gst/gstelement.c: (gst_element_base_class_init),
3442 (gst_element_class_add_pad_template):
3443 * gst/gstpadtemplate.c: (gst_pad_template_init):
3444 * gst/gstpipeline.c: (gst_pipeline_get_type),
3445 (gst_pipeline_base_init), (gst_pipeline_class_init):
3446 * libs/gst/base/gstbasesink.c:
3447 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3448 (gst_base_src_base_init), (gst_base_src_class_init):
3449 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3450 (gst_capsfilter_class_init):
3451 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3452 (gst_fake_sink_class_init):
3453 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3454 (gst_fake_src_class_init):
3455 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3456 (gst_fd_sink_class_init):
3457 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3458 (gst_fd_src_class_init):
3459 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3460 (gst_file_sink_class_init):
3461 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3462 (gst_file_src_class_init):
3463 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3464 (gst_identity_class_init):
3465 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3466 (gst_multi_queue_class_init):
3467 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3468 (gst_queue_class_init):
3469 * plugins/elements/gsttee.c: (gst_tee_base_init),
3470 (gst_tee_class_init):
3471 * plugins/elements/gsttypefindelement.c:
3472 (gst_type_find_element_base_init),
3473 (gst_type_find_element_class_init):
3474 * tests/check/gst/gstelement.c: (gst_element_suite):
3475 Revert previous changes to the behaviour of GstPadTemplates, etc
3476 and the possiblity to call them in class_init as it breaks too
3477 many elements. Reopens bug #491501.
3479 Should be applied again for 0.11, thus added a few FIXME 0.11 at
3482 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3484 * tools/gst-launch.c:
3485 Dump one graph per pipeline state-change and state change name
3486 (if GST_DEBUG_DUMP_DOT_DIR is set).
3488 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
3491 * tests/check/gst/gstpad.c:
3492 Be sure that we have a new copy of the caps and not
3493 reffed caps from a template
3495 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3497 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3498 * gst/gstpipeline.c: (gst_pipeline_get_type),
3499 (gst_pipeline_class_init):
3500 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3501 (gst_base_sink_class_init):
3502 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3503 (gst_base_src_class_init):
3504 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3505 (gst_base_transform_class_init):
3506 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3507 (gst_collect_pads_class_init):
3508 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3509 * libs/gst/net/gstnettimeprovider.c:
3510 (gst_net_time_provider_base_init),
3511 (gst_net_time_provider_class_init):
3512 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3513 (gst_capsfilter_class_init):
3514 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3515 (gst_fake_sink_class_init):
3516 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3517 (gst_fake_src_class_init):
3518 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3519 (gst_fd_sink_class_init):
3520 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3521 (gst_fd_src_class_init):
3522 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3523 (gst_file_sink_class_init):
3524 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3525 (gst_file_src_class_init):
3526 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3527 (gst_identity_class_init):
3528 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3529 (gst_multi_queue_class_init):
3530 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3531 (gst_queue_class_init):
3532 * plugins/elements/gsttee.c: (gst_tee_base_init),
3533 (gst_tee_class_init):
3534 * plugins/elements/gsttypefindelement.c:
3535 (gst_type_find_element_base_init),
3536 (gst_type_find_element_class_init):
3537 Don't use base_init where not absolutely necessary. For example it's
3538 not necessary anymore for adding pad templates or setting element
3541 Leave empty base_init functions in several places as GST_BOILERPLATE
3542 still defines and uses them.
3544 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3546 * gst/gstelement.c: (gst_element_base_class_init),
3547 (gst_element_class_add_pad_template):
3548 * gst/gstpadtemplate.c:
3549 Make it possible (and recommended) to set element details and add
3550 pad templates in the class_init functions by copying the details/pad
3551 templates in GstElement's base_init.
3553 Also make it possible to replace existing pad templates by adding
3554 a new one with the same name. This was done in a hackish fashion
3555 in same elements before already.
3557 Don't reference pad templates that are added a second time. A
3558 new pad template has a refcount of one and is not floating anymore
3559 and to be owned by the element's class. Make this more explicit by
3560 mentioning it in the docs of gst_element_class_add_pad_template().
3562 These changes are backwards compatible. Fixes bug #491501.
3564 * tests/check/gst/gstelement.c:
3565 Add unit test for setting element details, adding pad templates and
3566 replacing them in a subclass.
3568 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3570 * tools/gst-inspect.c: (print_interfaces),
3571 (print_element_properties_info), (print_pad_info),
3572 (print_signal_info), (print_element_info):
3573 Fix a few memory leaks.
3575 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3577 * docs/libs/gstreamer-libs-sections.txt:
3578 * libs/gst/check/gstcheck.c:
3579 * libs/gst/check/gstcheck.h:
3580 Add more functions for unit testing: gst_check_drop_buffers,
3581 gst_check_caps_equal, gst_check_element_push_buffer_list,
3582 gst_check_element_push_buffer
3583 API: gst_check_drop_buffers
3584 API: gst_check_caps_equal
3585 API: gst_check_element_push_buffer_list
3586 API: gst_check_element_push_buffer
3588 2008-02-01 Julien Moutte <julien@fluendo.com>
3590 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3591 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3592 (gst_index_finalize), (gst_index_entry_free),
3593 (gst_index_add_association): Fix memory leaks.
3594 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3595 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3596 (gst_mem_index_free_format), (gst_mem_index_free_id),
3597 (gst_mem_index_finalize): Fix memory leaks.
3598 * win32/common/config.h: Updated to CVS HEAD.
3600 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3603 Some more details about how the plugin docs works.
3605 * docs/plugins/gstreamer-plugins-sections.txt:
3608 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3610 * gst/parse/grammar.tab.pre.c:
3611 * gst/parse/grammar.tab.pre.h:
3612 * gst/parse/grammar.y:
3613 * gst/parse/lex._gst_parse_yy.pre.c:
3614 Add delayed set-property. This allows to set properties on dynamicaly
3615 created objects (pads in videomxer). Fixes #509391.
3617 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3620 Check if caps are not NULL (fix bug #510194)
3622 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3624 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3625 (gst_base_sink_get_position_paused):
3626 Add fixme regarding EOS in pull mode.
3627 Fix position reporting in PAUSED for negative rates.
3629 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3631 * gst/gstminiobject.c: (gst_mini_object_replace):
3632 When replacing a miniobject, do a quick equality check first so that we
3633 can avoid a ref/unref pair.
3635 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3637 * docs/design/part-synchronisation.txt:
3640 * docs/plugins/Makefile.am:
3641 * docs/plugins/gstreamer-plugins-docs.sgml:
3642 * docs/plugins/gstreamer-plugins-sections.txt:
3643 * plugins/elements/gstmultiqueue.c:
3644 Add multiqueue to the docs.
3646 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3651 === release 0.10.17 ===
3653 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3656 releasing 0.10.17, "Due Negligence"
3658 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3661 Revert caps != NULL check temporarily for 0.10.17 release.
3663 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3666 Check if caps are not NULL (fix bug #510194)
3668 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3671 Fix compilation on systems that have posix timers but no
3674 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3677 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3679 * tools/gst-inspect.c:
3680 Revert previous commit in preparation for an impromptu 0.10.17 release
3682 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3684 * tools/gst-inspect.c: (print_interfaces),
3685 (print_element_properties_info), (print_pad_info),
3686 (print_signal_info), (print_element_info):
3687 Fix a few memory leaks.
3689 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3694 === release 0.10.16 ===
3696 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3699 releasing 0.10.16, "Special Dispensation"
3701 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3704 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3705 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3706 not fail when trying to crosscompile on OpenEmbedded (#511750).
3708 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3711 Use $(MAKE) instead of make to fix the build if GNU make is
3712 called different. Fixes bug #510747.
3714 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3716 * gst/gstplugin.c: (_gst_plugin_initialize):
3717 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3718 again, which I broke two commits ago when changing the API
3719 of gst_plugin_register_static(): the g_list_foreach() in
3720 _gst_plugin_register_static still assumed the old function
3721 signature and would therefore fail (re-fixes #510187).
3723 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3724 (_gst_plugin_register_static), (gst_plugin_register_static):
3725 Revert the (technically correct) change to call g_thread_init() from
3726 the pre-main() constructor. This will break programs which call
3727 g_thread_init() without an if (!g_thread_supported()) guard in their
3728 main function. We could just blame it on GLib or the application, but
3729 it's probably best to just avoid this altogether and simply not use
3730 any GLib functions here and use plain old malloc() with a simple
3731 array to store the plugins to register later when gst_init() is
3732 finally called (re-fixes #510187).
3734 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3735 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3736 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3737 (GST_START_TEST), (gst_plugin_suite):
3738 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3741 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3743 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3744 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3745 This makes gtk-doc complain, but results in slightly better
3746 compiler errors. The old _gst_plugin_register_static() is
3747 still guarded, so there'll be a compiler warning about that
3748 instead. Fixes #510187 too.
3750 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3752 * gst/gst.c: (init_post):
3753 * gst/gstplugin.c: (_gst_plugin_register_static),
3754 (gst_plugin_register_static), (_gst_plugin_initialize):
3755 * gst/gstplugin.h: (GstPluginFilter):
3756 Change API of gst_plugin_register_static() to not take
3757 a GstPluginDesc, but rather just take all the arguments
3758 in a GstPluginDesc directly. This is more intuitive and
3759 avoids certain mistakes when porting code from
3760 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3763 * tests/check/gst/gstplugin.c:
3764 Fix up for changed API.
3766 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3768 * docs/faq/legal.xml:
3769 Update FAQ, Totem actually has an exception these days.
3771 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3773 * win32/common/libgstreamer.def:
3774 Add new API declarations
3776 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3778 * gst/gstminiobject.c:
3779 Spelling fixes for the API docs.
3781 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3783 * libs/gst/base/gstbasetransform.c:
3784 Fix long property description for QoS.
3786 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3789 _gst_trace_on is already provided by gsttrace.h, no need to declare
3792 * docs/libs/gstreamer-libs-sections.txt:
3793 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3794 and remove strange tcase_add_test which is outputting a warning.
3796 * libs/gst/check/gstcheck.c:
3797 * libs/gst/check/gstcheck.h:
3798 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3799 and define them in gstcheck.c instead of having every .c file whcih
3800 includes gstcheck.h be defining its own copy and relying on symbol
3801 interposing to marry them all, which doesn't work on Solaris.
3803 * tests/check/elements/identity.c: (GST_START_TEST):
3804 Don't define 'buffers' locally, it comes from libgstcheck.
3806 * tests/check/generic/sinks.c: (send_buffer):
3807 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3809 * tests/check/gst/gststructure.c: (GST_START_TEST):
3810 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3811 * tests/check/gst/gstutils.c: (GST_START_TEST):
3812 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3813 Add a bunch of casts to make various constants fit the types
3814 they're being assigned to.
3816 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3818 * gst/gstchildproxy.c:
3819 Improve docs and add some ideas for making this more general-purpose.
3821 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3823 * gst/gst_private.h: (GST_CAT_TYPES):
3824 Add GST_CAT_TYPES, for consistency, and so that the other
3825 debug categories don't make fun of it. Spotted by Saur on IRC.
3827 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3829 * gst/parse/Makefile.am:
3830 Move types.h from EXTRA_DIST to noinst_HEADERS.
3832 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3835 Add -Wno-portability to the automake parameters to stop warnings
3836 about GNU make extensions being used. We require GNU make in almost
3837 every Makefile anyway.
3840 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3841 at the same time is required for per target flags.
3843 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3846 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3847 __GNUC__ is defined before using it.
3849 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3851 * docs/gst/gstreamer-sections.txt:
3852 * gst/gst.c: (init_post):
3853 * gst/gstplugin.c: (_gst_plugin_register_static),
3854 (gst_plugin_register_static), (_gst_plugin_initialize),
3855 (gst_plugin_register_func):
3856 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3857 API: add gst_plugin_register_static() and deprecate
3858 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3860 Also, in _gst_plugin_register_static(), make sure to call
3861 g_thread_init() before calling GLib functions such as
3862 g_list_append() if we're not initialised yet, since that
3863 may lead to random crashes with older GSlice/GLib versions.
3865 * tests/check/gst/gstplugin.c:
3866 Adapt unit test to above changes.
3868 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3870 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3871 * gst/gstcaps.c: (gst_caps_to_string):
3872 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3873 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3874 Yet another gratuitous GString micro-optimisation: add a (private)
3875 function that serialises a structure appending to an existing
3876 GString, so that when we serialise caps we don't need to alloc+free
3877 a throwaway GString for each structure (each of which also entailing
3878 multiple reallocs on the way); also use g_string_sized_new() in
3879 various places with an approximate string length to avoid reallocs
3880 within GString. See #500143.
3882 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3884 * gst/gststructure.c: (gst_structure_id_set_value):
3885 Always check UTF-8 conformance of structure strings and not only
3886 if the debugging system is enabled; reasoning: the behaviour of
3887 the actual code shouldn't really change depending on whether the
3888 debugging system is enabled or not (#508291).
3890 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3893 Remove old coverage target in favour of "make lcov".
3895 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3897 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3898 (gst_base_src_loop):
3899 The start segment for reverse playback goes from start to last_stop.
3901 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3903 Patch by: Peter Kjellerstedt <pkj axis com>
3906 Cast the results from the timeval/spec_to_time macros to what the
3907 docs say it casts to, a GstClockTime. fixes #508175.
3909 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3912 Update some comments.
3914 * tools/gst-inspect.c: (print_element_properties_info):
3915 Improve printing of flags.
3917 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3919 * libs/gst/base/gstbasetransform.c:
3920 (gst_base_transform_transform_size):
3921 Print element name with g_warning() if there's a problem
3924 2008-01-07 David Schleef <ds@schleef.org>
3926 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3928 * libs/gst/controller/gstcontroller.h:
3929 * libs/gst/controller/gstcontrolsource.h:
3930 * libs/gst/controller/gstinterpolationcontrolsource.h:
3931 * libs/gst/controller/gstlfocontrolsource.h:
3932 * libs/gst/dataprotocol/dataprotocol.h:
3933 Fix empty prototypes. Fixes bug #507957.
3935 2008-01-07 David Schleef <ds@schleef.org>
3937 * docs/faq/dependencies.xml: Fix typo.
3939 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3941 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3942 (gst_base_src_loop):
3943 Don't update the last_stop position in do_seek, that's the position we
3945 Read backwards when we have a negative rate.
3947 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3948 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3950 Add check for reverse reading.
3952 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3954 Patch by: Alexis Ballier <aballier at gentoo org>
3956 * tests/check/gst/gstabi.c:
3957 * tests/check/gst/struct_ppc64.h:
3958 * tests/check/libs/libsabi.c:
3959 * tests/check/libs/struct_ppc64.h:
3960 Decide which header to include based on the userland ABI target
3961 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3962 for 64-bit userland (#503590). Might need something similar for
3965 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3967 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3968 Log the reason why fopen fails in addition to the fact that it failed.
3970 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3972 * gst/parse/parse.l:
3973 Use "%option never-interactive" to prevent useless calls to isatty()
3974 on every input when parsing. Also use "%option noinput" to not define
3975 the static input/yyinput functions which we don't use anyway. This
3976 removes a compiler warning with gcc 4.3 and saves some bytes in the
3979 * gst/parse/lex._gst_parse_yy.pre.c:
3980 Regenerated for the above change.
3982 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3984 * gst/gstpad.c: (fixate_value):
3985 Don't crash when trying to fixate and empty list.
3988 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3990 * docs/faq/gst-uninstalled:
3991 Clarify the comments to make the usage of this script and what it
3992 does easier to understand.
3994 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3996 * tools/gst-plot-timeline.py:
3997 Add more options to gst-plot-timeline
3999 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4001 * docs/design/part-synchronisation.txt:
4002 Some more info on how the stream_time in GstBaseSink is done.
4004 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4006 * tests/check/generic/sinks.c: (gst_sinks_suite):
4007 Put back the tcase_set_timeout(), apparently it's needed after
4008 all; fix it up in a way that makes things work with valgrind too.
4010 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4012 * gst/gstdebugutils.c:
4013 Add warning when failed to open file for writing.
4015 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4017 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4019 * gst/gstvalue.c: (gst_value_is_fixed):
4020 Optimisation: bail out of the loop as early as possible (#500143).
4022 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4024 * gst/gstcaps.c: (gst_caps_to_string):
4025 * gst/gstinfo.c: (gst_debug_construct_term_color):
4026 * gst/gstparse.c: (gst_parse_launchv):
4027 * gst/gstutils.c: (gst_util_dump_mem):
4028 * gst/gstvalue.c: (gst_value_serialize_any_list),
4029 (gst_value_transform_any_list_string):
4030 Bunch of gratuitous nano-optimisations.
4032 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4034 * tests/check/generic/sinks.c: (async_done_func),
4035 (async_done_eos_func):
4036 Fix leak in unit test (bus sync handler must unref the message
4037 if it returns GST_BUS_DROP). Don't fiddle with the default test
4038 timeout, this is smaller than the current preconfigured value
4039 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4040 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4042 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4044 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4047 Check for stdio_ext.h for the filesink changes.
4049 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4050 (gst_file_sink_class_init), (gst_file_sink_init),
4051 (gst_file_sink_dispose), (gst_file_sink_set_property),
4052 (gst_file_sink_get_property), (gst_file_sink_open_file),
4053 (gst_file_sink_close_file):
4054 * plugins/elements/gstfilesink.h:
4055 Add two properties to control the buffering mode and size.
4056 API: GstFileSink::buffer-mode
4057 API: GstFileSink::buffer-size
4060 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4062 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4063 Add some more docs to explain why a FIXME was wrongly added.
4065 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
4068 Fix typo in the gst_object_{ref,unref} documentation.
4070 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4072 * tests/check/libs/controller.c:
4073 * tests/check/libs/typefindhelper.c:
4074 * tests/check/pipelines/parse-launch.c:
4075 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4076 going to be deprecated (see #498924).
4078 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4080 * gst/gsttypefind.c: (gst_type_find_register):
4081 Make gst_type_find_register work for static typefind functions,
4082 ie. allow passing plugin == NULL (prerequisite for #498924).
4084 * gst/gstelementfactory.c: (gst_element_register):
4085 Small docs addition.
4087 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
4089 * gst/gstpad.c: (gst_pad_dispose):
4090 Really unlink the peer pad instead of setting the peer pointer to NULL
4091 when we dispose the pad.
4092 This correctly calls the unlink functions and makes sure that the peer
4093 does not have a handle to invalid memory. See #504671.
4095 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4096 Add testsuite for above case.
4098 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
4100 Patch by: Peter Kjellerstedt <pkj axis com>
4102 * libs/gst/check/gstcheck.h:
4103 Fix detection of the check version we're compiling against (would
4104 otherwise break if check goes v0.10.0); correctly report the
4105 name of the failed test again in case of failure, instead of
4106 just 'tf' (fixes #504499).
4108 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4110 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
4111 (gst_base_src_get_range), (gst_base_src_pad_get_range),
4112 (gst_base_src_loop), (gst_base_src_set_flushing),
4113 (gst_base_src_change_state):
4114 Allow sending EOS to the source to make it send out an EOS event from
4115 the streaming thread.
4116 Update docs and deprecate the old NULL/READY shutdown method.
4118 * tests/check/libs/basesrc.c: (GST_START_TEST),
4119 (gst_basesrc_suite):
4120 Add unit test for controlled shutdown.
4122 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4124 * docs/design/part-synchronisation.txt:
4127 * gst/gstsegment.c: (gst_segment_set_seek),
4128 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4129 (gst_segment_to_running_time):
4130 The seek format can be different from the segment format when the start
4131 and stop values are not to be updated, when we only do a rate change for
4134 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4135 (gst_segment_suite):
4136 Add a testcase for the rate-only seeks, checking that the format is
4137 correctly ignored when start and stop are not updated.
4139 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
4141 Patch by: Matthias Bolte <photon at mail dot upb dot de>
4143 * win32/vs8/grammar.vcproj:
4144 * win32/vs8/libgstcontroller.vcproj:
4145 * win32/vs8/libgstreamer.vcproj:
4146 Fix compilation with VS8 and include some missing files.
4148 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
4151 Small docs addition: mention that the strings returned by
4152 gst_tag_list_get_string*() are in UTF-8 encoding.
4154 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
4157 The check-exports stuff moved to common/win32.mak, so include that.
4159 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
4161 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4162 (gst_base_src_perform_seek), (gst_base_src_get_range),
4163 (gst_base_src_set_playing), (gst_base_src_change_state):
4164 Make _wait_playing() not check any variables so that we can call this
4165 function from subclasses. Move the checks elsewhere similar to
4166 _wait_preroll() in basesink.
4168 Only signal the LIVE cond when we are going back to PLAYING.
4170 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
4172 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
4173 Use g_remove() and g_rename(). Check result of g_rename(), and
4174 don't leak the open file descriptor if we error out when writing.
4176 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
4177 Must check the return value of close() after writing out the new
4178 registry file. Sometimes write problems such as out-of-diskspace
4179 are only reported when the file is closed and not already during
4180 the write. This may have caused partial/broken registry files in
4181 some rare circumstances. Should fix #503675.
4183 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
4185 * docs/gst/.cvsignore:
4186 * docs/libs/.cvsignore:
4187 * docs/plugins/.cvsignore:
4188 Ignore files generated by new common/* modifications
4190 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4192 * win32/common/libgstbase.def:
4193 Yes, you can also have a <TAB> if you want.
4195 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4197 * win32/common/libgstbase.def:
4198 Add new basetransform API to win export file.
4200 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4202 * tests/check/gst/gstbin.c:
4203 Adjust the test to the refcount change two days ago.
4205 2007-12-14 David Schleef <ds@schleef.org>
4207 * docs/faq/getting.xml: Fix typo.
4209 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
4211 * docs/libs/gstreamer-libs-sections.txt:
4212 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4213 (gst_base_transform_prepare_output_buffer),
4214 (gst_base_transform_set_gap_aware):
4215 * libs/gst/base/gstbasetransform.h:
4216 API: Add gst_base_transform_set_gap_aware() to control whether
4217 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
4218 get buffers with this flag at all. Fixes #503231.
4220 2007-12-13 Stefan Kost <ensonic@users.sf.net>
4222 * libs/gst/base/gstbasesink.c:
4223 * libs/gst/base/gstbasesrc.c:
4224 * libs/gst/base/gstbasetransform.c:
4225 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
4226 thread. Correct log message in gstbasesrc.c.
4228 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
4230 * gst/gstutils.c: (element_find_unconnected_pad):
4231 Fix possible compiler warning (#503417).
4233 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
4235 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
4236 Don't use GST_CAT_EVENT here for logging, it makes no sense.
4238 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
4240 * tools/gst-inspect.c: (print_element_properties_info):
4241 Add support for GstFraction properties.
4243 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
4246 Add check-exports target and run it as part of 'make check'
4247 (see #499140 and #493983).
4249 * gst/gst_private.h:
4250 * gst/gstelementfactory.h:
4251 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
4252 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
4253 (_priv_gst_in_valgrind):
4254 * gst/gstinfo.h: (GstLogFunction):
4255 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
4256 (gst_type_find_register):
4257 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
4258 (gst_type_find_factory_get_type):
4259 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
4260 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
4261 (gst_controller_new_valist), (gst_controller_new_list),
4262 (_gst_controller_dispose), (_gst_controller_class_init):
4263 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
4264 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
4265 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
4266 (gst_object_get_controller), (gst_object_set_controller),
4267 (gst_object_suggest_next_sync), (gst_object_sync_values),
4268 (gst_object_set_control_source), (gst_object_get_control_source),
4269 (gst_object_get_value_arrays), (gst_object_get_value_array),
4270 (gst_object_get_control_rate), (gst_object_set_control_rate):
4271 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
4272 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
4273 Make some functions that should be static static; rename some
4274 private symbols so that they don't get exported; add some FIXME
4275 comments so we can move accidentally exported functions into
4276 our private section in 0.11.
4278 * win32/common/libgstreamer.def:
4279 Add gst_utils_get_timestamp().
4281 2007-12-12 Stefan Kost <ensonic@users.sf.net>
4285 Add more missing "Since:" tags to docs.
4287 2007-12-12 Stefan Kost <ensonic@users.sf.net>
4290 Add mising "Since:" to docs.
4292 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4295 Include "glib-compat-private.h" to fix the build on system with
4296 glib < 2.10. Fixes #503131.
4298 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4302 Actually its not PURE as it gets the time from elsewhere.
4304 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4306 * docs/gst/gstreamer-sections.txt:
4308 * gst/gstdebugutils.c:
4312 * libs/gst/base/gstbasesink.c:
4313 * tools/gst-launch.c:
4314 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
4315 uses as we don't have HAVE_POSIX_TIMERS in public headers.
4316 Thanks Tim for spotting.
4317 API: gst_util_get_timestamp
4319 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
4322 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
4324 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
4326 * gst/gststructure.c: (gst_structure_validate_name),
4327 (gst_structure_new_valist), (gst_structure_parse_value),
4328 (gst_structure_from_string):
4329 Don't crash in _from_string() if the structure name is not valid
4330 (fixes #501560). Allow structure names to start with a number
4331 again (this apparently broke the ubuntu codec installer).
4333 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
4335 Add unit test for the crash; update unit tests for new behaviour.
4337 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
4340 Clarify gst_element_get_compatible_pad() documentation.
4343 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
4345 * tests/check/Makefile.am:
4346 Don't forget to dist {gst,libs}/struct_hppa.h.
4348 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4350 * libs/gst/base/gstbasesink.c:
4351 Use new API to get elapsed time.
4353 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4355 * gst/gstdebugutils.c:
4357 Fix wrong order of args in GST_CLOCK_DIFF() usage.
4359 * tools/gst-launch.c:
4360 Use new API to get elapsed time.
4362 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4364 * docs/gst/gstreamer-sections.txt:
4366 * gst/gstdebugutils.c:
4368 Rename new API + ChangeLog surgery to remove old name from last entry..
4370 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4372 * docs/gst/gstreamer-sections.txt:
4374 * gst/gstdebugutils.c:
4376 Now hide the different clock stuff behind a macro.
4378 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4381 * gst/gstdebugutils.c:
4383 Apply the posix-timer check from #361155. Conditionally use the posix
4384 timer for logging. This gives better timestamp precission, less
4385 overhead and no ntp jitter.
4387 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
4389 * gst/gstminiobject.c: (gst_mini_object_get_type),
4390 (gst_mini_object_class_init), (gst_mini_object_copy_default),
4391 (gst_mini_object_finalize), (gst_mini_object_copy),
4392 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4393 (gst_mini_object_replace), (param_mini_object_validate),
4394 (gst_param_spec_mini_object_get_type):
4395 Some cleanup and checking against invalid function parameters.
4397 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
4399 * docs/gst/gstreamer-sections.txt:
4401 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4402 (gst_systemclock_suite):
4403 Start merging in the easy bits of #361155, the monotonic clock patch.
4404 This one adds a few handy macros with docs and a testsuite.
4406 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
4408 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4409 Be a bit smarter when seeking, like, don't try to do a seek when it's
4410 not needed. This avoids errors when the file is not seekable.
4413 2007-11-26 Stefan Kost <ensonic@users.sf.net>
4415 * docs/gst/gstreamer-docs.sgml:
4416 * docs/gst/gstreamer-sections.txt:
4417 * docs/gst/gstreamer.types.in:
4422 * plugins/elements/gstqueue.c:
4423 Due to popular request remove preset interface again. :-(.
4425 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4427 * tools/gst-inspect.c:
4428 Print 'default value' for enums and flags too.
4430 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4432 * docs/random/ensonic/profiling.txt:
4436 Fix typo and give better log output.
4438 * gst/gstdebugutils.c:
4439 * gst/gstdebugutils.h:
4440 More ideas, make graphs a bit smaller and fix param name in macro.
4442 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4445 Try harder to use the return value from fgets().
4447 2007-11-21 Stefan Kost <ensonic@users.sf.net>
4450 For theses two fgets we handle the error below.
4452 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4454 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4455 Only send upstream events upstream. Fixes #498746.
4457 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4459 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4461 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4462 (gst_identity_init), (gst_identity_transform_ip),
4463 (gst_identity_set_property), (gst_identity_get_property):
4464 * plugins/elements/gstidentity.h:
4465 Add property to disable handoff signal emission. Fixes #498694.
4466 API: GstIdentity::signal-handoffs
4468 2007-11-21 Julien Moutte <julien@fluendo.com>
4470 * docs/faq/gst-uninstalled: Yet another missing library for the
4471 uninstalled script (fft)
4473 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
4475 * docs/faq/developing.xml:
4476 Add a question about how to submit new translations.
4478 * docs/random/release:
4479 Update the contact email address for the Translation Project
4481 * plugins/elements/gstfdsrc.c:
4482 The parent_class for fdsrc is pushsrc, not GstElement.
4484 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4487 Plug a leak and fix saving.
4489 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
4491 * docs/gst/gstreamer-sections.txt:
4492 Add new gst_preset__get_property_names() function to the docs
4495 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4499 Change _get_preset_names API to return a strv with copies. Add
4500 _get_property_names to allow implementations to filter and provide
4501 good default implementation.
4503 2007-11-20 Julien MOUTTE <julien@moutte.net>
4505 * docs/faq/gst-uninstalled: Add another library to the uninstalled
4508 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4511 More cleanups, docs, and TODOs from comments that now slowly come in.
4513 2007-11-19 Julien MOUTTE <julien@moutte.net>
4515 * docs/faq/gst-uninstalled: Add new base libraries in the LD
4518 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4521 Fix bogus warning and make the property type specific code more
4524 2007-11-19 Julien MOUTTE <julien@moutte.net>
4526 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4529 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
4531 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4532 (gst_bin_add_func), (gst_bin_remove_func),
4533 (gst_bin_change_state_func), (gst_bin_continue_func):
4534 Change email, cleanups add some more debug and comments.
4535 Also set bus and clock on new elements when the pipeline was in error.
4537 2007-11-18 Stefan Kost <ensonic@users.sf.net>
4540 * gst/gstdebugutils.c:
4541 Fix build with --disable-gst-debug. Fixes #497859.
4542 Spotted by Sameer Naik.
4544 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4547 Little documentation improvment.
4550 More TODO cleanups. Remove c++ comments.
4552 * libs/gst/controller/gstcontroller.c:
4553 Add TODO and use quark from static string.
4555 * tests/check/gst/gstmessage.c:
4556 * tests/check/gst/gststructure.c:
4557 Use quark from static string.
4559 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4562 Add some comments and TODOs.
4565 Add padding for future changes.
4567 * plugins/elements/gstqueue.c:
4568 Implement the iface.
4570 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4572 * docs/gst/gstreamer-docs.sgml:
4573 * docs/gst/gstreamer-sections.txt:
4574 * docs/gst/gstreamer.types.in:
4579 Add the preset interface (Fixes #396779). Do some doc cleanups along.
4581 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
4587 === release 0.10.15 ===
4589 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
4592 releasing 0.10.15, "October"
4594 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
4596 * win32/vs6/libgstreamer.dsp:
4597 Convert line endings back to DOS.
4599 2007-11-13 Stefan Kost <ensonic@users.sf.net>
4601 * docs/design/draft-tagreading.txt:
4602 * docs/random/ensonic/profiling.txt:
4603 Update fast tagreading draft and performance profiling ideas.
4605 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4607 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4608 Don't hold the object lock when unreffing a buffer because it could
4609 cause a deadlock when the finalize function wants to grab the object
4610 lock too. Fixes #495133.
4612 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4614 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4615 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4616 Also accumulate time correctly when doing reverse playback. Fixes
4618 When converting to running and stream time, use default values for
4619 start/stop/time/accum when comparing different formats. Fixes #494245.
4621 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4622 Do running/stream time in TIME format.
4624 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4625 (gst_segment_suite):
4626 2 new unit tests for segment accumulation.
4628 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4630 * gst/gst.c: (init_pre):
4631 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4632 (_gst_debug_bin_to_dot_file):
4633 Move getenv() back into gst_init, so everyone can live happily
4634 ever after. Make sure the symbol isn't exported though.
4636 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4638 Patch by: Sebastien Moutte <sebastien moutte net>
4640 * win32/common/gstenumtypes.c:
4641 * win32/common/gstenumtypes.h:
4644 * win32/vs6/libgstreamer.dsp:
4645 Update vs6 project files (#494343).
4647 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4649 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4650 (gst_base_src_perform_seek), (gst_base_src_default_event),
4651 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4652 (gst_base_src_activate_pull):
4653 Unify flushing code, remove some old unlock code that is no longer used.
4654 Take the streaming lock when seeking to avoid races. Fixes #492729.
4655 Added some more comments.
4657 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4659 * gst/gst.c: (_gst_disable_segtrap):
4660 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4661 we can use gst_segtrap_is_enabled() there now that we have that API.
4662 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4663 to do the getenv here (and export the variable).
4665 * gst/gstdebugutils.c: (debug_dump_element),
4666 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4667 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4669 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4670 (gst_debug_log_default):
4671 Rename _gst_info_start_time to priv_gst_info_start_time so it
4672 doesn't get exported (was never in any header).
4674 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4675 (gst_plugin_loading_mutex):
4676 Make static mutex gst_plugin_loading_mutex really static (was never
4677 in any header), and use gst_segtrap_is_enabled() instead of
4678 _gst_disable_segtrap.
4680 * gst/gsttrace.c: (_gst_trace_default):
4681 Make local _gst_trace_default static (was never in any header).
4683 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4685 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4687 * win32/common/libgstbase.def:
4688 * win32/common/libgstcontroller.def:
4689 * win32/common/libgstdataprotocol.def:
4690 * win32/common/libgstnet.def:
4691 * win32/common/libgstreamer.def:
4692 Add more missing symbols, remove some duplicates, and sort
4693 as the 'sort' command sorts it (partially fixes #493983).
4695 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4697 * gst/gstelement.c: (gst_element_set_state_func):
4698 Only change the state cookie if a different state was set on the
4699 element. See #492729.
4701 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4704 Remove unused and uninitialised type variables that were still
4705 exported for some reason (they were never in any header files
4708 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4710 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4711 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4712 (gst_base_sink_event), (gst_base_sink_get_position_last),
4713 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4714 (gst_base_sink_change_state):
4715 Don't try to report a 0 position when we don't know, return -1 and FALSE
4716 instead. This mostly happens when we are prerolling.
4717 Make sure we can report the right position before we post the ASYNC_DONE
4718 message so that a message handler can query position without races.
4720 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4721 (async_done_handoff), (async_done_func), (send_buffer),
4722 (async_done_eos_func), (gst_sinks_suite):
4723 Add two tests for the above.
4725 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4728 Update with new email address.
4730 * docs/design/part-TODO.txt:
4731 Add some more info about future pad-block and negotiation changes.
4733 * docs/design/part-buffering.txt:
4734 Add some ideas about buffering reporting.
4736 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4738 * tests/check/gst/gstobject.c:
4739 Disable silly racy test that always fails on this combination of CPU
4742 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4744 Patch by: Murray Cumming <murrayc@murrayc.com>
4747 Corrected the registration of the parent-set and parent-unset
4748 signals: The parameter is a GstObject, not a GObject (#493134).
4750 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4752 * gst/gst_private.h:
4761 Move declaration of private _gst_foo_initialize() functions into
4762 our private header file where they should have been all along.
4764 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4766 * docs/plugins/gstreamer-plugins-sections.txt:
4767 * gst/gstdebugutils.h:
4769 * plugins/elements/gstqueue.c:
4770 gtk-doc fixes; trailing-comma-in-enum fix.
4772 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4774 * gst/gst.c: (gst_deinit):
4775 Clean up on deinit (not the external ones though, doesn't seem to be
4776 needed for some reason).
4778 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4780 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4781 Remove __declspec(dllimport) for MSVC that was copied over into core
4782 from a plugin, obviously without ever having been tested (note the
4783 single underscore in _declspec in the initial commit), and that doesn't
4784 really make sense. See #492077.
4786 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4788 * gst/gst.c: (init_post):
4789 * gst/gstevent.c: (_gst_event_initialize):
4790 * gst/gstquery.c: (_gst_query_initialize):
4791 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4792 g_type_class_ref() other types as well, see #349410 and #64764.
4794 * gst/gstbuffer.c: (_gst_buffer_initialize):
4795 * gst/gstmessage.c: (_gst_message_initialize):
4796 Simplify existing g_type_class_ref().
4798 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4800 * gst/gstformat.c: (_gst_format_initialize):
4801 g_type_class_ref() our GstFormat type to make sure we avoid the
4802 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4803 bug #64764. Should fix intermittent tee unit test failures (#474823).
4805 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4807 * tests/check/elements/tee.c: (test_num_buffers):
4808 Simplify, simplify, simplify - or not. Rewrite unit test
4809 not to use gst_parse_launch(); allow N sub-streams. Increasing
4810 the number of sub-streams seems to reproduce #474823 more easily.
4812 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4814 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4817 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4818 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4819 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4820 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4821 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4822 so use _pipe() directly (#492077).
4824 * win32/common/dirent.c: (_treaddir):
4825 Add a couple of casts to make it build without warnings with MSVC.
4827 * win32/common/libgstreamer.def:
4828 Add some more symbols that need to be exported.
4830 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4832 * tests/examples/metadata/read-metadata.c: (message_loop):
4833 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4834 arriving in a second or third tag message are added to
4835 the tag list as well.
4837 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4839 * libs/gst/base/gstbasesrc.c:
4840 Its "Since:" and not "@Since:". And remove an superflous cast.
4842 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4844 * docs/libs/gstreamer-libs-sections.txt:
4845 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4846 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4847 (gst_base_sink_get_property), (gst_base_sink_render_object),
4848 (gst_base_sink_preroll_object),
4849 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4850 (gst_base_sink_change_state):
4851 * libs/gst/base/gstbasesink.h:
4852 Add a new last-buffer property that contains the last buffer used in
4853 basesink for preroll or rendering. useful for making snapshots.
4854 API: gst_base_sink_get_last_buffer()
4855 API: GstBaseSink::last-buffer
4857 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4859 * docs/gst/running.xml:
4861 * gst/gstdebugutils.c:
4862 * gst/gstdebugutils.h:
4863 * tools/gst-launch.c:
4864 Improve bin graph dumping, by using the envvar to specify a path.
4865 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4867 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4869 * plugins/elements/gsttypefindelement.c:
4870 (gst_type_find_element_handle_event),
4871 (gst_type_find_element_activate):
4872 Post special error message if we can't determine the type of a stream
4875 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4877 * docs/gst/running.xml:
4878 * gst/gstdebugutils.c:
4879 Document new env-var. Add one log-line after dumpng a graph.
4881 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4884 Ugly hack to put the (recently removed and non-portable, apparently)
4885 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4886 GNU ld, because without that 'make check' fails miserably on my debian
4887 stable box. Someone with more knowledge of linker intricacies and
4888 portability issues than me fix this properly please.
4890 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4892 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4893 Reset last seen position after flushing so that we don't report the old
4896 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4898 * gst/gstelementfactory.c: (gst_element_register):
4900 Patch from Alessandro Decina adding get_type_full and
4901 get_protocols_full private vfuncs to the URIHandler interface
4902 to allow bindings to support creating URI handlers.
4903 Partially fixes: #339279
4904 API: GstURIHandlerInterface::get_type_full
4905 API: GstURIHandlerInterface::get_protocols_full
4907 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4909 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4910 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4911 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4912 Make it so that pads are considered linked until a buffer is pushed
4913 and discovered otherwise. This avoids problems with decodebin2 hanging
4914 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4917 Make sure we lock the multiqueue when updating the max-size properties.
4919 Fix a crash on Solaris in a debug statement in get_request_pad that
4920 passes a NULL string to GST_DEBUG.
4922 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4923 (run_output_order_test):
4924 Fix the test to allow the first buffer on not-linked pads to come out
4925 of sequence while multiqueue discovers that they are not-linked.
4927 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4930 * libs/gst/check/Makefile.am:
4931 Use a custom export symbol regex for libgstcheck, as it needs
4932 to export symbols that don't match the standard GStreamer gst_*
4933 pattern, and --export-dynamic is not portable (only works on
4936 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4937 (gst_check_setup_sink_pad):
4938 Make sure to pass a message parameter to the fail_* macros.
4940 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4941 Fix some compiler warnings.
4943 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4945 * tests/check/gst/gststructure.c: (test_to_string):
4946 Disable test that checks that white spaces are not allowed
4947 in structure names or field names, since we need to
4948 support that for now for backwards compatibility reasons.
4950 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4952 * docs/gst/gstreamer-sections.txt:
4955 API: add GST_TAG_ARTIST_SORTNAME
4956 API: add GST_TAG_ALBUM_SORTNAME
4957 API: add GST_TAG_TITLE_SORTNAME
4958 Add tag variants for sorting (#414539).
4960 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4962 * gst/gststructure.c:
4963 Also allow white space for names so we don't break
4964 backwards compatibility.
4966 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4968 * docs/design/part-TODO.txt:
4969 * docs/design/part-segments.txt:
4970 * docs/design/part-streams.txt:
4973 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4975 * docs/gst/gstreamer-sections.txt:
4976 Fixed documentation from my previous commit (added new API add
4977 gst_value_set_structure(), add gst_value_get_structure() and
4978 GST_VALUE_HOLDS_STRUCTURE).
4980 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4982 * gst/gstdebugutils.c:
4983 Reflow code to fix uninitialized variable warning.
4985 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4987 * gst/gstcaps.c: (gst_caps_to_string),
4988 (gst_caps_from_string_inplace):
4989 * gst/gststructure.c: (gst_structure_get_abbrs),
4990 (gst_structure_to_string), (gst_structure_from_string):
4991 * gst/gstvalue.c: (gst_value_set_structure),
4992 (gst_value_get_structure), (gst_value_serialize_structure),
4993 (gst_value_deserialize_structure), (_gst_value_initialize):
4995 * tests/check/gst/gststructure.c: (GST_START_TEST),
4996 (gst_structure_suite):
4997 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4998 Added GstStructure to gst_value_table and its related functions.
4999 Changed gst_structure_to_string to print ';' in the end.
5000 Changed gst_caps_to_string to not print ';' beteween its
5001 fields (structures) anymore and remove the lastes ';' from latest
5002 structure. Now it is possible to have nested structures.
5003 In addition, backward compatibilty is assured by accepting '\0' as
5004 end delimiter. Fixes: #487969.
5005 API: add gst_value_set_structure()
5006 API: add gst_value_get_structure()
5007 API: add GST_VALUE_HOLDS_STRUCTURE
5009 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5012 When no GSource callback has been set up, tell developer
5013 to use a function that actually exists.
5015 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5017 * docs/gst/gstreamer-sections.txt:
5021 * gst/gstdebugutils.c:
5022 * gst/gstdebugutils.h:
5025 * tools/gst-launch.c:
5026 Allow dumping pipelines as dot graphs. Fixes #456573.
5028 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5030 * gst/gststructure.c:
5031 Allow '+' as well, it can be part of media or mime types
5032 such as image/svg+xml.
5034 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5036 * docs/gst/gstreamer-sections.txt:
5039 API: add gst_bus_pop_filtered
5040 API: add gst_bus_timed_pop_filtered
5041 Two new functions for waiting for specific message types on the
5042 bus for a specified amount of time without iterating any main
5043 loops or main contexts.
5045 * tests/check/gst/gstbus.c:
5046 Some tests for the new functions.
5048 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5050 * docs/libs/gstreamer-libs-sections.txt:
5051 Make gtk-doc ignore stuff it should ignore.
5053 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5055 * libs/gst/check/gstcheck.c:
5056 * libs/gst/check/gstcheck.h:
5057 Allow runtime selection of unit tests to run via the GST_CHECKS
5058 environment variable (test case function names, comma-separated).
5060 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5062 * gst/gststructure.c:
5063 * tests/check/gst/gststructure.c:
5064 Revert serialisation change and constrain structure-names after
5065 consensus on irc. Update api documentation to reflect the change.
5067 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5069 * gst/gststructure.c:
5070 Improve serialization and fix tests.
5072 * tests/check/gst/gststructure.c:
5073 Add another test that covers why I actually did the previous structure
5076 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5078 * tools/gst-inspect.c: (print_element_info):
5079 Don't crash when inspecting an element.
5081 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
5083 * tests/check/gst/gststructure.c:
5084 Add unit test for escaping of structure name when serialising
5085 and deserialising to/from strings.
5087 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5089 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5090 (gst_single_queue_new):
5091 * plugins/elements/gstqueue.c: (gst_queue_init),
5092 (gst_queue_push_one):
5093 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5094 upstream is tricked into thinking it can suggest a format downstream
5095 while downstream does not support that format. The real problem is that
5096 core calls acceptcaps when pushing a buffer with new caps, for which we
5097 do a little workaround by setting the caps on the srcpad ourselves
5098 before pushing the buffer (until this is figured out). Fixes #486758.
5100 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5102 * gst/gststructure.c:
5104 Add some more comments and debug output. Quote structure name to fix
5105 deserialisation of some strings.
5107 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5110 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
5111 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
5113 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5115 * tools/gst-inspect.c:
5116 Save approx. 400 1 byte allocs when printing. Use API to acces element
5122 * tools/gst-xmlinspect.c:
5123 Use API to acces element details.
5125 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5128 Fix some spelling errors.
5130 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
5132 * gst/gstbin.c: (bin_handle_async_done):
5133 Correctly set the next state if all of our async children commited their
5134 state. This makes sure we can actually cancel the state change in
5135 progress. Fixes a regression in Rhythmbox when seeking.
5137 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
5140 Don't shadow local variable.
5143 Don't shadow global function name.
5145 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
5147 * gst/gstelementfactory.c:
5148 * gst/gstpluginfeature.c:
5149 * gst/gstpluginfeature.h:
5150 * gst/gstregistrybinary.c:
5151 * gst/gstregistryxml.c:
5152 * gst/gsttypefind.c:
5153 Use already-interned string for the private GstPluginFeature
5156 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
5158 * docs/libs/gstreamer-libs-sections.txt:
5159 Add new API to docs; fixes the build.
5161 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
5163 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
5165 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
5166 (gst_base_sink_event):
5167 * libs/gst/base/gstbasesink.h:
5168 Add function to wait for EOS, subclasses can use this to correctly wait
5169 for devices to drain before performing the EOS logic. Fixes #485343.
5170 API: gst_base_sink_wait_eos()
5172 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
5175 Cast description string constants in GST_PLUGIN_DEFINE macros
5176 to a (gchar*) to make C++ code using these macros compile
5177 without warning with g++-4.2 (see #462737). Even if slightly
5178 ugly, this seems preferable to putting the description strings
5179 into the GLib quark table or making the structure member a
5180 const gchar * and doing casts in core code that allocs and
5181 frees these strings, or requiring a cast in the C++ code.
5183 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5186 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
5187 to print the entire class/function signature into the log
5188 file for C++ code. This only affects C++ code, for C code
5189 everything remains the same.
5191 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
5193 * gst/gstbin.c: (remove_from_queue):
5194 Work around a problem with pipelines containing (semi)loops until a
5195 proper, more complicated solution is ready. See #475455.
5197 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5201 * gst/gstregistrybinary.c:
5202 * gst/gstregistryxml.c:
5203 Put more strings into the GLib quark table. No need to keep
5204 a hundred-something copies of identical version strings,
5205 license strings, package name strings and package origin
5208 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5210 * docs/manual/advanced-dataaccess.xml:
5211 Don't imply that it's okay to unconditionally change
5212 buffer data or buffer metadata in a pad probe callback,
5213 and a bunch of other comments. Fixes #430031.
5215 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5217 * win32/common/gstenumtypes.c:
5218 * win32/common/gstenumtypes.h:
5219 * win32/common/gstversion.h:
5220 Update generated files.
5222 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5224 * docs/manual/advanced-autoplugging.xml:
5225 Prefix section with broken code with a warning (see #342432).
5227 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5229 * docs/manual/appendix-integration.xml:
5230 * docs/manual/basics-init.xml:
5231 Call g_thread_init() before g_option_context_new() to
5232 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
5234 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5236 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5237 (gst_base_sink_queue_object_unlocked),
5238 (gst_base_sink_queue_object), (gst_base_sink_event),
5239 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
5240 When we received EOS and are waiting for when to post the EOS message,
5241 our state is prerolled and we should not return ASYNC.
5242 Reorganize some code paths to implement this behavior.
5244 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5246 Add unit test to verify above EOS fix.
5248 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5250 * plugins/elements/gsttypefindelement.c:
5251 (gst_type_find_element_have_type), (gst_type_find_element_init),
5252 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
5253 Move detecting the input caps of the sinkpad to the setcaps function.
5254 This allows us to update the output caps when we receive new input caps
5255 instead of always using the first detected caps.
5257 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5259 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5260 (gst_base_sink_get_position):
5261 Don't try to preroll non-async elements after a flush.
5262 Subtract latency form clock times when reporting position.
5264 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5266 * gst/gstpad.c: (gst_pad_pause_task):
5268 Small comment and documentation update.
5270 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5272 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5273 (gst_base_src_set_live), (gst_base_src_is_live),
5274 (gst_base_src_query_latency), (gst_base_src_perform_seek),
5275 (gst_base_src_default_event), (gst_base_src_wait),
5276 (gst_base_src_do_sync), (gst_base_src_get_range),
5277 (gst_base_src_pad_get_range), (gst_base_src_loop),
5278 (gst_base_src_unlock), (gst_base_src_unlock_stop),
5279 (gst_base_src_set_flushing), (gst_base_src_set_playing),
5280 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5281 (gst_base_src_change_state):
5282 Rework the locking of basesrc in a similar fashion to basesink. We
5283 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
5284 us to handle live sources and semi live ones much better.
5286 Fix unlocking when seeking, shutting down and pausing in live sources.
5288 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5290 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
5291 Fix compilation again.
5293 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5296 Use meaningful categories for the logs to clean the default one.
5298 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5300 * tests/check/pipelines/cleanup.c:
5301 Print message name and not just number.
5303 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5305 * docs/design/draft-tagreading.txt:
5306 Add some more thoughts.
5308 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5310 * tests/check/pipelines/simple-launch-lines.c:
5311 Print message name and not just number.
5313 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5315 * libs/gst/base/gsttypefindhelper.c:
5316 Speedup typefinding. This is work in progress (see #459862).
5318 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5321 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
5322 Spotted by Josep Torra Valles <josep@fluendo.com>.
5324 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
5327 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5328 field has moved to GstObject.
5330 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
5332 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
5333 (gst_base_src_get_range), (gst_base_src_change_state):
5334 Call unlock for live sources so that they can't get stuck in _create and
5335 produce a buffer before they are set back to PLAYING.
5337 2007-10-02 Edward Hervey <bilboed@bilboed.com>
5339 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5340 (gst_queue_locked_dequeue):
5341 Comment the segment-related code... in the PROPER function.
5342 See #482147 and my commit from yesterday.
5344 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
5346 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5347 Also initialize the counter that calculates the first timestamp on a
5348 buffer correctly for non-live sources.
5350 2007-10-01 Edward Hervey <bilboed@bilboed.com>
5352 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
5353 Disable code that's breaking the current-time-level reporting.
5356 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
5358 * docs/gst/gstreamer-sections.txt:
5359 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5360 as they shouldn't show up. Fixes the docs build.
5362 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
5365 Add an explicit variable importation needed on VS6 (only for MSC_VER)
5366 Define M_PI which is used in files which are including gstinfo.h.
5367 VS6 includes doesn't define it.
5368 * win32/common/libgstbase.def:
5369 * win32/common/libgstcontroller.def:
5370 * win32/common/libgstreamer.def:
5371 Add new exported functions and variables.
5372 * win32/vs6/libgstcontroller.dsp:
5373 * win32/vs6/libgstreamer.dsp:
5374 Update the list of files to build.
5376 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5378 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5380 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5381 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5382 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5383 Improve debugging. Fixes #480858.
5385 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5387 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5389 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5390 First patch of code cleanups, use the macros and right arguments in the
5391 macros to signal and lock the queue. See #480858.
5393 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
5395 * gst/gstbus.c: (poll_func):
5396 Improve debugging when dealing with _poll().
5398 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
5400 * gst/gstregistryxml.c:
5401 Fix memory leak I introduced a few days ago.
5403 2007-09-26 Michael Smith <msmith@fluendo.com>
5405 * gst/gstbuffer.c: (gst_buffer_finalize):
5406 Make it once again possible to free GstBuffers in the default
5408 The poisoning scribbles on parts of the miniobject we need in
5412 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
5414 * docs/gst/gstreamer-sections.txt:
5417 API: add GST_TAG_COMPOSER, fixes #459809.
5419 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
5423 Add the 3-clause BSD license and the MIT/X11 license to the license
5424 list. Fixes #479784.
5426 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
5428 * docs/faq/getting.xml:
5429 Add Q+A about different GStreamer versions (#364056).
5431 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5433 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5434 (gst_base_sink_event), (gst_base_sink_change_state):
5435 Return correct gboolean from query function.
5437 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5439 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5440 (gst_base_sink_event), (gst_base_sink_query),
5441 (gst_base_sink_change_state):
5442 Simplify latency query.
5443 When not synchronizing, we can report latency without querying the peer
5446 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5450 Fix small typos in the docs.
5452 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5454 * docs/design/draft-latency.txt:
5455 * docs/design/draft-push-pull.txt:
5456 * docs/design/draft-tagreading.txt:
5457 * docs/design/part-MT-refcounting.txt:
5458 * docs/design/part-activation.txt:
5459 * docs/design/part-block.txt:
5460 * docs/design/part-element-source.txt:
5461 * docs/design/part-events.txt:
5462 * docs/design/part-gstbin.txt:
5463 * docs/design/part-gstelement.txt:
5464 * docs/design/part-gstobject.txt:
5465 * docs/design/part-gstpipeline.txt:
5466 * docs/design/part-messages.txt:
5467 * docs/design/part-preroll.txt:
5468 * docs/design/part-push-pull.txt:
5469 * docs/design/part-qos.txt:
5470 * docs/design/part-query.txt:
5471 * docs/design/part-scheduling.txt:
5472 * docs/design/part-seeking.txt:
5473 * docs/design/part-segments.txt:
5474 * docs/design/part-states.txt:
5475 Documentation updates and typo fixes.
5477 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
5479 * plugins/elements/gstfakesink.c:
5480 Add some debug text to error message to indicate that
5481 we errored out on request.
5483 * tools/gst-launch.c:
5484 When the state change to PLAYING fails, check for an
5485 error message on the bus and print it.
5487 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5489 translated by: Jorge González González <aloriel@gmail.com>
5493 Added Spanish translation.
5495 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
5497 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5498 Fix printf arguments.
5500 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5502 * tests/check/generic/states.c:
5503 Improved state change unit test.
5505 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5508 Move priv to the right place.
5510 * gst/gstsystemclock.c:
5511 Add FIXME: and improve log.
5513 * tests/check/Makefile.am:
5514 * tests/examples/manual/Makefile.am:
5515 Work with all types of registries.
5517 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
5519 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5520 Don't unref the event after pushing it. Fixes #478401.
5522 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5525 * tests/examples/manual/.cvsignore:
5526 Ignore registries in any format.
5528 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
5530 * gst/glib-compat-private.h:
5531 Add compatibility macro for g_intern_string() for
5532 GLib-2.8 (any reason we can't just bump the
5533 requirement to at least 2.10?)
5535 * gst/gstpadtemplate.h:
5536 * gst/gstelementfactory.c:
5537 * gst/gstregistryxml.c:
5538 * gst/gstregistrybinary.c:
5539 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5540 up the internal code accordingly. This shouldn't be a problem, since
5541 there is no reason external code could ever assume the string in such
5542 a structure is dynamically allocated unless it did that itself; the
5543 use of g_strdup() is private to element factories. The new code also
5544 saves some memory by putting pad template name strings into the GLib
5545 quark table instead of allocating them dynamically.
5546 Declaring this field constant fixes warnings with g++-4.2 when using
5547 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5549 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5551 * gst/gstelementfactory.c:
5552 Release static caps. Fixes #475723.
5554 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
5558 Make some internal API take const gchar * instead of just
5559 gchar * to avoid compiler warnings with g++-4.2.2 when
5560 passing string constants (partially fixes #478092).
5562 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5564 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5565 A latency query fails when one of the sinks fail.
5567 * gst/gstelement.c: (gst_element_set_base_time):
5570 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5572 * gst/gstbin.c: (gst_bin_continue_func):
5573 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5574 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5575 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5577 Fix minor compilation warnings shown with Forte.
5579 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5581 * plugins/elements/gstqueue.c: (apply_buffer),
5582 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5583 Measure queue level based on the diff between head and tail timestamps
5584 even when pushing the first buffer.
5586 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5588 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5589 (gst_base_sink_event), (gst_base_sink_change_state):
5590 Sinks that don't preroll can always be queried for the latency.
5591 Don't post ASYNC start when we are not async.
5593 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5595 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5596 (gst_queue_handle_sink_event), (gst_queue_chain),
5597 (gst_queue_push_one), (gst_queue_handle_src_query),
5598 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5599 * plugins/elements/gstqueue.h:
5600 When downstream returns UNEXPECTED from pushing a buffer, don't try to
5601 push more buffers but allow pushing of EOS and NEWSEGMENT.
5602 Add some more debug info here and there. Fixes #476514.
5604 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5606 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5607 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5608 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5609 (gst_base_sink_set_flushing), (gst_base_sink_query),
5610 (gst_base_sink_change_state):
5611 Latency query is allowed after we are prerolled. Introduce a new flag
5612 for this and stop abusing other variables.
5614 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5616 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5617 Push OOB events downstream when we get them in send_event. This allows
5618 the application to insert events in the pipeline.
5619 Add some more comments.
5621 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5623 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5624 (do_bin_latency), (gst_bin_change_state_func):
5625 * gst/gstpipeline.c: (gst_pipeline_change_state):
5626 Move latency query from GstPipeline to GstBin so that we can also
5627 use it when async-handling is enabled on bins.
5629 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5631 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5632 (gst_base_src_do_sync), (gst_base_src_change_state):
5634 Clean up the timestamping and syncing code for pseudo live sources.
5636 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5638 Patch by: Steve Fink <sphink gmail com>
5640 * docs/manual/appendix-checklist.xml:
5641 Mention less -R switch in the section about debug output (#474055).
5643 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5645 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5646 Queue can latency to the pipeline up to the configured max size in time.
5647 Report this fact in the latency query.
5649 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5651 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5653 * libs/gst/controller/gstinterpolation.c:
5654 * libs/gst/controller/gstlfocontrolsource.c:
5655 Use gst_guint64_to_gdouble() when converting from a uint64 or
5656 GstClockTime to double to fix the build on win32. Fixes #474371.
5658 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5660 * gst/gstbuffer.c: (gst_buffer_finalize):
5661 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5662 When finalizing a buffer the complete struct is filled with 0xff,
5663 thus making a use of the buffer after the final unref impossible.
5665 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5667 * tests/check/libs/controller.c: (GST_START_TEST):
5668 Use fail_unless_equals_int(a, b) instead of
5669 fail_unless_equals (a == b) to get better output on failures.
5671 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5673 * tests/check/gst/gsturi.c:
5674 Also check for the other file URI variant on win32.
5676 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5678 * gst/gsturi.c: (gst_uri_get_location):
5679 If there's no hostname, we want to return 'c:/foo/bar.txt'
5680 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5682 * tests/check/gst/gsturi.c:
5683 Unit test for the above and a few more things.
5685 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5687 * docs/design/part-live-source.txt:
5688 Add docs on how live sources should timestamp.
5690 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5691 Add some more debug info.
5692 For subclasses that are live and like to sync, add aditional startup
5693 latency to sync time and timestamps so that we timstamp according to the
5696 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5699 Also do a g_type_class_ref() for the subbuffer type in
5702 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5704 * docs/gst/gstreamer-sections.txt:
5705 * gst/gstpad.c: (gst_pad_peer_query):
5707 Add function to perform a query on the peer of a pad.
5708 API: gst_pad_peer_query()
5710 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5712 * tests/check/gst/gstsystemclock.c:
5713 Cleanup the test a little (use gst-logging and not g_message). Improve
5714 test to check if a wait reached the target.
5716 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5718 * docs/libs/gstreamer-libs-sections.txt:
5719 Add new API to docs and fix the build.
5721 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5723 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5724 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5725 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5726 (gst_base_src_get_property), (gst_base_src_do_sync):
5727 * libs/gst/base/gstbasesrc.h:
5728 Add property to make the basesrc timestamp buffers based on the current
5730 API: GstBaseSrc::do-timestamp
5731 API: gst_base_src_set_do_timestamp()
5732 API: gst_base_src_get_do_timestamp()
5734 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5736 * docs/random/release:
5737 Really make sure translations are up-to-date before
5738 a release (#465010).
5740 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5742 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5743 Always destroy the timer, also in error cases.
5745 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5747 * docs/manual/highlevel-xml.xml:
5748 Fix XML example code. Fixes #472714.
5750 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5752 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5753 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5754 (gst_base_sink_query):
5755 Protect eos and have_preroll with the OBJECT lock so we don't need to
5756 take the PREROLL lock when querying the latency. Fixes #473846.
5758 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5761 Give some log-messages a category.
5763 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5765 * gst/gststructure.c:
5766 (gst_structure_fixate_field_nearest_fraction):
5767 Fix fraction list fixation code. Take the fraction with the smallest
5768 difference with the target instead of the first one in the list.
5770 * tests/check/gst/gststructure.c: (GST_START_TEST),
5771 (gst_structure_suite):
5772 Added test to verify correct fraction list fixation behaviour.
5774 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5776 * win32/common/libgstreamer.def:
5777 Export gst_bus_add_signal_watch too.
5779 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5781 * docs/libs/gstreamer-libs-sections.txt:
5782 Add new methods to docs.
5784 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5785 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5786 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5787 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5788 * libs/gst/base/gstbasesink.h:
5789 Add ts-offset property to fine-tune the synchronisation.
5790 API: GstBaseSink::ts-offset property
5791 API: gst_base_sink_set_ts_offset()
5792 API: gst_base_sink_get_ts_offset()
5794 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5796 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5797 (gst_base_sink_init), (gst_base_sink_set_sync),
5798 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5799 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5800 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5801 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5802 (gst_base_sink_get_property), (gst_base_sink_change_state):
5803 * libs/gst/base/gstbasesink.h:
5804 Add async property to instruct the sink never to inform the parent about
5805 ASYNC state changes, update docs.
5806 Check argument with g_return_* for the public functions.
5807 API: GstBaseSink::async property
5808 API: gst_base_sink_set_async_enabled()
5809 API: gst_base_sink_is_async_enabled()
5811 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5813 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5816 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5817 (gst_base_src_default_query), (gst_base_src_wait),
5818 (gst_base_src_do_sync), (gst_base_src_change_state):
5819 Rearrange some code so that we can add support for measuring the
5822 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5824 * docs/random/ensonic/dynlink.txt:
5825 More thoughs on this.
5827 * plugins/elements/gstcapsfilter.c:
5828 Add bugzilla ticket number to FIXME comment.
5830 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5832 * docs/design/part-TODO.txt:
5833 * docs/design/part-block.txt:
5836 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5839 Revert patch which uses $(gst_headers) instead of $^ because it
5842 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5844 * tests/check/gst/gstbin.c: (GST_START_TEST):
5845 Fix leaks in the new unit test.
5847 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5850 Don't use GST_INFO before the debug system is actually initialised
5851 (shouldn't do any harm, but won't print anything either, so we can
5852 just as well remove it).
5855 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5856 compilers that don't support variadic macros (such as MSVC), should
5857 check for debug_level <= __gst_debug_min as well, since that's the
5858 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5859 inline helper functions. Should improve performance a bit, but also
5860 makes sure uses of GST_INFO et.al are ignored if the debugging
5861 system isn't initialised yet (instead of printing an assertion
5864 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5866 patch by: David Nečas <yeti@physics.muni.cz>
5869 Replace some non portable makefile constructs.
5871 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5873 * common/gtk-doc-plugins.mak:
5874 Grrrrr. Don't remove the types file on make clean.
5876 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5878 * tools/gst-launch.1.in:
5879 Add colorspace to example pipeline. Fixes #458274.
5881 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5883 * docs/random/release:
5884 The release manager should run 'make download-po' before making a
5885 release to make sure translations are up-to-date.
5891 Add some new translations.
5893 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5895 * tools/gst-launch.c: (event_loop), (main):
5896 Don´t try to do any state management when a live pipeline posts
5898 Also make the buffering string translatable.
5900 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5902 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5903 (bin_handle_async_start), (gst_bin_handle_message_func):
5905 When adding elements, insert messages into the bus of the newly added
5906 element and make sure the element is the source of the message. This
5907 allows the parent bin to intercept the message and do the
5908 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5909 messages to the app (which is not allowed).
5912 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5913 Fix testsuite so that is does not work around messages that should not
5914 have been posted in the first place.
5916 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5918 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5919 (update_degree), (gst_bin_sort_iterator_next):
5920 Fix annoying bug in the sorted iterator where a sink that is not really
5921 a sink (when it has downstream links) screwed up the iterator.
5923 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5924 Unit test to verify the fix.
5926 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5929 Add some more docs for the messages.
5931 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5932 (gst_base_sink_query):
5933 Add some more debugging.
5935 * tools/gst-launch.c: (event_loop):
5936 When interrupting, don't try to set pipeline to PAUSED twice.
5938 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5941 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5942 (bin_handle_async_start), (gst_bin_handle_message_func):
5943 Move ASYNC_START message posting to where it belongs, similar to
5945 Don't post ASYNC_START when we are in error.
5946 Post ASYNC_START when we added an async element to a bin.
5948 2007-08-14 Julien MOUTTE <julien@moutte.net>
5950 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5951 generation from vargs. Fixes #466595.
5953 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5955 * gst/gstbin.c: (gst_bin_element_set_state):
5956 Always change the state of a NO_PREROLL element even if it has ASYNC
5957 elements inside (in case of a bin).
5959 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5960 Unit test for this case.
5962 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5964 * libs/gst/check/gstbufferstraw.c:
5965 * libs/gst/check/gstcheck.h:
5966 * libs/gst/controller/gstcontroller.c:
5967 * libs/gst/controller/gstcontrolsource.h:
5968 * libs/gst/controller/gstlfocontrolsource.h:
5969 * plugins/elements/gstcapsfilter.h:
5970 * plugins/elements/gstfdsink.h:
5971 * plugins/elements/gstfdsrc.h:
5972 Add more missing docs.
5974 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5976 * gst/gststructure.c:
5977 Add Since tag to docs.
5979 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5981 * docs/gst/gstreamer-sections.txt:
5982 * gst/gststructure.c: (gst_structure_get_uint):
5983 * gst/gststructure.h:
5984 Add function to get uint from a structure.
5985 API: gst_structure_get_uint()
5987 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5989 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5990 (gst_caps_intersect):
5991 Fix proper check for simple caps.
5993 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5995 * docs/gst/Makefile.am:
5996 * docs/libs/Makefile.am:
5997 Remove cruft and do some cleanups.
5999 * docs/gst/gstreamer-docs.sgml:
6000 * docs/libs/gstreamer-libs-docs.sgml:
6001 Prepare for comming gtkdoc features (rebase against online docs).
6003 2007-08-10 Michael Smith <msmith@fluendo.com>
6005 * docs/gst/gstreamer-sections.txt:
6006 Add gst_registry_add_path to docs.
6008 2007-08-10 Michael Smith <msmith@fluendo.com>
6010 * gst/gstregistry.h:
6011 Add gst_registry_add_path, which was missing from this header.
6013 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6015 * libs/gst/controller/gstlfocontrolsource.c:
6018 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6020 * libs/gst/base/gstbasesink.c:
6021 Don't send an async_start message during downwards state change if
6022 target state is less than READY
6024 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6026 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6030 Added Hungarian translation.
6032 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6039 Updated translations.
6041 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6043 * libs/gst/controller/Makefile.am:
6044 Dist gstlfocontrolsourceprivate.h
6046 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6048 * docs/libs/gstreamer-libs.types:
6049 Don't register the enum type gst_lfo_waveform_get_type() in the
6050 .types file - only GObject derived types belong.
6052 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6054 Patch by: <arenevier at fdn dot fr>
6057 Remove comma from last element in enum to avoid compile errors when
6058 using -pendantic. Fixes #464366.
6060 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6062 * docs/design/part-TODO.txt:
6063 Add some more TODO items
6065 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6068 * gst/gstcaps.c: (gst_caps_intersect):
6069 Optimize trivial intersection case between identical caps pointers.
6071 * gst/gstelement.c: (gst_element_continue_state),
6072 (gst_element_set_state_func):
6074 Fix spelling and grammar mistakes.
6076 2007-08-05 Stefan Kost <ensonic@users.sf.net>
6080 Update POTFILES. Fixes #461599.
6082 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6085 Fix confusing typo in debug output.
6087 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6089 reviewed by: Stefan Kost <ensonic@users.sf.net>
6091 * libs/gst/controller/Makefile.am:
6092 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6093 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6094 (gst_lfo_control_source_new),
6095 (gst_lfo_control_source_set_waveform),
6096 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6097 (gst_lfo_control_source_finalize),
6098 (gst_lfo_control_source_dispose),
6099 (gst_lfo_control_source_set_property),
6100 (gst_lfo_control_source_get_property),
6101 (gst_lfo_control_source_class_init):
6102 * libs/gst/controller/gstlfocontrolsource.h:
6103 * libs/gst/controller/gstlfocontrolsourceprivate.h:
6104 API: Add GstLFOControlSource, a control source that gives values
6105 for specific timestamps based on several periodic waveforms.
6108 * tests/check/libs/controller.c: (GST_START_TEST),
6109 (gst_controller_suite):
6110 * docs/libs/gstreamer-libs-docs.sgml:
6111 * docs/libs/gstreamer-libs-sections.txt:
6112 * docs/libs/gstreamer-libs.types:
6113 Add documentation and unit tests for GstLFOControlSource.
6115 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
6120 === release 0.10.14 ===
6122 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
6125 releasing 0.10.14, "Breathing Vacuum"
6127 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
6129 * gst/gstelement.c: (gst_element_class_set_details_simple):
6131 Make strings passed to gst_element_class_set_details_simple()
6132 constant, as they should be (#462752).
6134 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
6136 * gst/gstbin.c: (gst_bin_change_state_func),
6137 (bin_handle_async_done), (gst_bin_handle_message_func):
6138 Don't forget about the fact that some element went ASYNC even after a
6139 resync. This makes us post the ASYNC_DONE message correctly.
6142 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6144 * gst/gstregistry.c: (gst_registry_add_feature):
6145 When replacing an existing feature in the registry, make sure to
6146 continue holding a reference until we've replaced the name string
6147 within our feature hash table. Make sure to use g_hash_table_replace
6148 instead of g_hash_table_insert to ensure the new name string is used
6149 as a key instead of the old one that we're about to free.
6152 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6154 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6155 (gst_plugin_feature_set_name):
6156 Revert patch from #459466 until after the release and we can work
6157 out exactly what the problem is (if any).
6159 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
6161 * docs/gst/gstreamer-sections.txt:
6164 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
6166 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6168 * docs/libs/Makefile.am:
6169 Include our build-prefix libs and includes before the generic ones to
6170 avoid linking against the installed libs when we want the build-tree
6173 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
6175 Patch by: Steve Fink <sphink gmail com>
6177 * docs/pwg/building-testapp.xml:
6178 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
6179 if people try to build or install the example from the plugin
6180 template against a GStreamer from package using the configure
6183 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
6185 Patch by: Steve Fink <sphink gmail com>
6187 * tools/gst-inspect.1.in:
6188 Document --print-all and --print-plugin-auto-install-info command
6189 line options in man page.
6191 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
6193 * docs/gst/gstreamer-sections.txt:
6194 Add docs for new api function.
6196 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
6198 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
6199 * gst/gstelementfactory.h:
6200 API: gst_element_factory_has_interface()
6201 Added method to check if an element factory implements a named
6204 2007-07-25 Stefan Kost <ensonic@users.sf.net>
6207 * docs/gst/gstreamer.types.in:
6208 Another conditional doc check.
6211 * gst/gstparamspecs.h:
6212 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6217 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6219 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
6220 (gst_registry_binary_load_feature),
6221 (gst_registry_binary_load_plugin),
6222 (gst_registry_binary_read_cache):
6223 Print error just once and with additional info.
6225 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6227 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
6228 (helper_find_suggest), (helper_find_get_length),
6229 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
6230 (gst_type_find_helper_for_buffer):
6231 Cleanup the typefindhelper code and add private doc comments.
6233 2007-07-24 Edward Hervey <bilboed@bilboed.com>
6235 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6236 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
6237 Fix capsfilter for cases where the caps set on capsfilter will provide
6238 additional information.
6241 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6243 * gst/gsttypefindfactory.c:
6244 Fix docs that recommened wrong function to use.
6246 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6248 * tools/gst-inspect.c: (print_plugin_features):
6249 Also give media-type for typefinders in element output.
6251 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6253 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
6254 (gst_registry_remove_features_for_plugin_unlocked),
6255 (gst_registry_add_feature), (gst_registry_remove_feature),
6256 (gst_registry_lookup_feature_locked):
6257 * gst/gstregistry.h:
6258 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
6261 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6263 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6264 (gst_plugin_feature_set_name):
6265 Avoid double memory usage for pluginfeature names. Fixes #459466.
6267 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
6270 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
6271 driving the pipeline may need to explicitly check for NOT_LINKED as
6272 well, since IS_FATAL doesn't cover that.
6274 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
6276 * docs/pwg/advanced-types.xml:
6277 Fix typo and duplicate entry in video formats list.
6279 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
6281 * libs/gst/controller/gstinterpolation.c:
6282 Also round to the nearest int when using cubic interpolation.
6284 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
6286 * libs/gst/controller/gstinterpolation.c:
6287 When linearly interpolating integer types, round to the nearest int
6288 by adding 0.5. Don't do it for float/double types.
6289 Fixes the failing controller test on my machine, which is somehow
6290 rounding differently than on the buildbots.
6292 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6294 * tools/gst-plot-timeline.py:
6295 Better log parsing (categories can have -). Adjust text vs. lines, so
6296 that they span the same y-range.
6298 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6300 * docs/random/ensonic/audiobaseclasses.txt:
6301 * docs/random/ensonic/dynlink.txt:
6302 * docs/random/ensonic/profiling.txt:
6305 * docs/random/moving-plugins:
6306 Add note to use g_assert type macros.
6308 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6311 * libs/gst/check/Makefile.am:
6312 Add libm check as we use in for plugins.
6314 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
6316 * gst/gstbin.c: (gst_bin_continue_func):
6317 Check that the state_cookie hasn't changed since the continue_func
6318 was scheduled. Avoids problems where the state changes back to
6319 something it shouldn't be because it was changed in the meantime.
6321 2007-07-17 Stefan Kost <ensonic@users.sf.net>
6323 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
6324 (gst_registry_binary_save_string),
6325 (gst_registry_binary_save_pad_template),
6326 (gst_registry_binary_save_feature),
6327 (gst_registry_binary_save_plugin),
6328 (gst_registry_binary_load_feature),
6329 (gst_registry_binary_load_plugin),
6330 (gst_registry_binary_read_cache):
6331 Fix memory leak. Be less verbose in the log.
6333 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6335 * tests/check/elements/.cvsignore:
6336 Add file to cvsignore as commanded.
6338 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6340 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6341 (mq_dummypad_event), (run_output_order_test):
6342 Use a GStaticMutex to protect all cases where libcheck
6343 fail_if/fail_unless macros might be called from multiple threads
6344 simultaneously to avoid errors like:
6345 "check_pack.c:107: :-1081725400:Bad message type arg"
6347 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6349 * tests/check/pipelines/stress.c: (GST_START_TEST):
6350 Make sure we set the pipeline back to the NULL state before
6351 dropping our final reference.
6353 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6355 * tests/check/elements/tee.c: (GST_START_TEST):
6356 Make the tee stress-test a little less stressful so it doesn't just
6357 time out on slow-machines, and remove a small race when it's starting
6358 up by adding a get_state() call.
6360 2007-07-16 Stefan Kost <ensonic@users.sf.net>
6363 Avoid reading registry twice on startup. Fixes #457322.
6365 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6367 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6368 * pkgconfig/gstreamer-check.pc.in:
6369 Substitute the CFLAGS for libcheck into our .pc file too so that
6370 dependent modules will pick it up properly if libcheck is installed
6371 into some other prefix.
6373 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6376 Revert the pkg-config check for libcheck, since it pulls in the
6377 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6378 a proper solution, either from the check project, or something else.
6380 2007-07-12 Stefan Kost <ensonic@users.sf.net>
6383 Use pkg-config to locate check.
6385 2007-07-10 Stefan Kost <ensonic@users.sf.net>
6392 Add deprecation guards.
6394 * libs/gst/base/gstcollectpads.h:
6395 Don't document object (this is implicitly private).
6397 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
6399 * gst/gststructure.c: (gst_structure_parse_value):
6400 When deserialising foo=bar without a type cast, check if it's a
6401 boolean before falling back to a string type, otherwise things like
6402 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6403 because the filtercaps end up having a signed=(string)true field,
6404 which causes problems later when intersection caps.
6406 * tests/check/gst/gststructure.c: (GST_START_TEST):
6407 Add a unit test for this.
6409 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
6411 Reviewed by: Stefan Kost <ensonic@users.sf.net>
6413 * libs/gst/controller/Makefile.am:
6414 * libs/gst/controller/gstcontroller.c:
6415 (gst_controlled_property_add_interpolation_control_source),
6416 (gst_controlled_property_new), (gst_controlled_property_free),
6417 (gst_controller_find_controlled_property),
6418 (gst_controller_new_valist), (gst_controller_new_list),
6419 (gst_controller_new), (gst_controller_remove_properties_valist),
6420 (gst_controller_remove_properties_list),
6421 (gst_controller_remove_properties),
6422 (gst_controller_set_property_disabled),
6423 (gst_controller_set_disabled), (gst_controller_set_control_source),
6424 (gst_controller_get_control_source), (gst_controller_get),
6425 (gst_controller_sync_values), (gst_controller_get_value_array),
6426 (_gst_controller_dispose), (gst_controller_get_type),
6427 (gst_controlled_property_set_interpolation_mode),
6428 (gst_controller_set), (gst_controller_set_from_list),
6429 (gst_controller_unset), (gst_controller_unset_all),
6430 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6431 * libs/gst/controller/gstcontroller.h:
6432 * libs/gst/controller/gstcontrollerprivate.h:
6433 * libs/gst/controller/gstcontrolsource.c:
6434 (gst_control_source_class_init), (gst_control_source_init),
6435 (gst_control_source_get_value),
6436 (gst_control_source_get_value_array), (gst_control_source_bind):
6437 * libs/gst/controller/gstcontrolsource.h:
6438 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6439 (gst_object_get_control_source):
6440 * libs/gst/controller/gstinterpolation.c:
6441 (gst_interpolation_control_source_find_control_point_node),
6442 (gst_interpolation_control_source_get_first_value),
6443 (_interpolate_none_get), (interpolate_none_get),
6444 (interpolate_none_get_boolean_value_array),
6445 (interpolate_none_get_enum_value_array),
6446 (interpolate_none_get_string_value_array),
6447 (_interpolate_trigger_get), (interpolate_trigger_get),
6448 (interpolate_trigger_get_boolean_value_array),
6449 (interpolate_trigger_get_enum_value_array),
6450 (interpolate_trigger_get_string_value_array):
6451 * libs/gst/controller/gstinterpolationcontrolsource.c:
6452 (gst_control_point_free), (gst_interpolation_control_source_reset),
6453 (gst_interpolation_control_source_new),
6454 (gst_interpolation_control_source_set_interpolation_mode),
6455 (gst_interpolation_control_source_bind),
6456 (gst_control_point_compare), (gst_control_point_find),
6457 (gst_interpolation_control_source_set_internal),
6458 (gst_interpolation_control_source_set),
6459 (gst_interpolation_control_source_set_from_list),
6460 (gst_interpolation_control_source_unset),
6461 (gst_interpolation_control_source_unset_all),
6462 (gst_interpolation_control_source_get_all),
6463 (gst_interpolation_control_source_get_count),
6464 (gst_interpolation_control_source_init),
6465 (gst_interpolation_control_source_finalize),
6466 (gst_interpolation_control_source_dispose),
6467 (gst_interpolation_control_source_class_init):
6468 * libs/gst/controller/gstinterpolationcontrolsource.h:
6469 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6470 API: Refactor GstController into the core controller which can take
6471 a GstControlSource for providing actual values for timestamps.
6472 Implement a interpolation control source and use this for backward
6473 compatibility, deprecate a bunch of functions that are now handled
6474 by GstControlSource or GstInterpolationControlSource.
6475 Make it possible to disable the controller completely or only for
6476 specific properties. Fixes #450711.
6477 * docs/libs/gstreamer-libs-docs.sgml:
6478 * docs/libs/gstreamer-libs-sections.txt:
6479 * docs/libs/gstreamer-libs.types:
6480 Add new functions and classes to the docs.
6481 * tests/check/libs/controller.c: (GST_START_TEST),
6482 (gst_controller_suite):
6483 * tests/examples/controller/audio-example.c: (main):
6484 Port unit test and example to the new API and add some new
6487 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
6489 Patch by: Mark Nauwelaerts <manauw at skynet be>
6491 * plugins/elements/gstmultiqueue.c:
6492 (gst_multi_queue_get_internal_links), (apply_buffer),
6493 (single_queue_overrun_cb), (gst_single_queue_new):
6494 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6495 the pipeline layout can be tracked correctly. Fixes #453732.
6497 2007-07-05 Stefan Kost <ensonic@users.sf.net>
6499 * docs/gst/Makefile.am:
6500 * docs/libs/Makefile.am:
6501 * docs/plugins/Makefile.am:
6502 Simplify --extra-dir as gtkdoc scans recursively.
6504 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6506 * tools/gst-launch.c: (main):
6507 When we got an error, there is no point in waiting for preroll when
6510 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6512 * plugins/elements/gsttee.c: (gst_tee_base_init),
6513 (gst_tee_request_new_pad), (gst_tee_release_pad),
6514 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6515 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6517 Be a lot smarter when deciding what srcpad to use for proxying
6518 the buffer_alloc. Also handle pad added/removed when doing so.
6520 Keep track of what pads we already pushed on in case we have pads
6521 added/removed while pushing. Fixes #374639
6523 * tests/check/Makefile.am:
6524 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6526 Added unit test for pad resync.
6528 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6532 Updated translations.
6534 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6536 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6540 Added new Finnish translation.
6542 2007-06-28 Wim Taymans <wim@fluendo.com>
6544 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6545 (single_queue_overrun_cb):
6546 When figuring out when a queue is filled, use our internal time estimate
6547 based on segments, just like check_full does.
6549 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6551 * gst/gstminiobject.c: (gst_mini_object_get_type):
6552 Remove 3 do-nothing methods.
6554 2007-06-27 Wim Taymans <wim@fluendo.com>
6556 Patch by: Tim Angus <tim at ngus dot net>
6558 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6559 (gst_capsfilter_set_property):
6560 Take a reference instead of a copy when setting "caps".
6561 Fix documentation to clarify this behaviour. Fixes #449414.
6563 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6565 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6566 * gst/gstplugin.c: (gst_plugin_init):
6567 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6568 * gst/gstquery.c: (gst_query_get_type):
6569 * gst/gstregistry.c: (gst_registry_init):
6570 * gst/gsturi.c: (gst_uri_handler_base_init):
6571 Remove empty instance_init() functions to save relocs and lessen the
6572 noise. Remove some of the function prototypes that are doubled by
6575 2007-06-27 Wim Taymans <wim@fluendo.com>
6577 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6579 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6580 Add peer and direction in the XML serialisation of ghostpads.
6583 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6586 Preserve useful information, thanks Tim.
6588 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
6590 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6591 (gst_single_queue_flush), (apply_segment), (apply_buffer),
6592 (gst_single_queue_push_one), (gst_multi_queue_loop),
6593 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6594 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6595 (compute_high_id), (gst_single_queue_new):
6596 * plugins/elements/gstmultiqueue.h:
6597 Take the multiqueue lock when updating the fill level so we don't get
6600 After applying a buffer or event on the src pad segment, make sure to
6601 call gst_data_queue_limits_changed() to get the data queue to unblock
6602 and check the filled state again.
6604 Rework the not-linked pad handling so the logic is that not-linked
6605 pads can push as fast as they like, but only so they never get
6606 ahead of any linked pads.
6608 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6609 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6610 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6612 Add a test to check that not-linked pads always stay behind
6617 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
6619 * docs/random/release:
6620 Some updates to the release procedure.
6622 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6624 * gst/gstelementfactory.c: (__gst_element_details_clear):
6625 Microoptimization that saves stunning 80 bytes.
6627 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6629 * docs/plugins/gstreamer-plugins.args:
6630 * docs/plugins/inspect/plugin-coreelements.xml:
6631 * docs/plugins/inspect/plugin-coreindexers.xml:
6632 Update docs with caps info.
6634 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6637 Updated Italian translation.
6639 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6643 Update Vietnamese translations.
6645 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6647 * libs/gst/base/gstbasesink.c:
6648 Remove unused signal enum.
6650 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6652 * docs/gst/gstreamer-sections.txt:
6654 * gst/gstutils.c: (gst_type_register_static_full):
6655 Beef up and include the docs for gst_type_register_static_full and
6656 gst_element_class_set_details_simple and add the API keyword
6659 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6661 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6662 (update_time_level), (gst_single_queue_push_one),
6663 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6664 (single_queue_overrun_cb), (single_queue_underrun_cb),
6665 (single_queue_check_full):
6666 Fix setting max-* properties after adding queues.
6667 Use IS_FILLED for checking visible items.
6668 Signal overrun if multiple queues overrun.
6669 Add extra debug output.
6670 Patch by: Wim Taymans <wim@fluendo.com>
6672 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6674 * gst/gstelement.c: (gst_element_class_set_details_simple):
6676 * gst/gstutils.c: (gst_type_register_static_full):
6678 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6679 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6680 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6681 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6682 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6683 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6684 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6685 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6686 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6687 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6688 (apply_buffer), (gst_queue_chain):
6689 * plugins/elements/gsttee.c: (gst_tee_base_init):
6690 * plugins/elements/gsttypefindelement.c:
6691 (gst_type_find_element_base_init),
6692 (gst_type_find_element_class_init):
6693 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6694 API: add gst_type_register_static_full
6695 API: add gst_element_class_set_details_simple
6697 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6699 * docs/pwg/advanced-types.xml:
6700 Fix typo in iana.org URI.
6702 2007-06-19 Andy Wingo <wingo@pobox.com>
6704 * tests/check/pipelines/simple-launch-lines.c
6705 (test_state_change_returns): Enable pull-mode tests now that
6706 basesink has been fixed.
6708 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6709 Changed from gst_base_sink_is_prerolled, reversing the sense of
6710 the return value. Returns FALSE also if the sink is in pull mode,
6711 in which case it needs no preroll.
6712 (gst_base_sink_query, gst_base_sink_change_state): Update for
6713 needs_preroll change.
6714 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6715 chaining up, in which we return SUCCESS directly if we activated
6716 in pull mode instead of ASYNC. Involves countering an async_start
6717 message sent before chaining up; not sure if this is correct, in
6718 an ideal world we only send async-start when activating in push
6721 * tests/check/pipelines/simple-launch-lines.c
6722 (test_state_change_returns): New test, partially disabled until
6725 2007-06-19 Wim Taymans <wim@fluendo.com>
6727 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6728 (gst_multi_queue_sink_event):
6731 2007-06-19 Wim Taymans <wim@fluendo.com>
6733 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6734 (gst_bin_change_state_func), (bin_push_state_continue),
6735 (bin_handle_async_start), (bin_handle_async_done),
6736 (gst_bin_handle_message_func):
6737 Move the common code for posting state-change messages into
6739 Broadcast the state signal after we posted the messages.
6740 Mark the bin as busy when it's doing a state-change.
6741 Make sure async-start/done messages don't interfere with the bin's
6742 state when it's busy.
6743 After the state change, let the bin check which elements completed the
6744 state change while it was busy so that it can update its state.
6746 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6748 * docs/random/release:
6749 Add a note about updating the doap file to the release checklist
6751 2007-06-18 Wim Taymans <wim@fluendo.com>
6753 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6754 (gst_single_queue_push_one), (gst_multi_queue_chain),
6755 (gst_multi_queue_sink_event):
6756 Make sure we don't reference the buffer/event after we have given away
6757 ownership in the queue.
6759 2007-06-18 Wim Taymans <wim@fluendo.com>
6761 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6762 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6763 Update queue state _after_ adding the item in the queue because else we
6764 could end up being full without the element added yet.
6766 2007-06-18 Wim Taymans <wim@fluendo.com>
6768 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6769 (gst_bin_remove_func), (gst_bin_get_state_func),
6770 (gst_bin_element_set_state), (gst_bin_continue_func),
6771 (bin_push_state_continue), (bin_handle_async_start),
6772 (bin_handle_async_done), (gst_bin_handle_message_func):
6774 Immediatly commit the toplevel bin state when receiving an async-done
6775 message. This enables us to avoid spawning a thread to commit the state
6776 in some common cases and it also avoids some races.
6777 Avoid spawning a state thread when adding/removing async elements to a
6778 toplevel bin. Instead we immediatly update the bin state.
6779 Get rid of iterating all the children when getting the state in the bin
6780 because it is now always up-to-date.
6781 Fix bug where locked elements would always return _SUCCESS even it they
6782 returned NO_PREROLL before being locked.
6783 Fix the order of the state_change, async-start/done messages that was
6784 sometimes incorrect.
6785 Mark the state_dirty field as deprecated, we don't need it anymore as we
6786 are always up-to-date.
6788 * gst/gstelement.c: (gst_element_get_state_func),
6789 (gst_element_continue_state):
6790 Small debug inprovements.
6791 Return the previous element state return when nothing is pending instead
6792 of blindly returning SUCCESS.
6794 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6796 Add a whole bunch of new testcases.
6798 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6802 Update translations.
6804 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6807 Fix typo in the docs.
6809 2007-06-15 Wim Taymans <wim@fluendo.com>
6811 * docs/libs/gstreamer-libs-sections.txt:
6812 Add docs for new methods.
6814 2007-06-15 Wim Taymans <wim@fluendo.com>
6816 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6817 (gst_multi_queue_item_new):
6818 Don't use GSlice because we don't depend on >= 2.10 yet.
6820 2007-06-15 Wim Taymans <wim@fluendo.com>
6822 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6823 (update_time_level), (apply_segment), (apply_buffer),
6824 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6825 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6826 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6827 (single_queue_underrun_cb), (single_queue_check_full):
6828 Remove debug printf.
6830 2007-06-15 Wim Taymans <wim@fluendo.com>
6832 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6833 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6834 (gst_data_queue_set_flushing), (gst_data_queue_push),
6835 (gst_data_queue_pop), (gst_data_queue_drop_head),
6836 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6837 * libs/gst/base/gstdataqueue.h:
6839 Added methods to get the current levels and to inform the queue that the
6840 'full' limits changed.
6842 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6843 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6844 (gst_single_queue_flush), (update_time_level), (apply_segment),
6845 (apply_buffer), (gst_single_queue_push_one),
6846 (gst_multi_queue_item_steal_object),
6847 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6848 (gst_multi_queue_loop), (gst_multi_queue_chain),
6849 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6850 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6851 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6852 (single_queue_underrun_cb), (single_queue_check_full),
6853 (gst_single_queue_new):
6854 Keep track of time in the queue by measuring the difference between
6855 running_time on input and output. This gives more accurate results and
6856 can compensate for segments correctly.
6857 Make a queue by default only 5 buffers deep. We will now increase the
6858 buffer size depending on the filledness of the other queues.
6859 Factor out commong flush code.
6860 Make sure we don't add additional refcounts to buffers when we can avoid
6862 Propagate GstFlowReturn differently.
6863 Use GSlice for intermediate GstMultiQueueItems.
6865 Resize queues on over and underruns based on filled level of other
6867 When checking if the queue is filled, prefer to measure in time if we
6868 can and fall back to bytes when no time is known.
6870 * plugins/elements/gstqueue.c:
6873 2007-06-15 Wim Taymans <wim@fluendo.com>
6875 * libs/gst/base/gstbasetransform.c:
6876 (gst_base_transform_sink_event):
6877 Work around the brokenness of the event vmethod in basetransform. Prefer
6878 to return TRUE when the subclass returned FALSE (meaning don't forward
6881 * libs/gst/base/gstbasetransform.h:
6884 2007-06-15 Wim Taymans <wim@fluendo.com>
6886 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6887 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6888 (gst_base_src_default_query), (gst_base_src_get_range),
6889 (gst_base_src_start):
6890 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6893 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6895 * docs/pwg/advanced-types.xml:
6896 Added more formats to caps table.
6898 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6900 * tools/gst-launch.c: (main):
6901 Remove crufy code. GOption does not need this workaround.
6903 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6905 * libs/gst/controller/gstcontroller.c:
6906 (gst_controlled_property_set_interpolation_mode):
6907 Fix wrong getter for enums in controller.
6909 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6911 * libs/gst/check/gstcheck.c: (gst_check_init):
6912 Intercept criticals and warnings in the Gst-Phonon log domain, so
6913 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6916 2007-06-14 Edward Hervey <edward@fluendo.com>
6918 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6919 Since this file doesn't include "gst.h" it will not go through the
6920 macros that disable GST_LOG if debugging was disabled.
6922 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6924 * libs/gst/check/Makefile.am:
6925 * libs/gst/check/gstcheck.h:
6926 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6927 * pkgconfig/gstreamer-check.pc.in:
6928 Ugly 'fix' for the controller unit test on the p5 bot: in
6929 fail_unless_equals_float() check whether the values are 'almost
6930 equal' by allowing a small absolute error, which should be good
6931 enough for our use cases (normal numbers and values close to 0).
6932 Proper fixage left to floating point arithmetic aficionados.
6934 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6936 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6937 (gst_base_sink_render_object), (gst_base_sink_get_position):
6938 Add two breaks thats where missing.
6940 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6942 * docs/libs/gstreamer-libs-sections.txt:
6943 * libs/gst/check/gstcheck.h:
6944 API: add fail_unless_equals_float() and assert_equals_float().
6945 Add documentation for some of the macros.
6947 * tests/check/libs/controller.c: (GST_START_TEST):
6948 Use newly-added asserts.
6950 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6952 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6953 Show the caps change in the log to help spotting the case of not
6954 exactly matching caps.
6956 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6958 * docs/pwg/building-boiler.xml:
6959 Fix typos, spotted by Thijs Vermeir (#447190).
6961 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6963 * docs/plugins/tmpl/.cvsignore:
6964 Ignore file to keep the buildbots happy
6966 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6968 * docs/plugins/Makefile.am:
6969 * docs/plugins/gstreamer-plugins-docs.sgml:
6970 * docs/plugins/gstreamer-plugins-sections.txt:
6971 Pull fdsink into the docs too.
6973 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6975 * libs/gst/controller/gstinterpolation.c:
6976 Actually use the new functions with min/max checks for the trigger and
6977 none interpolation modes for get() and get_value_array() instead of
6980 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6982 * libs/gst/controller/gstcontroller.c:
6983 (gst_controlled_property_free):
6984 Unset the minimum and maximum GValues when freeing the corresponding
6985 GstControllerProperty struct.
6987 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6989 * libs/gst/controller/gstcontroller.c:
6990 (gst_controlled_property_new):
6991 * libs/gst/controller/gstcontrollerprivate.h:
6992 * libs/gst/controller/gstinterpolation.c:
6993 (gst_controlled_property_find_control_point_node),
6994 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6995 (interpolate_none_get_string_value_array),
6996 (interpolate_trigger_get),
6997 (interpolate_trigger_get_enum_value_array),
6998 (interpolate_trigger_get_string_value_array):
6999 Protect against values larger or smaller than the minimum or maximum
7000 allowed value for the property when using values that can be compared.
7002 Optimize trigger interpolator a bit by taking the last requested value
7003 into account instead of always looping through the complete list.
7005 Fix coding style a bit, everywhere else we use "return foo" instead
7008 * tests/check/libs/controller.c: (GST_START_TEST),
7009 (gst_controller_suite):
7010 Add unit test for the protection against too large or too small
7013 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7015 * docs/random/slomo/controller.txt:
7016 Add some thoughts about the future of the controller.
7018 2007-06-08 Wim Taymans <wim@fluendo.com>
7020 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7021 Don't overflow in retimestamping code.
7023 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7025 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7026 Use gst_util_guint64_to_gdouble for conversions.
7027 * win32/common/libgstreamer.def:
7028 Add new exported functions.
7030 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7033 Small docs addition.
7035 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7038 Remove that test line again.
7040 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7043 Test commit mail sending.
7045 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7048 Fix typo and test commit mail sending.
7050 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7052 * tests/examples/controller/audio-example.c:
7053 Improve comment and test commit mail sending.
7055 2007-06-07 Wim Taymans <wim@fluendo.com>
7057 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7058 (gst_bin_remove_func), (gst_bin_element_set_state),
7059 (bin_handle_async_start), (bin_handle_async_done),
7060 (gst_bin_handle_message_func):
7061 Add helper function to find messages.
7062 Generate the async-done messages together with the state change
7064 Small cleanups in handling toplevel bins.
7066 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7068 * libs/gst/base/gstdataqueue.c:
7069 * libs/gst/base/gstdataqueue.h:
7070 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7071 (gst_multi_queue_item_new), (gst_multi_queue_chain),
7072 (gst_multi_queue_sink_event):
7073 * tests/check/elements/multiqueue.c: (multiqueue_suite):
7074 Fix multiqueue leaking buffers and events when downstream or the
7075 queue are flushing. Make refcounting assumptions explicit and
7076 document them (shouldn't break existing code that uses it other than
7077 maybe leak miniobjects, but that already happens anyway). Add unit
7078 test for the most common flushing case. Fixes #423700.
7080 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7082 * libs/gst/controller/gstcontroller.c:
7083 Clarify docs: The get_all, get_value_array(s) functions
7084 don't modify the GObject properties.
7086 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7088 * libs/gst/controller/gstcontroller.c:
7089 (gst_controlled_property_set_interpolation_mode),
7090 (gst_controlled_property_prepend_default),
7091 (gst_controlled_property_new), (gst_controller_set_unlocked),
7092 (gst_controller_set), (gst_controller_set_from_list),
7093 (gst_controller_unset), (gst_controller_unset_all):
7094 * libs/gst/controller/gstcontrollerprivate.h:
7095 * libs/gst/controller/gstinterpolation.c:
7096 Factor out the 'set' logic into gst_controller_set_unlocked for the
7097 gst_controller_set and gst_controller_set_from_list functions.
7099 To make life of the interpolators easier always add a control point
7100 at timestamp zero with the default value.
7102 In the linear interpolator make things more obvious by better variable
7105 Implement cubic interpolation mode (by using a natural cubic spline)
7106 and map the quadratic interpolation mode to this too (as quadratic
7107 doesn't make much sense, see discussion on the list).
7109 * tests/check/libs/controller.c: (GST_START_TEST),
7110 (gst_controller_suite):
7111 Add unit test for the cubic interpolation mode and check everywhere
7112 if the interpolation mode could be set as expected.
7114 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7116 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
7117 Don't use GLib-2.10 functions, we still depend on
7118 GLib-how-old-is-it-again-2.8.
7120 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7122 * docs/gst/gstreamer-sections.txt:
7126 * gst/gstparamspecs.c: (_gst_param_fraction_init),
7127 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
7128 (_gst_param_fraction_values_cmp),
7129 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
7130 * gst/gstparamspecs.h:
7132 * tests/check/Makefile.am:
7133 * tests/check/gst/.cvsignore:
7134 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
7135 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
7136 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
7137 (GST_START_TEST), (gst_param_spec_suite):
7138 API: add GstParamSpecFraction, so elements can have fraction
7139 properties without lots of painful string parsing (#444648).
7141 2007-06-05 Wim Taymans <wim@fluendo.com>
7143 * gst/gstobject.c: (gst_object_class_init):
7144 Fix signal signature.
7147 Add small clarification in the api docs.
7149 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
7150 States are protected with object lock.
7152 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7155 I should probably be listed as an author by now.
7157 * docs/random/release:
7158 Update the release doc
7160 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
7163 Make docs for gst_value_compare() mention return enums that
7166 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7171 === release 0.10.13 ===
7173 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7176 releasing 0.10.13, "With or without you"
7178 2007-05-25 Wim Taymans <wim@fluendo.com>
7180 * gst/gstbin.c: (bin_handle_async_done):
7181 Make sure that the child bin stops after completing the async state
7182 change so that the parent can continue the state change to PLAYING.
7185 2007-05-25 Wim Taymans <wim@fluendo.com>
7187 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7188 (unref_data), (gst_collect_pads_remove_pad),
7189 (gst_collect_pads_check_pads):
7190 Use additional refcounting to avoid crashes when dynamically adding and
7191 removing pads. Fixes #420206.
7193 2007-05-24 Wim Taymans <wim@fluendo.com>
7195 * tools/gst-launch.c: (event_loop):
7196 When buffering goes from a two digit to a single digit number, make sure
7197 to remove the old second digit by writing a blank over it.
7199 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
7201 * libs/gst/base/gstdataqueue.c:
7202 Eliminate tabs and trailing comma in enum list; fix some typos.
7204 2007-05-24 Wim Taymans <wim@fluendo.com>
7206 * tests/check/gst/gstbin.c: (GST_START_TEST):
7207 Allow refcount of 3 and 4 because some state thread might still be busy
7210 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
7212 * plugins/elements/Makefile.am:
7213 * plugins/elements/gstmultiqueue.h:
7214 * plugins/elements/gstqueue.h:
7215 These are not installed headers, no need for padding.
7217 2007-05-24 Wim Taymans <wim@fluendo.com>
7219 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
7220 (gst_bin_continue_func):
7221 Enable latency for next release.
7222 Restore STATE_LOCK around recalc_state that was left out during the
7223 rewrite and could result in racy behaviour when _get_state and
7224 recalc_state are run concurrently. See #440463.
7226 2007-05-23 Wim Taymans <wim@fluendo.com>
7228 * tests/check/gst/gstsystemclock.c: (store_callback),
7230 Improve test_async_order to also work when both timers are already
7231 expired when we get scheduled to check it.
7233 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7235 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
7236 (gst_bin_set_property), (gst_bin_get_property),
7237 (gst_bin_remove_func), (gst_bin_handle_message_func):
7239 'private' is a c++ keyword, let's not use that in header files,
7240 otherwise c++ compilers will throw a tantrum.
7242 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7244 * plugins/elements/gstelements.c:
7245 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
7246 (gst_file_sink_get_current_offset):
7247 * plugins/indexers/gstindexers.c: (plugin_init):
7248 Use #ifdef for HAVE_XYZ for consistency.
7250 * tests/check/Makefile.am:
7251 * tests/check/elements/.cvsignore:
7252 * tests/check/elements/filesink.c: (setup_filesink),
7253 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
7254 Add some unit tests for filesink.
7256 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7258 Patch by: Mark Nauwelaerts <manauw at skynet be>
7260 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7261 (gst_file_sink_query), (gst_file_sink_do_seek),
7262 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7263 * plugins/elements/gstfilesink.h:
7264 Fix position reporting; rename data_written member to current_pos to
7265 reflect its real meaning (fixes #412648).
7267 2007-05-22 Edward Hervey <edward@fluendo.com>
7269 * docs/gst/gstreamer-sections.txt:
7270 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7271 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
7272 (gst_bin_remove_func), (gst_bin_handle_message_func):
7274 Add a property for bins that handle the state change of their childs.
7277 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
7279 * libs/gst/controller/gstinterpolation.c:
7280 Use an array of the correct type when using _get_value_array with
7281 linear interpolation.
7283 2007-05-22 Stefan Kost <ensonic@users.sf.net>
7285 * gst/gstelement.c (gst_element_requires_clock,
7286 gst_element_provides_clock, gst_element_request_pad,
7287 gst_element_class_set_details, gst_element_class_set_details_simple,
7288 gst_element_default_send_event, gst_element_abort_state,
7289 gst_element_continue_state, gst_element_set_state,
7290 gst_element_set_state_func, iterator_activate_fold_with_resync):
7291 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
7292 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
7293 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
7294 gst_pad_get_range, gst_pad_pull_range):
7295 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
7296 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
7297 GstPadActivateModeFunction, GstPadChainFunction,
7298 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
7299 GstPadFixateCapsFunction, GstPadTemplate):
7300 * gst/gstpipeline.c (gst_pipeline_change_state,
7301 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
7302 gst_pipeline_set_clock, gst_pipeline_auto_clock,
7303 gst_pipeline_get_delay):
7304 Whitespace and docs fixes.
7306 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7308 * libs/gst/controller/gstinterpolation.c:
7309 (interpolate_trigger_get_enum_value_array),
7310 (interpolate_trigger_get_string_value_array):
7311 Add support for retrieving value arrays when using the trigger
7314 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7316 * libs/gst/controller/gstcontroller.c:
7317 (gst_controller_get_value_array):
7318 * libs/gst/controller/gstcontroller.h:
7319 Clarify the docs of gst_controller_get_value_array(): The array where
7320 the values should be written to must be allocated as there seems to be
7321 no way to get the size of a random GType. This doesn't change any
7322 behaviour. Also fix some typos all over the place and remove an unused,
7323 commented function that is not necessary as g_object_set() could be
7325 * tests/check/libs/controller.c: (GST_START_TEST),
7326 (gst_controller_suite):
7327 Add unit test for gst_controller_get_value_array().
7329 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
7331 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7333 Disable part of the gst_buffer_try_new_and_alloc test, because
7334 it can happily succeed on 64-bit systems where there's more address
7337 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7339 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7340 Add unit test for the improved caps checking from bug #421543.
7342 2007-05-21 Wim Taymans <wim@fluendo.com>
7344 * docs/design/part-synchronisation.txt:
7347 * gst/gstbin.c: (gst_bin_query):
7348 * plugins/elements/gstqueue.c: (apply_segment):
7354 2007-05-21 Wim Taymans <wim@fluendo.com>
7356 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7357 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7358 (gst_pad_configure_src):
7359 Added simple version of improved caps checking. It was previously
7360 assumed that a setcaps function would check the validity of the caps but
7361 people prefer us to check caps against the template automatically.
7364 2007-05-21 Wim Taymans <wim@fluendo.com>
7366 * libs/gst/base/gstbasetransform.h:
7367 Fix macro for locking/unlocking the transform lock.
7369 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
7371 * docs/plugins/tmpl/.cvsignore:
7374 2007-05-18 Edward Hervey <edward@fluendo.com>
7376 * plugins/elements/gstqueue.c: (gst_queue_loop):
7377 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7378 for the subtle art of warning a potentially blocking thread that it
7379 should check the source pad return value, and relay the information
7382 2007-05-18 Edward Hervey <edward@fluendo.com>
7384 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7385 Release the queue lock !
7387 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7389 * docs/libs/gstreamer-libs-sections.txt:
7390 Add the two new controller functions to the appropiate places.
7392 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7394 reviewed by: Stefan Kost <ensonic@users.sf.net>
7396 * libs/gst/controller/gstcontroller.c:
7397 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7398 (_gst_controller_get_property), (_gst_controller_set_property),
7399 (_gst_controller_init), (_gst_controller_class_init):
7400 * libs/gst/controller/gstcontroller.h:
7401 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7402 (gst_object_get_control_rate), (gst_object_set_control_rate):
7403 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7404 Add API that provides sync suggestion timestamps for elements that
7405 call gst_object_sync_values() from which those elements can subdivide
7406 their processing loop to get the best results for the controlled
7407 properties. For now it just suggests last_sync + control_rate as
7408 new timestamp but this will be improved in the future.
7410 While doing that change the control-rate property to a GstClockTime
7411 from guint and change it's meaning from samples to nanoseconds as
7412 the GstController doesn't know anything about sampling rate. Strictly
7413 speaking this breaks ABI but as the control-rate property didn't do
7414 anything in the past and as such couldn't be used this should be no
7417 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7419 reviewed by: Stefan Kost <ensonic@users.sf.net>
7421 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7422 (gst_controller_unset_all):
7423 * libs/gst/controller/gstcontrollerprivate.h:
7424 * libs/gst/controller/gstinterpolation.c:
7425 (gst_controlled_property_find_control_point_node):
7426 Save last synced value from the list to continue searching from there
7427 in future syncs. This speeds everything up a bit.
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: (gst_control_point_compare),
7434 (gst_control_point_find), (gst_controlled_property_new),
7435 (gst_control_point_free), (gst_controlled_property_free),
7436 (gst_controller_set), (gst_controller_set_from_list),
7437 (gst_controller_unset), (gst_controller_unset_all),
7438 (gst_controller_sync_values):
7439 * libs/gst/controller/gstcontroller.h:
7440 * libs/gst/controller/gstcontrollerprivate.h:
7441 * libs/gst/controller/gstinterpolation.c:
7442 (gst_controlled_property_find_control_point_node),
7443 (interpolate_none_get), (interpolate_trigger_get):
7444 Add a new private GstControlPoint struct which "inherits" from
7445 GstTimedValue to allow different interpolators to store internal
7446 values next to each control point. From the outside everything is
7447 still a GstControlPoint so we don't loose binary compatibility.
7448 Also fixup all the GValue handling to not leak GValues or list nodes.
7449 * tests/check/libs/controller.c: (GST_START_TEST):
7450 Free the list nodes and GValues in the controller_misc test.
7452 2007-05-17 Edward Hervey <edward@fluendo.com>
7457 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
7459 * gst/gstplugin.c: (gst_plugin_load_file):
7460 If we fail to load a plugin because of unresolved symbols or missing
7461 libraries and spew a warning to stderr, we may just as well mention
7462 which plugin it was that failed to load.
7464 2007-05-13 David Schleef <ds@schleef.org>
7466 * docs/Makefile.am: the gtk-doc makefile snippet correctly
7467 handles the case when ENABLE_GTK_DOC is false, and installs
7468 the prebuilt documentation. So gtk-doc subdirs are
7469 unconditionally enabled. Fixes: #349099.
7471 2007-05-13 David Schleef <ds@schleef.org>
7473 * gst/gstutils.h: Reword some documentation.
7475 2007-05-12 David Schleef <ds@schleef.org>
7477 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7478 do anything with the passed "module" parameter, so remove it.
7479 Allows removal of additional vestigal code.
7481 2007-05-12 David Schleef <ds@schleef.org>
7484 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7485 Switch to using g_stat() because it's more portable.
7487 2007-05-12 David Schleef <ds@schleef.org>
7490 Add GST_DISABLE_OPTION_PARSING, in order to disable option
7491 parsing for embedded systems.
7492 * gst/gstelementfactory.c:
7493 Allow gst_element_register() to be called with plugin==NULL.
7494 Did nobody notice that static elements were broken?
7496 2007-05-12 Wim Taymans <wim@fluendo.com>
7498 * tools/gst-launch.c: (event_loop):
7499 Give more interesting info when buffering starts and stops.
7500 Fix case where buffering starts but we fail to update the buffering flag
7501 because the target state is not PLAYING.
7503 2007-05-12 Wim Taymans <wim@fluendo.com>
7505 * plugins/elements/gstqueue.c: (gst_queue_init),
7506 (gst_queue_finalize), (update_time_level), (apply_segment),
7507 (apply_buffer), (gst_queue_locked_flush),
7508 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7509 (gst_queue_handle_sink_event), (gst_queue_chain),
7510 (gst_queue_push_one), (gst_queue_loop):
7511 * plugins/elements/gstqueue.h:
7512 Refactor an cleanup queue a bit.
7513 Do better time level calculations that also work when the srcpad is not
7515 Remove some unneeded debug lines.
7517 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7518 Added testcase for time level measurement.
7519 Try to make some stuff more racefree.
7521 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7523 * gst/gsturi.c: (gst_element_make_from_uri):
7524 Don't leak plugin feature.
7526 * tests/check/Makefile.am:
7527 * tests/check/gst/.cvsignore:
7528 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7529 Add brain-dead unit test.
7531 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7533 Patch by: Jeroen Wouters <woutersj at gmail com>
7535 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7536 Treat protocol strings in a case-insensitive way (#437563).
7538 2007-05-11 Michael Smith <msmith@fluendo.com>
7540 * gst/gstplugin.c: (gst_plugin_load_file):
7541 * gst/gstregistry.c: (gst_registry_scan_path_level):
7542 Don't print a g_warning for any failure to load a shared object.
7543 Instead, push this down into gstplugin.c, and warn _only_ if we
7544 failed to open the module (i.e. failure to link).
7545 Avoids warnings on normal, working, non-plugin .so files.
7547 2007-05-11 Stefan Kost <ensonic@users.sf.net>
7549 * gst/gstplugin.c (gst_plugin_load_file):
7550 * gst/gstregistry.c (GST_CAT_DEFAULT,
7551 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7552 Print a g_warning if there was an error when loading a plugins during
7553 registry scan. The shuld help beginners starting with gst-plugin
7556 2007-05-10 Wim Taymans <wim@fluendo.com>
7558 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7559 (update_time_level), (gst_queue_locked_flush),
7560 (gst_queue_handle_sink_event), (gst_queue_chain),
7561 (gst_queue_push_one), (gst_queue_loop):
7562 * plugins/elements/gstqueue.h:
7563 Be smarter when calculating the current amount of data in the queue by
7564 measuring the difference between start and end timestamps (in running
7565 time) inside the queue. Fixes #432876.
7566 API: GstQueue::pushing to notify elements that we are pushing data again
7567 since the running signal is rather broken for this purpose.
7569 2007-05-10 Stefan Kost <ensonic@users.sf.net>
7571 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7572 gst_queue_base_init, gst_queue_init):
7575 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
7577 * win32/common/libgstreamer.def:
7578 Add new exported functions.
7579 * win32/vs6/grammar.dsp:
7580 Use grammar pre-generated files.
7582 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7584 Based on patch by: Peter Kjellerstedt <pkj at axis com>
7587 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7589 * gst/gstutils.c: (gst_parse_bin_from_description):
7591 Maintain API and ABI when --disable-parse is used. Now that
7592 we have an appropriate error code, we can just return NULL and the
7593 appropriate error when gst_parse_launch() is used despite it having
7594 been disabled (#342564).
7596 * tests/check/Makefile.am:
7597 * tests/check/pipelines/.cvsignore:
7598 * tests/check/pipelines/parse-disabled.c:
7599 Make sure these functions exist and return NULL plus a GError when
7600 --disable-parse is used.
7602 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7604 * tests/benchmarks/complexity.c: (main):
7605 * tests/benchmarks/mass-elements.c: (main):
7606 Set a good example and don't leak messages.
7608 2007-05-06 Stefan Kost <ensonic@users.sf.net>
7610 * docs/gst/Makefile.am:
7611 * docs/libs/Makefile.am:
7612 Correct fixxrefs options.
7614 * docs/plugins/Makefile.am:
7615 * docs/plugins/gstreamer-plugins-docs.sgml:
7616 * docs/plugins/gstreamer-plugins-sections.txt:
7617 * plugins/elements/Makefile.am:
7618 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7619 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7620 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7621 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7622 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7623 _GstCapsFilterClass, trans_class):
7624 * plugins/elements/gstelements.c (name, rank, type, _elements):
7625 * plugins/elements/gstidentity.c
7626 (gst_identity_check_imperfect_timestamp,
7627 gst_identity_check_imperfect_offset):
7628 Document capsfilter and add doc-blurb to identity.
7630 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7632 * libs/gst/controller/gstcontroller.c:
7633 (gst_controlled_property_set_interpolation_mode):
7634 * libs/gst/controller/gstinterpolation.c:
7635 Don't crash if someone tries to set an interpolation mode that
7636 is invalid or that isn't supported yet. Fixes #422295.
7638 * tests/check/libs/controller.c: (GST_START_TEST),
7639 (gst_controller_suite):
7640 Add a test case for the above.
7642 2007-05-03 Edward Hervey <edward@fluendo.com>
7644 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7645 Properly set the last_stop position on GstSegment. This will only happen
7646 if there is a buffer to push out.
7648 2007-05-03 Wim Taymans <wim@fluendo.com>
7650 * libs/gst/base/gstbasetransform.c:
7651 (gst_base_transform_buffer_alloc):
7652 always_in_place does not mean that the sink and source caps are the
7653 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7655 2007-05-03 Wim Taymans <wim@fluendo.com>
7657 * docs/libs/gstreamer-libs-sections.txt:
7658 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7659 (gst_base_src_default_query), (gst_base_src_get_range):
7660 * libs/gst/base/gstbasesrc.h:
7661 API: gst_base_src_query_latency(). Added method so that subclasses can
7662 easily get the latency values of the base source class.
7664 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7666 * tools/gst-inspect.c (print_implementation_info):
7669 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7671 * tools/Makefile.am:
7672 * tools/gst-launch.1.in:
7673 Don't create a customised man page based on the host architecture,
7674 describe the default registry path generically. That way the man
7675 page is the same for all architectures and packagers have one
7676 multilib issue less to deal with. Fixes #434926.
7678 2007-05-02 Wim Taymans <wim@fluendo.com>
7681 Fix documentation as spotted by rg on IRC.
7683 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7686 Improve docs for gst_element_{link,unlink}.
7688 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7690 * docs/design/part-events.txt:
7691 * docs/design/part-overview.txt:
7695 * libs/gst/base/gstbasesink.c:
7696 Typo fixes; minor docs addition.
7698 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7700 * docs/gst/gstreamer-sections.txt:
7701 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7702 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7704 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7705 or src that supports a given URI protocol exists.
7707 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7709 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7710 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7711 Set the location to NULL if "file://" is set as URI. Otherwise
7712 some random previous URI would still be set if "file://" is
7713 set on an already used filesink/filesrc.
7715 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7717 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7718 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7719 Special case the "file://" URI as as this is used by some
7720 applications to test with gst_element_make_from_uri if there's
7721 an element that supports the URI protocol.
7722 Also move the g_path_is_absolute() check for the location part
7723 of the URI to also check this for "file://localhost/bla" URIs.
7725 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7727 * docs/gst/gstreamer-sections.txt:
7728 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7730 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7732 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7734 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7736 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7737 (gst_registry_binary_load_pad_template),
7738 (gst_registry_binary_load_plugin),
7739 (gst_registry_binary_read_cache):
7740 * gst/gstregistrybinary.h:
7741 Implement no-mmap alternative for registry reading. Do code cleanups.
7742 Add more comments about avoiding strdups for all text data. Comments
7745 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7747 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7748 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7749 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7750 Comment structs and reformat to fix the build (that stuff should go
7751 into a priv. header).
7753 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7755 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7756 (gst_registry_binary_load_feature):
7757 * gst/gstregistrybinary.h:
7758 Refactor so that we can implement multiple features. Add support for
7759 TypeFindFactory features.
7761 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7763 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7766 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7768 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7770 * gst/gstbin.c: (gst_bin_element_set_state),
7771 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7772 (bin_handle_async_done), (gst_bin_handle_message_func):
7773 Fix build with --gst-disable-gst-debug
7775 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7777 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7778 Make sure streaming has finished before calling the ::stop() vfunc,
7779 since that vfunc might clear state which is being used in the
7780 streaming thread. This fixes a race that caused crashes in
7781 audioresample when shutting down a pipeline (#420106).
7783 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7785 * docs/gst/gstreamer-sections.txt:
7786 That was one byte missing.
7788 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7791 * docs/gst/gstreamer-sections.txt:
7793 * gst/gstconfig.h.in:
7794 * gst/gstobject.c: (gst_object_class_init),
7795 (gst_signal_object_class_init):
7797 2nd attempt to have a xml-less build as a joined effort of #413123
7800 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7802 * docs/design/draft-tagreading.txt:
7803 Added open issues/thoughts to draft.
7805 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7807 * gst/parse/grammar.tab.pre.c:
7808 * gst/parse/grammar.tab.pre.h:
7809 * gst/parse/lex._gst_parse_yy.pre.c:
7810 Update the prebuild parser sources.
7812 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7814 * gst/parse/Makefile.am:
7815 And now fix the building of the flex sources. Now everything should
7818 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7820 * gst/parse/Makefile.am:
7821 Now hopefully fix the build failures by setting proper rule
7822 dependencies and moving instead of copying.
7824 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7826 * tests/benchmarks/complexity.gnuplot:
7827 * tests/benchmarks/complexity.scm:
7828 * tests/benchmarks/mass-elements.gnuplot:
7829 * tests/benchmarks/mass-elements.scm:
7830 Total licensification.
7832 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7834 * gst/parse/Makefile.am:
7835 Fix the build by correcting the rule that gave wrong files to flex.
7837 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7839 * tests/benchmarks/complexity.c:
7840 * tests/benchmarks/mass-elements.c:
7841 Change licence to LGPL as granted by Benjamin and Andy.
7843 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7845 * gst/parse/Makefile.am:
7846 Add correct grammar.tab.h dependency if compiling without new enough
7847 flex. Fixes #431150.
7849 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7851 * gst/parse/Makefile.am:
7852 Fix typo and use outdated sources if the flex/bison sources are newer
7853 than the pregenerated ones but flex is too old. Print a warning in
7854 that case. This should fix the build on the build bot.
7856 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7858 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7859 * gst/parse/Makefile.am:
7860 * gst/parse/grammar.y:
7861 * gst/parse/parse.l:
7862 Make the parser reentrant and recursively callable. This requires flex
7863 >= 2.5.31, for older versions pregenerated sources are used as we
7864 can't bump the build dependency. Finally fixes #349180.
7866 * gst/gstparse.c: (gst_parse_launch):
7867 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7870 * docs/gst/Makefile.am:
7871 * docs/gst/Makefile.am:
7872 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7873 (__gst_parse_strfree), (__gst_parse_link_new),
7874 (__gst_parse_link_free), (__gst_parse_chain_new),
7875 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7876 (gst_parse_element_set), (gst_parse_free_link),
7877 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7878 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7879 (_gst_parse_launch):
7880 * gst/parse/grammar.tab.pre.h:
7881 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7882 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7883 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7884 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7885 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7886 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7887 (_gst_parse_yypop_buffer_state),
7888 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7889 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7890 (yy_fatal_error), (_gst_parse_yyget_extra),
7891 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7892 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7893 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7894 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7895 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7896 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7897 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7898 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7899 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7900 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7901 (_gst_parse_yyfree):
7902 If the installed flex version is too old use pre-generated parser
7903 sources. These pre-generated parser sources are always updated when
7904 the actual flex/bison sources change but require everybody who wants
7905 to change something in the parser to have flex >= 2.5.31 installed.
7907 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7909 * common/m4/gst-gettext.m4:
7910 * gst/gst-i18n-lib.h:
7911 Make --disable-nls to work
7913 2007-04-17 Wim Taymans <wim@fluendo.com>
7915 * gst/gstconfig.h.in:
7916 Revert previous change that broke the build.
7918 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7922 * gst/gstconfig.h.in:
7923 Drop libxml2 dependency when building with
7924 --enable-binary-registry --disable-loadsave
7926 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7928 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7929 (gst_registry_binary_read_cache):
7930 * gst/gstregistrybinary.h:
7931 Remove unnecessary <sys/mman.h> include which broke the win32 build
7932 with MingW; move includes from header file to .c file, even if the
7933 header file isn't installed; use g_strerror() where UTF-8 strings
7934 are expected, such as in GST_DEBUG messages.
7936 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7938 * docs/libs/gstreamer-libs-sections.txt:
7939 Remove bogus addition for API I didn't end up keeping.
7941 * libs/gst/base/gstbasesrc.h:
7942 Mention Since: 0.10.13 in the documentation.
7944 Add the API keyword to the previous ChangeLog entry.
7946 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7948 * docs/libs/gstreamer-libs-sections.txt:
7949 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7950 (gst_base_src_default_prepare_seek_segment),
7951 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7952 * libs/gst/base/gstbasesrc.h:
7953 Allow basesrc derived classes to execute seeks in other formats
7954 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7955 to prepare the GstSegment in any format that their perform_seek method
7956 will be able to understand. The default implementation provides the
7957 old behaviour of attempting to convert the seek offsets to the
7958 configured native format.
7960 API: basesrc::prepare_seek_segment vmethod.
7962 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7964 * gst/gstelement.c: (gst_element_get_state_func):
7965 Don't output the same debug statement twice.
7967 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7968 (gst_adapter_peek), (gst_adapter_take_buffer):
7969 Optimise the case where we have buffers at the head of the queue that
7970 can be joined quickly (because they're contiguous sub-buffers) by
7971 merging them together rather than copying data out into new memory.
7973 * gst/parse/grammar.y:
7974 * tests/check/pipelines/parse-launch.c:
7975 Fix a leak in an error path for parse_launch, and add a check
7976 for it to the testsuite.
7978 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7980 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7981 Don't deadlock when releasing a pad - gst_pad_set_active may try
7982 and take the multiqueue lock too.
7984 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7986 * gst/gsterror.c: (_gst_core_errors_init):
7988 API: add GST_CORE_ERROR_DISABLED (#392804).
7990 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7992 * docs/faq/gst-uninstalled:
7993 don't get empty paths on the PATH variables
7994 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7995 Don't format for the uncommon terminal width of 84 characters.
7997 2007-04-06 Wim Taymans <wim@fluendo.com>
7999 * gst/gstpipeline.c: (reset_stream_time),
8000 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8001 Only try to select a different pipeline clock when we went back to
8002 PAUSED and not when we merely got flushed.
8004 2007-04-05 Michael Smith <msmith@fluendo.com>
8006 * tools/gst-launch.1.in:
8007 fractions are better supported in gstreamer than ractions, so
8008 suggest using those.
8010 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8012 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8016 Added Danish translation.
8018 2007-04-05 Wim Taymans <wim@fluendo.com>
8020 * libs/gst/base/gstbasesink.c:
8021 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8022 Fix leak caused when refusing newsegment after EOS.
8024 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8025 (gst_fake_sink_init), (gst_fake_sink_set_property),
8026 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8027 (gst_fake_sink_render), (gst_fake_sink_change_state):
8028 * plugins/elements/gstfakesink.h:
8029 Add num-buffers property to make the element generate EOS after a
8030 configurable amount of buffers.
8031 API: fakesink::num-buffers property.
8033 * tests/check/elements/fakesink.c: (GST_START_TEST),
8035 Fix GstBus leak in test.
8036 Test for fakesink num-buffers.
8038 2007-04-05 Wim Taymans <wim@fluendo.com>
8040 * libs/gst/base/gstbasesink.c:
8041 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8042 (gst_base_sink_change_state):
8043 Don't accept anything after an EOS, return UNEXPECTED instead.
8045 * tests/check/elements/fakesink.c: (GST_START_TEST),
8047 Unit test for new EOS behaviour.
8049 2007-04-05 Wim Taymans <wim@fluendo.com>
8051 * gst/gstelement.c: (gst_element_get_request_pad):
8052 Make padtemplates also work when they don't contain %s or %d.
8054 2007-04-05 Wim Taymans <wim@fluendo.com>
8056 * docs/gst/gstreamer-sections.txt:
8057 * gst/gstclock.c: (gst_clock_adjust_unlocked),
8058 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8060 Improve _adjust_unlocked() so that it overflows less.
8061 Add gst_clock_unadjust_unlocked to convert from external time to
8062 internal time based on calibration.
8063 Add some more debug.
8064 API: GstClock::gst_clock_unadjust_unlocked()
8066 2007-04-03 Wim Taymans <wim@fluendo.com>
8068 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8070 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8071 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8072 when releasing sink pad. Fixes #425400.
8074 2007-04-02 Stefan Kost <ensonic@users.sf.net>
8076 * docs/random/ensonic/dynlink.txt:
8077 More work on proposal for new core api.
8079 * docs/libs/gstreamer-libs-sections.txt:
8080 * libs/gst/base/gstbasetransform.h:
8081 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8083 * libs/gst/controller/gstcontroller.c:
8084 (on_object_controlled_property_changed),
8085 (gst_controller_sync_values),
8086 (gst_controller_set_interpolation_mode):
8087 * libs/gst/controller/gstcontroller.h:
8088 Less verbose logging add docs for unimplemented parts and correctly
8089 return when using unavailable parts.
8091 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8093 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8094 Move all the debug to the CLOCK category, and associate it with
8097 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8099 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8100 Make take_buffer a bit quicker by removing redundant checks
8101 caused by calling gst_adapter_take.
8103 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8105 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
8108 * tests/check/Makefile.am:
8109 * tests/check/elements/.cvsignore:
8110 * tests/check/elements/multiqueue.c: (setup_multiqueue),
8111 (GST_START_TEST), (multiqueue_suite):
8112 Add some dead simple unit tests for the 'multiqueue' element
8113 (some bits don't work yet and are disabled for now).
8115 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8117 * gst/gstelement.c: (gst_element_get_request_pad),
8118 (gst_element_class_get_request_pad_template):
8119 Make gst_element_get_request_pad() create request pads only for
8120 request pad templates and not for, say, sometimes pad templates.
8122 2007-03-28 Stefan Kost <ensonic@users.sf.net>
8124 * docs/design/draft-klass.txt:
8125 Add example that needs more thinking.
8127 * docs/design/draft-missing-plugins.txt:
8128 More thoughts about wrapper plugins.
8130 * docs/random/ensonic/embedded.txt:
8131 * docs/random/ensonic/profiling.txt:
8134 2007-03-25 Wim Taymans <wim@fluendo.com>
8136 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
8137 (gst_base_src_loop):
8138 Only push the segment events in the PLAYING state for live sources.
8140 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
8142 * gst/gstpipeline.c: (gst_pipeline_change_state):
8143 Modify the clock distribution path in PAUSED->PLAYING so that we
8144 never attempt to choose a new clock unless we're actually leaving
8145 the PAUSED state for the first time. This prevents choosing a
8146 different clock when the state_change gets called for a 2nd time due
8147 to some element doing an async state change.
8149 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
8151 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
8152 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
8153 (gst_pad_chain_unchecked), (gst_pad_push):
8154 Revert last commit. This needs some more thoughts.
8156 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
8158 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
8159 (gst_pad_chain_unchecked), (gst_pad_push):
8160 Check in set_caps if the caps are compatible with the pad and remove
8161 two functions that are redundant now. Fixes #421543.
8163 2007-03-22 Wim Taymans <wim@fluendo.com>
8165 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8166 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
8167 Unref some more to make valgrind happy.
8169 2007-03-22 Wim Taymans <wim@fluendo.com>
8171 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
8172 (gst_system_clock_id_wait_jitter),
8173 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8174 Fix anoying regression that survived a few releases. When adding an
8175 async entry while blocking on a sync entry, the sync entry will unblock
8176 but still be busy, so it should continue to wait instead of returning
8178 Add some comments here and there.
8180 * tests/check/gst/gstsystemclock.c: (mixed_thread),
8181 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
8182 Add testcase for this.
8184 2007-03-22 Wim Taymans <wim@fluendo.com>
8186 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8187 Handle errors from the clock sync better, only UNSCHEDULED indicates a
8188 WRONG_STATE and can silently pause the task. All other cases should
8191 2007-03-22 Wim Taymans <wim@fluendo.com>
8193 Patch by: Ville Syrjala <syrjala at sci dot fi>
8195 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
8196 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
8199 2007-03-21 Michael Smith <msmith@fluendo.com>
8201 * docs/pwg/advanced-types.xml:
8202 Fix some errors in the typefinding docs pointed out on irc.
8204 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
8206 * libs/gst/base/gstbasesrc.c:
8207 Clarify FIXME comment in the face of having added unlock_stop()
8209 2007-03-21 Wim Taymans <wim@fluendo.com>
8211 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
8212 Prepare for release where we warn against possible app breakage in the
8213 case of live pipelines along with an env var to enable/disable live
8214 preroll mode (GST_COMPAT=[no-]live-preroll).
8216 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8218 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
8219 So we should use correct constants for checking for None offset.
8221 2007-03-20 Wim Taymans <wim@fluendo.com>
8223 * docs/design/part-block.txt:
8224 Mention the fact that the newly switched element should be set to at
8227 2007-03-20 Wim Taymans <wim@fluendo.com>
8230 Fix compilation with registry disabled as spotted by Saur.
8232 2007-03-20 Wim Taymans <wim@fluendo.com>
8234 Patch by: Olivier Crete <tester at tester dot ca>
8236 * gst/gstelement.c: (gst_element_sync_state_with_parent):
8237 Look at the pending state too when syncing the element state to the
8238 parent. Fixes #420133.
8240 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
8242 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8243 (gst_base_sink_change_state):
8244 * libs/gst/base/gstbasesink.h:
8245 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8246 (gst_base_src_default_event), (gst_base_src_unlock_stop),
8247 (gst_base_src_deactivate):
8248 * libs/gst/base/gstbasesrc.h:
8249 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
8250 for sub-classes to correctly clear any state they set trying to
8251 unlock, such as clearing out unlock commands from a command fd.
8252 API: basesrc::unlock_stop
8253 API: basesink::unlock_stop
8255 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
8256 (gst_fd_sink_render), (gst_fd_sink_unlock),
8257 (gst_fd_sink_unlock_stop):
8258 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
8259 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
8260 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
8262 Implement unlock_stop in fdsrc and fdsink.
8263 Implement seeking in fdsrc when a seekable fd is passed, as in
8264 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
8266 2007-03-19 Wim Taymans <wim@fluendo.com>
8268 Patch by: Evan Nemerson <evan at coeus dash group dot com>
8270 * gst/gstelement.c: (gst_element_class_init):
8271 Fix pad-added and pad-removed signal signatures so that the pad type is
8272 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
8274 2007-03-19 Wim Taymans <wim@fluendo.com>
8276 * docs/gst/gstreamer-sections.txt:
8277 Add new element field and method.
8279 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8280 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
8281 (gst_bin_recalc_state), (gst_bin_get_state_func),
8282 (gst_bin_element_set_state), (gst_bin_change_state_func),
8283 (gst_bin_continue_func), (bin_bus_handler),
8284 (bin_push_state_continue), (bin_handle_async_start),
8285 (bin_handle_async_done), (gst_bin_handle_message_func):
8286 Make async state changes a bit smarter by using new ASYNC_START and
8287 ASYNC_DONE messages. This reduces the number of times we run the state
8288 recalculation thread.
8289 Don't change state of element with a pending ASYNC_START message.
8290 Deprecate STATE_DIRTY messages.
8292 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
8293 (gst_element_get_state_func), (gst_element_continue_state),
8294 (gst_element_lost_state), (gst_element_set_state_func),
8295 (gst_element_change_state):
8297 Keep the state that was last set by the app in a new element field.
8298 Don't allow state changes when handling an element event.
8299 Post ASYNC_START and ASYNC_DONE messages.
8300 Change lost_state so that we go to PAUSED and wait for the parent to set
8301 us to PLAYING again (so latency calculation can be performed)
8302 Export gst_element_change_state() method so that subclasses can use it.
8303 API: gst_element_change_state()
8304 API: GST_STATE_TARGET
8306 * gst/gstpipeline.c: (gst_pipeline_class_init),
8307 (reset_stream_time), (gst_pipeline_change_state),
8308 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
8309 Using the new ASYNC_START message we can reset the base_time when
8310 needed. This can then be used to implement base_time redistribution in
8311 flushing seeks so that we can remove the explicit seek handling.
8312 Perform latency query and configuration when going to PLAYING.
8314 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8315 (gst_base_sink_query), (gst_base_sink_change_state):
8316 Post new ASYNC_START/ASYNC_DONE messages.
8318 * tests/check/generic/sinks.c: (GST_START_TEST):
8319 Fix test because the bin will not set the async element to PLAYING right
8322 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
8323 Make the message check a little stronger.
8324 Handle ASYNC messages.
8326 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
8327 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
8328 Expect ASYNC_DONE messages.
8330 2007-03-19 Wim Taymans <wim@fluendo.com>
8332 * docs/gst/gstreamer-sections.txt:
8333 * gst/gstmessage.c: (gst_message_new_async_start),
8334 (gst_message_new_async_done), (gst_message_parse_info),
8335 (gst_message_parse_async_start):
8337 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
8340 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
8342 * tools/gst-inspect.c:
8343 (print_plugin_automatic_install_info_codecs):
8344 Now that we don't check for the 'Codec' keyword any longer in the
8345 klass, we shouldn't spew a warning if the klass isn't a decoder or
8346 encoder (since it might be a Source/Network, for example).
8348 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
8350 * tools/gst-inspect.c:
8351 (print_plugin_automatic_install_info_codecs):
8352 Don't require decoder/demuxer/depayloader elements or
8353 encoder/muxer/paylader elements to have 'Codec' as part of their
8354 factory class string when introspecting a plugin's capabilities.
8355 draft-klass.txt mentions that it might be removed in future, and
8356 flump3dec doesn't have it as part of its class string, so chances
8357 are others might also not have it.
8359 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
8381 Update translations from translation project
8383 2007-03-14 Stefan Kost <ensonic@users.sf.net>
8385 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8386 (gst_child_proxy_set_property):
8387 Invert precondition check to be alike the ones in the mimiced gobject
8390 2007-03-13 Stefan Kost <ensonic@users.sf.net>
8392 * docs/design/draft-tagreading.txt:
8393 * docs/random/ensonic/audiobaseclasses.txt:
8394 Do some Architect work.
8396 * gst/gstobject.c: (gst_object_set_name):
8400 Add docs that point from gst_pad_get_range to gst_pad_pull_range
8402 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
8404 * gst/gstsystemclock.c: (gst_system_clock_init),
8405 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8406 Defer starting the async system clock thread until the first async
8407 wait is scheduled. Fixes #414986.
8409 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
8411 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8412 (gst_single_queue_free):
8413 Fix small leak (free GstSingleQueue structure too, not only contents).
8415 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
8417 * gst/gstbin.c:(gst_bin_add):
8418 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8419 * win32/common/libgstbase.def:
8420 * win32/common/libgstreamer.def:
8421 Add new exported functions.
8423 2007-03-09 Wim Taymans <wim@fluendo.com>
8425 * docs/plugins/gstreamer-plugins-sections.txt:
8428 2007-03-09 Wim Taymans <wim@fluendo.com>
8430 * docs/gst/gstreamer-sections.txt:
8431 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8433 Add metadata copy functions. Fixes #393099.
8434 API: gst_buffer_copy_metadata()
8436 * gst/gstutils.c: (gst_buffer_stamp):
8437 * libs/gst/base/gstbasetransform.c:
8438 (gst_base_transform_prepare_output_buffer):
8439 Use new metadata copy functions.
8441 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
8443 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8444 (gst_identity_init), (gst_identity_check_perfect),
8445 (gst_identity_check_imperfect_timestamp),
8446 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8447 (gst_identity_set_property), (gst_identity_get_property):
8448 * plugins/elements/gstidentity.h:
8449 Separate out check-imperfect-timestamp and check-imperfect-offset.
8450 Put back check-perfect as it was to keep compatibility.
8452 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
8454 * gst/gstelement.c: (gst_element_dispose):
8455 There's no need to warn if VOID_PENDING is not NONE here, as
8456 long as the state is NULL it's ok, and that's checked immediately
8459 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8461 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8462 Fix check for perfect stream to ignore buffers with -1
8463 offsets/offset ends when checking data contiguity.
8465 2007-03-08 Wim Taymans <wim@fluendo.com>
8467 * tools/gst-launch.c: (event_loop):
8468 Print INFO messages.
8470 2007-03-08 Wim Taymans <wim@fluendo.com>
8472 * libs/gst/base/gstbasetransform.c:
8473 (gst_base_transform_sink_eventfunc),
8474 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8475 (gst_base_transform_activate):
8476 * libs/gst/base/gstbasetransform.h:
8477 Add support for dropping buffers with custom GstFlowReturn.
8478 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8479 buffers or dropped buffers.
8481 * docs/libs/gstreamer-libs-sections.txt:
8482 docs for new custom return code.
8484 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8485 Use drop support in base class to implement drop-probability.
8487 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
8489 * gst/gst.c: (load_plugin_func):
8490 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8491 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8492 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8493 Remove newlines at end of debug log strings.
8495 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8497 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8498 Only post bus message at max, once per buffer received.
8500 2007-03-07 Wim Taymans <wim@fluendo.com>
8502 * docs/design/Makefile.am:
8503 * docs/design/part-synchronisation.txt:
8504 Add doc about synchronisation
8506 * docs/design/draft-latency.txt:
8507 * docs/design/part-TODO.txt:
8508 * docs/design/part-clocks.txt:
8509 * docs/design/part-events.txt:
8510 * docs/design/part-gstbus.txt:
8511 * docs/design/part-gstpipeline.txt:
8512 * docs/design/part-live-source.txt:
8513 * docs/design/part-messages.txt:
8514 * docs/design/part-overview.txt:
8515 * docs/design/part-streams.txt:
8516 * docs/design/part-trickmodes.txt:
8517 Documentation updates.
8519 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8522 Update the doap file.
8524 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8526 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8527 Rename non-perfect to imperfect for Mike and for the sanctity of the
8529 Also make sure bus message gets emitted for data-incontiguities.
8531 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8533 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8534 (gst_identity_start):
8535 * plugins/elements/gstidentity.h:
8536 Emit bus message if check-perfect is true and we encounter a
8537 non-perfect stream between 2 consecutive buffers.
8540 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8545 === release 0.10.12 ===
8547 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8550 releasing 0.10.12, "Inevitable Demise"
8552 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
8555 Version 0.10.11.2 (0.10.12 pre-release)
8556 Bump libtool versioning.
8558 2007-03-01 Stefan Kost <ensonic@users.sf.net>
8560 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8561 Log flow-names and not numbers.
8563 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8566 Convert to new AG_GST style.
8568 2007-02-28 Wim Taymans <wim@fluendo.com>
8570 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8571 Don't unref query twice.
8573 2007-02-28 Wim Taymans <wim@fluendo.com>
8575 * gst/gstvalue.c: (gst_value_transform_object_string),
8576 (_gst_value_initialize):
8577 Implement GstObject -> string transform so we print object names
8578 when serializing GValues containing GstObjects.
8580 2007-02-28 Wim Taymans <wim@fluendo.com>
8582 * docs/gst/gstreamer-sections.txt:
8583 Add new stuff to docs.
8585 2007-02-28 Wim Taymans <wim@fluendo.com>
8587 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8588 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8589 (gst_base_sink_change_state):
8590 Improve latency query code.
8591 Don't leak latency events.
8593 * tests/check/gst/gstbin.c: (GST_START_TEST):
8596 2007-02-28 Wim Taymans <wim@fluendo.com>
8598 * gst/gstelement.c: (gst_element_message_full),
8599 (gst_element_get_state_func):
8601 Improve docs a little. Added Since: for new macro.
8603 * gst/gstobject.c: (gst_object_sink):
8604 * gst/gstpipeline.c: (gst_pipeline_change_state),
8605 (gst_pipeline_set_new_stream_time):
8606 * gst/gstpipeline.h:
8607 Improve debugging and docs.
8609 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8612 2007-02-28 Wim Taymans <wim@fluendo.com>
8614 * gst/gstelement.c: (gst_element_message_full),
8615 (gst_element_set_locked_state), (gst_element_get_state_func),
8616 (gst_element_change_state):
8617 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8618 Documentation updates.
8619 Small code cleanups.
8621 * gst/gstmessage.c: (gst_message_new_info),
8622 (gst_message_parse_info):
8624 API: gst_message_new_info()
8625 API: gst_message_parse_info()
8626 Add INFO message create and parse code.
8628 2007-02-28 Wim Taymans <wim@fluendo.com>
8630 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8631 (bin_query_latency_done):
8632 Also report the live parameter of a latency query.
8634 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8636 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8637 Copy the current generic/states example from -base and adapt so
8638 we can use the exact same code everywhere.
8639 Check a STATES_IGNORE_ELEMENTS env var which can be used
8640 to ignore certain element factories for this test, which is
8641 what is being done in -base
8642 * tests/check/Makefile.am:
8643 Mention this environment variable.
8645 2007-02-27 Wim Taymans <wim@fluendo.com>
8647 * docs/gst/gstreamer-sections.txt:
8648 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8649 (gst_bus_timed_pop), (gst_bus_pop):
8651 API: gst_bus_timed_pop()
8652 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8653 message to arrive on the bus.
8655 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8657 Two unit tests for new _timed_pop() function.
8659 2007-02-23 Wim Taymans <wim@fluendo.com>
8661 * gst/gstpipeline.c: (gst_pipeline_change_state),
8662 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8663 Don't ref a NULL clock in _provide_clock_func().
8664 Don't allow an INVALID delay.
8665 Don't try to calculate base_time with an invalid start_time.
8666 Also distribute and notify a NULL clock when it was selected.
8668 * tools/gst-launch.c: (event_loop):
8669 Don't crash when a NULL clock was selected in the pipeline.
8671 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8673 * docs/design/Makefile.am:
8674 * docs/design/draft-missing-plugins.txt:
8675 * docs/random/draft-missing-plugins.txt:
8676 Some small updates: update plugin system identifier prefix
8677 ('gstreamer.net' to 'gstreamer'), mention our new install
8678 API in libgstbaseutils rather than libgimme-codec, add
8679 reference to the online docs.
8681 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8683 * win32/common/config.h:
8684 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8685 use moap cl ci to only check in what is mentioned in the ChangeLog.
8687 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8689 * docs/gst/gstreamer-sections.txt:
8691 Fix up documentation to link to the correct GstGError section.
8692 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8694 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8696 * tools/gst-launch.c: (event_loop):
8697 Make sure that we actually show the important message part of a
8699 No need to check if the gerror is not NULL to free; first of all
8700 g_free accepts NULL; and second the default error handler would
8701 segfault if gerror was NULL.
8703 2007-02-21 Wim Taymans <wim@fluendo.com>
8705 * docs/gst/gstreamer-sections.txt:
8706 Removed docs as well.
8708 2007-02-21 Wim Taymans <wim@fluendo.com>
8710 * gst/gstmessage.c: (gst_message_parse_duration):
8712 Remove new messages for release.
8714 2007-02-20 Wim Taymans <wim@fluendo.com>
8716 * docs/design/part-gstghostpad.txt:
8717 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8718 (gst_ghost_pad_new_full):
8719 Make the ghostpad a parent of the internal pad again for better backward
8720 compatibility. Don't write code that relies on this however.
8722 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8723 (gst_pad_link_check_hierarchy):
8724 Require that parents should be GstElements in the hierarchy check.
8726 2007-02-20 Wim Taymans <wim@fluendo.com>
8728 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8729 (gst_bin_change_state_func), (bin_query_min_max_init),
8730 (bin_query_latency_fold), (bin_query_latency_done),
8733 Implement latency query.
8735 2007-02-20 Wim Taymans <wim@fluendo.com>
8737 * docs/design/part-gstghostpad.txt:
8738 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8739 (gst_ghost_pad_internal_do_activate_push),
8740 (gst_ghost_pad_internal_do_activate_pull),
8741 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8742 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8743 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8744 Do not set the internal pad as a parent anymore so we can avoid
8745 hierarchy linking errors when the ghostpad has no parent yet. This also
8746 fixes failed activation because of unlinked internal pads, which in
8747 turn fixes the impossible case where you have to activate a pad before
8748 you can add it to a running element.
8751 * gst/gstpad.c: (pre_activate), (post_activate),
8752 (gst_pad_set_active), (gst_pad_activate_pull),
8753 (gst_pad_activate_push), (gst_pad_check_pull_range):
8754 Add some more debug info.
8755 Mark activation mode in pre_activate so that we don't try to activate in
8756 endless loops. Fixes #385084.
8758 2007-02-19 Wim Taymans <wim@fluendo.com>
8760 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8761 (gst_base_transform_check_get_range):
8762 Implement a checkgetrange function instead of relying on the default
8763 core behaviour that assumes we can operate in pull mode if we have a
8764 getrange function. First step at fixing #385084.
8766 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8768 * gst/gstchildproxy.h:
8769 * libs/gst/base/gstbasesink.h:
8770 * libs/gst/base/gstbasesrc.h:
8771 * libs/gst/base/gstbasetransform.h:
8772 More docs coverage and some ChangeLog surgery (add missing names)
8774 2007-02-15 Wim Taymans <wim@fluendo.com>
8776 * docs/design/part-TODO.txt:
8777 * docs/design/part-activation.txt:
8778 * docs/design/part-block.txt:
8779 * docs/design/part-buffering.txt:
8780 * docs/design/part-clocks.txt:
8781 * docs/design/part-element-source.txt:
8782 * docs/design/part-events.txt:
8783 * docs/design/part-gstbin.txt:
8784 * docs/design/part-gstbus.txt:
8785 * docs/design/part-gstpipeline.txt:
8786 * docs/design/part-live-source.txt:
8787 * docs/design/part-messages.txt:
8788 * docs/design/part-overview.txt:
8789 * docs/design/part-qos.txt:
8790 * docs/design/part-query.txt:
8791 * docs/design/part-states.txt:
8792 * docs/design/part-trickmodes.txt:
8793 Some doc updates. Start renaming from stream_time to running_time where
8794 it was used wrongly.
8796 2007-02-15 Wim Taymans <wim@fluendo.com>
8798 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8799 Answer LATENCY query.
8801 2007-02-15 Wim Taymans <wim@fluendo.com>
8803 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8807 2007-02-15 Wim Taymans <wim@fluendo.com>
8809 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8810 (gst_pad_dispatcher):
8811 Improve debugging of default pad dispatcher and query functions.
8813 2007-02-15 Wim Taymans <wim@fluendo.com>
8815 * docs/gst/gstreamer-sections.txt:
8816 Remove old unused method.
8818 2007-02-13 Wim Taymans <wim@fluendo.com>
8820 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8823 2007-02-13 Wim Taymans <wim@fluendo.com>
8825 * docs/design/part-seeking.txt:
8828 * gst/gstsegment.c: (gst_segment_set_seek):
8829 Revert old bogus change that should make seeking work again.
8831 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8833 * docs/random/ensonic/dynlink.txt:
8834 * docs/random/ensonic/interfaces.txt:
8835 * docs/random/ensonic/receipies.txt:
8836 Possible dynamic reconnection api, plus some type fixes the other two
8839 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8841 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8842 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8843 Also check for an absolute path following file:// in the filesrc
8844 element. Remove redundant check and call g_path_is_absolute() on the
8847 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8849 * docs/design/draft-klass.txt:
8850 Add existing category analysis.
8853 Fix doc example, framerate is a fraction.
8855 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8858 * docs/gst/Makefile.am:
8859 * docs/gst/gstreamer-sections.txt:
8860 * docs/libs/Makefile.am:
8861 Erm, forgot a bunch of --extra-dir.
8863 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8866 * docs/gst/Makefile.am:
8867 * docs/libs/Makefile.am:
8868 * docs/plugins/Makefile.am:
8869 Add crossreferences to glib/gobject docs.
8871 2007-02-12 Wim Taymans <wim@fluendo.com>
8873 * docs/design/draft-latency.txt:
8876 * docs/libs/gstreamer-libs-sections.txt:
8877 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8878 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8879 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8880 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8881 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8882 (gst_base_sink_get_position), (gst_base_sink_query),
8883 (gst_base_sink_change_state):
8884 * libs/gst/base/gstbasesink.h:
8885 API: gst_base_sink_query_latency() to let subclasses query the upstream
8887 API: gst_base_sink_get_latency() to let subclasses query the configured
8888 latency in the sink.
8889 Implement query and set latency.
8891 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8892 don't continue preroll when we are flushing. Fixes #405284.
8894 * tests/check/pipelines/stress.c: (change_state_timeout),
8895 (quit_timeout), (GST_START_TEST), (stress_suite):
8898 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8900 Patch by: René Stadler <mail at renestadler de>
8902 * docs/gst/gstreamer-sections.txt:
8903 * gst/gsttaglist.c: (_gst_tag_initialize):
8905 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8907 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8909 * docs/libs/Makefile.am:
8910 Fix path to core docs.
8912 * gst/gstbin.c: (gst_bin_get_by_interface),
8913 (gst_bin_iterate_all_by_interface):
8914 Refix docs by also renaming 'interface' to 'iface' in implementation.
8916 * docs/gst/gstreamer-sections.txt:
8918 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8919 * gst/gstchildproxy.h:
8920 * gst/gstelementfactory.c:
8921 * gst/gstpadtemplate.h:
8922 * libs/gst/controller/gstcontroller.c:
8923 (gst_controlled_property_new):
8926 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8928 * gst/gstbin.h:(gst_bin_get_by_interface),
8929 (gst_bin_iterate_all_by_interface):
8930 Replace interface parameter name by iface as interface is
8931 a reserved keyword in Visual Studio for C++ projects so it removes
8932 a build error for application developpers using VS.
8933 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8934 Fix a bug on Windows in uri format check. Now the prefix checked
8935 is file:// and next we check if the path after file:// is absolute.
8936 * win32/common/libgstbase.def:
8937 * win32/common/libgstdataprotocol.def:
8938 * win32/common/libgstgstreamer.def:
8939 Add new exported functions.
8941 2007-02-09 Andy Wingo <wingo@pobox.com>
8943 * tests/check/pipelines/simple-launch-lines.c
8944 (simple_launch_lines_suite, test_tee): Disable tee test until I
8945 have time to fix it :-(
8947 * tests/check/Makefile.am (noinst_HEADERS):
8948 * tests/check/libs/libsabi.c:
8949 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8950 * tests/check/gst/gstabi.c:
8951 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8953 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8954 tests for push and pull tee behavior.
8956 * plugins/elements/gsttee.h:
8957 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8958 mark as deprecated as well as unimplemented. It was a crack idea.
8959 Add support for tee operating in pull mode, off by default.
8961 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8962 normal-case logs down to LOG, raise errors to WARNING.
8963 (gst_registry_xml_read_cache): Don't log before calling a function
8966 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8967 exit (registry finalize).
8968 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8969 DEBUG log when we emit signals that people don't even have the
8970 chance to connect to.
8971 (gst_registry_scan_path_level): Less logging in the normal case.
8973 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8975 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8977 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8978 Correctly generate EOS for non-seekable files. We don't have a total
8979 length for them and would get an unexpected end of file if we only
8980 special-cased for regular files. (Fixes: #404569)
8982 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8984 * tests/check/elements/filesrc.c: (GST_START_TEST),
8986 Add unit test for the GstURIHandler interface in filesrc. This also
8987 tests the newly added file://localhost/foo/bar support.
8989 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8991 * gst/gstelementfactory.h:
8992 The klass string is not a hierarchy. Add reference to the design doc
8993 for more information and common types.
8995 2007-02-02 Wim Taymans <wim@fluendo.com>
8997 * gst/gstquery.c: (gst_query_new_latency):
8998 Remove old structure field.
9000 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9002 * tools/gst-launch.1.in:
9003 Give example for network streaming (#351998)
9005 2007-02-02 Wim Taymans <wim@fluendo.com>
9007 * docs/gst/gstreamer-sections.txt:
9008 Add docs for new methods.
9010 * gst/gstevent.c: (gst_event_new_latency),
9011 (gst_event_parse_latency):
9013 Add new LATENCY event to configure latency in a pipeline.
9014 API: gst_event_new_latency
9015 API: gst_event_parse_latency
9017 * gst/gstmessage.c: (gst_message_new_buffering),
9018 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9019 (gst_message_new_latency), (gst_message_parse_buffering),
9020 (gst_message_parse_lost_preroll):
9022 Added messages used in draft-latency.
9023 API: gst_message_new_lost_preroll
9024 API: gst_message_parse_lost_preroll
9025 API: gst_message_new_prerolled
9026 API: gst_message_new_latency
9028 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9029 (gst_query_parse_latency):
9031 Implemented new latency query as in design doc.
9032 API: gst_query_new_latency
9033 API: gst_query_set_latency
9034 API: gst_query_parse_latency
9036 2007-02-02 Wim Taymans <wim@fluendo.com>
9038 * docs/design/draft-latency.txt:
9039 Slight redesign to allow for dynamic latency adjustments.
9041 * docs/design/part-negotiation.txt:
9044 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
9046 reviewed by: Wim Taymans <wim@fluendo.com>
9048 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9049 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9050 Allow file://localhost/foo/bar URLs and correctly fail for every other
9051 hostname that one sets. This was gnomevfssrc is linked for those if
9052 installed as it can handle it (#403172)
9054 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9056 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9059 (unref_data), (gst_collect_pads_add_pad_full):
9060 * libs/gst/base/gstcollectpads.h:
9061 Don't put the previously added destroy notify in the GstCollectData
9062 struct as all it's padding is already used and we don't want to break
9063 ABI. Instead put in the pad's GObject data for now. This should be
9064 cleaned up for 0.11 (#402393).
9066 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9068 reviewed by: Wim Taymans <wim@fluendo.com>
9070 * docs/libs/gstreamer-libs-sections.txt:
9071 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9072 (unref_data), (gst_collect_pads_add_pad),
9073 (gst_collect_pads_add_pad_full):
9074 * libs/gst/base/gstcollectpads.h:
9075 API: Add function to specify a destroy notification for custom
9076 GstCollectData when adding new pads in GstCollectPads (#402393).
9078 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
9081 Update Swedish translation (#378255).
9083 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9085 * docs/design/draft-klass.txt:
9086 Fix the previous change, this is a list of categories and not a hierarchy.
9088 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9090 * docs/design/draft-klass.txt:
9091 Add info about how to get a list of used classes.
9093 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
9095 * plugins/elements/gsttypefindelement.c:
9096 (gst_type_find_element_chain_do_typefinding),
9097 (gst_type_find_element_change_state):
9098 Don't leak found caps in chain function (no idea why that never
9099 showed up as a leak anywhere).
9101 2007-01-30 Stefan Kost <ensonic@users.sf.net>
9104 Fix and expand GstPluginDesc API docs.
9106 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9109 * gst/gstelementfactory.c:
9110 * gst/gstpadtemplate.h:
9113 * libs/gst/controller/gstcontroller.c:
9114 (gst_controlled_property_new):
9115 * tests/examples/controller/audio-example.c:
9118 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9121 comment about refining the xml deps
9124 comments about moving away from jade for docs
9127 recommit the ifdefs to use the binary registry
9129 * gst/gstbin.c: (gst_bin_change_state_func):
9130 this break is obsolete
9132 * gst/gstelementfactory.h:
9133 better GST_ELEMENT_DETAILS docs, add comment about translation
9138 * gst/gstobject.c: (gst_signal_object_get_type):
9139 add G_UNLIKELY as usual
9141 * gst/gstpad.c: (gst_pad_event_default):
9142 add fall trhu comment
9144 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9145 (gst_registry_binary_initialize_magic),
9146 (gst_registry_binary_save_string),
9147 (gst_registry_binary_save_pad_template),
9148 (gst_registry_binary_save_feature),
9149 (gst_registry_binary_save_plugin),
9150 (gst_registry_binary_write_cache),
9151 (gst_registry_binary_check_magic),
9152 (gst_registry_binary_load_pad_template),
9153 (gst_registry_binary_load_feature),
9154 (gst_registry_binary_load_plugin),
9155 (gst_registry_binary_read_cache):
9156 comment typo and formatting
9158 * gst/gstutils.c: (gst_element_state_get_name),
9159 (gst_element_state_change_return_get_name):
9160 remove obsolete breaks
9162 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9163 add FIXME 0.11 and remove cpp comment
9165 2007-01-29 Edward Hervey <edward@fluendo.com>
9167 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9168 Fix print statement in an even more portable way.
9170 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
9172 * docs/gst/gstreamer-sections.txt:
9174 API: add GST_ROUND_DOWN_* macros (#401781).
9176 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
9178 * docs/gst/gstreamer.types.in:
9179 * gst/gstregistry.c: (gst_registry_class_init):
9180 Document registry signals and make gtk-doc pick them up (#401381).
9182 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
9184 * docs/pwg/building-testapp.xml:
9185 Add some audioconverts and audioresample to the pipeline, and some
9186 more comments and error handling.
9188 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
9190 * docs/manual/manual.xml:
9194 2007-01-26 Wim Taymans <wim@fluendo.com>
9196 * gst/gstcaps.c: (gst_static_caps_get):
9197 Init caps flags too.
9199 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
9201 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
9203 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9204 If not using mmap'ed files try to seek to the end instead of the
9205 start to determine whether we can seek at all. This fixes the case
9206 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
9207 seeks for everything afterwards fail. Fixes #400656
9209 2007-01-25 Wim Taymans <wim@fluendo.com>
9211 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
9212 Add some refcount debugging.
9213 Make gst_static_caps_get threadsafe, which is needed when autoplugging
9214 in multiple streaming threads.
9216 2007-01-25 Wim Taymans <wim@fluendo.com>
9218 Patch by: David Schleef <ds at schleef dot org>
9220 * docs/libs/gstreamer-libs-sections.txt:
9221 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
9222 * libs/gst/base/gstadapter.h:
9223 API: gst_adapter_copy() that can reduce the amount of memcpy when
9224 getting data from the adapter. Fixes #388201.
9226 2007-01-25 Edward Hervey <edward@fluendo.com>
9228 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9229 In print statements, "%x" is for guint. Fixes build on macosx.
9231 2007-01-24 Edward Hervey <edward@fluendo.com>
9233 * plugins/elements/gstmultiqueue.c:
9234 (gst_multi_queue_loop):
9236 (single_queue_overrun_cb), (single_queue_underrun_cb),
9237 (single_queue_check_full), (gst_single_queue_new):
9238 Implement single queue growth system.
9239 This uses the extra-size properties, and will grow single queues by
9240 that much if one goes full whereas there are others empty. This is
9241 called extra-mode in the code.
9242 When a single queue's levels go back below the initial max-size
9243 limits, it is no longer in extra-mode. This is to ensure we don't
9244 consume too much memory.
9247 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
9249 * gst/gst.c: (gst_init_get_option_group):
9250 Make warning about late g_thread_init() calls a bit more explicit,
9251 so that it's more obvious to application developers what they need
9252 to do if a user files a bug against their application.
9254 2007-01-22 Edward Hervey <edward@fluendo.com>
9256 * plugins/elements/gstmultiqueue.c:
9257 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
9258 Remove previous hack of unsetting the flushing flag for the source pad
9259 instead of activating it. Instead, fix the source pad activate function
9260 so that it no longer depends on having a parent set or not.
9262 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
9264 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
9266 * docs/manual/basics-bus.xml:
9267 Fix example code, gst_element_unref() doesn't exist any longer.
9269 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
9271 Patch by: Mark Nauwelaerts <manauw at skynet be>
9274 Fix two docs typoes (#399094).
9276 2007-01-19 Edward Hervey <edward@fluendo.com>
9278 * docs/faq/gst-uninstalled:
9279 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
9280 depending on libgstbaseutils can work in uninstalled environment.
9282 2007-01-18 Stefan Kost <ensonic@users.sf.net>
9285 * gst/gsttagsetter.c:
9286 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
9287 statement for new tag.
9289 2007-01-17 Edward Hervey <edward@fluendo.com>
9291 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
9292 When dynamically creating single queues, activate sinkpad before adding
9294 We should be doing the same thing for the source pad, but we can't
9295 since it would call a method which needs the parent to be set in order
9296 to work propertly. Instead of activating the source pad, we just unset
9297 the flushing flag, which is the minimal requirement for adding a pad
9298 to an element in a state greater than READY.
9300 2007-01-17 Edward Hervey <edward@fluendo.com>
9302 * docs/faq/gst-uninstalled:
9303 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
9306 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
9308 * tests/check/gst/gstabi.c:
9309 * tests/check/gst/struct_hppa.h:
9310 * tests/check/libs/libsabi.c:
9311 * tests/check/libs/struct_hppa.h:
9312 Add ABI structs for HPPA (see #393796).
9314 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
9316 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9317 Actually write ABI structs to the file specified in the GST_ABI
9318 environment variable, as the message we print claims we would.
9320 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9322 * tests/check/gst/gsttask.c:
9325 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9327 * gst/gsttaglist.c: (_gst_tag_initialize):
9328 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
9329 previous two entries.
9331 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9333 * docs/gst/gstreamer-sections.txt:
9334 * gst/gsttaglist.c: (_gst_tag_initialize):
9336 Add tag support for beat-per-minute.
9338 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9340 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9341 (gst_registry_binary_initialize_magic),
9342 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
9343 (gst_registry_binary_save_pad_template),
9344 (gst_registry_binary_save_feature),
9345 (gst_registry_binary_save_plugin),
9346 (gst_registry_binary_write_cache),
9347 (gst_registry_binary_check_magic),
9348 (gst_registry_binary_load_pad_template),
9349 (gst_registry_binary_load_feature),
9350 (gst_registry_binary_load_plugin),
9351 (gst_registry_binary_read_cache):
9352 * gst/gstregistrybinary.h:
9353 Use glib types, cleanup comments, impement interfaces and uri-types.
9355 2007-01-13 Andy Wingo <wingo@pobox.com>
9357 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9358 getrange() to return buffers with other caps, while we fix
9359 demuxers and typefind, or otherwise change part-negotiation.txt.
9361 2007-01-12 Andy Wingo <wingo@pobox.com>
9363 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9364 Factor start/stop into this private function instead of partially
9365 in activate functions and partially in the change_state function.
9366 Fixes setup before the element has changed from READY->PAUSED, as
9367 is the case in pull-mode pipelines.
9368 (gst_base_transform_sink_activate_push)
9369 (gst_base_transform_src_activate_pull): Refactor to use
9370 gst_base_transform_activate().
9371 (gst_base_transform_change_state): Removed, not needed any more.
9373 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9374 Truncate before fixating.
9376 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9377 Don't set_caps() if the result of fixating is ANY, as it's not
9378 supported, and not necessary in the case of a link with no
9379 template caps on either side. Fixes tests/check/libs/basesrc in
9380 some pull-mode tests.
9382 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9383 (gst_base_transform_init, gst_base_transform_sink_activate_push)
9384 (gst_base_transform_src_activate_pull):
9385 Track the activation mode.
9386 (gst_base_transform_setcaps): In pull mode, when activating the
9387 src pad, after activating the sink pad, activate the sink pad's
9388 peer, as discussed in part-negotiation.txt.
9390 * libs/gst/base/gstbasesrc.h:
9391 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9392 vmethod, as in basesink.
9394 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9396 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9397 mode, first proxy the setcaps to the peer pad.
9398 (gst_base_sink_pad_fixate): Add a fixate function that calls the
9400 (gst_base_sink_default_activate_pull): Rename from
9401 gst_base_sink_activate_pull.
9402 (gst_base_sink_negotiate_pull): New function, performs negotiation
9403 in pull mode before calling ::activate_pull().
9404 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9405 vmethod instead of the default implementation. I have no idea how
9406 this worked before. Negotiate before calling activate_pull.
9408 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9409 sink pads in pull mode. In addition to being correct, fixes
9410 filesrc ! decodebin ! identity ! fakesink.
9411 (gst_pad_get_range, gst_pad_pull_range): Don't call
9412 gst_pad_set_caps() if the caps changes; instead error out with
9413 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9415 2007-01-12 Andy Wingo <wingo@pobox.com>
9417 * docs/design/part-negotiation.txt: Update with more policy.
9419 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9421 * libs/gst/check/gstbufferstraw.h:
9422 * libs/gst/check/gstcheck.h:
9423 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9426 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9428 * tests/check/Makefile.am:
9429 * tests/check/gst/.cvsignore:
9430 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9431 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9432 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9433 (GST_START_TEST), (gst_tag_setter_suite):
9434 Add minimal unit test for beforementioned GstTagSetter bug.
9436 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9438 Patch by: René Stadler <mail at renestadler dot de>
9440 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9441 gst_tag_list_merge() returns a new list, so it's not the best idea
9442 to ingore its return value. Effectively meant that tags could only
9443 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9444 Also add function guard to require a non-NULL taglist as input (has
9445 always been so due to gst_tag_list_copy(), just making it explicit).
9447 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9449 * docs/random/draft-missing-plugins.txt:
9450 Some additions: mention new API that is supposed to be used at the
9451 various stages; short blob about new gst-inspect introspection
9452 option; mention potential future problem with plugins that have
9453 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9455 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9457 * tools/gst-inspect.c:
9458 (print_plugin_automatic_install_info_codecs),
9459 (print_plugin_automatic_install_info_protocols),
9460 (print_plugin_automatic_install_info), (main):
9461 Add --print-plugin-auto-install-info option to gst-inspect, so we can
9462 introspect plugin files and get machine-parsable output that corresponds
9463 to the last bit of the missing-plugin installer string (small gotcha:
9464 doesn't take into account ranks).
9466 2007-01-11 Stefan Kost <ensonic@users.sf.net>
9469 * docs/gst/gstreamer-sections.txt:
9471 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9472 (gst_registry_lookup_locked):
9473 * gst/gstregistry.h:
9474 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9475 (gst_registry_binary_initialize_magic),
9476 (gst_registry_binary_save_string),
9477 (gst_registry_binary_save_pad_template),
9478 (gst_registry_binary_save_feature),
9479 (gst_registry_binary_save_plugin),
9480 (gst_registry_binary_write_cache),
9481 (gst_registry_binary_check_magic),
9482 (gst_registry_binary_load_pad_template),
9483 (gst_registry_binary_load_feature),
9484 (gst_registry_binary_load_plugin),
9485 (gst_registry_binary_read_cache):
9486 * gst/gstregistrybinary.h:
9487 * gst/gstregistryxml.c: (load_feature),
9488 (gst_registry_xml_read_cache):
9489 commit binary registry (disabled by default, see #359653)
9491 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9493 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9494 Fix 'make check' too.
9496 2007-01-10 Andy Wingo <wingo@pobox.com>
9498 * docs/design/part-negotiation.txt: Fix a typo, add a couple
9501 * docs/design/part-negotiation.txt: Update with, um, one way that
9502 pull-mode negotiation might work?
9505 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9506 that the pad must be a src pad; makes sense to call it the other
9507 way in pull mode, and the logic is symmetric anyway.
9509 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
9511 * plugins/elements/gstfilesink.c:
9512 Include <stdio.h> for fseeko().
9514 2007-01-10 Wim Taymans <wim@fluendo.com>
9518 Reserve LATENCY event.
9520 2007-01-09 Wim Taymans <wim@fluendo.com>
9522 * docs/design/draft-latency.txt:
9525 2007-01-09 Wim Taymans <wim@fluendo.com>
9527 * docs/design/draft-latency.txt:
9531 * gst/gststructure.c:
9535 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
9537 * tests/check/.cvsignore:
9538 Ignore test-registry.xml as well.
9540 2007-01-09 Wim Taymans <wim@fluendo.com>
9542 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9543 unref data at the end when we are done with the pad.
9545 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9547 * docs/gst/gstreamer-sections.txt:
9548 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9549 (init_post), (gst_deinit), (gst_update_registry):
9551 API: add gst_update_registry() (#391296).
9553 * tests/check/Makefile.am:
9554 * tests/check/gst/gstregistry.c:
9555 * tests/check/gst/.cvsignore:
9556 Simple unit test for the above.
9558 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9560 * gst/gstregistry.c: (gst_registry_scan_path_level):
9561 Plugin extension on HP-UX is .sl, add that to the list of approved
9562 plugin extensions (see #393796).
9564 * tests/check/gst/gstpad.c: (GST_START_TEST):
9565 ulong => gulong. Fixes compilation with HP-UX compiler.
9567 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9568 Fix compilation if valgrind headers are not available.
9570 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
9572 * win32/common/libgstreamer.def:
9573 Add new exported function.
9574 * win32/vs6/libgstbase.dsp:
9575 Add gstdataqueue.c to the build.
9576 * win32/vs6/libgstcoreelements.dsp:
9577 Add gstmultiqueue.c to the build.
9579 2007-01-06 Andy Wingo <wingo@pobox.com>
9581 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9582 activate_pull(), providing for a way to specialize the process of
9583 spawning a thread to pull on the sink pad. There is a default
9586 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9587 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9588 (gst_base_sink_init): Renamed pad activation functions (inserting
9589 "_pad" in their names). Refactor to use the new activate_pull
9590 vmethod, as appropriate.
9591 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9592 default activate_pull function to start a task pulling from the
9593 sink pad, as before.
9595 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9596 on the pads if necessary, as in push()/chain(). Update docs.
9597 Shouldn't affect existing pull() usage as it is currently only
9598 being used on buffers without caps.
9600 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9602 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9604 Call g_thread_init() first thing in gst_init() / gst_check_init().
9605 When initialisation is done via gst_init_get_option_group() and
9606 GOption parsing, issue a warning if the GLib thread system has not
9607 been initialised yet by the time gst_init_get_option_group() is
9608 called, as it's quite likely other GLib functions such as
9609 g_option_context_new() have been called already then, and
9610 g_thread_init() must be called before any other GLib function. The
9611 application in question must be fixed in that case, since memory
9612 corruption might happen otherwise.
9613 We issue the warning because even if the GLib folks decide to work
9614 around the problem on their end in future, this is still an issue
9615 with all GLib versions >= 2.10.0, so we should warn until we depend
9616 on a GLib version we know to be safe.
9617 Update documentation as well.
9620 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9622 * tools/gst-inspect.c: (main):
9623 * tools/gst-launch.c: (main):
9624 * tools/gst-typefind.c: (main):
9625 * tools/gst-xmlinspect.c: (main):
9626 Call g_thread_init() really really early, before any other GLib
9627 function (see #342564 and recent discussion on gtk-devel-list).
9629 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9631 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9633 * gst/gst_private.h:
9634 * gst/gstconfig.h.in:
9636 On win32, all the __declspec stuff for symbol exporting is
9637 apparently only needed with MSVC, but doesn't work with MingW.
9638 Fixes compilation with MingW and #391909.
9640 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9642 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9643 Change some GST_ERROR_OBJECT that aren't really errors to
9644 GST_WARNING_OBJECT in order to reduce terminal spam.
9646 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9648 * tests/check/Makefile.am:
9649 disable test again, as there seem to be still race problems
9651 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9653 * tests/check/Makefile.am:
9654 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9655 (GST_START_TEST), (queue_suite):
9656 enable queue test again, add tests for the leaky behaviour
9658 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9661 * tests/examples/Makefile.am:
9662 Compile adapter test/example only if the required headers are
9663 available (fixes #391915).
9665 2007-01-01 David Schleef <ds@schleef.org>
9668 Restore the previous signal handler for SIGSEGV instead of
9669 setting to default, since we may have stolen it away from
9670 someone. (i.e., Mono)
9672 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9674 * docs/random/draft-missing-plugins.txt:
9675 Some small additions and clarifications.
9677 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9679 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9680 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9681 since that can lead to random memory corruptions and crashes
9682 (may or may not be related to #383244, #386711, and #386711).
9684 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9686 * tests/check/.cvsignore:
9687 * tests/check/Makefile.am:
9688 sync .cvsignome and CLEANFILES
9690 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9692 * tests/check/Makefile.am:
9695 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9697 * docs/design/part-states.txt:
9698 two tiny additional comments
9700 * gst/gststructure.c:
9703 * tests/check/Makefile.am:
9704 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9706 disable test for now, unless it gets fixed
9708 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9710 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9712 fix race in underrun test
9714 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9716 * tests/check/elements/.cvsignore:
9719 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9721 try to narrow test failure
9723 2006-12-21 David Schleef <ds@schleef.org>
9725 * plugins/elements/gstfakesrc.c:
9726 Use g_random_int_range(), since it produces better random
9727 numbers in a range than almost-correct floating point code.
9729 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9731 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9732 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9733 (gst_check_teardown_sink_pad):
9734 do not automatically (de)activate pads
9736 * tests/check/Makefile.am:
9737 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9738 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9739 add new, yet simple tests for queue
9741 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9742 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9743 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9745 * tests/check/elements/identity.c: (cleanup_identity):
9746 consistent pad (de)activation
9748 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9750 Patch by: Sebastian Dröge <slomo ubuntu com>
9752 * libs/gst/base/gstcollectpads.c:
9753 Fix two doc typos (#387866).
9755 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9757 * docs/manual/advanced-dparams.xml:
9758 Fix typo (g_object_control_properties() doesn't exist).
9760 2006-12-19 Edward Hervey <edward@fluendo.com>
9762 * gst/gstsegment.c: (gst_segment_set_seek):
9763 Fine tune the cases where the segment start/stop values are really
9765 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9766 Add tests for the return values of gst_segment_set_seek().
9768 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9773 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9775 Fix incorrect documentation and flesh it out a bit more.
9776 Set default values for the max properties on the GParamSpec as well,
9777 so it shows up correctly in gst-inspect.
9779 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9781 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9782 Correct docs of queue, add more detail and crosslink it more.
9784 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9786 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9787 Print additional debug info when the stream isn't perfectly
9788 timestamped; don't try to use invalid durations.
9790 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9792 * docs/design/Makefile.am:
9793 Dist new design docs.
9795 2006-12-16 Wim Taymans <wim@fluendo.com>
9797 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9799 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9800 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9801 (gst_collect_pads_stop), (gst_collect_pads_event),
9802 (gst_collect_pads_chain):
9803 * libs/gst/base/gstcollectpads.h:
9804 Add refcounting to the collectpads data so we can track when it's safe
9805 to free the data. Fixes #383382.
9807 2006-12-15 Wim Taymans <wim@fluendo.com>
9809 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9810 (gst_collect_pads_remove_pad):
9811 Automatically activate/deactivate pads when they are added to a
9812 started/stoped collectpads.
9814 2006-12-15 Wim Taymans <wim@fluendo.com>
9816 * gst/gstelement.c: (gst_element_add_pad):
9817 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9818 * gst/gstpad.c: (gst_pad_init):
9819 Set pads to FLUSHING when they are created. Check, warn and fix when a
9820 demuxer adds an inactive pad to itself when running. Fixes #339326.
9822 2006-12-15 Wim Taymans <wim@fluendo.com>
9824 * gst/gstelement.c: (gst_element_class_init),
9825 (gst_element_default_send_event), (gst_element_send_event),
9826 (gst_element_default_query), (gst_element_query):
9827 Expose default element send_event and query handling as vmethods that
9828 subclasses can chain up to.
9830 2006-12-15 Wim Taymans <wim@fluendo.com>
9832 * gst/gstelement.c: (gst_element_set_state_func):
9833 Small documentation fixes.
9835 2006-12-15 Wim Taymans <wim@fluendo.com>
9837 * docs/design/draft-latency.txt:
9838 Checked in draft for handling latency in pipelines.
9840 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9844 * gstreamer.spec.in:
9847 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9849 * gst/gst.c: (init_pre), (init_post):
9850 init_pre() and init_post() might be called via our GOptionGroup or
9851 from gst_init(), and we should skip both of them if we've already
9852 been initialised, otherwise we will init some things twice or add
9853 two default log functions.
9855 2006-12-13 Edward Hervey <edward@fluendo.com>
9857 * docs/manual/basics-bus.xml:
9858 No, gst_main_loop does not exist. Its g_main_loop.
9859 Discovered by somebody who abused the copy-paste technique of coding :)
9861 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9863 * gst/gstghostpad.c:
9864 Log ghostpad debug stuff to the GST_PADS category as well rather
9865 than just to the default category.
9867 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9870 * gst/gst.c: (init_pre):
9871 Add some basic system details such as OS and architecture
9872 to the debug output if possible, courtesy of uname().
9874 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9876 * docs/gst/running.xml:
9877 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9878 environment variables.
9880 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9882 * tests/check/gst/gstbin.c: (GST_START_TEST):
9883 It is acceptable to have a refcount of 2 or 3 at this point in the
9884 test, because the pipeline might be just posting its state_change
9885 message. The next line then waits for that message to appear using
9886 bus_poll, so that should be fine too.
9888 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9890 * gst/gst.c: (ensure_current_registry_forking):
9891 Ignore EINTR when reading from the child registry pipe.
9892 Explicitly ignore the return value from close, since it makes no
9895 * gst/gstminiobject.c: (gst_mini_object_ref),
9896 (gst_mini_object_unref):
9897 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9899 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9900 When removing cached plugins, remove their features too, so they're
9901 not visible after they've disappeared.
9903 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9904 In the unlikely case that we are linking pads with no parents, don't
9905 crash trying to get the non-existent parent bin.
9907 * gst/parse/grammar.y:
9908 Output debug in the PIPELINE category
9910 2005-03-08 Wim Taymans <wim@fluendo.com>
9912 Patch by: René Stadler <mail at renestadler dot de>
9914 * gst/gstclock.c: (gst_clock_new_periodic_id):
9915 Reject invalid clock times for interval of periodic ids.
9918 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9920 * gst/gstelementfactory.c: (gst_element_factory_create):
9921 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9922 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9923 * tools/gst-inspect.c: (print_element_info):
9924 Fix refcounting of gst_plugin_feature_load to match the docs.
9927 2006-12-07 Wim Taymans <wim@fluendo.com>
9929 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9930 (gst_base_sink_get_position):
9931 Improve debugging of events.
9933 2006-12-07 Wim Taymans <wim@fluendo.com>
9935 Patch by: René Stadler <mail at renestadler dot de>
9937 * gst/gstclock.c: (gst_clock_id_wait):
9938 Make period ids add the interval to the origial requested time instead
9939 of the possibly updated time which can be wrong when there are multiple
9940 waiters for the same id. Fixes #382592.
9942 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9943 (gst_system_clock_id_wait_jitter_unlocked),
9944 (gst_system_clock_id_wait_jitter):
9945 Fix restart in the async notify thread when an async entry is added to
9946 the front of the list. Fixes #381492.
9948 * tests/check/gst/gstsystemclock.c: (store_callback),
9949 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9950 Added test for multiple async waits.
9951 Added test for async wait order.
9953 2006-12-07 Wim Taymans <wim@fluendo.com>
9955 * gst/gstbin.c: (gst_bin_query):
9956 Add some more docs about the POSITION query.
9958 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9961 Bump version nano - back to CVS.
9963 === release 0.10.11 ===
9965 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9968 releasing 0.10.11, "Love never runs on time"
9970 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9972 * win32/common/libgstbase.def:
9973 * win32/common/libgstreamer.def:
9974 * win32/vs8/libgstbase.vcproj:
9975 * win32/vs8/libgstcoreelements.vcproj:
9976 * win32/vs8/libgstreamer.vcproj:
9977 Fix compilation on win32 under VS8
9978 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9979 Partially fixes #381175
9981 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9983 * gst/gstvalue.c: (gst_value_compare_fraction):
9984 If someone is foolish enough to compare 2 fractions with denominator =
9985 0, return UNORDERED rather than aborting.
9987 2006-11-28 Edward Hervey <edward@fluendo.com>
9989 * libs/gst/base/Makefile.am:
9990 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9991 (gst_data_queue_base_init), (gst_data_queue_class_init),
9992 (gst_data_queue_init), (gst_data_queue_new),
9993 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9994 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9995 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9996 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9997 (gst_data_queue_set_flushing), (gst_data_queue_push),
9998 (gst_data_queue_pop), (gst_data_queue_drop_head),
9999 (gst_data_queue_set_property), (gst_data_queue_get_property):
10000 * libs/gst/base/gstdataqueue.h:
10001 New GstDataQueue object for threadsafe queueing. Most useful for
10002 elements that need some queueing functionnality.
10003 * docs/libs/gstreamer-libs-docs.sgml:
10004 * docs/libs/gstreamer-libs-sections.txt:
10005 Insert documentation for GstDataQueue
10006 * plugins/elements/Makefile.am:
10007 * plugins/elements/gstelements.c:
10008 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10009 (gst_multi_queue_class_init), (gst_multi_queue_init),
10010 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10011 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10012 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10013 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10014 (gst_multi_queue_loop), (gst_multi_queue_chain),
10015 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10016 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10017 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10018 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10019 (wake_up_next_non_linked), (compute_next_non_linked),
10020 (single_queue_overrun_cb), (single_queue_underrun_cb),
10021 (single_queue_check_full), (gst_single_queue_new):
10022 * plugins/elements/gstmultiqueue.h:
10023 New multiqueue element, using GstDataQueue. Used for queuing multiple
10025 Closes #344639 and #347785
10027 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10029 * docs/pwg/advanced-types.xml:
10030 add more missing type details
10032 * tools/gst-run.c: (main):
10033 remove unused variable
10035 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10037 * docs/libs/Makefile.am:
10038 * docs/libs/gstreamer-libs.types:
10039 add types of base classes to enable gobject specific stuff in the docs
10041 * docs/random/ensonic/embedded.txt:
10042 more ideas about isolating platform specific things
10044 2006-11-20 Wim Taymans <wim@fluendo.com>
10046 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10048 * libs/gst/check/gstcheck.h:
10049 Fix compilation and running against 0.9.4. Fixes #377332.
10051 2006-11-20 Wim Taymans <wim@fluendo.com>
10053 * gst/gstsegment.c: (gst_segment_set_seek),
10054 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10055 (gst_segment_to_running_time):
10056 Fix boundary checking in to_running_time() and to_stream_time().
10059 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10060 stream and running time can now be calculated for the complete
10063 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
10065 * gst/gstpad.c: (gst_pad_push_event):
10066 Can't access event structure after giving away ownership of
10069 2006-11-15 Stefan Kost <ensonic@users.sf.net>
10071 * docs/random/ensonic/embedded.txt:
10072 * docs/random/ensonic/profiling.txt:
10073 * docs/random/ensonic/receipies.txt:
10076 2006-11-13 Wim Taymans <wim@fluendo.com>
10078 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10081 Fix documentation for gst_pad_dispatcher. Fixes #374475.
10083 2006-11-13 Wim Taymans <wim@fluendo.com>
10085 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10087 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10088 Store new length in segment duration so we don't keep on calling the
10089 potentially expensize get_size() call. Fixes #370865.
10091 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
10093 Patch by: Sergey Scobich <sergey.scobich at gmail com>
10095 * win32/common/libgstreamer.def:
10096 Add two missing symbols (#366492).
10098 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
10100 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
10101 (gst_adapter_take_buffer):
10102 Fix format string to use all its arguments.
10103 Remove useless >= check on a guint
10105 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10107 * tests/examples/adapter/.cvsignore:
10108 Ignore build file as commanded by the build-bot
10110 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10112 * tests/examples/adapter/Makefile.am:
10113 * tests/examples/adapter/adapter_test.c: (run_test_take),
10114 (run_test_take_buffer), (run_tests), (main):
10116 Add new files from the previous commit
10118 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10122 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
10123 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
10124 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
10125 * libs/gst/base/gstadapter.h:
10126 * tests/check/libs/adapter.c: (create_and_fill_adapter),
10127 (GST_START_TEST), (gst_adapter_suite):
10128 * tests/examples/Makefile.am:
10129 Do some optimisation work in GstAdapter to avoid copies in more cases.
10130 It could still do slightly better by merging buffers when
10131 gst_buffer_is_span_fast is true, but is already faster.
10133 Also, avoid traversing a single-linked list to append each incoming
10134 buffer inside the adapter.
10136 Add simple test app that times the adapter behaviour in different
10137 situations, and extend the unit test to check that bytes enter and
10138 exit the adapter in their original order.
10140 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
10142 * docs/random/draft-missing-plugins.txt:
10143 Update: use element message instead of adding a new message
10144 type to the core; don't provide GStreamer API to initiate the
10145 plugin download, just provide API to compose the strings needed
10146 and let an external libgimmestuff handle the rest.
10148 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
10150 * tools/gst-inspect.c: (print_element_properties_info):
10151 Print a string instead of 'unknown type' for GValueArray properties
10153 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
10155 * docs/random/draft-missing-plugins.txt:
10158 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
10160 * tests/examples/typefind/typefind.c: (type_found), (main):
10161 Make typefind element example work again (#371894); add a
10164 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
10166 * docs/random/draft-missing-plugins.txt:
10167 Commit initial draft about how to deal with missing plugins,
10168 needs work (API too).
10170 2006-11-07 Stefan Kost <ensonic@users.sf.net>
10172 * docs/pwg/advanced-types.xml:
10173 documents the new caps elements (see #363118)
10175 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
10177 * gst/gstplugin.c: (gst_plugin_load_file):
10178 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
10179 (gst_file_src_map_region), (gst_file_src_start):
10180 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
10181 (gst_file_index_commit):
10182 Use g_strerror() instead of strerror() - we want UTF-8.
10184 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
10186 Patch by: Peter Kjellerstedt <pkj at axis com>
10188 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10189 Another printf fix (#371493).
10191 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10193 * tests/check/gst/gsttag.c:
10194 relicence (okay with author=company)
10196 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10198 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10199 (gst_pad_push_event):
10200 Enhance debug and improve docs
10205 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10207 * docs/random/ensonic/distributed.txt:
10208 * docs/random/ensonic/profiling.txt:
10211 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10213 * docs/gst/gstreamer-sections.txt:
10214 add new API and fix the build
10216 * gst/gstbin.c: (gst_bin_recalc_state):
10217 * gst/gstelement.c: (gst_element_message_full),
10218 (gst_element_get_state_func), (gst_element_set_state_func):
10219 use new API and improve logging
10221 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10223 API: add function to get StateChangereturn names to improve logs
10225 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
10227 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10228 I'm considering shooting the next person to put strerror stuff
10229 in the translateable part of the message.
10231 2006-11-03 Wim Taymans <wim@fluendo.com>
10233 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10234 Get the type and printf conversion specifiers right.
10236 2006-11-03 Wim Taymans <wim@fluendo.com>
10238 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10240 * gst/gstpad.c: (gst_pad_init), (pre_activate),
10241 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
10242 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
10243 Some small cleanups. Improve debugging.
10245 Signal all waiting threads with a broadcast instead of just one.
10248 2006-11-03 Wim Taymans <wim@fluendo.com>
10250 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
10251 (gst_fd_src_create):
10252 Add some debugging.
10253 Only update fd when it's different from the old.
10255 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
10257 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
10258 Printf fixes for PPC/OSX, take two (#369366).
10260 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
10262 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
10264 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10265 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10266 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
10267 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
10268 don't cast to long long for portability reasons, but use
10269 GLib's types instead.
10271 2006-10-30 Michael Smith <msmith@fluendo.com>
10273 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10274 Get the arguments to lseek() the right way around.
10277 2006-10-30 Wim Taymans <wim@fluendo.com>
10279 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
10282 _declspec should be __declspec (two underscores, not one). Fixes 366572.
10284 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
10286 Patch by: Kjartan Maraas <kmaraas at gnome org>
10288 * docs/design/part-MT-refcounting.txt:
10289 * docs/random/wtay/capsnego2-docs:
10292 Typo fixes (#366212).
10294 2006-10-28 Wim Taymans <wim@fluendo.com>
10296 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10299 * win32/common/libgstbase.def:
10300 * win32/common/libgstreamer.def:
10301 * win32/vs8/libgstbase.vcproj:
10302 * win32/vs8/libgstcontroller.vcproj:
10303 Add needed entries in .def files.
10305 Rearrange def files in vs8 solutions. Fixes #366286.
10307 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
10309 * win32/common/gstconfig.h:
10310 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
10311 hand-made win32 gstconfig.h. Fixes #366321.
10313 2006-10-27 Wim Taymans <wim@fluendo.com>
10315 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
10316 (gst_ghost_pad_new_full):
10317 Make acceptcaps return TRUE when we don't have a target, just like
10320 2006-10-27 Wim Taymans <wim@fluendo.com>
10322 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10323 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
10325 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
10327 * gst/gststructure.c: (gst_structure_id_set_value):
10328 If someone tries to set a non-UTF8 string field on a structure,
10329 don't just print a warning, but also ignore the request and do
10330 not change/add that field to the structure.
10332 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10333 Test for the above.
10335 2006-10-25 David Schleef <ds@schleef.org>
10338 g_hash_table_insert() needs a cast to a non-const pointer duh.
10340 2006-10-25 David Schleef <ds@schleef.org>
10344 Change name parameter of _gst_debug_register_funcptr to const
10345 to reflect the constness of its use in the function as well
10346 as to quiet a gcc warning.
10348 2006-10-25 Edward Hervey <edward@fluendo.com>
10350 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10351 Don't push the buffer if it's empty.
10354 2006-10-24 Wim Taymans <wim@fluendo.com>
10359 * libs/gst/base/gstbasetransform.c:
10360 (gst_base_transform_sink_eventfunc):
10361 Debug segment values *after* updating them as this is more
10364 2006-10-23 Wim Taymans <wim@fluendo.com>
10366 * docs/design/part-events.txt:
10369 * docs/design/part-block.txt:
10370 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10371 (gst_pad_push_event):
10372 Revert BLOCKING patch, it tries to be smart without really having a
10373 clear idea what or how. So, now we discard all FLUSHING events again on
10374 a blocking pad. Should fix gnonlin again.
10376 2006-10-23 Wim Taymans <wim@fluendo.com>
10378 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10380 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10381 (gst_base_src_start), (gst_base_src_activate_push):
10382 Make sure size is always initialized. Fixes #364388.
10384 2006-10-20 Stefan Kost <ensonic@users.sf.net>
10386 * docs/random/ensonic/distributed.txt:
10387 add some ideas about doing distributed processing
10389 * docs/random/ensonic/profiling.txt:
10390 get_rusage look promising
10392 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10394 * docs/manual/basics-helloworld.xml:
10395 Add a cast in example to fix compile warning
10397 2006-10-18 Wim Taymans <wim@fluendo.com>
10399 * gst/gstsegment.c: (gst_segment_set_last_stop),
10400 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10401 Relax arg checking again, -1 is allowed.
10403 2006-10-18 Wim Taymans <wim@fluendo.com>
10405 * gst/gstsegment.c: (gst_segment_set_last_stop),
10406 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10407 _set_last_stop() must be with a value != -1
10408 A _TYPE_SET to -1 means seek to 0.
10409 Calc last_stop correctly for negative rates.
10410 Make sure we work with positive durations when updating a segment.
10412 2006-10-18 Wim Taymans <wim@fluendo.com>
10414 * docs/design/part-live-source.txt:
10418 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
10421 Add an explicit cast to GstBuffer** to keep old code that added an
10422 explicit cast to GstMiniObject** for gst_mini_object_replace()
10423 compiling without warning.
10425 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10427 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10428 check for validity of dates
10430 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10432 * docs/gst/gstreamer-sections.txt:
10433 Forgot this one, makes gtk-doc shut up.
10435 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10437 Patch by: Peter Kjellerstedt <pkj at axis com>
10440 Don't define xmlNodePtr to gpointer if the core was built with
10441 --disable-loadsave and --disable-registry, this will break
10442 applications that want to use libxml2 but are buildling against a
10443 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10444 instead so we don't have to mess with the libxml2 namespace
10447 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10450 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10451 type-punned pointer warnings.
10453 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
10455 * gst/gstelement.h:
10456 Add casts to the correct return type to state <=> state transition
10459 2006-10-16 Stefan Kost <ensonic@users.sf.net>
10461 * docs/design/part-live-source.txt:
10462 describe howto handle latency
10464 * docs/random/ensonic/profiling.txt:
10467 * tools/gst-plot-timeline.py:
10468 fix log parsing for solaris, remove unused function
10470 2006-10-16 Wim Taymans <wim@fluendo.com>
10472 * docs/design/part-trickmodes.txt:
10474 Update some docs regarding reverse playback.
10476 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
10478 Patch by: Marcus Granado <mrc dot gran at gmail com>
10480 * win32/vs8/grammar.vcproj:
10481 Error out with a warning if glib-genmarshal.exe is not in path,
10482 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10484 2006-10-13 Wim Taymans <wim@fluendo.com>
10486 * gst/gstsegment.c: (gst_segment_set_seek):
10487 When seeking to stop -1, set last_stop (current position) to the
10488 duration of the segment.
10490 2006-10-13 Wim Taymans <wim@fluendo.com>
10492 * gst/gstelement.h:
10493 Clarify _NO_PREROLL a bit more.
10498 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10499 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10500 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10501 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10502 due to wrong locking order. Fixes #361769.
10503 Remove some redundant/misplaced checks in pad_block.
10505 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10506 For negative rates, count backwards from the duration.
10508 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
10510 * gst/gsterror.c: (_gst_library_errors_init):
10511 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10512 up with something better).
10514 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10516 * win32/vs6/libgstreamer.dsp:
10517 * win32/vs7/libgstreamer.vcproj:
10518 * win32/vs8/libgstreamer.vcproj:
10519 Don't reference glib-compat.c which is currently not used and not
10520 disted; add gstquark.c which was recently added. Fixes #361730.
10522 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10524 * win32/common/libgstbase.def:
10525 * win32/common/libgstcontroller.def:
10526 * win32/common/libgstreamer.def:
10527 Add gst_caps_merge() and a bunch of other recently-added functions.
10530 2006-10-11 Wim Taymans <wim@fluendo.com>
10532 * docs/plugins/gstreamer-plugins.args:
10533 * docs/plugins/inspect/plugin-coreelements.xml:
10534 * docs/plugins/inspect/plugin-coreindexers.xml:
10535 Update element args.
10537 * gst/gstsystemclock.c:
10538 Small comment update.
10540 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10541 (gst_tee_request_new_pad), (gst_tee_release_pad),
10542 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10543 (gst_tee_sink_activate_pull):
10544 * plugins/elements/gsttee.h:
10546 Add default property defines.
10547 Implement release pad function.
10548 Give properties better blubs etc.
10549 Activate pads before adding them to a running tee.
10550 Do simple buffer_alloc on the first requested pad.
10551 Post error when activation fails.
10553 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10555 * gst/gst.c: (ensure_current_registry_forking):
10556 Check return value of write() to make compiler happy.
10558 2006-10-11 Wim Taymans <wim@fluendo.com>
10560 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10562 * plugins/elements/gstqueue.c: (gst_queue_chain):
10563 Recheck queue filledness after signalling the overrun when we're about
10564 to leak downstream because we released the lock when emitting the signal
10565 and the queue could be empty again. Fixes #352345.
10567 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10569 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10570 Fix refcounting here too, just like we did for _new_valist() a few
10571 days ago (#357180) (thanks to René Stadler). Also remove all those
10572 'Since: 0.9' from the gtk-doc blobs.
10574 * tests/check/libs/controller.c: (controller_refcount_new_list),
10575 (gst_controller_suite):
10576 Unit test for the above.
10578 2006-10-10 Wim Taymans <wim@fluendo.com>
10580 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10582 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10583 (gst_pad_save_thyself):
10585 Write pad direction in XML output. Fixes #345496.
10587 2006-10-10 Wim Taymans <wim@fluendo.com>
10589 Patch by: René Stadler <mail at renestadler dot de>
10591 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10592 (gst_controller_new_list), (_gst_controller_dispose),
10593 (_gst_controller_finalize), (_gst_controller_class_init):
10594 Take ref to controlled object so that it cannot disappear.
10597 2006-10-10 Wim Taymans <wim@fluendo.com>
10599 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10600 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10601 (gst_check_teardown_sink_pad):
10602 Activate/deactivate pads in setup/teardown respectively.
10604 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10606 Patch by: Josep Torra Valles <josep@fluendo.com>
10609 Cast values when making gstenumtypes.h. This pacifies Forte
10610 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10611 in the enumeration.
10613 2006-10-09 Wim Taymans <wim@fluendo.com>
10615 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10616 Rename some more @cur to @start to fix docs.
10618 * gst/gstsegment.c: (gst_segment_set_seek):
10620 time and start must always stay in sync as defined in design doc.
10622 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10623 Rename param to fix docs.
10625 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10626 Check that start and time are in sync.
10628 * tests/check/pipelines/parse-launch.c:
10629 (gst_parse_test_element_change_state):
10630 Activate pad before adding to the element.
10632 2006-10-09 Wim Taymans <wim@fluendo.com>
10634 * docs/design/part-qos.txt:
10639 Update seek event docs regarding negative rates.
10640 Rename @cur to @start.
10642 * gst/gstsegment.c: (gst_segment_set_seek):
10643 * gst/gstsegment.h:
10644 Update set_seek docs regarding negative rates.
10645 Correctly update last_stop to @stop when dealing with negative
10647 Rename @cur to @start.
10649 * tests/check/gst/gstpad.c: (GST_START_TEST):
10650 Activate pads before trying to use them.
10652 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10653 (gst_segment_suite):
10654 Add simple check for segments and negative rates.
10656 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10658 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10659 * gst/gsttaglist.h:
10660 * docs/gst/gstreamer-sections.txt:
10661 API: add gst_tag_list_is_empty() (#360467).
10663 * tests/check/gst/gsttag.c: (GST_START_TEST):
10666 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10668 * gst/gstmessage.h:
10669 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10670 a value that doesn't fit on enumeration.
10672 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10674 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10675 Remove local debugging system and use Gstreamer's instead.
10677 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10679 Patch by: Josep Torra Valles <josep@fluendo.com>
10681 * common/m4/gst-error.m4:
10682 Disable warning of statement not reached on Forte.
10683 * gst/gstmessage.h:
10684 Fix warning on Forte (value doesn't fit on enumeration).
10685 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10686 Fix warning on Forte (value doesn't fit on enumeration).
10687 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10688 DEBUG macro says it takes minimum of 2 args and so Forte
10689 complains about the use with just 1 arg.
10690 * plugins/elements/gstfdsink.c:
10691 * plugins/elements/gstfdsrc.c:
10692 * plugins/elements/gstfilesink.c:
10693 * plugins/elements/gstfilesrc.c:
10694 Use correct return type for the uri handler implementations.
10696 All these fix warnings in Forte. Fixes bug #360860.
10698 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10700 * gst/gstelement.h:
10701 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10702 format string, so don't use G_GNUC_PRINTF for those versions.
10704 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10706 * gst/gsttaglist.c: (gst_is_tag_list):
10707 * gst/gsttaglist.h:
10708 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10710 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10711 Small test for the above.
10713 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10715 * gst/gsttaglist.h:
10716 Less tabs, more spaces.
10718 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10721 Those two function declarations do actually belong there, revert
10722 commit from yesterday that turned them intro macros.
10724 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10726 Patch by: Josep Torra Valles <josep@fluendo.com>
10728 * gst/gst.c: (gst_init_get_option_group):
10729 Fix empty declaration and type mismatch.
10730 * gst/gstbin.c: (gst_bin_change_state_func):
10732 * gst/gstelement.c: (gst_element_continue_state),
10733 (gst_element_set_state_func), (gst_element_change_state),
10734 (gst_element_change_state_func):
10735 Fix type mismatches.
10736 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10737 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10738 Cast as appropriate.
10739 * gst/gstobject.c: (gst_class_signal_connect):
10740 Cast as appropriate. The function pointer parameter really
10741 has the wrong type but would break API if we change it.
10743 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10744 order of including string.h.
10745 * gst/gstutils.c: (gst_element_state_get_name):
10746 Remove unreachable line.
10747 * gst/gstxml.c: (gst_xml_parse_doc):
10749 All these caught by Forte.
10751 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10753 Patch by: Josep Torra Valles <josep@fluendo.com>
10755 * common/m4/gst-error.m4:
10757 We need to disable warnings on Forte for empty declarations
10758 due to gst-indent adding ;s to lines that just use macros
10759 where the macro actually doesn't need a ; at end to end
10762 2006-10-06 Wim Taymans <wim@fluendo.com>
10764 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10765 (gst_file_sink_close_file), (gst_file_sink_event),
10766 (gst_file_sink_render):
10767 Add some FIXME for the NEWSEGMENT handling.
10769 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10771 * gst/parse/grammar.y:
10772 Remove static function gst_parse_element_lock as all it does
10773 is return. Looks like cruft from 0.8.
10775 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10777 Patch by: Josep Torra Valles <josep@fluendo.com>
10779 * common/m4/gst-error.m4:
10781 * libs/gst/net/Makefile.am:
10782 Fix a compilation issue with Forte on Solaris. inet_aton is in
10785 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10787 * gst/gstpad.c: (pre_activate):
10788 * gst/gstregistry.c: (gst_registry_scan_path_level):
10789 * gst/gstregistryxml.c: (load_plugin):
10790 * libs/gst/controller/gstcontroller.c:
10791 (gst_controlled_property_set_interpolation_mode):
10792 * libs/gst/dataprotocol/dataprotocol.c:
10793 (gst_dp_packet_from_event_1_0):
10794 * libs/gst/net/gstnetclientclock.c:
10795 (gst_net_client_clock_observe_times):
10796 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10799 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10802 * docs/gst/gstreamer-sections.txt:
10803 * gst/gstconfig.h.in:
10804 * gst/gstelement.h:
10806 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10807 whether we can use G_GNUC_PRINTF in other header files and at
10808 least check the printf format/arguments of debug messages and
10809 GST_ELEMENT_ERROR messages when the printf extension is not
10811 Replace more tabs with spaces in gstinfo.h and remove two spurious
10812 function declarations in GST_DISABLE_DEBUG part with macros.
10814 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10816 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10817 More docs for the sync-message signal (mention that it is not
10818 emitted by default); log message structures of messages posted on
10821 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10823 * gst/gst.c: (ensure_current_registry_forking):
10824 Use a pipe pair to receive status results from the forked child, and
10825 ignore the result from waitpid. Fixes #355499
10827 2006-10-02 Wim Taymans <wim@fluendo.com>
10829 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10830 (gst_ghost_pad_suite):
10833 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10836 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10838 2006-10-02 Edward Hervey <edward@fluendo.com>
10840 * docs/design/part-block.txt:
10841 Further explain the use of flushing on blocked pads.
10842 * docs/gst/gstreamer-sections.txt:
10843 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10844 (gst_pad_push_event):
10846 Added new GstPadFlag : GST_PAD_BLOCKING.
10847 Adds the notion of pads really blocking, which enables to properly
10848 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10850 API: gst_pad_is_blocking()
10851 API: GST_PAD_IS_BLOCKING() macro
10852 API: GST_PAD_BLOCKING GstPadFlag
10854 2006-10-02 Wim Taymans <wim@fluendo.com>
10856 Patch by: mrcgran <mrc.gran at gmail dot com>
10858 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10859 Filter the proxied caps against the padtemplate if we have one.
10861 * gst/gstquery.c: (gst_query_new_segment):
10862 Add include for gstinfo.h so that compilation with
10863 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10865 2006-10-02 Wim Taymans <wim@fluendo.com>
10867 Patch by: Alessandro Decina <alessandro at nnva org>
10869 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10870 (gst_file_sink_set_location), (gst_file_sink_open_file),
10871 (gst_file_sink_close_file), (gst_file_sink_event),
10872 (gst_file_sink_render):
10873 Set file to NULL when closing filesink so that we can set a new filename
10874 in READY. Fixes #358613.
10876 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10878 Patch by: Alessandro Decina <alessandro at nnva org>
10880 * gst/gstevent.c: (_gst_event_copy):
10881 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10882 with event structures by setting the parent refcount address of the
10883 copied structure to the address of the refcount member of the newly
10884 copied event rather than the address of the refcount member of the
10885 original event. Fixes #358737.
10887 * tests/check/gst/gstevent.c: (GST_START_TEST):
10888 Unit test for the above.
10890 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10892 * docs/design/Makefile.am:
10893 Dist some more files.
10895 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10897 * tests/check/libs/controller.c: (GST_START_TEST),
10898 (gst_controller_suite):
10899 Add test for the previous fix; add some more tests
10900 for correct refcounting behaviour; fix a few leaks
10901 in test cases; call gst_controller_init() at start
10904 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10906 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10907 (gst_controller_set_from_list):
10908 Don't g_return_val_if_fail() on timed values with invalid timestamps
10909 inside a critical section without unlocking the mutex. Spotted by
10910 René Stadler. (#357617)
10911 Also, fix up refcounting properly: when returning an existing
10912 controller, we should increase the reference only once and not
10913 once per property and when trying to control a property again
10914 we should also increase the refcount.
10916 2006-09-29 Wim Taymans <wim@fluendo.com>
10918 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10919 * libs/gst/net/gstnettimeprovider.c:
10920 (gst_net_time_provider_thread):
10921 Stop reading commands when EOF as well.
10923 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10924 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10925 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10926 Unify description of the dump property.
10928 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10930 * tests/examples/manual/.cvsignore:
10931 OK, so it's actually cvsignore that needs changing. Stop laughing.
10933 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10935 * tests/examples/manual/Makefile.am:
10936 Gah, declare vars *before* using them
10938 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10940 * gst/gst.c: (init_pre), (scan_and_update_registry),
10941 (ensure_current_registry_nonforking),
10942 (ensure_current_registry_forking), (ensure_current_registry),
10943 (init_post), (gst_debug_help), (gst_deinit):
10944 * gst/gst_private.h:
10945 * gst/gstregistry.c: (gst_registry_finalize),
10946 (gst_registry_remove_features_for_plugin_unlocked),
10947 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10948 (gst_registry_scan_path),
10949 (_priv_gst_registry_remove_cache_plugins),
10950 (_priv_gst_registry_cleanup):
10951 * gst/gstregistry.h:
10952 Re-commit the registry changes, along with an extra fix:
10953 When a cached plugin is encountered at a different file path,
10954 update the stored path in the registry cache so that the parent
10955 process knows where it actually is now when it re-reads the registry
10956 cache. Fixes the thing that broke distcheck with the previous commit.
10958 * tests/check/Makefile.am:
10959 Clean up files named 'core' too when running make clean.
10961 * tests/examples/manual/Makefile.am:
10962 Set up a registry path for running these tests, and clean it properly
10965 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10968 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10969 want gmodule-no-export-2.0.pc instead so that we don't drag in
10970 --export-dynamic on every project that links to GStreamer.
10972 Also, make our export regex only match the start of symbols, rather
10973 than any symbol that contains '_gst' somewhere.
10975 * libs/gst/check/Makefile.am:
10976 The libgstcheck we build does however need export-dynamic, as it
10977 produces some symbols that don't match our _gst... style regex.
10980 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10982 * gst/gst.c: (init_pre), (scan_and_update_registry),
10983 (ensure_current_registry_nonforking),
10984 (ensure_current_registry_forking), (ensure_current_registry),
10985 (init_post), (gst_debug_help), (gst_deinit):
10986 * gst/gst_private.h:
10987 * gst/gstregistry.c: (gst_registry_finalize),
10988 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10989 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10990 (_gst_registry_cleanup):
10991 * gst/gstregistry.h:
10992 Revert previous change until I figure out why it breaks distcheck.
10994 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10996 * gst/gst.c: (init_pre), (scan_and_update_registry),
10997 (ensure_current_registry_nonforking),
10998 (ensure_current_registry_forking), (ensure_current_registry),
10999 (init_post), (gst_debug_help), (gst_deinit):
11001 Make init_pre and init_post take the full complement of GOptionFunc
11002 args so they can return useful GErrors. Make the registry updating
11005 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11006 ensure that the registry we're about to write out doesn't contain
11007 stale information about old-deleted plugin files.
11009 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11010 that deletion of plugin files is considered a registry change.
11012 * gst/gst_private.h:
11013 * gst/gstregistry.c: (gst_registry_finalize),
11014 (gst_registry_remove_features_for_plugin_unlocked),
11015 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11016 (gst_registry_scan_path),
11017 (_priv_gst_registry_remove_cache_plugins),
11018 (_priv_gst_registry_cleanup):
11019 * gst/gstregistry.h:
11020 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11021 by adding _priv prefix, so that they won't appear in the global
11022 symbol table. They still do atm though because of #318031. Move the
11023 prototypes to gst_private.h
11025 When removing a plugin, remove all features for that plugin too.
11028 2006-09-27 Wim Taymans <wim@fluendo.com>
11030 * docs/random/moving-plugins:
11031 Make it clear that the "compiled-in descriptions" really mean
11032 the element details.
11034 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11035 (gst_base_sink_wait_preroll):
11038 * docs/libs/gstreamer-libs-sections.txt:
11039 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11040 (gst_base_src_get_range), (gst_base_src_activate_push):
11041 * libs/gst/base/gstbasesrc.h:
11042 Added function to block while waiting for PLAYING, this function
11043 is used by live sources that block on the clock.
11044 API: gst_base_src_wait_playing()
11046 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11048 Patch by: Peter Kjellerstedt <pkj at axis com>
11051 gst-element-check.m4 is generated and should therefore be
11052 copied from the build dir rather than the source dir (#357593).
11053 'make distcheck' hasn't noticed this because we were disting
11054 the file as well, so stop doing that.
11056 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11058 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11059 Add some tests for gst_caps_intersect().
11061 * tools/gst-launch.c: (event_loop):
11062 Print all buffering percentages we get, even the 100% one.
11064 2006-09-26 Wim Taymans <wim@fluendo.com>
11066 * tools/gst-inspect.c: (print_element_properties_info),
11067 (print_signal_info):
11068 Fix printing of flags to match the look of enums.
11070 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11072 * gst/gstelementfactory.c:
11073 Fix typo in docs blurb.
11075 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11077 * gst/gsturi.c: (search_by_entry):
11078 Don't assert/crash here if a uri handler doesn't return any
11079 supported protocols. The list of protocols could be generated
11080 dynamically at runtime or at plugin registration, and an error
11081 in the underlying library shouldn't be fatal (#353301).
11083 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11086 Fix warning if HAVE_PRINTF_EXTENSION is undefined
11087 (spotted by Peter Kjellerstedt).
11089 2006-09-23 Wim Taymans <wim@fluendo.com>
11091 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11093 * libs/gst/base/gstbasesrc.c:
11094 (gst_base_src_default_check_get_range), (gst_base_src_start),
11095 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11096 (gst_base_src_change_state):
11097 Match _start/_stop calls in the activate functions. Remove redundant
11098 _stop call from the state change function. Fixes #356910.
11099 Turn failure DEBUG into ERROR.
11101 2006-09-22 Wim Taymans <wim@fluendo.com>
11103 * docs/design/part-buffering.txt:
11104 * gst/gstmessage.c: (gst_message_new_buffering),
11105 (gst_message_parse_buffering):
11106 Update docs about buffering.
11108 * docs/design/part-trickmodes.txt:
11111 2006-09-22 Stefan Kost <ensonic@users.sf.net>
11113 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11114 (gst_controller_new_list):
11115 Ref instances when returning them again (fixes #357180)
11117 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
11119 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
11120 Don't forget to release proxy lock when there's an error.
11122 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
11125 Add extra initialisers for Caps things, to fix some plugin warnings
11128 2006-09-18 Wim Taymans <wim@fluendo.com>
11130 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11131 Also set template on the internal pad so that a getcaps from the
11132 target pad returns the template caps.
11134 2006-09-18 Wim Taymans <wim@fluendo.com>
11136 * gst/gstelement.c: (gst_element_post_message),
11137 (gst_element_dispose):
11138 Use _DEBUG_OBJECT some more.
11140 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11143 * tools/gst-launch.c: (main):
11144 If the toplevel element is not a GstPipeline, it must be put in a
11145 pipeline so that a bus and clock is selected.
11147 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
11149 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
11150 JITTER, RATE, and LATENCY query should be handled by the
11151 default case and not by the CONVERT query code.
11153 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
11155 * gst/gstformat.c: (gst_format_register):
11156 Fix locking order (must take lock before using n_values).
11158 * gst/gstvalue.c: (gst_value_serialize_enum),
11159 (gst_value_deserialize_enum_iter_cmp),
11160 (gst_value_deserialize_enum):
11161 Fix serialisation/deserialisation of custom registered GstFormats.
11163 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11164 Unit test for custom format serialisation/deserialisation.
11166 2006-09-17 Stefan Kost <ensonic@users.sf.net>
11168 * docs/pwg/building-boiler.xml:
11169 * plugins/elements/gstcapsfilter.c:
11170 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
11173 2006-09-16 Edward Hervey <edward@fluendo.com>
11175 * libs/gst/base/gstbasetransform.c:
11176 (gst_base_transform_buffer_alloc):
11177 Check if requested caps are the same as the sinks caps IF
11178 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
11180 This fixes the renegotiation issues stated in #352827.
11182 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11185 * docs/manual/advanced-autoplugging.xml:
11186 * tests/examples/Makefile.am:
11187 * tests/examples/manual/.cvsignore:
11188 * tests/examples/manual/Makefile.am:
11189 * tests/examples/manual/extract.pl:
11190 Extract the manual examples again like we used to do.
11193 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11195 * win32/common/config.h:
11198 2006-09-16 Stefan Kost <ensonic@users.sf.net>
11201 Documents how to receive errors.
11203 2006-09-15 Wim Taymans <wim@fluendo.com>
11205 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
11206 (event_loop), (main):
11207 Added some comments here and there.
11208 Post an application message when an interrupt is caught instead of doing
11209 an uncontrolled state change.
11210 Clean up the event loop.
11211 Handle buffering messages, pause/resume the pipeline.
11212 Make shutdown because of an interrupt more reliable.
11214 2006-09-15 Wim Taymans <wim@fluendo.com>
11216 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11217 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
11218 (gst_base_sink_preroll_object):
11219 Make sure that our internal state is correct when we commit our state
11220 asynchronously. This solves a race where a state change to PLAYING
11221 could cause the sink to remain blocked in preroll in some situations.
11223 2006-09-15 Wim Taymans <wim@fluendo.com>
11225 * tools/gst-inspect.c: (print_element_properties_info),
11226 (print_signal_info):
11227 List flags as hex so it's easier to deal with.
11229 2006-09-15 Wim Taymans <wim@fluendo.com>
11231 * docs/libs/gstreamer-libs-sections.txt:
11232 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
11233 (gst_base_sink_do_sync):
11234 * libs/gst/base/gstbasesink.h:
11235 Expose logic to wait for preroll so that subclasses such as audiosink
11236 can also use this method.
11237 API: gst_base_sink_wait_preroll()
11239 2006-09-15 Wim Taymans <wim@fluendo.com>
11241 * gst/gstobject.c: (gst_object_set_parent):
11242 * gst/gstpipeline.c: (do_pipeline_seek):
11243 Small cleanups in docs and code.
11245 * gst/gstsegment.c: (gst_segment_clip):
11246 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11247 if stop == start and start is in the segment, no clipping should be
11248 done. Also add a test for this.
11250 2006-09-15 Wim Taymans <wim@fluendo.com>
11252 * docs/design/part-buffering.txt:
11253 * docs/gst/gstreamer-sections.txt:
11254 * gst/gstmessage.c: (gst_message_new_buffering),
11255 (gst_message_parse_buffering):
11256 * gst/gstmessage.h:
11257 Added methods to create and parse BUFFERING messages.
11258 Added preliminary docs about buffering.
11259 API: gst_message_new_buffering
11260 API: gst_message_parse_buffering
11262 2006-09-06 Wim Taymans <wim@fluendo.com>
11265 Update documentation.
11267 * gst/gstelement.c: (gst_element_class_init),
11268 (gst_element_release_request_pad), (gst_element_set_clock),
11269 (gst_element_get_index), (gst_element_add_pad),
11270 (gst_element_remove_pad), (gst_element_get_random_pad),
11271 (gst_element_send_event), (gst_element_get_query_types),
11272 (gst_element_query), (gst_element_post_message),
11273 (gst_element_message_full), (gst_element_continue_state),
11274 (gst_element_lost_state), (gst_element_save_thyself),
11275 (gst_element_restore_thyself):
11276 Documentation updates.
11277 Rename last bit of the new-pad -> pad-added signal rename.
11278 Fix the case where an element query would only work if the source
11280 Avoid some useless type checking in message handling.
11285 Documentation updates.
11287 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11289 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11290 add an INFO line for when we actually update the fd
11292 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11297 === release 0.10.10 ===
11299 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11302 releasing 0.10.10, "Pais"
11304 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
11306 * docs/manual/advanced-position.xml:
11307 Fix typo in sample code.
11309 2006-09-05 Wim Taymans <wim@fluendo.com>
11311 * libs/gst/net/gstnetclientclock.c: (inet_aton),
11312 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11313 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
11314 * libs/gst/net/gstnetclientclock.h:
11315 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11316 * libs/gst/net/gstnettimepacket.h:
11317 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
11318 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
11319 (gst_net_time_provider_thread), (gst_net_time_provider_new):
11320 * libs/gst/net/gstnettimeprovider.h:
11321 Make stuff compile on windows. Fixes #345295.
11323 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
11325 * gst/gst.c: (ensure_current_registry_forking):
11326 Print better details when child was terminated by signal.
11328 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
11330 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
11331 Print a warning rather than g_assert() if a plugin feature
11332 is a URI handler but returns no protocols (#353976).
11334 2006-09-02 Stefan Kost <ensonic@users.sf.net>
11336 * docs/random/moving-plugins:
11339 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
11341 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
11342 Fix locking order, handle NULL function values properly.
11347 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
11348 Initialise variable before using it and fix debug statement to
11349 print the address of the function rather than the address of the
11350 variable on the stack holding the address of the function.
11352 2006-09-01 Wim Taymans <wim@fluendo.com>
11354 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
11355 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
11356 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11357 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11358 (gst_ghost_pad_parent_unset),
11359 (gst_ghost_pad_internal_do_activate_push),
11360 (gst_ghost_pad_internal_do_activate_pull),
11361 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11362 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11363 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11364 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11365 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11366 (gst_ghost_pad_new_no_target_from_template),
11367 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11369 Avoid needless typechecking in macros.
11370 Since the internal pad is always present and never changes, there is
11371 no need to locking or ref when retrieving it.
11372 Improve debugging a bit.
11373 Handle link errors when setting the target. Fixes #341029.
11375 2006-09-01 Wim Taymans <wim@fluendo.com>
11377 * docs/libs/gstreamer-libs-sections.txt:
11378 * docs/plugins/gstreamer-plugins-sections.txt:
11379 Fix docs some more.
11381 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11382 (gst_collect_pads_event):
11383 * libs/gst/base/gstcollectpads.h:
11384 Documentation updates.
11385 Free queued buffer when removing a pad.
11387 2006-08-31 Michael Smith <msmith@fluendo.com>
11389 * gst/gstutils.c: (gst_element_link_pads),
11390 (gst_element_link_pads_filtered):
11391 Ensure that we set a capsfilter to NULL if we failed to link it
11392 when doing filtered linking, to avoid criticals.
11394 No need to check for unreffing srcpad, which is explicly NULLed
11395 above (a trivial code cleanup).
11397 2006-08-31 Wim Taymans <wim@fluendo.com>
11399 * docs/design/part-gstghostpad.txt:
11400 Update ascii art in documentation.
11402 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11403 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11404 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11405 (gst_ghost_pad_internal_do_activate_push),
11406 (gst_ghost_pad_internal_do_activate_pull),
11407 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11408 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11409 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11410 (gst_ghost_pad_set_target):
11411 Small cleanups and leak fixes.
11412 Remove some checks now that the internal pad is never NULL.
11413 Fix the case where linking pads without a target would create nasty
11414 criticals. Fixes #341029.
11415 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11416 value of _set_target().
11418 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11419 (gst_ghost_pad_suite):
11420 Some more tests for creating and linking untargeted ghostpads.
11422 2006-08-31 Edward Hervey <edward@fluendo.com>
11424 * docs/gst/gstreamer-sections.txt:
11425 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11426 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11427 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11428 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11429 (gst_ghost_pad_new_from_template),
11430 (gst_ghost_pad_new_no_target_from_template):
11431 * gst/gstghostpad.h:
11432 Refactored *_new() functions.
11433 Templates are now used as a g_object_new() parameter.
11434 Use template in _do_getcaps() if we don't have a target.
11435 Small documentation cleanups.
11436 Added two new constructors:
11437 gst_ghost_pad_new_from_template()
11438 gst_ghost_pad_new_no_target_from_template()
11439 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11440 (gst_ghost_pad_suite):
11441 Added tests for new ghostpad instanciation functions.
11443 API additions: gst_ghost_pad_new_from_template,
11444 gst_ghost_pad_new_no_target_from_template
11446 2006-08-30 Stefan Kost <ensonic@users.sf.net>
11448 * docs/random/ensonic/profiling.txt:
11449 Ideas about qos profiling.
11451 2006-08-29 Wim Taymans <wim@fluendo.com>
11453 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11457 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
11460 Improve and detypofy docs.
11462 * tests/check/Makefile.am:
11463 * tests/check/gst/.cvsignore:
11464 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11465 Add a basic test suite for GstXML.
11467 2006-08-29 Wim Taymans <wim@fluendo.com>
11469 * gst/gstelement.c: (activate_pads), (clear_caps),
11470 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11471 Clear the pad caps when the element shut down all of the pads and
11472 is not streaming data that could modify the caps.
11475 2006-08-28 Michael Smith <msmith@fluendo.com>
11477 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11478 Revert previous change; I misunderstood single-segment mode.
11480 2006-08-28 Michael Smith <msmith@fluendo.com>
11482 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11483 Unset DISCONT on buffers when using single-segment mode.
11485 2006-08-28 Wim Taymans <wim@fluendo.com>
11487 * gst/gstcaps.c: (gst_caps_merge_structure):
11489 Fix docs and indentation again.
11491 * tests/check/gst/gstquery.c: (GST_START_TEST):
11492 Fix leak in tests and add some more tests.
11494 2006-08-28 Edward Hervey <edward@fluendo.com>
11496 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11497 Inform GstSegment of the last stop position in order for the current
11498 segment to have a proper duration if it doesn't have a specific stop
11499 position from which a duration could be calculated.
11500 This bug was noticeable when a non-flushing, non-update new segment was
11501 followed by another segment (all buffers from the new segment were being
11504 2006-08-28 Wim Taymans <wim@fluendo.com>
11506 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11507 Small comment update.
11509 * plugins/elements/gstidentity.c: (gst_identity_class_init),
11510 (gst_identity_transform_ip):
11511 Drop-probability is broken, mention this in the code with a
11512 FIXME and also in the property description.
11513 Make silent also be silent about the drop messages.
11515 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
11517 * docs/manual/appendix-win32.xml:
11518 Remove mention of popt, we don't depend on that any
11519 longer (#353136). Add some comments pointing out that
11520 this section is slightly outdated.
11522 2006-08-28 Wim Taymans <wim@fluendo.com>
11524 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11526 * gst/gstquery.c: (gst_query_new_segment):
11527 * tests/check/gst/gstquery.c: (GST_START_TEST):
11528 Initialize variables when creating a new segment query.
11531 2006-08-28 Wim Taymans <wim@fluendo.com>
11533 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11535 * gst/gstelement.c: (gst_element_get_bus):
11536 * tests/check/gst/gstelement.c: (GST_START_TEST):
11537 Check for NULL before _reffing the bus. Fixes #353122.
11539 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
11541 * docs/manual/basics-bus.xml:
11542 Docs update: fix wrong callback return value explanation; add
11543 some lines about the implicit relationship between main loop
11544 and main context; remove duplicate main loop variable declaration.
11546 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
11548 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11549 Don't leak caps in unit test; add a few more simple
11552 2006-08-24 Stefan Kost <ensonic@users.sf.net>
11554 * docs/gst/gstreamer-sections.txt:
11555 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11556 (gst_caps_structure_is_subset), (gst_caps_merge),
11557 (gst_caps_merge_structure):
11559 * libs/gst/base/gstbasetransform.c:
11560 (gst_base_transform_transform_caps):
11561 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11562 implement caps merging (fixes #352580)
11564 2006-08-23 Stefan Kost <ensonic@users.sf.net>
11566 * tools/Makefile.am:
11567 * tools/gst-plot-timeline.py:
11568 add debug-log plotting developer tool (#340674)
11570 2006-08-23 Wim Taymans <wim@fluendo.com>
11572 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11573 (gst_pad_stop_task):
11574 Improve debugging for task functions.
11576 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11577 (gst_task_start), (gst_task_pause), (gst_task_join):
11578 Make sure that the task function started and finished after a
11580 Don't try to push the task function on the threadpool multiple
11582 Improve the g_warning message with some useful suggestions
11583 about how to fix the problem.
11585 2006-08-23 Wim Taymans <wim@fluendo.com>
11587 * gst/gstutils.c: (gst_pad_proxy_getcaps):
11588 Handle RESYNC correctly in _proxy_getcaps.
11590 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
11592 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11593 (gst_xml_parse_memory), (gst_xml_get_element):
11594 Chain up to parent class in dispose function and also
11595 unref the elements in the toplevel_elements GList.
11596 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11597 Always return a reference in gst_xml_get_element() rather
11598 than only sometimes.
11600 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11601 Don't leak GstXml object.
11603 2006-08-21 Stefan Kost <ensonic@users.sf.net>
11605 * docs/gst/gstreamer-sections.txt:
11606 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11609 * libs/gst/base/gstbasetransform.c:
11610 (gst_base_transform_transform_caps):
11611 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11614 2006-08-21 Edward Hervey <edward@fluendo.com>
11616 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11617 Implement GObject::dispose virtual method in GstXML so we can free the
11618 top_elements GList.
11620 2006-08-21 Wim Taymans <wim@fluendo.com>
11622 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11623 (gst_buffer_create_sub):
11624 Copy duration/offset_end/caps when creating a subbuffer of the
11626 Make the subbuffer read-only when we make the metadata writable for
11627 now. Fixes #351768.
11629 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11630 Added check for metadata copy when creating subbuffers.
11632 2006-08-21 Edward Hervey <edward@fluendo.com>
11634 * libs/gst/base/gstbasetransform.c:
11635 (gst_base_transform_buffer_alloc):
11636 Only call downstream buffer_alloc if transform element is passthrough
11637 or always_in_place. Closes #350449.
11639 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11642 ChangeLog surgery to add comments to previous changes
11644 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11649 * gst/gstpad.c: (gst_pad_set_active):
11650 Be more verbose in the log
11652 * libs/gst/base/gstbasetransform.c:
11653 (gst_base_transform_transform_caps):
11654 Simplify caps to get rid of duplicates, fixes #345444
11656 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11660 Use these optimizations only internally.
11662 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11664 * gst/gstvalue.c: (gst_value_compare_list),
11665 (gst_value_compare_fraction_range),
11666 (gst_value_intersect_fraction_fraction_range),
11667 (gst_value_intersect_fraction_range_fraction_range),
11668 (gst_value_subtract_fraction_fraction_range),
11669 (gst_value_subtract_fraction_range_fraction_range),
11670 (gst_value_get_compare_func), (gst_value_compare),
11671 (gst_value_compare_with_func):
11673 Saves the expensive lookup of the compare function in many cases
11676 2006-08-18 Edward Hervey <edward@fluendo.com>
11678 * tests/check/gst/gstinfo.c: (gst_info_suite):
11679 Disable test that require gstdebug if it wasn't built in core.
11681 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11683 * docs/random/ensonic/logging.txt:
11686 * gst/gstinfo.c: (gst_debug_log_default):
11687 reorder fields, save some columns, add optional color codes for log
11690 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11692 * docs/random/ensonic/logging.txt:
11693 add ideas about making the logs a bit more useful
11695 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11697 * docs/pwg/advanced-events.xml:
11698 * docs/pwg/titlepage.xml:
11699 Update for 0.10 API (#340627). Add myself
11702 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11704 * docs/libs/gstreamer-libs-docs.sgml:
11705 * docs/libs/gstreamer-libs-sections.txt:
11706 * libs/gst/check/gstbufferstraw.c:
11707 Make gstcheck stuff show up in docs (still needs to
11708 be documented properly though).
11710 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11712 * docs/gst/gstreamer-sections.txt:
11714 * gst/gst.c: (init_post):
11715 * gst/gst_private.h:
11716 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11718 * gst/gstquery.c: (gst_query_new_position),
11719 (gst_query_set_position), (gst_query_parse_position),
11720 (gst_query_new_duration), (gst_query_set_duration),
11721 (gst_query_parse_duration), (gst_query_new_convert),
11722 (gst_query_set_convert), (gst_query_parse_convert),
11723 (gst_query_new_segment), (gst_query_set_segment),
11724 (gst_query_parse_segment), (gst_query_new_seeking),
11725 (gst_query_set_seeking), (gst_query_parse_seeking):
11726 Add internal helpers for pre-registering quarks from static strings
11727 and using the quark values directly instead of looking them up when
11728 creating and parsing queries. Can be used for event construction too.
11731 2006-08-16 Wim Taymans <wim@fluendo.com>
11736 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11738 * gst/gstutils.c: (gst_util_set_value_from_string):
11739 Fix memleak (#351502).
11741 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11742 Add unit test for most of gst_util_set_value_from_string()
11743 (not that one would want to encourage use of this function).
11745 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11747 * libs/gst/check/gstcheck.h:
11748 Use const gchar * variables in fail_unless_equals_string
11749 macro to avoid compiler warnings (and don't use tabs for
11752 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11754 * tools/gst-launch.c: (print_tag):
11755 More space on the left for the tag names, to cater
11756 for the 'extended comment' tag (not touching the
11757 string for the first line since it's translated).
11759 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11761 * libs/gst/check/gstcheck.h:
11762 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11763 print something when they fail.
11765 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11767 * docs/gst/gstreamer-sections.txt:
11768 * gst/gsttaglist.c: (_gst_tag_initialize):
11769 * gst/gsttaglist.h:
11770 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11771 Also change merge function for GST_TAG_COMMENT to
11774 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11776 * gst/gstinfo.c: (gst_debug_print_object):
11777 Make GST_PTR_FORMAT print messages as well.
11779 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11780 (GST_START_TEST), (gst_info_suite):
11783 2006-08-14 Edward Hervey <edward@fluendo.com>
11785 * gst/gstelementfactory.c: (gst_element_register):
11786 If the GstElementClass doesn't have a GstElementDetails with all fields
11787 filled up correctly (longname, description AND author), then error out
11788 nicely instead of crashing.
11790 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11792 * gst/gststructure.c:
11793 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11796 Expand on the difference between arrays and lists as we use them.
11798 2006-08-14 Wim Taymans <wim@fluendo.com>
11800 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11801 If the parent state change function failed, don't assume we can safely
11802 stop the source, this will be done when the pads are deactivated.
11804 2006-08-14 Wim Taymans <wim@fluendo.com>
11807 * gst/gsttask.c: (gst_task_join):
11810 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11811 (gst_pad_stop_task):
11812 When pad (de)activation failed for some reason, restore the old
11813 activation mode and set the pad to flushing instead of assuming the
11814 pad is deactivated.
11815 If the _task_join() failed, reinstall the task on the pad so that it can
11816 be stopped later and return an error.
11818 2006-08-11 Andy Wingo <wingo@pobox.com>
11821 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11822 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11823 is only for users of API that don't want to see deprecated
11824 functions in the headers; people that want to compile out
11825 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11826 CFLAGS. Fixes the build of multifdsink, or will soon..
11828 2006-08-11 Wim Taymans <wim@fluendo.com>
11830 * docs/gst/gstreamer-sections.txt:
11831 Add GstClockClass vmethod docs.
11834 Mark #endif with comment for associated #if
11836 * gst/gstclock.c: (gst_clock_id_wait):
11838 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11839 most clock implementations.
11841 Flesh out docs about resolution methods.
11842 API: GstClockClass::wait_jitter
11844 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11845 (gst_system_clock_async_thread),
11846 (gst_system_clock_id_wait_jitter_unlocked),
11847 (gst_system_clock_id_wait_jitter):
11848 Use base class wait_jitter variant for improved performance
11849 due to less clock polling.
11851 2006-08-11 Edward Hervey <edward@fluendo.com>
11853 * gst/gst.c: (gst_init_check), (init_post):
11854 Set gst as being initialized before scanning/updating the registry,
11855 since there might be my python plugin loader that calls gst_init() and
11856 we don't want to loop back in.
11859 2006-08-11 Wim Taymans <wim@fluendo.com>
11861 * docs/design/part-qos.txt:
11862 Bring docs in line with the code. Mostly the sign of the jitter was
11863 wrong in the docs. Fixes #349943.
11866 Fix the docs for the jitter.
11868 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11869 (gst_event_parse_tag), (gst_event_new_buffer_size),
11870 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11871 (gst_event_new_seek), (gst_event_parse_seek),
11872 (gst_event_new_navigation):
11873 Make sure the GstStructure has no parent when creating custom
11875 Add some more argument checking so that we avoid 0.0 rates.
11876 Flesh out the docs for the QoS event some more.
11878 2006-08-11 Wim Taymans <wim@fluendo.com>
11880 * docs/gst/gstreamer-sections.txt:
11881 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11882 (ensure_current_registry_forking), (ensure_current_registry),
11883 (parse_one_option), (parse_goption_arg), (gst_deinit),
11884 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11887 Added API and command line option to disable registry forking in
11888 addition to the environment variable.
11889 Constify some static arrays.
11890 Added some more debug.
11891 Don't deinit twice.
11892 API: gst_registry_fork_is_enabled()
11893 API: gst_registry_fork_set_enabled()
11894 API: --gst-disable-registry-fork command line option
11897 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11899 * gst/gst.c: (gst_init):
11900 Fix typo in error message.
11902 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11904 * libs/gst/controller/gstcontroller.h:
11905 fix ABI size-correction
11907 * tests/check/libs/gdp.c: (gst_dp_suite):
11908 make tests that use deprecated API conditional
11910 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11912 * docs/libs/gstreamer-libs-sections.txt:
11913 * libs/gst/controller/gstcontroller.c:
11914 (_gst_controller_get_property), (_gst_controller_set_property),
11915 (_gst_controller_init), (_gst_controller_class_init):
11916 * libs/gst/controller/gstcontroller.h:
11917 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11918 (gst_object_set_control_rate):
11919 API: add gst_object_{s,g}et_control_rate(), add private data section,
11922 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11923 * libs/gst/dataprotocol/dataprotocol.h:
11924 add deprecation guards to make gtk-doc happy and allow disabling cruft
11926 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11928 * tests/check/Makefile.am:
11929 * tests/check/gst/.cvsignore:
11930 Let's enable the new unit test as well.
11932 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11935 * docs/gst/gstreamer-sections.txt:
11936 * gst/gstconfig.h.in:
11937 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11938 (_gst_info_printf_extension_ptr),
11939 (_gst_info_printf_extension_segment):
11940 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11941 register that lets us easily dump GstSegments into debug
11944 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11945 (info_segment_format_printf_extension), (gst_info_suite):
11946 Add simple unit test that logs a bunch of different segments (not
11947 valgrinded at the moment because of leaks in
11948 gst_debug_add_log_function).
11950 2006-08-09 Edward Hervey <edward@fluendo.com>
11952 * libs/gst/base/gstbasetransform.c:
11953 (gst_base_transform_buffer_alloc):
11954 Even if we can't figure out the proper format to request downstream,
11955 call buffer_alloc() downstream with the input parameters without setting
11956 the caps on the srcpad. This will force negotiation in the chain
11960 2006-08-08 Edward Hervey <edward@fluendo.com>
11962 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11963 Unlinking from a pad without a target is now a perfectly valid case
11964 which should NOT raise an assertion.
11965 This case would happen if a linked ghostpad its target set to NULL after
11966 it was previously linked.
11968 2006-08-08 Edward Hervey <edward@fluendo.com>
11970 * tests/check/libs/gdp.c:
11971 Also comment out the test (see below).
11973 2006-08-08 Edward Hervey <edward@fluendo.com>
11975 * tests/check/libs/gdp.c: (gst_dp_suite):
11976 Use the architecture information from config.h and not gcc macros
11977 in order to properly disable a test that fails on PPC64.
11979 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11981 * gst/gstelement.c: (gst_element_remove_pad):
11982 Don't crash printing the warning if the pad has no parent.
11984 2006-08-02 Wim Taymans <wim@fluendo.com>
11986 * libs/gst/dataprotocol/dataprotocol.c:
11987 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11988 (gst_dp_crc), (gst_dp_header_payload_length),
11989 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11990 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11991 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11992 (gst_dp_event_from_packet), (gst_dp_validate_header),
11993 (gst_dp_validate_payload):
11994 Make debug category static
11995 Constify the crc table.
11996 Do some more arg checking in public functions.
11997 Fix some docs and do some small cleanups.
11999 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12000 Add some more checks to see if GDP deals with bogus input.
12002 2006-07-31 Wim Taymans <wim@fluendo.com>
12004 * gst/gstvalue.c: (gst_value_compare_list):
12005 Fix GstValueList comparison code. Fixes #347293.
12007 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12008 Check to test GstValueList comparison.
12010 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12012 * gst/gstelementfactory.c: (gst_element_factory_create):
12013 Remove unnecessary ref/unref pair
12015 * gst/parse/grammar.y:
12016 Make sure to free the parse buffer on all code paths.
12017 Move a g_free up to the error handler where it's easier to see.
12019 * tests/check/gst/gstevent.c: (test_event):
12020 Extending timeout for downstream travelling events to 10 seconds to
12021 hopefully avoid intermittent failure on the buildbots.
12023 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12024 Don't manually set the state of the src element - it will happen as a
12025 natural consequence of the pipeline changing state, and that way it
12026 will do it in the right order too.
12028 2006-07-31 Wim Taymans <wim@fluendo.com>
12030 * libs/gst/base/gstbasetransform.c:
12031 (gst_base_transform_buffer_alloc):
12032 Use OBJECT_LOCK and refcounting to get the pad caps in the
12033 buffer_alloc function because the caps could change while we are
12034 busy with them. Fixes #349105
12036 2006-07-31 Wim Taymans <wim@fluendo.com>
12038 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12039 Protect _PAD_CAPS with OBJECT_LOCK.
12041 2006-07-31 Wim Taymans <wim@fluendo.com>
12043 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12044 (gst_pad_get_property), (gst_pad_activate_pull),
12045 (gst_pad_activate_push), (gst_pad_set_blocked_async),
12046 (gst_pad_set_activate_function),
12047 (gst_pad_set_activatepull_function),
12048 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12049 (gst_pad_set_getrange_function),
12050 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12051 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12052 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12053 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12054 (gst_pad_set_acceptcaps_function),
12055 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12056 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12057 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12058 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12059 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12060 (gst_pad_configure_sink), (gst_pad_configure_src),
12061 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12062 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12063 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12064 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12065 (gst_pad_send_event):
12066 Use _DEBUG_OBJECT when it makes sense.
12067 Protect GST_PAD_CAPS with the OBJECT_LOCK.
12068 Small cleanups and code reflows.
12069 Avoid caps refcounting in _accept_caps.
12070 Refactor alloc_buffer so that the code performed on the peer is in a
12071 separate function. Also if the pad does not implement a buffer alloc
12072 function, we should still check if the pad is flushing before falling
12073 back to the default allocator.
12075 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12077 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12078 Make all uses of identity and fakesink have silent=true to avoid
12079 serialising every passing data structure, which is breaking tests
12080 on FC4 for some unknown reason.
12082 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12084 * gst/parse/Makefile.am:
12085 * gst/parse/grammar.y:
12086 * gst/parse/parse.l:
12087 Reverted previous patch as it required to bump the flex dependency to
12088 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12090 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12092 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12094 * gst/parse/Makefile.am:
12095 * gst/parse/grammar.y:
12096 * gst/parse/parse.l:
12097 push & pop the state of the lexer for reentrant use case
12100 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
12102 * libs/gst/base/gstbasesrc.h:
12103 Note in the docs that the ::newsegment vfunc is not actually used by
12106 2006-07-28 Wim Taymans <wim@fluendo.com>
12108 * libs/gst/base/gstcollectpads.c:
12109 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
12110 (gst_collect_pads_clear), (gst_collect_pads_flush),
12111 (gst_collect_pads_event), (gst_collect_pads_chain):
12112 When flushing a pad, also clear the queued buffer so that we don't
12113 accidentally use it when we shouldn't.
12114 Fix leaks by inreffing incomming buffer.
12115 Flush out queued buffers in case of errors.
12118 2006-07-28 Wim Taymans <wim@fluendo.com>
12120 * docs/random/phonon-gst:
12121 Random notes about a Phonon backend.
12123 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12125 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12127 * tests/check/libs/gdp.c: (gst_dp_suite):
12128 Take a whack at fixing the ppc compile using a different define to
12129 disable the broken test.
12131 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12132 Remove excess g_print()
12134 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12136 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12137 Oops, meant to uncomment this line too to dampen the noise a bit.
12139 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12141 * gst/parse/grammar.y:
12142 * gst/parse/parse.l:
12143 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12144 (GST_START_TEST), (parse_suite):
12145 Fix some of the leaks exposed by extending the parse-launch testsuite,
12146 and move the 3 I can't figure out into a separate test that won't run
12147 the pipelines unless the appropriate line is uncommented.
12149 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
12151 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12152 Requesting 0 bytes before the end of the file should result in
12153 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
12156 2006-07-27 Wim Taymans <wim@fluendo.com>
12158 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
12159 Fix useless assert, a uint is always positive.
12161 * gst/gststructure.c: (gst_structure_nth_field_name),
12162 (gst_structure_foreach), (gst_structure_map_in_place):
12163 Check input arguments for public functions to avoid obvious crashes.
12165 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
12166 * plugins/elements/gstfakesink.h:
12167 Do less useless typechecking.
12169 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
12171 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12172 Do not use mmap() by default since there are a number of error
12173 conditions that we would like to handle in a non-fatal way that
12174 will result in a SIGBUS if we use mmap(). Examples: external
12175 devices (USB harddrive, portable music player) being unplugged
12176 while in use; file on mounted CD/DVD that can't be read because
12177 the medium is partly damaged. Fixes #348455 and #348475.
12179 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12182 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
12183 rates are a gdouble
12185 2006-07-26 Stefan Kost <ensonic@users.sf.net>
12187 * gst/gstregistry.c:
12188 Move big documentation comment into class section header, so that it
12189 appears in the API docs.
12191 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12193 * docs/gst/gstreamer-sections.txt:
12194 Oops. Commit the docs additions too for new API.
12195 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
12197 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12199 * gst/gststructure.c: (gst_structure_id_set),
12200 (gst_structure_id_set_valist):
12201 * gst/gststructure.h:
12202 Add API for setting values into structures without performing
12203 a quark lookup, if the appropriate quark is already known.
12205 API: gst_structure_id_set
12206 API: gst_structure_id_set_valist
12208 * gst/parse/grammar.y:
12209 * gst/parse/parse.l:
12210 Remove some dead code shown by the coverage information.
12211 Don't throw a critical g_warning when encountering a syntax error,
12212 just warn and let the normal error path handle it.
12214 * plugins/elements/gstelements.c:
12215 Bump the rank of filesink up to PRIMARY so that it is preferred over
12216 gnomevfssink for file:// sink uri's
12218 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12219 (GST_START_TEST), (run_delayed_test),
12220 (gst_parse_test_element_base_init),
12221 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
12222 (gst_parse_test_element_change_state),
12223 (gst_register_parse_element), (parse_suite):
12224 Beef up the tests for parse syntax to check that more error cases
12225 fail as they are supposed to. Increases the test coverage a bit.
12227 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
12229 * docs/manual/basics-elements.xml:
12230 Fix gst_element_link() example.
12233 Mention in API docs that one should usually gst_bin_add()
12234 elements to a bin or pipeline before doing the linking.
12236 2006-07-26 Wim Taymans <wim@fluendo.com>
12238 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
12239 (gst_subbuffer_get_type), (gst_buffer_create_sub):
12240 Avoid function call for known types by keeping the buffer and
12241 subbuffer GType global.
12243 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12244 Random silly optimisations in read() path.
12246 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12248 * tools/gst-launch.c: (main):
12249 If the top-level of the parse is a normal bin, it doesn't do the
12250 right logic to run as a top-level element, so place it inside a
12253 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
12255 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
12256 Remove superfluous g_object_notify() calls, GObject does
12257 that for us automatically.
12259 2006-07-25 Stefan Kost <ensonic@users.sf.net>
12262 on Win32, use dllspec to export the debug category symbols
12264 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
12266 * gst/gsttaglist.c: (_gst_tag_initialize):
12267 Allow more than one GST_TAG_IMAGE per taglist.
12269 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
12271 * gst/gstminiobject.c:
12273 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
12274 (gst_fd_src_create):
12275 log recurring events at LOG level
12276 add more debug for when the fd gets set
12278 2006-07-21 Stefan Kost <ensonic@users.sf.net>
12280 * gst/gstparse.c: (gst_parse_launch):
12281 Also remove reentrance checks if flex is MT safe (#348179)
12282 Fix my empty ChangeLog entry below
12284 2006-07-21 Andy Wingo <wingo@pobox.com>
12286 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
12288 * libs/gst/check/Makefile.am
12289 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
12290 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
12291 * libs/gst/check/gstbufferstraw.h:
12292 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
12293 functions, thus proving I am still a GStreamer haxor. OK I wrote
12294 them a long time ago, but anyways.
12296 2006-07-21 Stefan Kost <ensonic@users.sf.net>
12299 * gst/gstparse.c: (gst_parse_launch):
12300 Check for flex version and omit mutex if we have a MT save flex
12303 2006-07-21 Wim Taymans <wim@fluendo.com>
12305 * gst/gstparse.c: (gst_parse_launch):
12306 Protect recursive calls to _parse with a recursive mutex
12309 2006-07-21 Wim Taymans <wim@fluendo.com>
12311 * tests/check/gst/gstpad.c: (GST_START_TEST):
12314 2006-07-20 Stefan Kost <ensonic@users.sf.net>
12316 * gst/gstparse.c: (gst_parse_launch):
12317 Do not hang on recursive usage of gst_parse_launch()
12319 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
12321 * gst/gsttaglist.c:
12322 Add some more docs, comments and FIXME 0.11s here and there
12323 and also fix some typos.
12325 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
12327 * gst/gstsegment.h:
12328 Convert tabs to spaces for better readability.
12330 2006-07-20 Edward Hervey <edward@fluendo.com>
12332 * tests/check/libs/gdp.c: (gst_dp_suite):
12333 the test_buffer test fails at line 140 on ppc64 at the following
12335 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
12336 GST_BUFFER_FLAG_IN_CAPS),
12337 "GST_BUFFER_IN_CAPS flag should have been copied !");
12338 See bug #348114 for more details.
12340 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
12342 * docs/pwg/advanced-scheduling.xml:
12344 Fix typos (#348000).
12346 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
12348 * docs/pwg/intro-basics.xml:
12349 Fix wrong links (#347927).
12351 2006-07-18 Stefan Kost <ensonic@users.sf.net>
12353 * gst/gstregistry.h:
12354 * gst/gstregistryxml.c: (load_feature),
12355 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
12356 * win32/common/config.h:
12357 make --disable-index work (#342564)
12359 2006-07-18 Wim Taymans <wim@fluendo.com>
12361 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12365 The attached patch adds two missing defines to gsttrace.h when tracing
12366 is disabled. It also corrects one existing define.
12369 2006-07-17 Wim Taymans <wim@fluendo.com>
12371 * docs/gst/gstreamer-sections.txt:
12372 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12374 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12375 Add two functions to check and change the SIGSEGV behaviour
12376 when loading plugins.
12377 Don't mess with the SIGSEGV handler when we were told not to.
12379 API: gst_segtrap_is_enabled
12380 API: gst_segtrap_set_enabled
12382 2006-07-14 Wim Taymans <wim@fluendo.com>
12384 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12385 * tests/check/elements/filesrc.c: (GST_START_TEST):
12386 Revert fix for regression in #347408 after release.
12388 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
12390 Patch by: Antoine Tremblay <hexa00 at gmail com>
12392 * gst/gstutils.c: (gst_element_unlink):
12393 Free iterator when done (#347311).
12395 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12396 And add a test case for this.
12398 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
12401 Bump nano back to CVS
12403 === release 0.10.9 ===
12405 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
12408 releasing 0.10.9, "On the road again"
12410 2006-07-13 Wim Taymans <wim@fluendo.com>
12412 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12413 * tests/check/elements/filesrc.c: (GST_START_TEST):
12414 Revert pull-0 fix for release. Disable check. Fixes #347408.
12416 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12418 * libs/gst/dataprotocol/dataprotocol.c:
12419 (gst_dp_event_from_packet_1_0):
12420 Fixes #347337: failure to deserialize event packets with
12421 empty payload (only event type)
12423 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12426 do not install a .c file in the header directory
12428 2006-07-13 Edward Hervey <edward@fluendo.com>
12430 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12431 GhostPad no longer implicitely use the padtemplates of the targets.
12434 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
12436 * gst/gstvalue.c: (gst_value_compare_list),
12437 (gst_value_compare_array), (_gst_value_initialize):
12438 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12439 Make GstValueArray comparison be order dependent as designed.
12440 Add checks for value lists and value array comparisons.
12443 2006-07-11 Edward Hervey <edward@fluendo.com>
12445 * gst/gstbin.c: (activate_pads),
12446 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12447 (gst_bin_change_state_func):
12448 (de)activate src pads before calling state_change on the childs.
12449 This is to avoid the case where a src ghostpad is blocked (holding the
12450 stream lock), which would block the deactivation of the ghostpad's
12452 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12453 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12454 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12455 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12456 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12457 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12458 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12459 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12460 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12461 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12462 (gst_ghost_pad_class_init),
12463 (gst_ghost_pad_internal_do_activate_push),
12464 (gst_ghost_pad_internal_do_activate_pull),
12465 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12466 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12467 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12468 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12469 GhostPads now create their internal GstProxyPad at creation (and not
12470 when they're linked, as it was being done previously).
12471 The internal and target pads are linked straight away.
12472 The data will also travel through the other pad in order to make
12473 pad blocking and probes non-hackish (the probe/block now really happens
12474 on the GhostPad and not on the target).
12475 * gst/gstpad.c: (gst_pad_set_blocked_async),
12476 (gst_pad_link_prepare), (gst_pad_push_event):
12477 Remove previous ghostpad cruft.
12478 * gst/gstutils.c: (gst_pad_add_data_probe),
12479 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12480 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12481 (gst_pad_remove_buffer_probe):
12482 Remove previous ghost pad cruft.
12483 Added more detailed debug statements.
12484 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12485 Fix the testsuite for refcounting changes.
12486 The comments about who has references were correct, but the refcount
12487 being checked wasn't the same (!?!).
12491 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12493 * docs/gst/gstreamer-sections.txt:
12494 * gst/gstconfig.h.in:
12495 More docs for configuration options, add docs to gtk-doc.
12497 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12500 * gst/gstconfig.h.in:
12501 * win32/common/config.h:
12502 Fix build when disabling tracing (fixes #344016). Also start to document
12503 the defines that disable the sub-systems.
12505 2006-07-10 Edward Hervey <edward@fluendo.com>
12507 * gst/gst.c: (ensure_current_registry_forking):
12508 let's make valgrind happy...
12510 2006-07-09 Wim Taymans <wim@fluendo.com>
12512 * gst/gstelement.c: (activate_pads),
12513 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12514 Better pad activation code: Reset the collect value too on resync.
12517 2006-07-09 Wim Taymans <wim@fluendo.com>
12519 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12520 (gst_pad_activate_push):
12521 Use some more macros where it makes sense.
12522 Allow pad mode switching instead of asserting. When a pad
12523 is activated in one mode and we activate it in another,
12524 deactivate it first before activating it in a different mode.
12527 2006-07-08 Andy Wingo <wingo@pobox.com>
12529 * tools/gst-launch.c (main): Handle err == NULL.
12531 * gst/gst.c (init_post, ensure_current_registry)
12532 (ensure_current_registry_forking)
12533 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12534 factoring out the registry scanning into separate functions. Don't
12535 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12536 Better environment var name/interface suggestions accepted.
12538 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12540 * gst/gstobject.c: (gst_object_set_name_default),
12541 (gst_object_set_name):
12542 Random micro-optimisation: don't use a hash table
12543 with strings as keys and the usual strdup/strcmp
12544 involved, but rather just use the GQuark of the
12545 type name as key, since it needs to be looked up
12546 anyway to get the type name string.
12548 * tests/check/gst/gstobject.c: (GST_START_TEST):
12551 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12553 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12554 (gst_bin_iterate_all_by_interface):
12555 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12556 GTypes are gulongs and thus the top 4 bytes might be cut
12557 off on some platforms when doing GPOINTER_TO_INT, leading
12558 to invalid GTypes and bad things happening (see RH bug #179654).
12559 Also add a check to make sure the type passed in is really
12562 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12567 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12571 * gst-element-check.m4:
12572 * gst-element-check.m4.in:
12573 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12574 instead of the unversioned gst-inspect (#324176, #168659).
12576 2006-07-06 Wim Taymans <wim@fluendo.com>
12578 * gst/gstmessage.h:
12579 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12582 2006-07-06 Wim Taymans <wim@fluendo.com>
12584 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12585 (gst_base_src_wait), (gst_base_src_update_length),
12586 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12587 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12588 (gst_base_src_loop), (gst_base_src_start),
12589 (gst_base_src_activate_pull):
12591 blocksize == 0 now means the default blocksize when working in push
12593 Remove some pointless asserts in _wait function.
12594 Fix offset/length calculations and EOS handling. We can now pull 0
12595 bytes as well, which is allowed.
12596 use _check_get_range() to decide if we can operate in _pull based
12598 Fix refcounting leak when check_get_range function was not
12600 API GstBaseSrc::blocksize range can be 0 too now (default)
12602 * tests/check/elements/filesrc.c: (GST_START_TEST),
12604 Added check to test _get_range() behaviour.
12606 2006-07-06 Wim Taymans <wim@fluendo.com>
12608 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12609 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12610 (gst_pad_pull_range):
12612 Lots of comments and docs added to the pad functions.
12613 Flesh out the expected behaviour of the get_range() functions.
12615 2006-07-06 Wim Taymans <wim@fluendo.com>
12620 * gst/gstiterator.h:
12624 Remove comma at end of enumerator list.
12626 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12628 * win32/common/libgstbase.def:
12629 * win32/common/libgstdataprotocol.def:
12630 * win32/common/libsgtreamer.def:
12631 Add new exported functions.
12633 2006-07-05 Wim Taymans <wim@fluendo.com>
12635 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12636 Add some more docs here and there.
12638 2006-07-05 Wim Taymans <wim@fluendo.com>
12640 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12641 (gst_base_sink_loop), (gst_base_sink_get_position):
12642 When operating in pull mode update the offset so that we
12645 2006-07-05 Wim Taymans <wim@fluendo.com>
12647 * gst/gstregistryxml.c: (read_string):
12648 Avoid strdup. (will happen in libxml, but hey!)
12651 Add some more docs.
12653 2006-07-05 Wim Taymans <wim@fluendo.com>
12655 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12656 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12657 (gst_buffer_suite):
12658 No point in checking if the size of the subbuffer > 0, the
12659 code handles it correclty as demonstrated by unit test.
12660 Also add a unit test for the zero sized _new_and_alloc and
12661 _copy. Fixes #346663.
12663 2006-07-05 Wim Taymans <wim@fluendo.com>
12665 * libs/gst/base/gstbasetransform.c:
12666 (gst_base_transform_prepare_output_buffer),
12667 (gst_base_transform_buffer_alloc),
12668 (gst_base_transform_handle_buffer):
12669 Make sure the buffer we pass to transform_ip has a refcount of
12670 1 and thus is writable. Fixes #343196
12672 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12674 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12675 (gst_file_src_init), (gst_file_src_set_property),
12676 (gst_file_src_get_property), (gst_file_src_map_region):
12677 * plugins/elements/gstfilesrc.h:
12678 Add "sequential" property, off by default, to use madvise and hint
12679 to the kernel that sequential access is desired.
12680 Touch all retrieved pages by default to ensure they are pulled
12681 into memory. (Closes #345720)
12683 2006-07-03 Wim Taymans <wim@fluendo.com>
12685 * docs/design/part-block.txt:
12686 * docs/design/part-dynamic.txt:
12687 Small docs updates.
12689 2006-07-03 Wim Taymans <wim@fluendo.com>
12691 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12692 (gst_caps_unref), (gst_static_caps_get),
12693 (gst_caps_append_structure):
12694 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12695 Use GSlice when the glib we build against is >= 2.10
12697 2006-07-03 Wim Taymans <wim@fluendo.com>
12699 * gst/gstelement.c: (gst_element_pads_activate):
12700 Small cleanup in pad activation code.
12702 2006-07-03 Wim Taymans <wim@fluendo.com>
12704 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12706 * gst/gst-i18n-app.h:
12707 * gst/gst-i18n-lib.h:
12708 * tools/gst-inspect.c: (print_signal_info):
12709 The attached patch will make the inclusion of gettext.h unconditional in
12710 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12711 libintl.h in tools/gst-inspect.c.
12712 This allows use of --disable-nls again and fixes #344642.
12714 2006-07-03 Edward Hervey <edward@fluendo.com>
12716 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12717 Implement pad blocking on events according to part-block.txt.
12718 More comments on behaviour.
12719 * tests/check/gst/gstevent.c: (test_event):
12720 Send event to peer pad of blocked pad (else it will block).
12722 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12724 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12725 (gst_check_run_suite):
12726 if we get the wrong message, give us the types as string
12727 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12729 * tests/check/elements/filesrc.c: (GST_START_TEST):
12730 add a test for trying to open a non-existing file
12732 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12734 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12735 add a test for adding self
12737 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12739 * libs/gst/check/gstcheck.h:
12740 add some assert_ as alias for fail_unless_*
12741 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12742 increase test coverage
12744 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12747 include lcov.mak for lcov coverage generation
12748 * tools/Makefile.am:
12751 2006-07-02 Edward Hervey <edward@fluendo.com>
12753 * tests/check/elements/.cvsignore:
12756 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12759 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12760 * tests/check/Makefile.am:
12761 clean up gcov files
12763 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12765 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12766 remove gst_caps_simplify; it was not declared and not used
12767 and deprecated in 0.8
12769 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12771 * docs/faq/gst-uninstalled:
12772 don't put empty paths on PYTHONPATH
12773 * docs/gst/gstreamer-sections.txt:
12774 remove some symbols that are not there
12776 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12778 * gst/gstcaps.c: (gst_caps_compare_structures):
12780 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12781 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12784 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12786 * libs/gst/dataprotocol/Makefile.am:
12787 build dataprotocol test by linking to the lib, instead of
12788 compiling the source, so we get coverage
12789 * tests/check/Makefile.am:
12790 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12791 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12792 add a test for filesrc
12794 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12796 * tests/check/gst/gststructure.c: (GST_START_TEST),
12797 (gst_structure_suite):
12798 Push coverage from 59.04% to 70.00%
12800 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12802 * tests/check/Makefile.am:
12803 gst-inspect every element; this makes sure that we also get
12804 coverage on element's get/set functions
12806 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12809 set CFLAGS and friends to -O0 if gcov is being used
12812 * libs/gst/base/Makefile.am:
12813 * libs/gst/check/Makefile.am:
12814 * libs/gst/controller/Makefile.am:
12815 * libs/gst/dataprotocol/Makefile.am:
12816 * libs/gst/net/Makefile.am:
12817 * plugins/elements/Makefile.am:
12818 * plugins/indexers/Makefile.am:
12819 add makefile rules to generate gcov data and clean up
12820 * tests/check/Makefile.am:
12821 add a coverage target that generates an html overview
12824 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12826 * tests/check/elements/fakesink.c:
12827 * tests/check/elements/fakesrc.c:
12828 * tests/check/elements/fdsrc.c:
12829 * tests/check/elements/identity.c:
12830 * tests/check/generic/sinks.c: (gst_sinks_suite):
12831 * tests/check/generic/states.c:
12832 * tests/check/gst/gst.c:
12833 * tests/check/gst/gstabi.c:
12834 * tests/check/gst/gstbin.c:
12835 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12836 * tests/check/gst/gstbus.c: (gst_bus_suite):
12837 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12838 * tests/check/gst/gstelement.c:
12839 * tests/check/gst/gstevent.c: (gst_event_suite):
12840 * tests/check/gst/gstghostpad.c:
12841 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12842 * tests/check/gst/gstmessage.c: (gst_message_suite):
12843 * tests/check/gst/gstminiobject.c:
12844 * tests/check/gst/gstobject.c:
12845 * tests/check/gst/gstpad.c:
12846 * tests/check/gst/gstpipeline.c:
12847 * tests/check/gst/gstplugin.c:
12848 * tests/check/gst/gstquery.c: (gst_query_suite):
12849 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12850 * tests/check/gst/gststructure.c:
12851 * tests/check/gst/gstsystemclock.c:
12852 * tests/check/gst/gsttag.c:
12853 * tests/check/gst/gsttask.c: (gst_task_suite):
12854 * tests/check/gst/gstutils.c:
12855 * tests/check/gst/gstvalue.c:
12856 * tests/check/libs/adapter.c:
12857 * tests/check/libs/basesrc.c:
12858 * tests/check/libs/collectpads.c:
12859 * tests/check/libs/controller.c:
12860 * tests/check/libs/gdp.c: (gst_dp_suite):
12861 * tests/check/libs/gstnetclientclock.c:
12862 * tests/check/libs/gstnettimeprovider.c:
12863 * tests/check/libs/libsabi.c: (libsabi_suite):
12864 * tests/check/libs/typefindhelper.c:
12865 * tests/check/pipelines/cleanup.c:
12866 * tests/check/pipelines/parse-launch.c:
12867 * tests/check/pipelines/simple-launch-lines.c:
12868 * tests/check/pipelines/stress.c: (stress_suite):
12871 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12873 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12874 * libs/gst/check/gstcheck.h:
12875 create a macro and function so that the simple unit test
12876 case can be just one macro to create main()
12878 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12880 * gst/gstbin.c: (gst_bin_restore_thyself):
12881 * gst/gstxml.c: (gst_xml_make_element):
12882 Fix deserialisation from XML. Set parent manually
12883 instead of using gst_bin_add(), since gst_bin_add()
12884 will unlink all pads of the element being added.
12887 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12889 Patch by: Peter Kjellerstedt <pkj at axis com>
12891 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12892 Fix missing g_strdup() and double free when using the
12893 --gst-plugin-load command line option (#346097).
12895 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12898 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12900 * libs/gst/net/gstnetclientclock.c:
12901 * libs/gst/net/gstnettimeprovider.c:
12902 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12904 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12906 * docs/manual/advanced-dataaccess.xml:
12907 Fix buffer probe example compilation in
12910 2006-06-22 Edward Hervey <edward@fluendo.com>
12912 * gst/gstelement.c: (gst_element_pads_activate):
12913 We need to deactivate src pads first and then sink pads.
12914 The reason is the src pads might be blocking while holding the streaming
12915 lock, so we need to deactivate them first so that deactivating the sink
12916 pads doesn't block (since it will require the streaming lock).
12918 2006-06-22 Wim Taymans <wim@fluendo.com>
12920 * libs/gst/base/gstbasetransform.c:
12921 (gst_base_transform_buffer_alloc):
12922 Forgot to remove two unneeded unrefs.
12923 Simplify a check _is_equal allready checks the obvious case.
12925 2006-06-22 Wim Taymans <wim@fluendo.com>
12927 * docs/design/part-block.txt:
12928 Some docs about what pad_block should do.
12930 2006-06-22 Wim Taymans <wim@fluendo.com>
12932 * gst/gstcaps.c: (gst_caps_replace):
12933 Fix crasher when passed NULL. Doc clarification.
12934 Optimize for the trivial case.
12936 * gst/gstpipeline.c: (gst_pipeline_change_state):
12939 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12940 Small documentation cleanup.
12942 * libs/gst/base/gstbasetransform.c:
12943 (gst_base_transform_buffer_alloc):
12944 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12945 is what we need and it avoids a whole lot of redundant
12946 refcount operations.
12948 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12950 Patch by: Philip Jägenstedt <philip at lysator liu se>
12952 * docs/manual/advanced-dataaccess.xml:
12953 Fix 'Embedding static elements' section to use
12954 GST_PLUGIN_DEFINE_STATIC (#345607).
12956 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12958 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12959 Attempt to 'fix' spuriously failing test case: it seems like the
12960 timeout of half a second is simply too small when the system is under
12961 load otherwise, and the timeout doesn't really seem to serve any
12962 particular purpose here. Give the pipeline a few seconds to preroll
12963 first, and then give it another half a second to go from PAUSED to
12964 PLAYING and marshal the message into the main thread.
12966 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12968 * tools/gst-feedback-m.m:
12969 Don't only use unversioned tools, try versioned tools as well
12972 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12974 * gst/gstbus.c: (gst_bus_class_init):
12975 Fix some typos, make docs more explicit.
12977 2006-06-20 Wim Taymans <wim@fluendo.com>
12979 * tests/check/gst/gstghostpad.c: (block_callback),
12980 (GST_START_TEST), (gst_ghost_pad_suite):
12981 Added some more ghostpad tests, mainly blocking
12984 2006-06-16 Wim Taymans <wim@fluendo.com>
12986 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12987 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12988 (gst_file_sink_event), (gst_file_sink_render):
12989 * plugins/elements/gstfilesink.h:
12990 Check if we can seek in the file instead of assuming
12991 we always can. Post an error when we are asked to seek in a
12992 non-seekable file (like a fifo). Fixes #343312.
12995 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12997 * tools/gst-launch.1.in:
12998 Un-garble (fourcc) bit in filtered caps section.
13000 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13002 * docs/manual/advanced-autoplugging.xml:
13003 * docs/manual/basics-helloworld.xml:
13004 * docs/manual/highlevel-components.xml:
13005 Don't leak bus reference in sample code.
13007 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13010 Add default for new --enable-plugin-docs switch.
13013 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13016 * docs/Makefile.am:
13017 Use new ENABLE_PLUGIN_DOCS conditional.
13019 2006-06-14 Wim Taymans <wim@fluendo.com>
13021 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13022 Make it clear with a FIXME and a real define what the #if 0
13023 previously disabled.
13025 2006-06-14 Wim Taymans <wim@fluendo.com>
13027 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13028 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13029 * libs/gst/base/gstbasetransform.c:
13030 (gst_base_transform_sink_eventfunc):
13031 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13032 Don't randomly and silently reset a segment when the format
13033 changes as this is a bug somewhere upstream. Fixes #330379.
13035 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13037 Patch by: Wouter Paesen <wouter at kangaroot net>
13039 * libs/gst/controller/gstcontroller.c:
13040 (gst_controlled_property_new):
13041 Fix controlling of float properties (#344849).
13043 * tests/check/libs/controller.c:
13044 (gst_test_mono_source_get_property),
13045 (gst_test_mono_source_set_property),
13046 (gst_test_mono_source_class_init), (GST_START_TEST):
13047 While we're at it, add some float stuff to unit test.
13049 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13052 * docs/images/gdp-header.svg:
13054 * docs/libs/Makefile.am:
13055 * docs/libs/gdp-header.png:
13056 * libs/gst/dataprotocol/dataprotocol.c:
13057 add it to the API docs
13058 * docs/manual/intro-motivation.xml:
13061 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13063 * gst/gst.c: (scan_and_update_registry), (init_post):
13064 If the fork()'ed child process can't write the updated registry cache
13065 file to disk for some reason, make it exit with a failure exit code,
13066 so that the parent can then re-scan the plugins itself and update the
13067 registry structures in memory and work with that (rather than failing
13068 when creating elements because seemingly no plugins are available).
13069 Refactor registry scanning code into separate function for this and
13070 also separate fork() and non-fork() code paths. Fixes #344748.
13072 2006-06-13 Wim Taymans <wim@fluendo.com>
13074 * docs/manual/advanced-dataaccess.xml:
13075 Fix wrong PluginDesc. Fixes #344755.
13077 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13079 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13080 Fix silly bug that prevented us from creating
13081 ~/.gstreamer-0.10 and writing the registry in one
13082 go (the first call to g_mkstemp() would overwrite the
13083 placeholder in the template string, so the second call
13084 to g_mkstemp() after creating the missing directory
13085 would then error out with 'invalid argument').
13087 2006-06-13 Edward Hervey <edward@fluendo.com>
13089 * gst/gst.c: (init_post):
13092 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13094 * gst/glib-compat-private.h:
13095 * gst/glib-compat.c:
13096 * gst/glib-compat.h:
13097 * gst/gstvalue.c: (gst_value_serialize_flags):
13098 remove GLib 2.6 compatibility code
13100 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
13102 * gst/parse/Makefile.am:
13103 Fix build with 'make -j N' even more (#340016).
13105 2006-06-12 Wim Taymans <wim@fluendo.com>
13107 * docs/gst/gstreamer-sections.txt:
13110 2006-06-12 Wim Taymans <wim@fluendo.com>
13112 * gst/gstsegment.c: (gst_segment_set_duration),
13113 (gst_segment_set_last_stop), (gst_segment_set_seek),
13114 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
13115 (gst_segment_to_running_time), (gst_segment_clip):
13116 Use G_UNLIKELY to help the compiler a bit.
13118 2006-06-12 Wim Taymans <wim@fluendo.com>
13120 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13122 * gst/gstevent.c: (gst_event_get_type):
13123 * gst/gstmessage.c:
13124 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13126 constify quark registration strings. Fixes #344115
13127 Avoid unneeded type checking is _pad_push() by internally
13128 calling gst_pad_chain_unchecked().
13130 2006-06-12 Wim Taymans <wim@fluendo.com>
13132 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
13133 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
13134 (gst_subbuffer_finalize), (gst_buffer_create_sub),
13135 (gst_buffer_is_span_fast), (gst_buffer_span):
13136 Init _type for consistency.
13137 Use _FLAGS macro to avoid type check.
13138 Avoid unneeded type checks in subbufer code.
13140 2006-06-12 Wim Taymans <wim@fluendo.com>
13142 * gst/gst.c: (gst_debug_help):
13143 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
13144 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13145 (gst_plugin_feature_list_free):
13146 * gst/gstregistry.c: (gst_registry_add_plugin),
13147 (gst_registry_add_feature), (gst_registry_plugin_filter),
13148 (gst_registry_feature_filter), (gst_registry_find_plugin),
13149 (gst_registry_find_feature), (gst_registry_get_plugin_list),
13150 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
13151 * gst/gstregistryxml.c: (load_feature),
13152 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
13153 * gst/gstminiobject.c: (gst_mini_object_unref),
13154 (gst_mini_object_replace), (gst_value_mini_object_free),
13155 (gst_value_mini_object_copy):
13156 Use _CAST macros to avoid unneeded type checking.
13157 Added some more G_UNLIKELY.
13159 2006-06-12 Wim Taymans <wim@fluendo.com>
13162 Avoid unneeded type checking.
13163 API: GST_BUFFER_IS_DISCONT
13165 * gst/gstminiobject.h:
13166 Avoid type check in flag accessor.
13168 * gst/gstelementfactory.h:
13170 * gst/gstpluginfeature.h:
13172 API: GST_ELEMENT_FACTORY_CAST
13173 API: GST_PLUGIN_CAST
13174 API: GST_PLUGIN_FEATURE_CAST
13176 2006-06-12 Wim Taymans <wim@fluendo.com>
13178 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
13179 (gst_object_unref):
13180 Add G_UNLIKELY in type registration.
13181 Avoid type check in _ref/_unref since that is also
13184 2006-06-12 Wim Taymans <wim@fluendo.com>
13186 * gst/gsterror.c: (gst_g_error_get_type):
13187 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
13188 (gst_static_pad_template_get_type):
13189 * gst/gsttaglist.c: (gst_tag_list_get_type):
13190 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
13191 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
13192 * gst/gsturi.c: (gst_uri_handler_get_type):
13193 * gst/gstvalue.c: (gst_date_get_type):
13194 * gst/gstxml.c: (gst_xml_get_type):
13195 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
13196 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13197 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
13198 Add G_UNLIKELY in type registration.
13200 2006-06-12 Wim Taymans <wim@fluendo.com>
13202 * tools/gst-inspect.c: (print_signal_info):
13203 Properly print enum values.
13205 2006-06-12 Wim Taymans <wim@fluendo.com>
13207 * gst/gstinfo.c: (gst_debug_set_active),
13208 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
13210 Add some G_[UN]LIKELY.
13211 Maintain __gst_debug_min to avoid formatting the arguments of
13212 debug messages that will be dropped anyway to avoid a lot of
13213 overhead from the debugging system.
13215 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13218 * po/POTFILES.skip:
13219 add missing files containing translatable strings, tell intltool about
13222 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13224 * tests/check/libs/.cvsignore:
13225 add test-binary to ignore list
13227 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13229 * docs/libs/gstreamer-libs-docs.sgml:
13230 reorder (put dp into a chapter) and indent
13232 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13237 === release 0.10.8 ===
13239 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13242 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
13244 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13246 * gst/gst.c: (init_post):
13247 move pid declaration to declaration block
13249 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13251 * gst/gst.c: (init_post):
13252 use _exit() instead of exit() in our forked child; this ensures
13253 that none of the registered exit handlers from whatever is using
13254 GStreamer get executed. This fixes gnome-mixer-applet failing
13255 to load, because ORBit would shut down.
13256 Spotted by: Edward Hervey <edward@fluendo.com>
13257 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
13260 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
13265 === release 0.10.7 ===
13267 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
13270 releasing 0.10.7, "Soepeke, ik zie ou"
13272 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
13295 * win32/common/config.h:
13296 0.10.6.2 prerelease
13298 2006-06-07 Wim Taymans <wim@fluendo.com>
13300 * gst/gstindex.c: (gst_index_gtype_resolver):
13301 * tools/gst-xmlinspect.c: (print_plugin_info):
13302 Fix leak spotted by coverity checker. Fixes #343827
13303 Fix another other leak found by paolo borelli.
13305 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13307 * libs/gst/dataprotocol/dataprotocol.c:
13308 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13309 (gst_dp_version_get_type), (gst_dp_init),
13310 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
13311 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
13312 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
13313 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
13314 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
13315 (gst_dp_packetizer_free):
13316 * libs/gst/dataprotocol/dataprotocol.h:
13317 API: add a GstDPPacketizer object, and create/free functions
13318 API: add GstDPVersion enum
13319 Add 1.0 event function that uses the string serialization
13320 Serialize more useful buffer flags
13323 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13325 * tests/check/Makefile.am:
13326 * tests/check/gst/gstabi.c:
13327 * tests/check/gst/struct_ppc64.h:
13328 * tests/check/libs/libsabi.c:
13329 * tests/check/libs/struct_ppc64.h:
13330 add ppc64 structure sizes
13332 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13334 * tests/check/Makefile.am:
13335 * tests/check/gst/gstabi.c:
13336 * tests/check/gst/struct_x86_64.h:
13337 * tests/check/libs/libsabi.c:
13338 * tests/check/libs/struct_x86_64.h:
13339 generate and add structure size lists for x86_64
13341 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13343 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
13344 * libs/gst/check/gstcheck.h:
13345 factor out the method from tests that checks size of structures,
13346 and add code to generate the header containing these sizes
13347 * tests/check/gst/gstabi.c: (GST_START_TEST):
13348 * tests/check/gst/struct_i386.h:
13349 * tests/check/libs/libsabi.c: (GST_START_TEST):
13350 * tests/check/libs/struct_i386.h:
13353 2006-06-06 Michael Smith <msmith@fluendo.com>
13355 * gst/gstsegment.h:
13356 Don't use c++-style comments, fixes #343929
13358 2006-06-05 Edward Hervey <edward@fluendo.com>
13361 plugin_paths is not used if we build without registry support.
13363 * gst/gstsegment.c: (gst_segment_copy):
13364 _copy() was always returning NULL...
13366 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13368 * libs/gst/dataprotocol/dataprotocol.c:
13369 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13370 (gst_dp_packet_from_event):
13371 factor out CRC code
13373 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13375 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13376 make sure we unset caps
13378 2006-06-02 Michael Smith <msmith@fluendo.com>
13380 * libs/gst/check/gstcheck.c: (gst_check_init),
13381 (gst_check_chain_func):
13382 * libs/gst/check/gstcheck.h:
13383 Add a cond/mutex to the check support lib, signal this whenever we
13384 add to the buffers list. This will allow tests to not busy-wait on
13387 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13389 * libs/gst/dataprotocol/dataprotocol.c:
13390 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13391 (gst_dp_packet_from_event):
13392 factor out some common header init code
13394 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13396 * docs/libs/gstreamer-libs-sections.txt:
13397 * docs/libs/tmpl/gstdataprotocol.sgml:
13398 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13399 * libs/gst/dataprotocol/dataprotocol.h:
13400 API: make gst_dp_crc() public
13402 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13404 * plugins/indexers/gstindexers.c: (plugin_init):
13405 conditionally register fileindexer (fixes #343598)
13407 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13409 * gst/gsttagsetter.h:
13410 Can't cast ifaces to a class
13412 * libs/gst/net/gstnetclientclock.h:
13413 * libs/gst/net/gstnettimeprovider.h:
13414 * plugins/elements/gstfakesink.h:
13415 * plugins/elements/gstfakesrc.h:
13416 * plugins/elements/gstfdsink.h:
13417 * plugins/elements/gstfdsrc.h:
13418 * plugins/elements/gstfilesink.h:
13419 * plugins/elements/gstfilesrc.h:
13420 * plugins/elements/gstidentity.h:
13421 * plugins/elements/gstqueue.h:
13422 * plugins/elements/gsttee.h:
13423 * plugins/indexers/gstfileindex.c:
13424 * plugins/indexers/gstmemindex.c:
13425 * tests/old/examples/plugins/example.h:
13426 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13428 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
13430 * libs/gst/dataprotocol/dataprotocol.c:
13431 (gst_dp_header_from_buffer):
13432 make sure we zero the whole ABI-compatible area
13434 2006-06-01 Wim Taymans <wim@fluendo.com>
13436 Patch by: Alessandro Decina <alessandro at nnva dot org>
13438 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13439 Make sure the EOS flag is cleared from pads after a flush
13440 or stop. Fixes #343538.
13442 * tests/check/libs/collectpads.c: (GST_START_TEST),
13443 (gst_collect_pads_suite):
13444 Added test for collectpads reusage after EOS.
13446 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
13449 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13450 * win32/common/libgstbase.def:
13451 export gst_collect_pads_set_flushing
13452 * win32/common/libgstreamer.def:
13453 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13454 gst_value_fraction_multiply
13455 * win32/vs6/gst_inspect.dsp:
13456 add a link to intl.lib
13458 2006-05-30 Wim Taymans <wim@fluendo.com>
13460 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13461 (gst_collect_pads_chain):
13462 Handle the case where a pad is removed from the collection
13463 that could cause the other pads to become collectable.
13465 2006-05-30 Wim Taymans <wim@fluendo.com>
13467 * gst/gstelement.c:
13468 Clarify the use of _release_request_pad() and
13469 _get_request_pad() a bit better.
13471 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13472 (gst_adapter_take_buffer):
13473 Fix some doc and comment typos.
13475 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13477 * docs/gst/gstreamer-sections.txt:
13478 * docs/libs/gstreamer-libs-sections.txt:
13479 add declared symbols
13481 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
13483 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13484 Add debug that can be enabled using a #define at the top of the file,
13485 for dumping stats about how late/early we were when waking up from
13486 waiting on the clock.
13488 2006-05-30 Wim Taymans <wim@fluendo.com>
13490 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13491 When rebuilding the pad list, don't leak the previous list.
13493 2006-05-30 Wim Taymans <wim@fluendo.com>
13495 Patch by: Lutz Mueller <lutz at topfrose dot de>
13497 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13498 (gst_base_src_get_query_types), (gst_base_src_update_length):
13499 Publish supported query types.
13500 Update last_stop field in get_range mode so the position
13501 query works. Fixes #342321.
13503 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
13505 * docs/gst/gstreamer-sections.txt:
13506 * gst/gsttaglist.c: (_gst_tag_initialize):
13507 * gst/gsttaglist.h:
13508 API: add GST_TAG_PREVIEW_IMAGE (#343341).
13510 2006-05-30 Wim Taymans <wim@fluendo.com>
13512 Patch by: Alessandro Decina <alessandro at nnva dot org>
13514 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13515 Unlock mutex when removing an unknown pad.
13518 * tests/check/Makefile.am:
13519 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13520 (push_event), (setup), (teardown), (GST_START_TEST),
13521 (gst_collect_pads_suite), (main):
13522 Added collecpads check, disabled for now as check crashes for
13525 2006-05-29 Wim Taymans <wim@fluendo.com>
13527 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13528 Don't leak pads lists.
13530 2006-05-29 Wim Taymans <wim@fluendo.com>
13532 * docs/libs/gstreamer-libs-sections.txt:
13533 * libs/gst/base/gstcollectpads.c:
13534 (gst_collect_pads_set_flushing_unlocked),
13535 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13536 (gst_collect_pads_stop):
13537 * libs/gst/base/gstcollectpads.h:
13538 API: gst_collect_pads_set_flushing()
13539 Added api to set the pads to flushing, useful for seeking
13540 code in elements using collectpads.
13541 Clear segment when receiving a flush.
13543 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
13545 * gst/gst.c: (add_path_func), (init_post):
13546 Don't scan registry paths passed via --gst-plugin-path immediately
13547 (will crash, because absolutely nothing is set up and no types are
13548 registered etc.); do this later in init_post(). Fixes #343057.
13550 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
13552 * gst/gst.c: (init_post):
13553 if we have fork, fork while reading/rebuilding the registry
13554 so the parent doesn't take the hit of having all plugins loaded
13555 in memory. Fixes #342777.
13557 Check if we have fork()
13558 * win32/common/config.h.in:
13561 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13563 * plugins/elements/gstelements.c:
13564 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13565 (gst_file_src_init), (gst_file_src_set_property),
13566 (gst_file_src_get_property), (gst_file_src_start):
13567 * plugins/elements/gstfilesrc.h:
13568 API: GstFileSrc::use-mmap
13570 Add a use-mmap property to enable easier testing of all code paths.
13571 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13572 in the absence of gnomevfssrc. (Closes #340501)
13574 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13576 * tools/gst-inspect.c:
13577 Add missing include, removes warning of ngettext not being defined on
13580 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13582 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13583 Handle NULL input and output pointers silently as a failed conversion,
13584 rather than g_warnings.
13586 2006-05-25 Wim Taymans <wim@fluendo.com>
13588 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13589 Initialize variable before using. Fixes #342820.
13591 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
13593 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13594 Fix off-by-one bug that would only allow peeks of N-1 bytes
13595 from the start even if the buffer to typefind on contains
13596 in fact N bytes of data (makes vorbis typefinding from a
13597 vorbis identification header buffer work).
13599 * tests/check/Makefile.am:
13600 * tests/check/libs/.cvsignore:
13601 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13602 (gst_typefindhelper_suite), (main), (foobar_typefind),
13604 Add very basic unit test for gst_type_find_helper_for_buffer()
13605 that checks for the problem fixed above.
13607 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
13609 * tools/gst-inspect.c: (print_interfaces),
13610 (print_element_properties_info), (print_element_list), (main):
13611 add more translatable strings
13613 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
13615 Patch by: Julien Moutte <julien at moutte net>
13617 * docs/gst/gstreamer-sections.txt:
13618 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13620 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13621 (gst_fake_sink_preroll):
13622 * plugins/elements/gstfakesink.h:
13623 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13625 2006-05-23 Wim Taymans <wim@fluendo.com>
13627 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13629 Added _CUSTOM error and success GstFlowReturn that can be
13630 used be elements internally.
13631 Added macro to check for SUCCESS flowreturns.
13632 API: GST_FLOW_CUSTOM_SUCCESS
13633 API: GST_FLOW_CUSTOM_ERROR
13634 API: GST_FLOW_IS_SUCCESS
13636 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13637 Added check for GstFlowReturn sanity.
13639 2006-05-23 Wim Taymans <wim@fluendo.com>
13641 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13643 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13644 (gst_collect_pads_event):
13645 clear/reset segment info in FLUSH_STOP.
13648 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13651 (gst_collect_pads_check_collected):
13652 Flush queued buffer on _stop(), fixes playing again (#342454)
13654 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13656 * tests/check/gst/gststructure.c: (GST_START_TEST),
13657 (gst_structure_suite):
13658 add a test for a complete structure
13660 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13662 * docs/faq/developing.xml:
13663 * docs/faq/faq.xml:
13664 * docs/faq/troubleshooting.xml:
13665 * docs/faq/using.xml:
13666 Some minor FAQ updates that won't change the fact that
13667 our FAQ is badly structured, full of information hardly
13668 anyone new to GStreamer needs to know and lacking lots
13669 of information people constantly ask for.
13671 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13673 * gst/gstpad.c: (gst_pad_set_caps):
13674 Short-circuit gst_pad_set_caps if setting the existing
13675 caps pointer again, and avoid printing debug and
13676 reffing/unreffing the caps.
13678 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13679 There's actually no need to set the caps before pushing -
13680 the acceptcaps method will handle it anyway.
13682 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13684 * docs/gst/gstreamer-sections.txt:
13685 * win32/common/libgstreamer.def:
13686 * gst/gstutils.c: (gst_element_seek_simple):
13688 API: add gst_element_seek_simple() (#342238).
13690 2006-05-18 Edward Hervey <edward@fluendo.com>
13692 * gst/gsttypefind.c: (gst_type_find_get_type):
13693 * gst/gsttypefind.h:
13694 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13695 registered for GstTypeFind pointers. This allows wrapping the structure
13696 in bindings (i.e. gst-python).
13698 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13700 * gst/gsttagsetter.c:
13701 Docs additions and fixes (see #339918).
13703 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13705 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13706 The caps intersection algorithm can produce multiple copies of the
13707 caps. Until that is fixed, we need to simplify the result to be
13708 sure whether the allowed caps are fixed or not.
13710 * plugins/elements/gstqueue.c: (gst_queue_init),
13711 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13712 (gst_queue_push_one):
13713 Proxied buffer alloc should not set the caps on the source pad.
13714 When pushing buffers, we always accept the caps change that triggers.
13715 This prevents negotiation errors caused by caps changing mid-stream
13716 and then being refused on our source pad (because upstream is now
13717 refusing those caps).
13719 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13721 * tests/examples/helloworld/helloworld.c: (main):
13722 Must plug audioconvert and audioresample between decoder
13725 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13727 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13728 (load_feature), (load_plugin):
13729 Allow empty strings for some of the plugin fields so we don't
13730 drop valid plugin entries that were written out correctly
13733 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13735 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13736 Use g_remove and g_rename instead of remove and rename that don't
13737 handle utf8 characters. rename was failing for users who had specific
13738 characters in their name then the registry was built at each
13740 * win32/vs6/gst_inspect.dsp:
13741 * win32/vs6/gst_launch.dsp:
13742 * win32/vs6/libgstbase.dsp:
13743 * win32/vs6/libgstcoreelements.dsp:
13744 * win32/vs6/libgstreamer.dsp:
13745 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13746 build of libgstreamer and clean unused libraries in projects link
13749 2006-05-17 Edward Hervey <edward@fluendo.com>
13751 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13752 The queue is not responsible for pushing an EOS when receiving a fatal
13753 flow error. It's up to the real element driving the pipeline to do that.
13755 2006-05-16 Edward Hervey <edward@fluendo.com>
13757 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13758 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13759 buffer returned a fatal error. It should just send an EOS and stop
13761 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13762 when pushing buffers on the queue and will be able to handle the event.
13764 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13766 * docs/manual/basics-bins.xml:
13767 * docs/manual/basics-init.xml:
13768 Fix typos and minor errors in sample code (#341856).
13770 2006-05-16 Wim Taymans <wim@fluendo.com>
13772 * docs/design/part-qos.txt:
13773 Fix indexes in formulas to make more sense.
13775 2006-05-15 Wim Taymans <wim@fluendo.com>
13777 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13778 Don't report POSITION based on clock time if sync is
13779 disabled in a sink.
13781 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13784 Add cast to make compiler happy - refcount variable was a gint
13785 in GstObject but is a guint in GObject and g_atomic_int_get()
13788 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13790 * gst/parse/Makefile.am:
13791 chain commands using &&, which also makes parallel make work
13793 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13795 * docs/gst/gstreamer-sections.txt:
13798 * gst/gstmessage.h:
13801 === release 0.10.6 ===
13803 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13806 releasing 0.10.6, "Take the cannoli"
13808 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13810 * tools/gst-launch.c: (print_tag):
13811 Fix use of uninitialized variable in the hypothetical
13812 case that some broken plugin creates a GST_TAG_IMAGE
13813 tag containing a NULL buffer (#341667).
13815 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13817 * tools/gst-launch.c: (print_tag):
13818 Print something more intelligible for image tags when
13819 using the -t switch (#341556).
13821 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13826 define GST_MAJORMINOR so we have it available in win32/common/config.h
13827 Possibly remove it from our Makefile.am files later
13828 * win32/common/config.h:
13829 * win32/common/config.h.in:
13830 added GST_MAJORMINOR
13831 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13832 * win32/common/gstversion.h:
13835 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13838 Update win32 files listing.
13839 * win32/common/gstversion.h:
13840 Add GST_MAJORMINOR definition.
13841 * win32/common/libgstreamer.def:
13842 Add new exported functions.
13844 2006-05-12 Michael Smith <msmith@fluendo.com>
13846 * gst/gstplugin.c: (gst_plugin_load_file):
13847 If an so file has no plugin entry point, unload the module.
13849 2006-05-11 Wim Taymans <wim@fluendo.com>
13851 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13852 (gst_queue_set_property):
13853 Don't forget to signal the _chain or _loop function
13854 when the queue size or thresholds change since that might
13855 cause them to make progres again.
13857 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13859 * gst/gstclock.c: (gst_clock_class_init):
13860 * gst/gstindex.c: (gst_index_class_init):
13861 * gst/gstobject.c: (gst_object_class_init):
13862 * gst/gstpad.c: (gst_pad_class_init):
13863 * gst/gstpipeline.c: (gst_pipeline_class_init):
13864 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13865 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13866 * libs/gst/base/gstbasetransform.c:
13867 (gst_base_transform_class_init):
13868 * libs/gst/net/gstnetclientclock.c:
13869 (gst_net_client_clock_class_init):
13870 * libs/gst/net/gstnettimeprovider.c:
13871 (gst_net_time_provider_class_init):
13872 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13873 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13874 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13875 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13876 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13877 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13878 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13879 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13880 * plugins/elements/gsttee.c: (gst_tee_class_init):
13881 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13882 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13883 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13885 2006-05-11 Wim Taymans <wim@fluendo.com>
13887 * gst/gstbuffer.c: (_gst_buffer_initialize):
13888 Register subbufer along with the buffer type so that
13889 it does not accidentally gets registered from N
13890 different streaming threads in a non threadsafe way.
13892 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13896 * gst/gstmessage.h:
13897 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13898 gst_event_ref() and gst_message_ref() functions again
13899 (ugly hack, please do fix if there's a better way besides
13900 overrides.txt, which doesn't seem to work).
13902 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13904 * libs/gst/check/gstcheck.h:
13905 add an assert for setting state to avoid lots of repetitive code
13908 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13910 * gst/gstvalue.c: (gst_value_serialize_flags):
13911 fix a leak if no flags are set
13912 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13915 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13917 * docs/manual/basics-pads.xml:
13918 Expand a bit on caps and filtered links and update
13919 examples that were still using the no longer existing
13920 gst_pad_link_filtered() (#338206).
13922 2006-05-10 Wim Taymans <wim@fluendo.com>
13924 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13925 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13926 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13927 (gst_collect_pads_stop):
13928 * libs/gst/base/gstcollectpads.h:
13929 No need to call _stop in _finalize.
13930 Iterate the main pad list in _finalize.
13931 Added some more debug.
13932 Free lists and data in the right order.
13933 Also free data whem doing _remove_pad when stopped for
13934 backward compatibility protect ::started with PAD_LOCK as
13937 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13939 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13940 (gst_structure_parse_value):
13942 rename a method so that it actually says what it does better
13944 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13946 * gst/gstevent.c: (_gst_event_initialize):
13947 * gst/gstformat.c: (_gst_format_initialize):
13948 make sure some essential types used by events are registered
13949 as part of gst_init()
13950 * gst/gstvalue.c: (gst_value_serialize_flags):
13951 if no flags are set, serialize them to a value that represents NONE
13952 so that deserializing them works
13953 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13954 add tests for serialization and deserialization of flags
13956 2006-05-10 Wim Taymans <wim@fluendo.com>
13958 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13959 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13960 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13961 (gst_collect_pads_event), (gst_collect_pads_chain):
13964 Catch and return errors from the collect function
13965 Refuse data on eos pads.
13967 2006-05-10 Edward Hervey <edward@fluendo.com>
13969 * gst/gstinterface.h:
13970 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13971 GInterface type checking.
13972 They were previously using non-defined macros.
13974 2006-05-09 Wim Taymans <wim@fluendo.com>
13976 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13977 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13978 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13979 (gst_collect_pads_start), (gst_collect_pads_stop),
13980 (gst_collect_pads_peek), (gst_collect_pads_pop),
13981 (gst_collect_pads_available), (gst_collect_pads_read),
13982 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13983 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13984 (gst_collect_pads_chain):
13985 * libs/gst/base/gstcollectpads.h:
13986 Clean up the mess that is collectpads, add comments and
13987 FIXMEs where needed.
13988 Maintain a separate pad list so we can add pads while
13989 collecting the other ones. For this we need a new separate
13991 Fix memory leak in finalize.
13992 Refactor some weird code to set/unset pad flushing flags, mark
13994 Don't crash in _available, _read, _flush when we're EOS.
13996 * tests/check/libs/.cvsignore:
13997 Ignore adapter check binary.
13999 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14001 * gst/gstindex.c: (gst_index_resolver_get_type):
14002 * plugins/elements/gstfakesink.c:
14003 (gst_fake_sink_state_error_get_type):
14004 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14005 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14006 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14007 Const-ify GEnumValue arrays.
14009 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14011 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14012 Add test case for flags + gst_buffer_make_metadata_writable().
14014 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14016 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14017 gst_buffer_make_metadata_writable() should maintain the
14018 buffer flags (those that make sense at least) (see #340859).
14020 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14022 * tools/gst-inspect.c:
14023 * tools/gst-launch.c:
14024 * tools/gst-typefind.c:
14025 * tools/gst-xmlinspect.c:
14027 Fix up includes: need to include stdlib.h in tools.h for exit().
14029 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14031 * gst/gsttaglist.c: (_gst_tag_initialize):
14032 * gst/gsttaglist.h:
14033 API: add GST_TAG_IMAGE tag (#340721).
14035 2006-05-08 Wim Taymans <wim@fluendo.com>
14038 Added some docs for the segment query.
14040 2006-05-08 Wim Taymans <wim@fluendo.com>
14042 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14043 (gst_base_src_loop), (gst_base_src_change_state):
14044 Always push non-flushing serialized events in the streaming
14047 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
14049 * gst/gsterror.c: (_gst_stream_errors_init):
14050 Add a missing error string.
14052 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
14054 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14055 Add applied_rate to the debug
14057 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14058 Copy applied_rate into the outgoing NEWSEGMENT event
14060 2006-05-08 Wim Taymans <wim@fluendo.com>
14062 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14064 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14065 (gst_base_sink_change_state):
14066 call ::unlock before taking the PREROLL_LOCK so we can safely
14067 handle elements that lock in ::render.
14070 2006-05-08 Edward Hervey <edward@fluendo.com>
14072 * autogen.sh: (CONFIGURE_DEF_OPT):
14073 Darwin's libtoolize is in fact called glibtoolize.
14074 Adding glibtoolize to the list of accepted names for libtoolize.
14076 2006-05-08 Wim Taymans <wim@fluendo.com>
14078 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14079 Unify error handling, don't post an error message
14080 when a push() returns EOS but perform our normal EOS
14081 handling code. Fixes #340772.
14083 2006-05-08 Wim Taymans <wim@fluendo.com>
14085 * docs/design/part-overview.txt:
14086 Make upsteam/downstream concepts more clear.
14087 Give an example of serialized/non-serialized events.
14089 * docs/design/part-events.txt:
14090 * docs/design/part-streams.txt:
14091 Mention applied_rate.
14093 * docs/design/part-trickmodes.txt:
14094 Mention applied rate, flesh out some more use cases.
14096 * gst/gstevent.c: (gst_event_new_new_segment),
14097 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14098 (gst_event_parse_new_segment_full), (gst_event_new_tag),
14099 (gst_event_parse_tag), (gst_event_new_buffer_size),
14100 (gst_event_parse_buffer_size), (gst_event_new_qos),
14101 (gst_event_parse_qos), (gst_event_parse_seek),
14102 (gst_event_new_navigation):
14104 Add applied_rate field to NEWSEGMENT event.
14105 API: gst_event_new_new_segment_full()
14106 API: gst_event_parse_new_segment_full()
14108 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
14109 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
14110 (gst_segment_to_stream_time), (gst_segment_to_running_time):
14111 * gst/gstsegment.h:
14112 Add applied_rate to GstSegment structure.
14113 Make calculation of stream_time and running_time more correct
14114 wrt rate/applied_rate.
14115 Add some more docs.
14116 API: GstSegment::applied_rate field
14117 API: gst_segment_set_newsegment_full();
14119 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14120 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
14121 * libs/gst/base/gstbasetransform.c:
14122 (gst_base_transform_sink_eventfunc),
14123 (gst_base_transform_handle_buffer):
14124 Parse and use applied_rate in the GstSegment field.
14126 * tests/check/gst/gstevent.c: (GST_START_TEST):
14127 Add check for applied_rate field.
14129 * tests/check/gst/gstsegment.c: (GST_START_TEST),
14130 (gstsegments_suite):
14131 Add more checks for various GstSegment operations.
14133 2006-05-08 Wim Taymans <wim@fluendo.com>
14135 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14136 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
14137 (gst_base_sink_get_position), (gst_base_sink_change_state):
14138 Store the sync time of the buffer end position separatly in a
14139 new variable eos_rtime so we can properly sync the EOS event.
14141 Fix the docs for gst_base_sink_set_qos_enabled().
14142 Don't set segment start to invalid value when we receive a
14143 non TIME newsegment.
14144 get closer to handling position reporting for negative rates
14147 2006-05-07 Stefan Kost <ensonic@users.sf.net>
14150 Docs about how to print caps for debug purposes.
14152 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
14153 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
14155 2006-05-07 Stefan Kost <ensonic@users.sf.net>
14157 * gst/gstelement.c:
14158 use full enum names and preprend a '%' in docs strings to make recent
14159 gtk-doc turn that into a link
14161 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14163 * docs/manual/basics-bins.xml:
14164 * docs/manual/basics-bus.xml:
14165 * docs/manual/basics-pads.xml:
14166 Some typo fixes, some additions, some clarifications.
14168 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14170 * tools/gst-inspect.c: (main):
14171 * tools/gst-launch.c: (main):
14172 * tools/gst-run.c: (main):
14173 * tools/gst-typefind.c: (main):
14174 * tools/gst-xmlinspect.c: (main):
14175 Use the string passed to g_option_context_new() for
14176 what it's intended for - the program name is already
14179 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14181 * tools/Makefile.am:
14182 * tools/gst-inspect.c: (main):
14183 * tools/gst-launch.c: (main):
14184 * tools/gst-xmlinspect.c: (main):
14186 Add back --version command line option (#340460).
14188 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
14189 Add --version option and use GOption for argument parsing; refactor a
14190 bit; accept directories as arguments and recurse into them; lastly,
14191 print a decent error message when things go wrong.
14193 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14195 * docs/manual/basics-bins.xml:
14196 Don't mention GstThread (#340611)
14197 * docs/manual/basics-elements.xml:
14198 Update link to GObject tutorial (#340607)
14200 2006-05-05 Wim Taymans <wim@fluendo.com>
14203 * gst/gstminiobject.c:
14204 Add note about refcounting and miniobject/buffer writeability
14205 to docs. Fixes #340604
14207 * gst/gstelementfactory.h:
14208 Added some explanation about @klass.
14210 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14212 * docs/manual/intro-motivation.xml:
14213 * docs/manual/manual.xml:
14214 Avoid CORBA & Bonobo references (#340598)
14216 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14218 * docs/manual/basics-bus.xml:
14219 * docs/manual/basics-pads.xml:
14220 Fix up some inaccuracies and omissions (#340609)
14222 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14224 * gst/gstghostpad.c:
14225 Small typo in docs (#340625)
14227 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14229 * gst/parse/Makefile.am:
14230 Make 'make -j' proof (see #340698).
14232 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14235 Require GLib-2.8 here as well.
14237 2006-05-05 Wim Taymans <wim@fluendo.com>
14239 * gst/glib-compat.c:
14240 * gst/gst.c: (init_pre):
14241 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
14242 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
14243 (gst_object_dispatch_properties_changed):
14245 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14246 * gst/gststructure.c: (gst_structure_set_valist):
14247 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14248 Remove pre glib2.8 compatibility, fixes #340508
14250 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
14252 * gst/gsttaglist.h:
14253 Mention type of tags in doc blurbs.
14255 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
14257 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14258 (gst_pad_configure_src), (gst_pad_push):
14259 Restore acceptcaps checking behaviour now that good plugins have
14262 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
14264 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
14271 * gst/gstmessage.c:
14275 * gst/parse/Makefile.am:
14276 * libs/gst/base/gstadapter.c:
14277 * libs/gst/base/gstbasesrc.c:
14278 * libs/gst/base/gstpushsrc.c:
14279 * libs/gst/base/gsttypefindhelper.c:
14280 * plugins/elements/gstfakesrc.c:
14281 * plugins/elements/gstidentity.c:
14282 Make sure gstprivate.h and/or config.h are
14283 always included first, otherwise some of our
14284 defines (like _FILE_OFFSET_BITS) might be
14285 redefined in the system headers. Fixes build
14286 on opensolaris (#340016).
14288 2006-05-04 Wim Taymans <wim@fluendo.com>
14290 * docs/libs/gstreamer-libs-sections.txt:
14291 API: addition: gst_adapter_take_buffer()
14293 * libs/gst/base/gstadapter.c: (gst_adapter_push),
14294 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
14295 (gst_adapter_available_fast):
14296 * libs/gst/base/gstadapter.h:
14297 Prepare for optimizing the hell out of this hugely inefficient
14299 Added gst_adapter_take_buffer() so we can at least start thinking
14300 about subbuffering and merging.
14301 Added some comments.
14303 * tests/check/Makefile.am:
14304 * tests/check/libs/adapter.c: (GST_START_TEST),
14305 (gst_adapter_suite), (main):
14306 Added GstAdapter check.
14308 2006-05-04 Wim Taymans <wim@fluendo.com>
14310 * docs/design/part-overview.txt:
14311 Fix some typos, add blurb about buffer flags.
14313 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
14315 * docs/libs/gstreamer-libs-sections.txt:
14316 make sure GstBaseTransformClass shows up in the docs
14317 * libs/gst/base/gstbasetransform.c:
14318 * libs/gst/base/gstbasetransform.h:
14319 move docs so gtk-doc picks it up now
14321 2006-05-02 Stefan Kost <ensonic@users.sf.net>
14323 * docs/libs/gstreamer-libs-sections.txt:
14324 add missing symbols to docs
14326 2006-05-02 Stefan Kost <ensonic@users.sf.net>
14328 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14329 back out the newsegment handling change, see #340060 for ongoing
14332 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
14334 * tools/gst-run.c: (get_candidates), (main):
14335 Fix wrong g_file_test() usage (see glib docs for why it doesn't
14336 work); fix typo in error message. Fixes #340079.
14338 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
14340 * common/Makefile.am:
14341 * docs/Makefile.am:
14342 * docs/faq/Makefile.am:
14343 * docs/gst/Makefile.am:
14344 * docs/libs/Makefile.am:
14345 * docs/manual/Makefile.am:
14346 * docs/plugins/Makefile.am:
14347 * docs/pwg/Makefile.am:
14348 * docs/slides/Makefile.am:
14350 * common/upload.mak:
14351 move upload.mak to common
14353 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
14355 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14356 add more asserts on refcounts
14357 do more cleanup at end of tests
14358 fix test leaks showing in FC5
14360 2006-04-29 Stefan Kost <ensonic@users.sf.net>
14362 * plugins/elements/gsttypefindelement.c:
14363 (gst_type_find_element_handle_event):
14364 reverted wrong change and reflowed code to avoid others falling into
14367 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14370 fix changelog entry about last collectpads change,
14371 add notes about proper fix
14373 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14376 * gst/gstregistry.c: (gst_registry_scan_path_level),
14377 (gst_registry_scan_path):
14378 * gst/gstregistry.h:
14379 only write out registry if it has changed, fixes #338339
14381 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14384 * gst/gstpipeline.c:
14385 * plugins/elements/gstcapsfilter.c:
14386 * plugins/elements/gstfakesink.c:
14387 * plugins/elements/gstfakesrc.c:
14388 * plugins/elements/gstfdsink.c:
14389 * plugins/elements/gstfdsrc.c:
14390 * plugins/elements/gstfilesink.c:
14391 * plugins/elements/gstfilesrc.c:
14392 * plugins/elements/gstidentity.c:
14393 * plugins/elements/gstqueue.c:
14394 * plugins/elements/gsttee.c:
14395 * plugins/elements/gsttypefindelement.c:
14396 (gst_type_find_element_handle_event):
14397 make GstElementDetails const
14399 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14401 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14402 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14403 (gst_collect_pads_is_collected), (gst_collect_pads_event):
14404 more detailed debug and formatting cleanup,
14405 forward newsegments to src-pad (so that e.g. adder not eats them)
14407 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14409 * gst/gstutils.c: (gst_element_link_pads):
14410 cleanup double code
14412 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14414 * libs/gst/controller/gstcontroller.c:
14415 (gst_controller_sync_values):
14417 * tests/check/libs/controller.c: (GST_START_TEST),
14418 (gst_controller_suite):
14419 a new test for live value handling
14421 2006-04-28 Wim Taymans <wim@fluendo.com>
14423 * gst/gstutils.c: (push_and_ref):
14424 Added some more docs.
14425 Fix refcount issue whith gst_element_found_tags() helper
14426 function. Fixes #338335
14428 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14429 Added testsuite for gst_element_found_tags().
14431 2006-04-28 Michael Smith <msmith@fluendo.com>
14433 * gst/gstvalue.c: (gst_value_serialize_flags):
14434 Avoid NULL dereference when trying to serialize flags containing
14437 2006-04-28 Michael Smith <msmith@fluendo.com>
14439 * plugins/elements/gsttypefindelement.c:
14440 (gst_type_find_element_handle_event):
14441 If we get EOS before any data is accumulated, don't use
14442 uninitialised local variables.
14444 2006-04-28 Michael Smith <msmith@fluendo.com>
14446 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14447 (gst_dp_event_from_packet):
14448 Fixes in reading/writing events over GDP (not currently used?) -
14449 dereferencing NULL events for unknown/invalid event types, memory
14450 leak, and change g_warning to GST_WARNING.
14452 2006-04-28 Wim Taymans <wim@fluendo.com>
14454 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14455 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14456 (gst_base_sink_get_position), (gst_base_sink_change_state):
14457 When frame dropping is enabled, we should not ignore frames
14458 without a duration.
14459 Update some documentation.
14461 2006-04-28 Wim Taymans <wim@fluendo.com>
14463 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14464 (gst_base_src_send_event), (gst_base_src_change_state):
14465 Documentation updates.
14467 2006-04-28 Wim Taymans <wim@fluendo.com>
14469 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14470 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14471 handle EAGAIN, EINTR and short writes correctly. Also clean
14472 up some error cases, avoid a deadlock on bad file descriptors and
14473 use GST_DEBUG_OBJECT.
14476 2006-04-28 Wim Taymans <wim@fluendo.com>
14478 * gst/gstvalue.c: (gst_value_serialize_buffer),
14479 (gst_value_deserialize_buffer):
14480 Don't try to serialize a GValue with a NULL buffer.
14483 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14484 Added check for serialisation of NULL buffers.
14486 2006-04-28 Wim Taymans <wim@fluendo.com>
14488 * gst/gstminiobject.c: (gst_value_take_mini_object):
14489 Taking a NULL miniobject is valid, fix the case where
14490 we try to unref the NULL miniobject.
14492 2006-04-28 Wim Taymans <wim@fluendo.com>
14494 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14496 * gst/gstbin.c: (gst_bin_handle_message_func):
14498 Don't leak bin refcount when a state recalc is
14499 in progress and we delay another one #339808.
14501 2006-04-28 Wim Taymans <wim@fluendo.com>
14503 * docs/design/part-TODO.txt:
14504 Mention QoS as an ongoing work item.
14506 * docs/design/part-buffering.txt:
14507 New doc about buffering that needs to be fleshed out
14510 * docs/design/part-qos.txt:
14511 More QoS policy for decoders/demuxers/transforms
14513 * docs/design/part-trickmodes.txt:
14516 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14521 === release 0.10.5 ===
14523 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14526 releasing 0.10.5, "Fogo"
14528 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
14530 patch by: Wim Taymans
14532 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14533 (gst_pad_configure_src), (gst_pad_push):
14534 * gst/gstpipeline.c: (gst_pipeline_init):
14535 Fix internal data flow errors. Fixes #338711.
14537 2006-04-12 Wim Taymans <wim@fluendo.com>
14539 * tests/check/gst/gstelement.c: (GST_START_TEST):
14540 Don't leak the factory.
14542 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
14545 * win32/common/config.h:
14548 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
14550 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14551 (gst_controller_unset_all):
14552 Free allocated GstTimedValues when freeing list nodes.
14553 Should fix leaks 'make check-valgrind' complains about.
14555 * win32/common/libgstcontroller.def:
14556 Add gst_controller_unset_all.
14558 2006-04-11 Stefan Kost <ensonic@users.sf.net>
14560 * docs/libs/gstreamer-libs-sections.txt:
14561 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14562 (gst_controller_unset_all):
14563 * libs/gst/controller/gstcontroller.h:
14564 API: Added new method gst_controller_unset_all()
14565 fixed gst_controller_unset()
14566 * tests/check/libs/controller.c: (GST_START_TEST),
14567 (gst_controller_suite):
14568 Added two testcases for new and fixed method
14570 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
14572 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14573 MSG_DONTWAIT is not defined on Cygwin, so work
14574 around that (fixes #317048).
14576 2006-04-11 Wim Taymans <wim@fluendo.com>
14578 * gst/gstelementfactory.c: (gst_element_register),
14579 (gst_element_factory_create), (gst_element_factory_make):
14582 Updated docs (Fixes #131079)
14584 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14587 * tests/check/gst/gstelement.c: (GST_START_TEST),
14588 (gst_element_suite):
14589 Added testcase for elementfactory class field.
14591 2006-04-10 Wim Taymans <wim@fluendo.com>
14593 * gst/gstsegment.c:
14594 Added some more docs.
14596 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14597 (gst_base_sink_reset_qos):
14598 Calculate more accurate rate values.
14600 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
14602 * gst/gst_private.h:
14603 add a new #ifdef to use __declspec(dllimport) only for
14604 other modules and not for gstreamer core
14605 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14606 use gst_guint64_to_gdouble for conversion
14607 * win32/common/libgstreamer.def:
14608 add new exported functions
14609 * win32/vs6/gst_inspect.dsp:
14610 * win32/vs6/gst_launch.dsp:
14611 * win32/vs6/libgstbase.dsp:
14612 * win32/vs6/libgstcontroller.dsp:
14613 * win32/vs6/libgstcoreelements.dsp:
14614 * win32/vs6/libgstdataprotocol.dsp:
14615 * win32/vs6/libgstnet.dsp:
14616 update project files
14618 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14620 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14621 * gst/gstclock.c: (gst_clock_class_init):
14622 * gst/gstelement.c: (gst_element_class_init):
14623 * gst/gstindex.c: (gst_index_class_init):
14624 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14625 * gst/gstobject.c: (gst_object_class_init),
14626 (gst_signal_object_class_init):
14627 * gst/gstpad.c: (gst_pad_class_init):
14628 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14629 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14630 * gst/gstregistry.c: (gst_registry_class_init):
14631 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14632 * gst/gsttask.c: (gst_task_class_init):
14633 * gst/gstxml.c: (gst_xml_class_init):
14634 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14635 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14636 (gst_base_src_loop):
14637 * libs/gst/controller/gstcontroller.c:/
14638 (_gst_controller_class_init):
14639 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14640 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14641 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14642 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14643 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14644 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14646 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14648 * gst/gstpad.c: (gst_pad_link):
14649 Must set peer pads before calling the link function, otherwise
14650 a task started from a link function might get a flow-not-linked
14651 result when trying to push because the other thread where the
14652 linking happens hasn't had a chance to set the peers yet. This
14653 might happen for example when a queue gets linked to a downstream
14654 element, as queue starts a streaming task when its source pad
14655 gets linked. Happens in real life when playing back flac/musepack
14656 files in playbin (#332390).
14658 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14662 * libs/gst/base/gstadapter.h:
14663 * libs/gst/base/gstbasesink.h:
14664 * libs/gst/base/gstbasesrc.h:
14665 * libs/gst/base/gstbasetransform.h:
14666 * libs/gst/base/gstcollectpads.h:
14667 * libs/gst/base/gstpushsrc.h:
14668 Fix broken GObject macros
14670 2006-04-07 Wim Taymans <wim@fluendo.com>
14672 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14673 Initialize start and stop times, thanks valgrind.
14675 2006-04-07 Wim Taymans <wim@fluendo.com>
14677 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14678 Be a bit nicer to badly behaving upstream elements that expect
14679 us to deal with non TIME segments and timestamps (such as fakesrc
14682 2006-04-07 Wim Taymans <wim@fluendo.com>
14685 Small documentation clarification about the signal watch.
14687 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14688 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14689 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14690 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14691 (gst_base_sink_get_position_last),
14692 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14693 Convert and store timestamps in stream time and running time, the
14694 raw timestamps are not useful, also document this better.
14695 Use different window sizes for good and bad QoS observations so
14696 we react to badness a little quicker.
14697 Keep track of the amount of rendered and dropped buffers.
14698 Send QoS timestamps in running time.
14700 * libs/gst/base/gstbasetransform.c:
14701 (gst_base_transform_sink_eventfunc),
14702 (gst_base_transform_handle_buffer):
14703 Compare QoS timestamps against running time.
14705 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14708 Typo fixes in docs.
14710 2006-04-06 Michael Smith <msmith@fluendo.com>
14712 * gst/gstpad.c: (gst_pad_set_property):
14713 Use g_value_get_object() instead of g_value_dup_gst_object(),
14714 to avoid double-reffing the pad template (which we then sink,
14715 so this worked previously if (and only if) the pad template
14718 * gst/gstpadtemplate.c: (gst_pad_template_init),
14719 (gst_pad_template_pad_created):
14720 Never return floating references to pad templates, create
14721 them as initially-sunken.
14723 Document an extra function (and make this stop sinking our
14724 pad template, since that is now guaranteed to do nothing,
14725 since we created it sunken).
14727 * gst/gstghostpad.c:
14730 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14732 * gst/gstinfo.c: (__gst_in_valgrind):
14735 * plugins/elements/gsttypefindelement.c:
14736 (gst_type_find_element_chain):
14737 Don't leak buffer caps.
14739 2006-04-06 Michael Smith <msmith@fluendo.com>
14741 * gst/parse/grammar.y:
14742 Fix a leak in parse-launch for any source-or-sink named element
14745 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14746 Unref the pipeline if it exists after we've failed parsing.
14748 2006-04-05 Michael Smith <msmith@fluendo.com>
14750 * gst/gstpipeline.c: (gst_pipeline_init):
14751 When we create a pipeline bus, initially create it in flushing mode.
14752 Fixes leaks in at least one test, and makes a new pipeline work the
14753 same as one that has gone to READY and then back to NULL.
14755 * gst/gstelement.c:
14758 2006-04-05 Michael Smith <msmith@fluendo.com>
14760 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14761 Unref a pad we reffed.
14762 * tests/check/gst/gstutils.c: (GST_START_TEST):
14765 2006-04-05 Michael Smith <msmith@fluendo.com>
14767 * gst/gstquery.c: (gst_query_set_formats),
14768 (gst_query_set_formatsv):
14769 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14771 2006-04-05 Michael Smith <msmith@fluendo.com>
14773 * tests/check/generic/sinks.c: (GST_START_TEST):
14774 Fix a variety of memleaks in sinks check, which are only sometimes
14775 shown by running the tests under valgrind (weird?).
14777 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14779 * docs/version.entities.in:
14780 Fix the substituted entity name after thomas' changes on the
14783 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14785 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14788 2006-04-05 Andy Wingo <wingo@pobox.com>
14790 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14792 * libs/gst/base/gstbasetransform.c
14793 (gst_base_transform_sink_eventfunc): When resetting our segment on
14794 FLUSH_STOP, also update the flag saying we haven't seen a
14797 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14799 Patch by: Paolo Borelli <pborelli at katamail dot com>
14801 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14802 (gst_plugin_check_license):
14803 minor clean-ups: G_DEFINE_TYPE already takes care of the
14804 parent_class stuff, no need to do it twice. Mark array of
14805 license strings as constant. (#337103)
14807 2006-04-04 Michael Smith <msmith@fluendo.com>
14809 * tools/gst-inspect.c: (print_element_list):
14810 Free the right plugin list; fixes a memory leak.
14812 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14814 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14816 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14817 Don't error out on empty buffers (#336945).
14819 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14821 * docs/libs/gstreamer-libs-sections.txt:
14822 * gst/gsttaglist.c:
14823 * libs/gst/base/gstbasesink.c:
14824 * libs/gst/base/gstbasesink.h:
14825 * libs/gst/base/gstbasesrc.c:
14826 * libs/gst/base/gstbasesrc.h:
14827 Documentation updates. Make BaseSink and BaseSrc docs contain the
14828 class structure so that people can actually see the prototypes for
14829 virtual functions they're supposed to be overriding.
14831 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14833 * plugins/elements/gsttypefindelement.c:
14834 (gst_type_find_element_chain):
14835 More debug info; when skipping typefinding, send cached
14836 events in all cases.
14838 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14841 use new AS_VERSION and AS_NANO macros
14842 * gst/gst-i18n-lib.h:
14845 * gst/gstversion.h.in:
14846 * win32/common/config.h:
14847 * win32/common/config.h.in:
14850 2006-03-31 Michael Smith <msmith@fluendo.com>
14852 * plugins/elements/gsttypefindelement.c:
14853 (gst_type_find_element_chain):
14854 Do not typefind content if the buffers already have caps.
14855 Neccesary for icydemux (#333657), and the right thing to do anyway.
14857 2006-03-30 Wim Taymans <wim@fluendo.com>
14859 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14860 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14861 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14862 (gst_base_sink_record_qos_observation),
14863 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14864 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14865 (gst_base_sink_change_state):
14866 More QoS measurements as described in the design doc.
14867 Get rid of ringbuffer with observations, running average is
14868 more simple and equally good.
14869 Calculates valid proportion now.
14870 Added beginning of flood measurement.
14872 2006-03-29 Wim Taymans <wim@fluendo.com>
14874 * docs/design/part-qos.txt:
14876 Small documentation updates and additions.
14878 2006-03-29 Wim Taymans <wim@fluendo.com>
14880 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14881 (gst_base_src_send_event), (gst_base_src_loop),
14882 (gst_base_src_change_state):
14883 Perform the EOS logic when we reach the segment stop position.
14884 Fix compilation on gcc4.1
14886 2006-03-29 Wim Taymans <wim@fluendo.com>
14888 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14890 * plugins/elements/gstqueue.c: (gst_queue_init),
14891 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14892 (gst_queue_set_property):
14893 * plugins/elements/gstqueue.h:
14894 In queue, when EOS is received, if minimum threshold > max_size -
14895 current_level, there is chance that queue blocks forever in conditional
14896 item del wait. This is because the queue is not emptied completely due
14897 to minimum threshold. Here is another approach. Instead of setting
14898 cur_levels to max in EOS, just zero all minimum threshold levels. This
14899 should make sure that queue gives out all data. When going to READY
14900 (stop) state, just reset the original minimum threshold levels.
14903 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14905 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14906 (gst_type_find_element_handle_event),
14907 (gst_type_find_element_send_cached_events),
14908 (gst_type_find_element_change_state):
14909 * plugins/elements/gsttypefindelement.h:
14910 When typefinding is done in push mode, we should cache
14911 events we receive during typefinding instead of just
14912 dropping them (e.g. newsegment, custom events from
14913 dvdreadsrc etc.) and then send them out once we've
14914 determined the type of the stream (and decodebin
14915 has had a chance to plug in a decoder/demuxer).
14917 2006-03-27 Wim Taymans <wim@fluendo.com>
14919 * docs/design/part-qos.txt:
14922 2006-03-27 Wim Taymans <wim@fluendo.com>
14924 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14926 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14927 (gst_base_src_send_event), (gst_base_src_change_state):
14928 Handle element seek correctly when we are streaming.
14931 2006-03-24 Michael Smith <msmith@fluendo.com>
14933 * docs/faq/gst-uninstalled:
14934 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14935 allow you to correctly run intalled applications built against old
14936 core, using plugins that require updated core (e.g. running
14937 installed totem against a full uninstalled gstreamer stack)
14939 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14941 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14944 2006-03-24 Wim Taymans <wim@fluendo.com>
14946 * docs/gst/gstreamer-sections.txt:
14947 Rearrange the order of the methods so that related methods
14948 are grouped together in sections.
14950 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14952 * gst/gstelement.c:
14953 Little clarification in the docs
14955 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14959 * plugins/elements/gstidentity.c:
14960 * plugins/elements/gstqueue.c:
14961 * plugins/elements/gsttee.c:
14962 * plugins/elements/gsttypefindelement.c:
14963 GST_ELEMENT_DETAILS formatting
14965 2006-03-24 Wim Taymans <wim@fluendo.com>
14967 * libs/gst/base/gstbasesink.h:
14968 Only add fields, not insert or we break ABI.
14970 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14972 * win32/common/libgstbase.def:
14973 * win32/common/libgstreamer.def:
14974 Update, add recently added functions.
14976 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14978 * docs/gst/gstreamer-sections.txt:
14979 * gst/gstutils.c: (gst_pad_query_peer_position),
14980 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14982 API: add some new utility functions:
14983 - gst_pad_query_peer_position()
14984 - gst_pad_query_peer_duration()
14985 - gst_pad_query_peer_convert()
14987 2006-03-23 Wim Taymans <wim@fluendo.com>
14989 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14990 (gst_base_sink_init), (gst_base_sink_finalize),
14991 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14992 (gst_base_sink_set_property), (gst_base_sink_get_property),
14993 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14994 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14995 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14996 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14997 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14998 (gst_base_sink_preroll_object), (gst_base_sink_event),
14999 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15000 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15001 (gst_base_sink_query), (gst_base_sink_change_state):
15002 Decouple max-lateness and the fact that QoS messages are generated
15003 with a new property (qos).
15004 added API: GstBaseSink::async_play()
15005 Add vmethod so subclasses can be notified of ASYNC playing
15007 Collect timestamp start and stop to report better current
15008 position in EOS/PLAYING/PAUSED/READY/NULL.
15009 Refactor QoS/frame dropping and other measurements.
15010 API: GstBaseSrc::qos
15013 * libs/gst/base/gstbasesink.h:
15014 Added Private struct.
15015 API: gst_base_sink_set_qos_enabled()
15016 API: gst_base_sink_is_qos_enabled()
15018 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15020 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15021 If compiling against GLib-2.8 or newer, try to read the
15022 registry file using GMappedFile first before falling back
15023 to fopen() + fread() (#332151).
15025 2006-03-22 Wim Taymans <wim@fluendo.com>
15027 * gst/gstinfo.c: (gst_debug_set_active),
15028 (gst_debug_category_set_threshold):
15029 Disable debugging unless explicitly activated.
15032 2006-03-22 Wim Taymans <wim@fluendo.com>
15034 * gst/gstelement.c: (gst_element_set_locked_state),
15035 (gst_element_dispose):
15036 Cleanup the error case.
15038 * gst/gstobject.c: (gst_object_dispose):
15039 print a critical when some object was disposed with
15040 a parent, also revive the object since it might
15043 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
15045 * tools/gst-launch.1.in:
15048 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15051 * tests/check/Makefile.am:
15052 disable some tests when we don't have a registry
15053 * tests/check/gst/gstutils.c: (gst_utils_suite):
15054 don't build the part that needs parsing
15056 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15059 * tests/examples/Makefile.am:
15060 fix --disable-parse build
15062 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15064 * tools/gst-feedback.1.in:
15065 Fix typo: s/feeback/feedback/ (#133494).
15067 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15069 * tools/Makefile.am:
15070 * tools/gst-launch.1.in:
15071 Add FILES section and correct entry about GST_REGISTRY_PATH
15072 environment variable (#133495; #133494).
15074 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15076 * tools/Makefile.am:
15077 * tools/gst-md5sum.1.in:
15078 * tools/gst-md5sum.c:
15079 Remove gst-md5sum and man page (the md5sink element
15080 required was removed ages ago)
15082 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15084 * gst/gststructure.c: (gst_structure_id_set_value):
15085 Make sure that string fields in structures/taglists
15086 contain valid UTF-8 - we don't want to pass rubbish to
15087 applications because of a buggy plugin (cp. #334167).
15089 2006-03-21 Edward Hervey <edward@fluendo.com>
15091 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15092 (gst_bin_handle_message_func):
15093 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15094 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15095 (gst_element_set_bus_func):
15096 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15097 * gst/gstminiobject.c: (gst_value_set_mini_object),
15098 (gst_value_take_mini_object):
15099 * gst/gstpad.c: (gst_pad_set_pad_template):
15100 * gst/gstpipeline.c: (gst_pipeline_dispose),
15101 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15102 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
15103 (gst_collect_pads_chain):
15104 * libs/gst/net/gstnettimeprovider.c:
15105 (gst_net_time_provider_set_property):
15106 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
15107 It's in fact all issues with gst_*object_replace().
15109 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15111 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
15113 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15114 * pkgconfig/gstreamer-check.pc.in:
15115 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
15117 2006-03-21 Edward Hervey <edward@fluendo.com>
15121 * gst/gstmessage.h:
15122 gst_[buffer|event|message]_ref() macros are replaced by a static
15123 inline functions because gcc-4.1 will about if the return value
15125 * tests/check/gst/gstevent.c: (event_probe):
15126 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
15128 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
15131 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
15132 the type' case. (Closes: #335195 for now). In the future, when we
15133 depend on GLib 2.10, we could also intern the type name using
15134 g_intern_static_string()
15136 2006-03-20 Wim Taymans <wim@fluendo.com>
15138 * gst/gstbin.c: (gst_bin_handle_message_func),
15139 (bin_query_max_init), (bin_query_position_fold),
15140 (bin_query_position_done), (gst_bin_query):
15141 Position query should also take max of all streams.
15143 2006-03-20 Wim Taymans <wim@fluendo.com>
15145 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15146 (gst_fake_src_finalize):
15147 Fix leaks in fakesrc.
15149 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
15150 Fix leaks in the testcase.
15152 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
15154 * gst/gst_private.h:
15155 add win32 specific import decoration(__declspec(dllimport))
15156 for all extern GstDebugCategory * variables
15157 * win32/common/libgstbase.def:
15158 * win32/common/libgstcontroller.def:
15159 * win32/common/libgstreamer.def:
15160 Add some exports, remove empty lines
15161 * win32/common/libgstdataprotocol.def:
15162 * win32/common/libgstdataprotocol.dsp:
15163 * win32/common/libgstnet.def:
15164 * win32/common/libgstnet.dsp:
15165 new project files and exportation files added
15167 2006-03-19 Wim Taymans <wim@fluendo.com>
15169 * tests/check/libs/basesrc.c: (eos_event_counter):
15170 Use proper return value for probe.
15172 2006-03-17 Wim Taymans <wim@fluendo.com>
15174 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
15176 Don't leak buffers, caps and pads on negotiation errors.
15178 2006-03-16 Stefan Kost <ensonic@users.sf.net>
15180 * docs/faq/cvs.xml:
15181 * docs/faq/dependencies.xml:
15182 * docs/faq/developing.xml:
15183 * docs/faq/faq.xml:
15184 * docs/faq/general.xml:
15185 * docs/faq/getting.xml:
15186 * docs/faq/legal.xml:
15187 * docs/faq/troubleshooting.xml:
15188 * docs/faq/using.xml:
15189 Faq review and update.
15191 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
15193 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
15195 Don't pound the cpu to pieces by checking get_caps when accept_caps
15196 is called with the same caps as the pad already has.
15197 Use GST_DEBUG_OBJECT when outputting caps change information.
15199 2006-03-15 Wim Taymans <wim@fluendo.com>
15201 * gst/gstclock.c: (gst_clock_class_init):
15204 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
15209 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
15210 (gst_pad_accept_caps), (gst_pad_configure_sink),
15211 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
15212 Make the default acceptcaps behaviour be to check the requested
15213 caps against the gst_pad_get_caps output.
15215 Ensure that gst_pad_accept_caps is used to check caps when a pad
15216 doesn't have a setcaps function, so that pads automatically refuse
15217 caps that they don't allow in their pad template. (Fixes #332986)
15219 When a buffer with attached caps is pushed, ensure that the source
15220 pad receives those caps even if the element didn't call
15221 gst_pad_set_caps first.
15223 2006-03-15 Wim Taymans <wim@fluendo.com>
15225 * libs/gst/base/gstadapter.c:
15228 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
15230 * win32/common/libgstbase.def:
15231 * win32/common/libgstcontroller.def:
15232 * win32/common/libgstreamer.def:
15233 Add a whole bunch of missing functions (#334434).
15235 2006-03-14 Wim Taymans <wim@fluendo.com>
15237 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15238 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15239 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
15240 Better debug info when we receive a segment event.
15241 Reorganize a bit so we can pass the get_times() results around.
15242 Use the segment format when calculating the running time.
15243 Don't do QoS is sync is disabled or we have no clock or the
15244 element does not want us to sync to the clock.
15245 Don't drop buffers if QoS is disabled for now.
15247 2006-03-14 Wim Taymans <wim@fluendo.com>
15249 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
15250 Marked the stats property as unimplemented so people don't get
15252 Add debug message when regression goes wrong.
15253 Added some more docs.
15255 2006-03-14 Wim Taymans <wim@fluendo.com>
15257 * gst/gstsegment.c: (gst_segment_to_stream_time):
15258 Return correct return type in case of errors.
15260 2006-03-14 Wim Taymans <wim@fluendo.com>
15262 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
15263 Don't segfault on invalid formats.
15265 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
15267 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15268 Can't use gst_segment_to_running_time() when the segment
15269 is not in GST_TIME_FORMAT (like with filesink, for example).
15270 Stops flac encoding pipelines from spewing critical warnings
15273 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
15275 * gst/gstpipeline.c: (gst_pipeline_class_init):
15276 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
15278 * plugins/elements/gsttypefindelement.c:
15279 (gst_type_find_element_handle_event):
15280 Don't try to typefind empty streams.
15282 2006-03-14 Wim Taymans <wim@fluendo.com>
15284 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15285 (gst_base_sink_do_qos):
15286 Separate QoS calculation.
15287 Only drop buffers when lateness is bigger than the
15288 duration of the buffer.
15290 2006-03-13 Wim Taymans <wim@fluendo.com>
15292 * gst/gstpipeline.c: (gst_pipeline_set_property),
15293 (gst_pipeline_get_property), (do_pipeline_seek),
15294 (gst_pipeline_change_state), (gst_pipeline_set_delay),
15295 (gst_pipeline_get_delay):
15296 Don't deadlock when reading properties.
15298 2006-03-13 Wim Taymans <wim@fluendo.com>
15300 * libs/gst/base/gstbasetransform.c:
15301 (gst_base_transform_class_init), (gst_base_transform_init),
15302 (gst_base_transform_sink_event),
15303 (gst_base_transform_sink_eventfunc),
15304 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
15305 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15306 (gst_base_transform_set_property),
15307 (gst_base_transform_get_property),
15308 (gst_base_transform_change_state), (gst_base_transform_update_qos),
15309 (gst_base_transform_set_qos_enabled),
15310 (gst_base_transform_is_qos_enabled):
15311 * libs/gst/base/gstbasetransform.h:
15312 Make basetransform virtual method for src events too.
15313 Handle QOS in basetransform.
15314 API: gst_base_transform_update_qos()
15315 API: gst_base_transform_set_qos_enabled()
15316 API: gst_base_transform_is_qos_enabled()
15318 2006-03-13 Wim Taymans <wim@fluendo.com>
15320 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15321 (gst_base_sink_do_sync):
15323 Use QOS debug category.
15325 2006-03-13 Wim Taymans <wim@fluendo.com>
15327 * plugins/elements/gstqueue.c:
15328 Very small doc update.
15330 2006-03-13 Wim Taymans <wim@fluendo.com>
15332 * gst/gst_private.h:
15333 * gst/gstinfo.c: (_gst_debug_init):
15334 Added QOS debug category
15336 2006-03-13 Wim Taymans <wim@fluendo.com>
15338 * docs/gst/gstreamer-sections.txt:
15339 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
15341 * gst/gstbus.c: (gst_bus_class_init):
15344 * gst/gstelement.c: (gst_element_set_locked_state):
15345 * gst/gstsegment.c:
15346 Documentation updates.
15348 * gst/gstpipeline.c: (gst_pipeline_get_type),
15349 (gst_pipeline_class_init), (gst_pipeline_init),
15350 (gst_pipeline_dispose), (gst_pipeline_set_property),
15351 (gst_pipeline_get_property), (do_pipeline_seek),
15352 (gst_pipeline_send_event), (gst_pipeline_change_state),
15353 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
15354 (gst_pipeline_get_delay):
15355 * gst/gstpipeline.h:
15356 Added methods for setting the delay.
15357 API: gst_pipeline_set_delay()
15358 API: gst_pipeline_get_delay()
15359 Add pipeline debug category
15362 Don't reset stream time when seek failed.
15364 2006-03-13 Wim Taymans <wim@fluendo.com>
15366 * docs/design/draft-klass.txt:
15367 * docs/design/part-clocks.txt:
15368 * docs/design/part-events.txt:
15369 * docs/design/part-gstbin.txt:
15370 * docs/design/part-gstpipeline.txt:
15371 * docs/design/part-messages.txt:
15372 * docs/design/part-negotiation.txt:
15373 * docs/design/part-overview.txt:
15374 * docs/design/part-preroll.txt:
15375 * docs/design/part-seeking.txt:
15376 * docs/design/part-states.txt:
15377 * docs/design/part-streams.txt:
15378 Documentation updates.
15380 2006-03-12 Julien MOUTTE <julien@moutte.net>
15382 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15383 us to leak strings...
15385 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
15387 * libs/gst/net/gstnettimeprovider.c:
15389 * win32/common/config.h:
15392 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
15394 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15397 Don't check for libgnomeui (leftover from old examples
15398 that aren't built or disted any longer) (#334303).
15400 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
15402 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15403 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15404 Emit RESOURCE_NO_SPACE_LEFT error here as well when
15405 there's no space left on the device.
15407 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
15410 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15411 to cast the input to GstClockTime before comparing with
15412 another GstClockTime value.
15414 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15419 === release 0.10.4 ===
15421 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15424 releasing 0.10.4, "Light"
15426 2006-03-10 Michael Smith <msmith@fluendo.com>
15428 * libs/gst/dataprotocol/dataprotocol.c:
15429 Fix docs for dataprocotol to not get the return types completely
15430 wrong for a few functions.
15432 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15434 * docs/gst/gstreamer-sections.txt:
15435 * gst/gstpipeline.c: (gst_pipeline_class_init),
15436 (gst_pipeline_init), (gst_pipeline_set_property),
15437 (gst_pipeline_get_property), (gst_pipeline_change_state),
15438 (gst_pipeline_set_auto_flush_bus),
15439 (gst_pipeline_get_auto_flush_bus):
15440 * gst/gstpipeline.h:
15441 Add new API: gst_pipeline_set_auto_flush_bus() and
15442 gst_pipeline_get_auto_flush_bus() to disable automatic
15443 flushing of the pipeline's GstBus when going from READY
15444 to NULL state (#332045).
15446 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15448 * docs/gst/gstreamer-sections.txt:
15449 * gst/gsturi.c: (gst_uri_has_protocol):
15451 Add new API: gst_uri_has_protocol() (#333779).
15453 2006-03-09 Wim Taymans <wim@fluendo.com>
15455 * gst/gstclock.c: (gst_clock_entry_new),
15456 (gst_clock_id_compare_func), (gst_clock_id_wait),
15457 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15458 (gst_clock_init), (gst_clock_get_internal_time),
15459 (gst_clock_set_master), (do_linear_regression),
15460 (gst_clock_add_observation), (gst_clock_set_property):
15464 Fix a possible segfault when the window-size is made smaller.
15465 Calculate jitter before performing the clock wait. Ideally
15466 the clock implementation should calculate jitter but we need
15467 API breakage for that.
15469 * gst/gstsystemclock.c: (gst_system_clock_init):
15472 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15473 Remove leftover else
15475 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15476 (gst_systemclock_suite):
15477 Added check to test GST_CLOCK_DIFF.
15479 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15481 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15482 (gst_type_find_helper_get_range):
15483 If we are provided with the size, we should implement
15484 GstTypeFind::get_length, so that typefind functions who
15485 want to can actually peek at the middle of a file.
15487 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
15489 * docs/manual/advanced-dataaccess.xml:
15490 Add some very very basic error checking.
15492 * docs/pwg/appendix-checklist.xml:
15493 Some updates to the list of things to check when writing an element.
15495 2006-03-08 Wim Taymans <wim@fluendo.com>
15497 * docs/design/part-element-transform.txt:
15498 Added some docs about the design of tranform elements.
15500 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15501 (gst_base_src_loop), (gst_base_src_change_state):
15502 Mark buffers with the DISCONT flag.
15504 2006-03-08 Michael Smith <msmith@fluendo.com>
15506 * gst/gstregistry.h:
15507 * gst/gstregistryxml.c: (gst_registry_save),
15508 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15509 (gst_registry_xml_save_pad_template),
15510 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15511 (gst_registry_xml_write_cache):
15512 Rewrite registry-saving to avoid race conditions and check for
15515 2006-03-08 Wim Taymans <wim@fluendo.com>
15517 * libs/gst/base/gstbasetransform.c:
15518 (gst_base_transform_transform_caps),
15519 (gst_base_transform_transform_size),
15520 (gst_base_transform_prepare_output_buffer),
15521 (gst_base_transform_get_unit_size),
15522 (gst_base_transform_buffer_alloc),
15523 (gst_base_transform_handle_buffer),
15524 (gst_base_transform_change_state):
15525 Cleanups, separate normal flow from errors, add sensible
15527 Don't try to renegotiate when allocating an output buffer.
15528 Also copy DISCONT buffer flag when copying a buffer.
15529 Reset the transform after we finish streaming, not during.
15531 2006-03-08 Wim Taymans <wim@fluendo.com>
15533 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15534 Use last buffer timestamp in qos message.
15536 2006-03-07 Wim Taymans <wim@fluendo.com>
15538 Patch by: Christophe Fergeau
15540 * docs/pwg/advanced-tagging.xml:
15541 * docs/pwg/building-pads.xml:
15544 2006-03-07 Wim Taymans <wim@fluendo.com>
15546 * docs/libs/gstreamer-libs-sections.txt:
15547 Added basesink new methods.
15551 Docs updates. Flesh out the QoS docs.
15553 * libs/gst/base/gstadapter.c:
15554 Small doc clarification about ownership and flushing.
15556 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15557 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15558 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15559 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15560 * libs/gst/base/gstbasesink.h:
15562 Added new methods to allow subclass to control max-lateness
15564 Generate very basic QoS events based on last sync observation.
15565 Updated docs, fix typo, added some QoS blurb.
15567 * libs/gst/base/gstbasesrc.c:
15568 Remove obsolete _get_state() calls from docs.
15570 2006-03-07 Wim Taymans <wim@fluendo.com>
15572 * docs/libs/gstreamer-libs-sections.txt:
15573 * libs/gst/base/gstbasetransform.h:
15574 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15575 Fix docs for GstBaseSrc.
15577 2006-03-07 Wim Taymans <wim@fluendo.com>
15579 * docs/gst/gstreamer-sections.txt:
15582 * libs/gst/base/gstbasetransform.h:
15583 Small documentation fixes.
15585 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15588 Document thread-unsafety of gst_value_register_foo_func()
15589 when used at the same time as gst_value_foo() (#322628).
15591 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15593 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15594 (gst_push_src_check_get_range):
15595 Push sources don't support pull mode by default.
15597 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15599 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15600 (gst_base_src_init), (gst_base_src_pad_check_get_range),
15601 (gst_base_src_default_check_get_range):
15602 * libs/gst/base/gstbasesrc.h:
15603 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15604 provide default implementation, and rename
15605 gst_base_src_check_get_range() to
15606 gst_base_src_pad_check_get_range() for clarity.
15608 2006-03-06 Wim Taymans <wim@fluendo.com>
15610 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15611 Make property overridable.
15613 2006-03-06 Wim Taymans <wim@fluendo.com>
15615 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15616 (gst_base_sink_init), (gst_base_sink_set_property),
15617 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15618 * libs/gst/base/gstbasesink.h:
15619 API addition: Make max-lateness a property.
15621 2006-03-06 Wim Taymans <wim@fluendo.com>
15623 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15624 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15625 Don't ever draw a frame that is >10ms late.
15627 2006-03-06 Michael Smith <msmith@fluendo.com>
15629 * gst/gstmessage.c: (_gst_message_copy):
15630 When copying a message, set the parent_refcount of the enclosed
15631 structure to point at the copy, not the original message.
15633 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15635 Patch by: Christophe Fergeau
15638 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15639 usable in c++ code (#333417)
15641 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15644 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15646 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15648 * libs/gst/base/gstbasetransform.c:
15649 (gst_base_transform_transform_caps):
15650 Make sure caps are writable before passing them to
15653 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15656 Fix some minor docs errors.
15658 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15660 Patch by: Ross Burton <ross at burtonini dot com>
15662 * gst/gsterror.c: (_gst_resource_errors_init):
15664 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15666 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15669 Add a check and output a g_warning when GStreamer is built
15670 against GLib 2.6 but running against 2.8 or higher, and vice
15671 versa. (Closes: #323542)
15673 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15675 * gst/parse/parse.l:
15676 Commit patch for parse_launch syntax from #331255. Removes
15677 support for quoted strings and mimetypes when writing filtered
15678 caps. See the bug report for more details - I'm pretty sure this
15679 obscure feature is not in use by _anyone_ anywhere.
15681 With this simple change, the size of the gstreamer.so here
15682 drops from 2193KB to 1565KB.
15684 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15686 * plugins/elements/gsttypefindelement.h:
15687 * plugins/elements/gsttypefindelement.c:
15688 (gst_type_find_element_src_event), (start_typefinding),
15689 (stop_typefinding), (gst_type_find_element_handle_event),
15690 (gst_type_find_element_chain),
15691 (gst_type_find_element_chain_do_typefinding):
15692 Use gst_type_find_helper_for_buffer() for chain-based
15695 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15697 * plugins/elements/gsttypefindelement.c:
15698 (gst_type_find_element_class_init),
15699 (gst_type_find_element_set_property),
15700 (gst_type_find_element_get_property):
15701 Deprecate "maximum" property (not only was it only taken into
15702 account for typefinding in push-mode anyway, it also was never
15703 actually possible to set it in the first place because the
15704 property was registered with the numeric property ID for the
15705 "minimum" property). Register "maximum" property correctly,
15706 for the sake of future copy'n'pasters. Remove some cruft
15707 from property get/set functions.
15709 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15711 * plugins/elements/gsttypefindelement.c:
15712 (gst_type_find_element_activate):
15713 Use gst_type_find_helper_get_range() here, so we
15714 can honour the "minimum" property and also emit
15715 the signal with the correct probability of the found caps.
15717 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15719 * docs/libs/gstreamer-libs-sections.txt:
15720 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15721 (helper_find_suggest), (gst_type_find_helper_get_range),
15722 (gst_type_find_helper):
15723 * libs/gst/base/gsttypefindhelper.h:
15724 New API: gst_type_find_helper_get_range() (#333042).
15726 2006-03-02 Michael Smith <msmith@fluendo.com>
15728 * gst/gstregistryxml.c: (load_feature):
15729 Asserting on a failure to read part of the registry is Not Cool.
15730 Just log a warning and return NULL (which is already handled)
15732 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15734 * win32/common/libgstbase.def:
15735 added export of gst_type_find_helper_for_buffer
15736 * win32/common/libgstbase.def:
15737 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15738 gst_ghost_pad_get_target
15740 2006-02-28 Wim Taymans <wim@fluendo.com>
15742 * docs/design/draft-klass.txt:
15744 Added Connector to mark elements that are only used to
15745 allow pipeline connections.
15746 Moved Debug to extra feature since most of them are
15747 functionally something else.
15749 2006-02-28 Wim Taymans <wim@fluendo.com>
15751 * docs/design/draft-klass.txt:
15752 Some updates and clarifications.
15754 2006-02-28 Wim Taymans <wim@fluendo.com>
15756 * docs/design/draft-klass.txt:
15757 Proposal for klass field values.
15759 * docs/design/part-streams.txt:
15760 Start of a doc describing stream anatomy.
15762 2006-02-28 Wim Taymans <wim@fluendo.com>
15764 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15765 Help the compiler a bit with type registration.
15766 Use existing forward cod path instead of duplicating it when
15767 handling a message.
15769 * gst/gstbus.c: (gst_bus_get_type):
15770 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15771 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15772 * gst/gstclock.c: (gst_clock_get_type):
15773 * gst/gstelement.c: (gst_element_get_type),
15774 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15775 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15776 * gst/gstminiobject.c: (gst_mini_object_get_type):
15777 * gst/gstpad.c: (gst_pad_get_type):
15778 * gst/gstsegment.c: (gst_segment_get_type):
15779 * gst/gststructure.c: (gst_structure_get_type):
15780 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15781 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15783 Help compiler with type registration.
15785 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15788 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15790 * plugins/elements/gsttypefindelement.c:
15791 (gst_type_find_element_handle_event):
15792 When we get an EOS event and have not found a type yet
15793 (most likely because we had not yet accumulated
15794 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15795 type given the data we have so far. Fixes typefinding
15796 for very short streams again, most notably quicktime
15797 redirections as used on Apple's trailer site (#331701).
15799 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15801 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15802 (gst_type_find_helper):
15803 Try typefinding factories with the highest rank first.
15805 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15807 * docs/libs/gstreamer-libs-docs.sgml:
15808 * docs/libs/gstreamer-libs-sections.txt:
15809 * libs/gst/base/gsttypefindhelper.c:
15810 Add section for typefind helper and add documentation
15811 for the old and the new function.
15813 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15815 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15816 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15817 (gst_type_find_helper_for_buffer):
15818 * libs/gst/base/gsttypefindhelper.h:
15819 New API: gst_type_find_helper_for_buffer() (#332723).
15821 2006-02-27 Michael Smith <msmith@fluendo.com>
15823 Patch by: Loïc Minier
15826 * docs/Makefile.am:
15827 * docs/slides/Makefile.am:
15828 prevent CVS directories getting disted.
15830 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15832 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15833 Use the REFCOUNTING category for caps refcounting.
15835 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15837 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15838 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15840 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15842 * plugins/elements/gsttypefindelement.c:
15843 (gst_type_find_element_activate):
15844 Use gst_pad_check_pull_range() before _activate_pull()
15845 to avoid unnecessary open/close (see #331690).
15847 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15850 Docs enhancement: make it crystal clear what the
15851 gst_pad_add_*_probe() callbacks should look like.
15853 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15855 * libs/gst/base/gstbasesrc.c:
15856 Document how applications can stop recording from
15857 live sources (see #330996).
15859 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15861 * tests/check/Makefile.am:
15862 * tests/check/libs/basesrc.c: (eos_event_counter),
15863 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15864 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15865 (gst_basesrc_suite), (main):
15866 ... and add some tests for the base source EOS stuff.
15868 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15870 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15871 Test case originally showed the problem fixed below,
15872 but was then amended. Add checks back at the place
15873 where they used to be.
15875 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15877 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15878 (gst_base_src_init), (gst_base_src_loop),
15879 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15880 (gst_base_src_change_state):
15881 * libs/gst/base/gstbasesrc.h:
15882 Don't unconditionally send EOS when going from PAUSED to
15883 READY state, esp. make sure we don't send two EOS events
15884 in some cases (e.g. one when reaching EOS and one when
15885 going from PAUSED to READY). Also, we don't want to send
15886 EOS events when operating in pull mode. However, we do
15887 want to send an EOS event when shutting down a live
15888 source explicitly, for example (fixes #330996).
15890 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15892 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15893 Update src->read_position after a seek when not using mmap.
15894 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15896 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15902 Make things work with --disable-parse as they do with
15903 --disable-load-save - the symbols involved disappear, but the
15904 header is still installed and GST_DISABLE_PARSE is included via
15907 2006-02-20 Julien MOUTTE <julien@moutte.net>
15909 * libs/gst/base/gstbasetransform.c:
15910 (gst_base_transform_change_state): Fix a stupid bug. I was
15911 sure I compiled that.
15913 2006-02-20 Julien MOUTTE <julien@moutte.net>
15915 * gst/gstpad.c: (gst_pad_set_blocked_async):
15916 * gst/gstutils.c: (gst_pad_add_data_probe),
15917 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15918 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15919 (gst_pad_remove_buffer_probe): Make those function act on the
15920 ghostpad target when it's a ghostpad. (Closes #331727)
15922 2006-02-20 Julien MOUTTE <julien@moutte.net>
15924 * libs/gst/base/gstbasetransform.c:
15925 (gst_base_transform_change_state): Make basetransform reusable.
15928 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15930 * docs/random/release:
15931 Move the current documentation of how to do a release to the top
15934 * gst/gstbin.c: (gst_bin_class_init),
15935 (gst_bin_handle_message_func):
15936 Allow multiple state-recalculation threads. (Closes #328873)
15938 2006-02-19 Julien MOUTTE <julien@moutte.net>
15940 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15941 * gst/gstpad.c: (gst_pad_set_event_function),
15942 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15943 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15944 2 strings. You can't use the STR_NULL macro on that.
15946 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15948 * gst/gstpad.c: (gst_pad_set_event_function),
15949 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15950 (gst_pad_set_getcaps_function)
15951 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15952 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15953 So now, we can use --gst-debug-level=5 on Windows
15954 * win32/common/libgstcontroller.def:
15955 Added export of gst_controller_init
15956 * win32/vs6/libgstcontroller.dsp:
15957 Fixed Release post build configuration
15959 2006-02-17 Wim Taymans <wim@fluendo.com>
15961 * tests/check/gst/gstquery.c: (GST_START_TEST):
15962 Added another check.
15964 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15966 * plugins/elements/gsttypefindelement.c: (find_peek):
15967 We can do peeks at non-zero offsets, as long as they
15968 fall within the buffer we have.
15970 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15972 * tests/check/Makefile.am:
15973 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15974 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15975 (parse_suite), (main):
15976 Add testsuite for parse launch syntax
15978 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15980 * plugins/elements/gsttypefindelement.c:
15981 (gst_type_find_element_chain):
15982 When typefinding is unsuccessful in the chain function, don't
15983 error out immediately. Only error out with NO_CAPS_FOUND if
15984 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15985 otherwise simply wait for more data so we can try typefinding
15986 again with more data later. Also, don't attempt to typefind
15987 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15988 this should improve typefinding from network sources where the
15989 size of the first buffer can be somewhat random.
15991 2006-02-14 Wim Taymans <wim@fluendo.com>
15993 * docs/gst/gstreamer-sections.txt:
15994 * gst/gstpadtemplate.c:
15995 * gst/gstpadtemplate.h:
15996 Fix padtemplate docs, fixes #328805.
15998 2006-02-14 Wim Taymans <wim@fluendo.com>
16000 * tools/gst-launch.c: (main):
16001 NO_PREROLL is not an ERROR so don't send confusing messages
16004 2006-02-14 Wim Taymans <wim@fluendo.com>
16006 Patch by: Torsten Schoenfeld
16008 * gst/gstregistry.c: (gst_registry_get_default),
16009 (_gst_registry_cleanup):
16010 Protect default registry with lock and ref/sink it.
16013 2006-02-14 Wim Taymans <wim@fluendo.com>
16016 * gst/gstquery.c: (gst_query_list_add_format),
16017 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16018 (gst_query_parse_formats_nth):
16019 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16022 2006-02-14 Wim Taymans <wim@fluendo.com>
16024 * docs/gst/gstreamer-sections.txt:
16025 Reworked query docs.
16027 * gst/gstquery.c: (gst_query_new_formats),
16028 (gst_query_list_add_format), (gst_query_set_formats),
16029 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16030 (gst_query_parse_formats_nth):
16032 Flesh out formats query, added some new methods.
16033 Fix part of #324398.
16035 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16036 Added query creation tests.
16038 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16040 * gst/gstpad.c: (fixate_value):
16041 Add a default fixation for fraction lists.
16043 2006-02-13 Wim Taymans <wim@fluendo.com>
16045 * gst/gsttask.c: (gst_task_init), (gst_task_func),
16046 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16049 Detect and warn for obvious deadlocks. fixes #320340
16050 Fix error case where lock was not released.
16052 * tests/check/Makefile.am:
16053 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16054 (task_func), (gst_element_suite), (main):
16057 2006-02-13 Wim Taymans <wim@fluendo.com>
16059 * docs/gst/gstreamer-sections.txt:
16061 Add new functions to docs.
16063 2006-02-13 Wim Taymans <wim@fluendo.com>
16065 * docs/design/part-TODO.txt:
16066 Updated TODO list, basesrc supports seeking to non-bytes
16069 * docs/design/part-element-sink.txt:
16072 * gst/gstbin.c: (bin_replace_message),
16073 (gst_bin_handle_message_func):
16074 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16075 * gst/gstevent.c: (gst_event_finalize):
16076 * gst/gstpad.c: (gst_pad_event_default_dispatch),
16077 (gst_pad_send_event):
16078 Use shiny new _TYPE_NAME macros.
16080 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16081 Move debug statement up.
16083 * gst/gstelement.c: (gst_element_set_locked_state):
16084 Add some debugging.
16086 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
16088 * docs/gst/gstreamer-sections.txt:
16089 * gst/gstmessage.h:
16091 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16092 macros (#330906). Also, document the already existing
16093 GST_QUERY_TYPE macro.
16095 2006-02-13 Wim Taymans <wim@fluendo.com>
16097 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16098 (event_probe), (GST_START_TEST):
16099 Only events up to the pipeline EOS are counted, there are
16100 some more when going to NULL currently which we don't care
16103 2006-02-13 Wim Taymans <wim@fluendo.com>
16105 * gst/gstpad.c: (gst_pad_send_event):
16106 Correctly check flushing and emit probes. fixes #330125
16108 2006-02-10 Andy Wingo <wingo@pobox.com>
16110 * gst/gstbus.c (gst_bus_class_init): Declare our private data
16112 (gst_bus_init): Cache the location of the private data in the
16113 instance structure.
16114 (gst_bus_enable_sync_message_emission)
16115 (gst_bus_disable_sync_message_emission): Implement new public
16117 (gst_bus_post): Emit the sync-message signal if the user asked for
16120 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
16121 location of the bus-private structure.
16122 (gst_bus_enable_sync_message_emission)
16123 (gst_bus_disable_sync_message_emission): API addition
16125 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
16127 Patch by: Vincent Torri
16129 * docs/pwg/building-boiler.xml:
16130 PWG patch from #326800
16132 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
16135 * docs/Makefile.am:
16136 * docs/design/Makefile.am:
16139 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16144 === release 0.10.3 ===
16146 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16149 releasing 0.10.3, "Like a virgin"
16151 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16154 2nd prerelease of 0.10.3
16155 Bump libtool versioning.
16157 2006-02-07 Andy Wingo <wingo@pobox.com>
16159 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
16160 update last_stop if we're in TIME format and the timestamp is
16163 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
16164 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
16165 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
16166 If we get a new newsegment with a different format, adapt
16169 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
16170 of 0. Not a problem, really.
16172 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
16175 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
16180 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
16183 project files updated to the default vs7 configuration
16184 * win32/common/libgstbase.def:
16185 * win32/common/libgstreamer.def:
16187 removed empty lines,
16188 sorted all exported symbols alphabetically
16189 * win32/common/dirent.c:
16190 * win32/common/dirent.h:
16191 * win32/common/gchar.h:
16192 use windows line end.
16194 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
16196 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
16197 Send EOS event when stopping.
16199 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
16202 Tell folks what to do if the plugin-foobar.xml file
16203 hasn't been generated for a newly-added plugin.
16205 2006-02-05 Julien MOUTTE <julien@moutte.net>
16207 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
16208 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
16209 (gst_collect_pads_start), (gst_collect_pads_stop),
16210 (gst_collect_pads_event): Collectpads now holds a reference
16211 to the GstPad that was added. Indeed we don't want to look
16212 at pads that might just go away with no warning...
16214 2006-02-05 Julien MOUTTE <julien@moutte.net>
16216 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16217 (gst_collect_pads_start), (gst_collect_pads_stop),
16218 (gst_collect_pads_event), (gst_collect_pads_chain):
16219 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
16220 Mark Nauwelaerts's patch on bug #328491.
16222 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
16224 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
16226 Add some simple tests for gst_parse_bin_from_description() and
16227 gst_bin_find_unconnected_pad() (#329069).
16229 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
16231 * tools/gst-launch.c: (event_loop), (main):
16232 Catch errors during preroll (#320084).
16234 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
16236 * plugins/elements/gsttypefindelement.c:
16237 (gst_type_find_element_activate):
16238 Post TYPE_NOT_FOUND error message when typefinding
16239 is unsuccessful in the activate function as well.
16241 2006-02-02 Wim Taymans <wim@fluendo.com>
16243 * docs/design/part-element-sink.txt:
16246 2006-02-02 Wim Taymans <wim@fluendo.com>
16248 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16249 (gst_base_sink_render_object),
16250 (gst_base_sink_queue_object_unlocked):
16251 Only keep track of prerollable items when we are
16253 Before rendering after preroll, always check if we
16255 Added some more debugging.
16257 2006-02-02 Wim Taymans <wim@fluendo.com>
16259 * gst/gstelement.c: (gst_element_continue_state),
16260 (gst_element_set_state_func), (gst_element_change_state):
16261 Fixed #326576, been running this for quite some time with
16262 no regressions at all.
16264 2006-02-02 Wim Taymans <wim@fluendo.com>
16267 Added more suppressions
16269 2006-02-02 Wim Taymans <wim@fluendo.com>
16271 * docs/design/part-element-sink.txt:
16274 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16275 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
16276 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
16277 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16278 (gst_base_sink_do_sync), (gst_base_sink_render_object),
16279 (gst_base_sink_preroll_object),
16280 (gst_base_sink_queue_object_unlocked),
16281 (gst_base_sink_queue_object), (gst_base_sink_event),
16282 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
16283 (gst_base_sink_loop), (gst_base_sink_activate_pull),
16284 (gst_base_sink_get_position), (gst_base_sink_change_state):
16285 * libs/gst/base/gstbasesink.h:
16286 Totally refactored matching the design doc.
16287 Use two segments, one to clip incomming buffers and another to
16289 Handle queueing correctly, bypass the queue when playing.
16290 Make EOS cancelable.
16291 Handle errors correctly when operating in pull based mode.
16293 * tests/check/elements/fakesink.c: (GST_START_TEST),
16295 Added new check for sinks.
16297 2006-02-02 Wim Taymans <wim@fluendo.com>
16299 * gst/gstsegment.c: (gst_segment_clip):
16300 No reason to refuse to clip when start == -1
16302 2006-02-02 Stefan Kost <ensonic@users.sf.net>
16305 * docs/manual/intro-basics.xml:
16306 * docs/manual/intro-preface.xml:
16307 * docs/manual/manual.xml:
16308 * docs/pwg/advanced-dparams.xml:
16309 * docs/pwg/intro-basics.xml:
16310 * docs/pwg/intro-preface.xml:
16311 * docs/pwg/pwg.xml:
16312 describe dparams (controller) for plugins
16313 unify docs a little more
16315 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
16317 * docs/gst/gstreamer-sections.txt:
16318 * gst/gstutils.c: (element_find_unconnected_pad),
16319 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
16321 Add new API: gst_parse_bin_from_description() and
16322 gst_bin_find_unconnected_pad() (#329069).
16324 2006-02-01 Stefan Kost <ensonic@users.sf.net>
16326 * docs/manual/README:
16327 uncover a nasty detail of the docs build
16329 2006-01-31 Wim Taymans <wim@fluendo.com>
16331 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
16332 Don't cache duration messages if we're not going to use or
16335 2006-01-31 Stefan Kost <ensonic@users.sf.net>
16337 * docs/manual/advanced-dparams.xml:
16338 * docs/pwg/advanced-dparams.xml:
16342 * libs/gst/controller/lib.c: (gst_controller_init):
16345 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
16347 * gst/gstelement.c: (gst_element_message_full):
16348 also show file/line/func if no additional debug was given
16350 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
16352 * win32/vs7/grammar.vcproj:
16353 activate copy of autogenerated files for Release mode
16355 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16357 * win32/common/libgstreamer.def:
16358 export gst_value_compare
16360 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
16362 * plugins/elements/Makefile.am:
16363 * plugins/elements/gstelements.c:
16364 * plugins/elements/gstfdsink.c: (_do_init),
16365 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16366 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16367 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16368 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16369 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16370 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16371 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16372 * plugins/elements/gstfdsink.h:
16373 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16375 2006-01-30 Stefan Kost <ensonic@users.sf.net>
16377 * docs/manual/advanced-dparams.xml:
16378 describe controller
16379 * docs/manual/advanced-position.xml:
16380 * docs/manual/basics-init.xml:
16381 * docs/manual/manual.xml:
16382 * docs/manual/titlepage.xml:
16383 * docs/pwg/pwg.xml:
16384 * docs/pwg/titlepage.xml:
16385 cleanup xml (more to come)
16386 * libs/gst/controller/gstcontroller.c:
16389 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16391 * win32/vs6/grammar.dsp:
16392 add autogen of gstmarshal.c,h for Release mode
16394 2006-01-30 Wim Taymans <wim@fluendo.com>
16396 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16397 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16398 (gst_base_sink_handle_object), (gst_base_sink_event),
16399 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16400 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16401 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16402 (gst_base_sink_deactivate), (gst_base_sink_activate),
16403 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16404 (gst_base_sink_query), (gst_base_sink_change_state):
16405 Basesink cleanups, remove some old code.
16406 Handle the case where a subclass can preroll in the render
16407 method (mostly audiosinks).
16408 Handle more events.
16409 Remove some locks around variables that are now protected
16410 with the PREROLL_LOCK (clock_id, flushing, ..).
16411 Optimize position query some more, do correct locking.
16412 Remove old code to push queue in state change, this is not
16413 needed anymore since preroll blocks on all prerollable items
16415 Almost implemented as described in design doc.
16417 2006-01-30 Wim Taymans <wim@fluendo.com>
16419 * tests/check/gst/gstbin.c: (GST_START_TEST):
16420 Wait for refcount to settle down before checking.
16422 2006-01-30 Wim Taymans <wim@fluendo.com>
16424 * docs/design/part-element-sink.txt:
16425 Pseudo code overview of desired sink behaviour regarding
16428 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16429 * win32/vs6/grammar.dsp:
16430 fix some bugs in Release mode for autogenerated files
16432 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16433 * win32/common/libgstbase.def:
16434 * win32/common/libgstreamer.def:
16435 export some new symbols: gst_base_src_set_format,
16436 gst_iterator_next, gst_structure_set_valist
16438 2006-01-29 Julien MOUTTE <julien@moutte.net>
16440 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16441 Set pad functions unconditionally. Fixes #329105.
16443 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16445 add vs8 project files created by Sergey Scobich
16447 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
16449 * gst/gstutils.c: (gst_element_unlink_pads):
16450 Don't leak pad references.
16452 * tests/check/elements/fakesink.c: (GST_START_TEST):
16453 * tests/check/generic/sinks.c: (GST_START_TEST):
16454 * tests/check/generic/states.c: (GST_START_TEST):
16455 * tests/check/gst/gstbin.c: (GST_START_TEST):
16456 * tests/check/gst/gstcaps.c: (GST_START_TEST):
16457 * tests/check/gst/gstelement.c: (GST_START_TEST):
16458 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16459 * tests/check/gst/gstiterator.c: (GST_START_TEST):
16460 * tests/check/gst/gstvalue.c: (GST_START_TEST):
16461 Fix a bunch of leaks. Make generic/sinks.c
16462 use a bit less cpu by slowing the buffer rate
16463 between fakesrc and fakesink.
16465 2006-01-27 Stefan Kost <ensonic@users.sf.net>
16467 * gst/gstelement.c: (gst_element_send_event):
16470 * gst/gstiterator.c:
16471 * gst/gstiterator.h:
16472 * gst/gstpad.c: (gst_pad_send_event):
16473 * gst/gststructure.c:
16477 * libs/gst/base/gstadapter.c:
16478 doc fixes, to link to function, just write gst_cool_function(), don't
16481 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16483 * plugins/elements/gsttee.c: (gst_tee_do_push),
16484 (gst_tee_handle_buffer):
16485 Always prefer an actual return value from a src
16486 pad in place of NOT_LINKED. This means we return
16487 WRONG_STATE when all src pads are WRONG_STATE
16488 instead of NOT_LINKED.
16490 Lock when replacing the last message to prevent
16491 racing with the get_property method.
16495 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16497 * tests/check/Makefile.am:
16498 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16500 Add a very simple check that should have caught the memleak I fixed
16501 last night (if not for the slice allocator hiding it)
16503 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16505 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16506 (gst_bin_remove_func), (gst_bin_handle_message_func),
16507 (bin_query_duration_fold), (bin_query_generic_fold):
16508 Clean up references to the clock provider when disposed or when
16509 handling a clock-lost message from it.
16511 Unref sinks when performing a query via gst_iterator_fold, as the
16512 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16514 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16515 (gst_clock_set_master):
16516 Drop our reference to the master clock, if any, when we are disposed.
16518 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16519 Chain up in dispose.
16521 2006-01-26 Wim Taymans <wim@fluendo.com>
16523 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16524 Add some debugging.
16526 2006-01-26 Julien MOUTTE <julien@moutte.net>
16528 * plugins/elements/gsttee.c: (gst_tee_do_push),
16529 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16530 handles pad being NOT_LINKED or in WRONG_STATE.
16532 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16537 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16540 remove obsolete entry
16542 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16544 * docs/gst/gstreamer-sections.txt:
16545 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16546 (gst_bin_iterate_sources), (gst_bin_send_event):
16548 * gst/gstelement.c: (gst_element_send_event):
16550 * gst/gstpad.c: (gst_pad_send_event):
16551 added code for downstream events, reviewed docs in gstevent.c
16553 2006-01-25 Julien MOUTTE <julien@moutte.net>
16555 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16556 We only query position using the clock in the playing state.
16557 Query peer in the other cases.
16558 * win32/common/config.h: Updates.
16560 2006-01-24 Wim Taymans <wim@fluendo.com>
16562 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16563 A clock entry that is scheduled for the exact time of the
16564 clock is still in time.
16566 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16567 (gst_base_sink_do_sync):
16568 Add some more debug info.
16570 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16573 Add new vs7 project files and solution.
16575 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16578 all files removed as they were out-dated.
16580 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16582 * docs/random/release:
16584 * gst/gstbin.c: (gst_bin_init):
16585 * gst/gstbus.c: (gst_bus_new):
16587 * gst/gstpipeline.c: (gst_pipeline_init):
16588 use gst_bus_new(), improve logging, fix docs
16589 * win32/common/config.h:
16590 update for cvs build
16592 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16595 up required version of automake to 1.7
16597 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
16599 * win32/common/libgstreamer.def:
16600 export gst_buffer_is_metadata_writable
16602 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
16604 * docs/gst/gstreamer-sections.txt:
16606 Add gst_event_replace() (#327001)
16608 2006-01-20 Wim Taymans <wim@fluendo.com>
16610 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16611 Make it actually compile too..
16613 2006-01-20 Wim Taymans <wim@fluendo.com>
16616 Clarify behaviour of _is_equal() when passing NULL parameters.
16618 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16619 (gst_pad_set_caps):
16620 Cleanups. Don't unref NULL caps.
16621 When setting the same caps, protect caps of the pad with
16623 Use full functionality of _is_equal() when comparing caps.
16625 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16627 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16628 Don't loop infinitely if there are no buffers to present. Partially
16629 fixes #327197, but collectpads is just broken for reusing elements
16630 to do multiple encodes atm.
16632 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16634 * tools/gst-inspect.c: (print_element_features):
16635 * tools/gst-xmlinspect.c: (main):
16636 URL_HANDLER is not a plugin feature we can search for in
16639 2006-01-19 Edward Hervey <edward@fluendo.com>
16641 * gst/gstelement.c: (gst_element_pads_activate):
16642 When activating, do src pads first, then sink pads.
16643 When de-activating, do sink pads first, then src pads.
16645 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16647 * docs/gst/gstreamer-sections.txt:
16648 Add gst_index_add_associationv to the docs
16650 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16655 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16656 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16657 Do some refactoring. Doesn't actually change functionality,
16658 but makes landing the DRAIN event easier later.
16660 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16662 * docs/pwg/advanced-scheduling.xml:
16663 Update from 0.9.x to 0.10 API and make example a bit
16666 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16668 * docs/gst/gstreamer-sections.txt:
16669 Add gst_buffer_(is|make)_metadata_writable methods.
16671 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16673 * docs/design/part-sparsestreams.txt:
16674 Update sparse streams doc, hopefully for greater clarity
16676 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16678 * docs/design/part-events.txt:
16679 Remove mention of FILLER events.
16682 * docs/design/part-sparsestreams.txt:
16683 Write some things about using NEWSEGMENT to keep sparse streams
16686 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16688 * gst/gstbin.c: (gst_bin_dispose):
16689 Guard gst_object_unref call against a NULL object (dispose
16690 can theoretically be called multiple times).
16692 2006-01-18 Wim Taymans <wim@fluendo.com>
16694 * gst/gstbin.c: (gst_bin_element_set_state):
16695 * gst/gstclock.c: (gst_clock_id_wait):
16696 Added some more debug info.
16698 * libs/gst/base/gstadapter.c:
16701 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16702 (gst_base_sink_do_sync), (gst_base_sink_chain):
16703 Added some comments.
16705 2006-01-18 Wim Taymans <wim@fluendo.com>
16707 * tests/check/Makefile.am:
16708 * tests/check/elements/fakesink.c: (chain_async_buffer),
16709 (chain_async), (chain_async_return), (GST_START_TEST),
16710 (fakesink_suite), (main):
16711 Added fakesink test that checks prerolling and clipping
16714 * tests/check/gst/gstutils.c: (GST_START_TEST):
16715 Make check run faster so that buildbots don't timeout.
16717 2006-01-18 Wim Taymans <wim@fluendo.com>
16719 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16720 (gst_base_sink_do_sync):
16722 When the sink finishes blocking on the preroll buffer, it can
16723 immediatly render it instead of rendering when the next buffer
16726 2006-01-18 Wim Taymans <wim@fluendo.com>
16728 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16729 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16730 (gst_base_sink_chain):
16732 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16733 Don't store _last_stop if the buffer is dropped.
16735 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16737 * plugins/elements/gsttypefindelement.c:
16738 (gst_type_find_element_class_init):
16739 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16740 object method handler that sets the caps on the pad and we want
16741 that to happen before we emit the signal (fixes e.g. feeding a
16742 plain text file to decodebin).
16744 2006-01-18 Christian Schaller <Christian@fluendo.com>
16746 * gst/gstplugin.c: Add MPL and Proprietary as license options
16748 2006-01-18 Andy Wingo <wingo@pobox.com>
16750 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16751 symbol was exported before, it appears this was just an oversight.
16753 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16755 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16756 prototype to gint. OK since this prototype was not in the header.
16758 2006-01-17 Andy Wingo <wingo@pobox.com>
16760 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16761 registry while we remove plugins.
16763 * tools/gst-inspect.c (print_element_info): Don't unref the
16764 factory arg, that should be the responsibility of whatever code
16765 received the ref. Fixes a double-free when called from
16766 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16767 (main): Unref the factory if we have one.
16768 (print_element_list): No change -- relies on the
16769 plugin_feature_list_free to free the list of features.
16771 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16773 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16774 (gst_buffer_make_metadata_writable):
16776 * libs/gst/base/gstbasetransform.c:
16777 (gst_base_transform_prepare_output_buf):
16778 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16779 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16780 Replace gst_buffer_(make|is)_metadata_writable patch now
16781 that the release is out.
16783 2006-01-17 Andy Wingo <wingo@pobox.com>
16785 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16786 in the present tense without reference to versions.
16788 * gst/gstregistry.c (gst_registry_add_plugin)
16789 (gst_registry_remove_plugin, gst_registry_remove_feature)
16790 (gst_registry_find_feature, gst_registry_get_feature_list)
16791 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16792 (gst_registry_lookup, gst_registry_scan_path)
16793 (_gst_registry_remove_cache_plugins)
16794 (gst_registry_get_feature_list_by_plugin): Add argument
16797 === release 0.10.2 ===
16799 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16802 releasing 0.10.2, "If man is five"
16804 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16808 * libs/gst/base/gstbasetransform.c:
16809 (gst_base_transform_prepare_output_buf):
16810 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16811 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16812 Back out patch until after the release.
16814 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16816 * gst/gstminiobject.c:
16817 Spelling fix in docs.
16818 * ChangeLog - remove conflict indicator
16820 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16822 Reviewed By: Andy Wingo
16824 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16825 (gst_buffer_make_metadata_writable):
16827 Add gst_buffer_(is|make)_metadata_writable as analogues of
16828 gst_buffer_(is|make)_writable.
16830 * libs/gst/base/gstbasetransform.c:
16831 (gst_base_transform_prepare_output_buf):
16832 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16833 Use name gst_buffer_(is|make)_metadata_writable functions.
16835 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16836 Test gst_buffer_(is|make)_metadata_writable
16840 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16842 * docs/manual/Makefile.am:
16843 don't do parallel make
16846 * win32/common/config.h.in:
16847 add generations for HOST_CPU and GST_MAJORMINOR
16848 * win32/common/config.h:
16849 commit generated result
16851 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16853 * docs/manual/appendix-integration.xml:
16854 Update GNOME integration section to use gst_init_get_option_group()
16855 instead of the old popt stuff (#322911). Also, GNOME applications
16856 should now use gconf*sink and gconf*src instead of the old gconf
16859 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16862 * docs/gst/gstreamer-docs.sgml:
16863 * docs/gst/gstreamer-sections.txt:
16864 * docs/libs/gstreamer-libs-sections.txt:
16865 add new API entries to the docs
16866 * libs/gst/controller/Makefile.am:
16867 * libs/gst/controller/gstcontroller.c:
16868 * libs/gst/controller/gstcontroller.h:
16869 * libs/gst/controller/gstcontrollerprivate.h:
16870 * libs/gst/controller/gsthelper.c:
16871 * libs/gst/controller/gstinterpolation.c:
16872 move private structs to private header
16874 gstreamer-0.7 -> gstreamer-0.10
16875 * tests/check/libs/struct_i386.h:
16876 remove private structs
16878 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16880 * plugins/indexers/Makefile.am:
16881 Fixes as part of #317048
16883 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16885 * plugins/indexers/Makefile.am:
16886 fix #316086 - compilation when mmap is missing
16888 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16890 * libs/gst/base/gstbasesink.c:
16891 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16892 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16893 * win32/common/config.h:
16894 added some defines GST_MAJORMINOR and HOST_CPU
16895 * win32/common/libgstbase.def:
16896 * win32/common/libgstreamer.def:
16897 added some exported functions.
16899 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16901 * libs/gst/controller/gstcontroller.c:
16902 (gst_controlled_property_set_interpolation_mode),
16903 (gst_controlled_property_new):
16904 * libs/gst/controller/gstcontroller.h:
16905 * libs/gst/controller/gstinterpolation.c:
16906 (interpolate_none_get_string_value_array):
16907 make G_TYPE_STRING controlable
16909 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16912 * tools/gst-feedback.1.in:
16913 * tools/gst-inspect.1.in:
16914 * tools/gst-launch.1.in:
16915 * tools/gst-md5sum.1.in:
16916 * tools/gst-typefind.1.in:
16917 * tools/gst-xmlinspect.1.in:
16918 * tools/gst-xmllaunch.1.in:
16919 cleanup man-pages, remove reference to gst-register, document env-vars
16921 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16923 * gst/gstbuffer.c: (gst_buffer_span):
16924 gst_buffer_span should copy the timestamp of the first buffer
16925 if they were both originally overlapping subbuffers of the
16926 same parent, using the same logic as the 'slow copy' case.
16928 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16930 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16931 Need to awaken ALL the pads when we pop a buffer, otherwise
16932 collectpads only works when there is 2 input streams.
16934 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16936 * docs/random/ensonic/media-device-daemon.txt:
16939 fix doc example, add clarification
16940 * tools/gst-launch.1.in:
16941 add initial info about GST_PLUGIN_PATH, needs more work
16943 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16945 * docs/manual/basics-bins.xml:
16946 * docs/manual/basics-elements.xml:
16947 * docs/manual/intro-basics.xml:
16948 Some more minor docs additions and updates.
16950 2006-01-11 Wim Taymans <wim@fluendo.com>
16952 * docs/manual/basics-bins.xml:
16953 * docs/manual/basics-elements.xml:
16954 Some small fixes as pointed out by Ser-ver on IRC.
16956 2006-01-10 Edward Hervey <edward@fluendo.com>
16958 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16959 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16960 the single-segment mode.
16962 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16964 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16966 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16967 (gst_base_src_perform_seek), (gst_base_src_send_event),
16968 (gst_base_src_set_property), (gst_base_src_get_property),
16969 (gst_base_src_loop), (gst_base_src_start),
16970 (gst_base_src_activate_push):
16971 * libs/gst/base/gstbasesrc.h:
16972 Name (private) union; makes Sun's Forte compiler happy (#324900).
16974 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16977 gst-register is gone.
16979 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16981 * gst/gstvalue.c: (_gst_value_initialize):
16982 make the G_TYPE_DATE instantiation work if debug is disabled
16984 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16986 * gst/gstmessage.c: (gst_message_parse_tag),
16987 (gst_message_parse_error), (gst_message_parse_warning):
16988 Don't crash when return location for error/warning debug
16989 string is NULL; add fact that return locations can be
16990 NULL to docs where appropriate.
16992 2006-01-05 Wim Taymans <wim@fluendo.com>
16994 * gst/gstplugin.c: (gst_plugin_load_file):
16995 Replace strdup by g_strdup.
16997 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16999 * docs/pwg/advanced-types.xml:
17002 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17004 submitted by: Abel Cheung
17008 Added Chinese (traditional) translation
17010 2006-01-04 Wim Taymans <wim@fluendo.com>
17012 * docs/manual/basics-pads.xml:
17013 * docs/plugins/Makefile.am:
17014 * docs/plugins/gstreamer-plugins-docs.sgml:
17015 * docs/plugins/gstreamer-plugins-sections.txt:
17016 * docs/pwg/advanced-clock.xml:
17017 * docs/pwg/advanced-scheduling.xml:
17018 * docs/pwg/advanced-types.xml:
17019 * plugins/elements/gstfdsink.c:
17020 * plugins/elements/gstfdsrc.c:
17021 * plugins/elements/gstfdsrc.h:
17022 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17023 * plugins/elements/gstidentity.h:
17024 * plugins/elements/gstqueue.h:
17025 * plugins/elements/gsttee.c:
17026 * plugins/elements/gsttee.h:
17027 * plugins/elements/gsttypefindelement.c:
17028 (gst_type_find_element_class_init):
17029 * plugins/elements/gsttypefindelement.h:
17030 Small updates to various docs.
17031 Added core plugins to docs.
17033 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17036 add a suppression for liboil's uninitialized variable
17038 2006-01-02 James Livingston <jrl at ids dot org dot au>
17040 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17043 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17044 macro, so that gcc doesn't complain if the -Wmissing-prototypes
17045 compiler switch is being used (#325429).
17047 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
17049 * gst/gstbin.c: (gst_bin_query):
17050 Disable duration query caching in bins until it gets
17051 fixed (see #324807).
17053 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17055 * tools/gst-inspect.c: (print_element_properties_info):
17056 Handle properties of POINTER and BOXED type.
17058 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17060 * gst/gst.c: (init_post):
17061 Init tags stuff and some other things before loading
17062 any static plugins (there may be other static plugins
17063 than just the GStreamer ones, and they may want to
17064 register their own tags or formats or whatever, and
17065 preferably without segfaulting).
17067 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17068 Print at least a warning in the debug logs if we drop a
17069 query just because we don't know how to adjust the value
17070 in the particular format.
17072 2005-12-24 David Schleef <ds@schleef.org>
17074 * tools/gstreamer-completion:
17075 Replacement for gst-complete written in sh and sed. Only
17076 completes names of features, but that's 90% of what I want
17077 it for. Properties are not available in registry.xml. (Maybe
17080 === release 0.10.1 ===
17082 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
17085 releasing 0.10.1, "Nollaig chridheil"
17087 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
17089 * docs/faq/cvs.xml:
17090 Add missing quote, should be make ERROR_CFLAGS="".
17092 2005-12-20 Wim Taymans <wim@fluendo.com>
17094 * docs/design/part-trickmodes.txt:
17095 More documentation on trickmodes.
17097 2005-12-20 Edward Hervey <edward@fluendo.com>
17099 * gst/gstcaps.c: (gst_static_caps_get_type):
17101 API addition: GST_TYPE_STATIC_CAPS
17102 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17103 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
17104 * gst/gstpadtemplate.h:
17105 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
17106 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
17109 2005-12-18 Wim Taymans <wim@fluendo.com>
17111 * libs/gst/base/gstadapter.c:
17112 * libs/gst/base/gstadapter.h:
17113 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17114 (gst_base_sink_get_position):
17115 * libs/gst/base/gstbasesink.h:
17116 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17117 (gst_base_src_default_query), (gst_base_src_default_do_seek),
17118 (gst_base_src_do_seek), (gst_base_src_perform_seek),
17119 (gst_base_src_send_event), (gst_base_src_update_length),
17120 (gst_base_src_get_range), (gst_base_src_loop),
17121 (gst_base_src_start):
17122 * libs/gst/base/gstbasesrc.h:
17123 * libs/gst/base/gstbasetransform.h:
17124 * libs/gst/base/gstcollectpads.h:
17125 * libs/gst/base/gstpushsrc.c:
17126 * libs/gst/base/gstpushsrc.h:
17127 * libs/gst/dataprotocol/dataprotocol.c:
17128 * libs/gst/dataprotocol/dataprotocol.h:
17129 * libs/gst/net/gstnetclientclock.h:
17130 * libs/gst/net/gstnettimeprovider.h:
17131 Documentation updates.
17133 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
17135 * docs/manual/basics-helloworld.xml:
17136 Remove superfluous closing bracket in helloworld example.
17138 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
17140 * tools/gst-launch.1.in:
17141 Update gst-launch man page; add a section with useful
17142 environment variables. Fixes #323882.
17144 2005-12-16 Stefan Kost <ensonic@users.sf.net>
17147 * gst/gst_private.h:
17148 change some char* into char[]
17150 2005-12-16 Wim Taymans <wim@fluendo.com>
17152 * gst/gstregistryxml.c: (load_feature):
17154 Don't use g_object_unref on GstObjects so that we avoid
17155 leaks on unsafe glibs.
17157 2005-12-16 Wim Taymans <wim@fluendo.com>
17159 * gst/gstbin.c: (gst_bin_recalc_state):
17162 2005-12-16 Wim Taymans <wim@fluendo.com>
17164 * common/check.mak:
17165 Added make forever target for check.
17167 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
17169 * gst/gst.c: (init_post):
17170 make the registry cache file HOST_CPU-dependent
17172 2005-12-16 Andy Wingo <wingo@pobox.com>
17174 * plugins/elements/gstbufferstore.c
17175 (gst_buffer_store_cleared_func): Pay attention to g_list_append
17178 * tests/check/gst/gstobject.c
17179 (test_fake_object_name_threaded_unique): Pay attention to
17180 g_list_sort return value.
17182 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
17184 * tools/gst-feedback-m.m:
17185 Update for 0.9/0.10 (fixes #323870).
17187 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
17189 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
17190 Fix lcopy for mini objects, the mini object needs to be ref'ed.
17192 * tests/check/gst/gstminiobject.c: (my_foo_init),
17193 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
17194 (test_value_collection), (gst_mini_object_suite):
17195 Add test to ensure refcounts end up as expected when passing
17196 GstMiniObjects through g_object_get() and g_object_set().
17198 2005-12-14 Julien MOUTTE <julien@moutte.net>
17200 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17201 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
17202 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
17203 of collectpads. This version removes a lot of races without
17204 touching API/ABI. Yay !
17206 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
17208 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
17209 Don't allow activation of a srcpad in pull_range if it has no
17211 Change some debug statements to be a little clearer
17213 * plugins/elements/gsttypefindelement.c:
17214 (gst_type_find_handle_src_query):
17215 Check that we have a peer before executing queries thereupon.
17217 * tests/examples/metadata/read-metadata.c: (message_loop):
17218 Use gst_bus_pop instead of gst_bus_poll when we just want it to
17219 immediately return us any available message with 0 timeout.
17221 2005-12-12 Michael Smith <msmith@fluendo.com>
17223 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
17224 Don't unref factories after calling them.
17225 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
17226 * plugins/elements/gsttypefindelement.c:
17227 (gst_type_find_element_chain):
17228 Free lists of factories after using them. Fixing typefinding memory
17231 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17233 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
17234 (gst_plugin_feature_load):
17235 more meaningful debug output
17237 * tests/Makefile.am:
17238 * tests/old/examples/Makefile.am:
17239 make make distcheck happy again
17241 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
17243 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17244 Catch the special case where we are operating chain-based,
17245 but the downstream peer pad has no chain function. Emit a
17246 custom error message in this case instead of letting the
17247 core generate one implying that this is some sort of core
17248 bug. It's not, it just means that whatever got plugged
17249 into the pipeline downstream when we announced the type
17250 can only operate pull-based, while our source can only
17251 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
17252 Error string has not been marked for translation yet, as
17253 it probably needs some more work first.
17255 (gst_type_find_element_get_best_possibility):
17256 Add helper function to find the best of all available
17257 found possibilities that qualify given the min. threshold.
17259 (gst_type_find_element_handle_event):
17260 Fix the case where we get an EOS while still in TYPEFIND
17261 mode (we want to chose the best of all possible types,
17262 not just the first type that happens to be in our unsorted
17263 list of possible types).
17265 (gst_type_find_element_chain):
17266 Make sure we return GST_FLOW_ERROR when we errored out
17267 in stop_typefinding(); also, don't just find the best of
17268 all found type entries and then use the last examined
17269 type entry, but actually use the best entry.
17271 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
17273 * tests/examples/typefind/typefind.c: (type_found):
17274 * tests/examples/xml/runxml.c: (xml_loaded):
17275 More gcc4 fixes and a mem leak fix.
17277 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17279 * tests/examples/xml/createxml.c: (object_saved):
17282 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17284 * tests/Makefile.am:
17285 enable the examples even more
17287 2005-12-12 Andy Wingo <wingo@pobox.com>
17289 * libs/gst/net/gstnettimeprovider.c
17290 (gst_net_time_provider_class_init, gst_net_time_provider_init)
17291 (gst_net_time_provider_set_property)
17292 (gst_net_time_provider_get_property):
17293 API addition: Export "active" as a GObject property.
17294 (gst_net_time_provider_thread): Only respond to time queries if
17295 the time provider is active.
17297 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
17298 NetTimeProvider, preserving binary compat.
17300 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17302 * tests/examples/controller/audio-example.c: (main):
17303 * tests/examples/launch/Makefile.am:
17304 convert comments again
17306 2005-12-12 Wim Taymans <wim@fluendo.com>
17308 * libs/gst/base/gstpushsrc.c:
17311 2005-12-12 Wim Taymans <wim@fluendo.com>
17313 * docs/libs/gstreamer-libs-sections.txt:
17314 Added new symbol to docs.
17316 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17317 (gst_base_src_init), (gst_base_src_set_format),
17318 (gst_base_src_default_query), (gst_base_src_query),
17319 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
17320 (gst_base_src_perform_seek), (gst_base_src_send_event),
17321 (gst_base_src_default_event), (gst_base_src_event_handler),
17322 (gst_base_src_set_property), (gst_base_src_get_property),
17323 (gst_base_src_wait), (gst_base_src_do_sync),
17324 (gst_base_src_update_length), (gst_base_src_get_range),
17325 (gst_base_src_check_get_range), (gst_base_src_loop),
17326 (gst_base_src_default_negotiate), (gst_base_src_start),
17327 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17328 (gst_base_src_change_state):
17329 * libs/gst/base/gstbasesrc.h:
17330 Implement seeking to other formats than _BYTES.
17331 Implement more seeking methods correctly.
17333 Added query vmethod.
17334 Added do_seek vmethod to make life easier for subclasses
17336 API addition: gst_base_src_set_format()
17338 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17340 * tests/examples/Makefile.am:
17343 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17346 * docs/random/ensonic/media-device-daemon.txt:
17347 * tests/examples/controller/.cvsignore:
17348 * tests/examples/controller/Makefile.am:
17349 * tests/examples/controller/audio-example.c: (main):
17350 * tests/examples/helloworld/.cvsignore:
17351 * tests/examples/helloworld/Makefile.am:
17352 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
17353 * tests/examples/launch/.cvsignore:
17354 * tests/examples/launch/Makefile.am:
17355 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
17356 * tests/examples/metadata/.cvsignore:
17357 * tests/examples/metadata/Makefile.am:
17358 * tests/examples/metadata/read-metadata.c: (message_loop),
17359 (make_pipeline), (print_tag), (main):
17360 * tests/examples/queue/.cvsignore:
17361 * tests/examples/queue/Makefile.am:
17362 * tests/examples/queue/queue.c: (event_loop), (main):
17363 * tests/examples/typefind/.cvsignore:
17364 * tests/examples/typefind/Makefile.am:
17365 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17367 * tests/examples/xml/.cvsignore:
17368 * tests/examples/xml/Makefile.am:
17369 * tests/examples/xml/createxml.c: (object_saved), (main):
17370 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17371 * tests/old/examples/Makefile.am:
17372 * tests/old/examples/TODO:
17373 * tests/old/examples/controller/.cvsignore:
17374 * tests/old/examples/controller/Makefile.am:
17375 * tests/old/examples/controller/audio-example.c:
17376 * tests/old/examples/helloworld/.cvsignore:
17377 * tests/old/examples/helloworld/Makefile.am:
17378 * tests/old/examples/helloworld/helloworld.c:
17379 * tests/old/examples/launch/.cvsignore:
17380 * tests/old/examples/launch/Makefile.am:
17381 * tests/old/examples/launch/mp3parselaunch.c:
17382 * tests/old/examples/launch/mp3play:
17383 * tests/old/examples/manual/Makefile.am:
17384 * tests/old/examples/metadata/Makefile.am:
17385 * tests/old/examples/metadata/read-metadata.c:
17386 * tests/old/examples/queue/.cvsignore:
17387 * tests/old/examples/queue/Makefile.am:
17388 * tests/old/examples/queue/queue.c:
17389 * tests/old/examples/typefind/.cvsignore:
17390 * tests/old/examples/typefind/Makefile.am:
17391 * tests/old/examples/typefind/typefind.c:
17392 * tests/old/examples/xml/.cvsignore:
17393 * tests/old/examples/xml/Makefile.am:
17394 * tests/old/examples/xml/createxml.c:
17395 * tests/old/examples/xml/runxml.c:
17396 applied some simple fixing to some examples
17397 re-enabled the working examples
17399 2005-12-12 Wim Taymans <wim@fluendo.com>
17401 * gst/gstsegment.c: (gst_segment_init),
17402 (gst_segment_set_last_stop), (gst_segment_set_seek),
17403 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17404 (gst_segment_to_running_time):
17405 Added more documentation.
17406 Make sure the last_pos value is updated properly.
17407 Make sure to_stream_time and to_running_time don't
17408 operate on wrong values.
17410 * tests/check/gst/gstsegment.c: (GST_START_TEST):
17413 2005-12-12 Michael Smith <msmith@fluendo.com>
17415 * plugins/elements/gsttypefindelement.c: (free_entry),
17416 (gst_type_find_element_chain):
17417 Now that we're not leaking factories, make sure we keep references
17418 to them while we need them.
17420 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17422 * tests/check/gst/struct_i386.h:
17423 ifdef out the XML structs
17425 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17427 * gst/gstvalue.c: (gst_value_transform_double_fraction):
17428 floor is not needed, F is always positive; this obviates the
17429 need for adding -lm when building without libxml
17431 2005-12-12 Wim Taymans <wim@fluendo.com>
17433 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17434 Take current playback rate into account when reporting
17437 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17439 * docs/manual/mime-world.fig:
17440 Let's try this again, this time with a file that is
17441 actually in XFig format.
17443 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17445 * docs/manual/mime-world.fig:
17446 Add audioconvert element to diagram so that it
17447 matches the text and the code (fixes #319526).
17449 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17451 * docs/pwg/building-chainfn.xml:
17452 * docs/pwg/building-pads.xml:
17453 * docs/pwg/building-state.xml:
17454 * docs/pwg/other-source.xml:
17455 Update state change stuff for 0.10 (fixes #322969).
17457 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17459 * docs/manual/advanced-dataaccess.xml:
17460 * docs/manual/appendix-checklist.xml:
17461 * docs/manual/appendix-programs.xml:
17462 * docs/manual/basics-pads.xml:
17463 * docs/manual/highlevel-components.xml:
17464 * docs/manual/manual.xml:
17465 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17466 add converters in front of pipelines; remove curly
17467 brackets for threads stuff, they no longer exist; use
17468 GST_TYPE_FRACTION for framerates; update some pieces of
17469 code to 0.10, but there's plenty more to do.
17471 * docs/manual/appendix-porting.xml:
17472 Expand on asynchroneous state changes; s/0.9/0.10/;
17473 mention disappearance of gst_init_get_popt_table()
17476 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17478 * docs/faq/using.xml:
17479 Spider no longer exists, and neither does gst-launch-ext.
17480 Update examples to use decodebin and playbin and put
17481 converters in front of sinks (fixes #323726).
17483 2005-12-09 Michael Smith <msmith@fluendo.com>
17485 * plugins/elements/gsttypefindelement.c: (find_peek),
17486 (gst_type_find_element_chain):
17487 Fix leaking element factories in typefinding.
17488 Fix problem where we forgot about a probable type on non-seekable
17489 files, and thus later mis-typefound it.
17491 2005-12-09 Michael Smith <msmith@fluendo.com>
17493 * common/m4/gst-makecontext.m4:
17494 * common/m4/gst-mcsc.m4:
17496 * win32/common/config.h:
17497 * win32/common/config.h.in:
17498 Remove makecontext stuff; not used in 0.10 and causes problems on
17499 HPUX according to bug #322441
17501 2005-12-07 Wim Taymans <wim@fluendo.com>
17503 * tests/check/Makefile.am:
17504 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17506 * tests/check/libs/struct_i386.h:
17507 Added ABI check for libs
17509 2005-12-07 Wim Taymans <wim@fluendo.com>
17511 * tests/check/Makefile.am:
17512 And add the struct_i386.h to dist.
17514 2005-12-07 Wim Taymans <wim@fluendo.com>
17516 * tests/check/Makefile.am:
17517 * tests/check/gst/.cvsignore:
17518 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17520 * tests/check/gst/struct_i386.h:
17521 Added check for ABI compatibility.
17523 2005-12-07 Wim Taymans <wim@fluendo.com>
17525 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17526 (gst_fake_src_get_times), (gst_fake_src_create):
17527 Fix broken sync option, fixes #323259
17529 2005-12-07 Wim Taymans <wim@fluendo.com>
17534 * gst/gstcaps.c: (gst_caps_is_equal):
17535 Don't assert on NULL <--> X. Fixes #323260
17537 * gst/gstminiobject.c: (gst_mini_object_replace):
17538 If we're doing atomic operations, we might just as well use
17539 the proper way to get an atomic pointer.
17541 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17542 Clean up debugging.
17544 2005-12-07 Michael Smith <msmith@fluendo.com>
17546 * gst/parse/grammar.y:
17547 Remove handling of { } for threads.
17549 2005-12-06 David Schleef <ds@schleef.org>
17551 * libs/gst/base/gstbasetransform.c: speling fix.
17553 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
17555 * docs/libs/tmpl/gstdataprotocol.sgml:
17556 * docs/random/omega/testing/gstobject.c:
17559 * gst/gstelement.c:
17560 * gst/gstelementfactory.c:
17563 * gst/gstghostpad.c:
17565 * gst/gstpadtemplate.c:
17566 * gst/gstregistryxml.c:
17567 * gst/gsttaglist.c:
17568 * gst/gsttagsetter.c:
17569 * gst/gsttypefind.c:
17571 * libs/gst/base/gstbasesrc.c:
17572 * libs/gst/net/gstnetclientclock.c:
17573 * libs/gst/net/gstnettimeprovider.c:
17574 * plugins/elements/gstfakesrc.c:
17575 * plugins/elements/gstfdsrc.c:
17576 * plugins/elements/gstfilesrc.c:
17577 * plugins/elements/gstidentity.c:
17578 * plugins/elements/gstqueue.c:
17579 * plugins/elements/gsttypefindelement.c:
17580 * plugins/indexers/gstfileindex.c:
17581 * plugins/indexers/gstmemindex.c:
17582 * tests/check/gst/gsttag.c:
17583 * tests/old/examples/cutter/cutter.c:
17584 * tests/old/examples/mixer/mixer.c:
17585 * tests/old/examples/xml/runxml.c: (main):
17586 * tests/old/testsuite/caps/normalisation.c:
17587 * tests/old/testsuite/debug/global.c:
17588 * tests/old/testsuite/parse/parse1.c:
17589 * tools/gst-xmlinspect.c:
17590 * win32/common/dirent.c:
17593 === release 0.10.0 ===
17595 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17598 releasing 0.10.0, "Maroilles"
17600 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17602 submitted by: Funda Wang <fundawang@linux.net.cn>
17606 added Chinese (Traditional) translation
17608 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17610 * docs/gst/gstreamer-sections.txt:
17611 * docs/libs/tmpl/gstdataprotocol.sgml:
17612 * docs/random/thomasvs/TODO:
17617 2005-12-05 Andy Wingo <wingo@pobox.com>
17619 patch by: Wim Taymans <wim@fluendo.com>
17621 * libs/gst/base/gstbasetransform.c
17622 (gst_base_transform_prepare_output_buf)
17623 (gst_base_transform_buffer_alloc):
17624 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17625 alloc_buffer_and_set_caps.
17627 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17628 set_caps on the source pad.
17629 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17630 alloc_buffer used to do. Fixes #322874.
17632 * docs/gst/gstreamer-sections.txt:
17633 * docs/design/part-negotiation.txt:
17634 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17637 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17639 patch by: Sebastien Moutte
17642 * win32/common/config.h.in:
17643 * win32/vs6/libgstcontroller.dsp:
17646 2005-12-05 Wim Taymans <wim@fluendo.com>
17648 * gst/gstcaps.c: (gst_caps_is_equal):
17649 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17650 (gst_fake_src_create):
17651 Back out previous code changes, leave doc updates, file bugs
17654 2005-12-05 Wim Taymans <wim@fluendo.com>
17656 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17657 (gst_fake_src_get_times), (gst_fake_src_create):
17658 * plugins/elements/gstfakesrc.h:
17659 Fix broken sync code.
17661 2005-12-05 Wim Taymans <wim@fluendo.com>
17663 * gst/gstcaps.c: (gst_caps_is_equal):
17664 Comparing NULL against !NULL yields different caps, not a
17667 2005-12-05 Wim Taymans <wim@fluendo.com>
17669 * gst/gstpipeline.c:
17670 Fix small typo in docs.
17672 2005-12-05 Andy Wingo <wingo@pobox.com>
17674 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17676 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17677 registries/plugins with a MAJORMINOR one.
17678 (plugin_desc): Rename library from gstcoreleements to
17679 staticelements. Fixes #323222.
17681 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17683 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17684 Change debug category to 'collectpads' from 'collect_pads'
17687 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17689 patch by: Sebastien Moutte
17691 * libs/gst/controller/gstinterpolation.c:
17692 use convert function for uint64/double
17693 * win32/vs6/libgstcontroller.dsp:
17696 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17698 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17699 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17701 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17702 add tests that seem to show that the guint64/gdouble conversions
17705 2005-12-02 Wim Taymans <wim@fluendo.com>
17707 * gst/gstregistry.c: (gst_registry_add_path):
17708 * gst/gstregistry.h:
17709 * gst/gstregistryxml.c:
17712 2005-12-02 Wim Taymans <wim@fluendo.com>
17714 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17715 (gst_util_uint64_scale_int):
17718 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17719 Add debug log line.
17721 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17724 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17727 * win32/common/config.h:
17728 * win32/vs6/gstreamer.dsw:
17729 * win32/vs6/libgstcoreelements.dsp:
17730 * win32/vs6/libgstelements.dsp:
17731 renamed core elements plugin
17733 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17735 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17737 do piece-wise major/minor comparison so 0.9 < 0.10
17738 also allow .exe extensions for tools
17740 2005-12-02 Michael Smith <msmith@fluendo.com>
17743 Escape a % to make gtkdoc happier; bug 322958.
17745 === release 0.9.7 ===
17747 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17750 releasing 0.9.7, "My Dog Has No Nose"
17752 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17754 * common/gst-xmlinspect.py:
17756 * docs/libs/tmpl/gstdataprotocol.sgml:
17757 * docs/random/release:
17776 * win32/common/config.h:
17777 * win32/common/config.h.in:
17778 * win32/vs6/gst_inspect.dsp:
17779 * win32/vs6/gst_launch.dsp:
17780 * win32/vs6/libgstbase.dsp:
17781 * win32/vs6/libgstelements.dsp:
17782 * win32/vs6/libgstreamer.dsp:
17783 * win32/vs7/GStreamer.vcproj:
17784 * win32/vs7/gst-inspect.vcproj:
17785 * win32/vs7/gst-launch.vcproj:
17786 * win32/vs7/libgstbase.vcproj:
17787 bump GST_MAJORMINOR to 0.10
17788 reset libtool version
17790 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17794 Added Bulgarian translation by (Alexander Shopov)
17796 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17798 * tests/check/gst/gstplugin.c:
17801 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17803 * common/gst-xmlinspect.py:
17804 * common/gtk-doc-plugins.mak:
17806 * docs/Makefile.am:
17807 * docs/gst/Makefile.am:
17808 * docs/gst/gstreamer-docs.sgml:
17809 * docs/gst/gstreamer-sections.txt:
17810 * docs/gst/gstreamer.types:
17811 * docs/gst/gstreamer.types.in:
17812 * docs/plugins/Makefile.am:
17813 * docs/plugins/gstreamer-plugins-docs.sgml:
17814 * docs/plugins/gstreamer-plugins-sections.txt:
17815 * docs/plugins/gstreamer-plugins.types:
17816 * docs/plugins/inspect.stamp:
17817 * docs/plugins/inspect/plugin-coreelements.xml:
17818 * docs/plugins/inspect/plugin-coreindexers.xml:
17819 * docs/plugins/scanobj-build.stamp:
17820 * gstreamer.spec.in:
17821 * plugins/elements/Makefile.am:
17822 * plugins/elements/gstelements.c:
17823 * plugins/elements/gstfakesink.c:
17824 * plugins/elements/gstfakesrc.c:
17825 * plugins/elements/gstfilesink.c:
17826 * plugins/elements/gstfilesrc.c:
17827 * plugins/elements/gstqueue.c:
17828 * plugins/indexers/Makefile.am:
17829 * plugins/indexers/gstindexers.c:
17830 document core plugins in a separate document just like all the
17832 rename these plugins to something starting with core
17834 2005-12-01 Andy Wingo <wingo@pobox.com>
17836 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17837 padding here before, but it missed the commit.
17839 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17841 * libs/gst/controller/gstinterpolation.c:
17842 whitespace prices have crashed, we should feel free to use some now
17843 use gst_guint64_to_gdouble
17845 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17847 * libs/gst/controller/gstcontroller.c:
17848 * libs/gst/controller/gsthelper.c:
17849 * libs/gst/controller/gstinterpolation.c:
17850 * libs/gst/controller/lib.c:
17851 wrap config.h include
17853 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17855 * docs/gst/gstreamer-sections.txt:
17858 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17860 * plugins/elements/gstelements.c:
17861 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17862 (gst_fd_sink__class_init), (gst_fd_sink__init),
17863 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17864 (gst_fd_sink__get_property):
17865 * plugins/elements/gstfdsink.h:
17866 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17867 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17868 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17869 (gst_fd_src_unlock), (gst_fd_src_set_property),
17870 (gst_fd_src_get_property), (gst_fd_src_create),
17871 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17872 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17873 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17874 (gst_fd_src_uri_handler_init):
17875 * plugins/elements/gstfdsrc.h:
17876 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17879 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17881 * docs/gst/Makefile.am:
17882 * docs/gst/gstreamer.types.in:
17886 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17892 * gst/gstregistry.h:
17893 * tests/benchmarks/complexity.c:
17894 * tests/benchmarks/mass-elements.c:
17895 * tests/check/Makefile.am:
17896 * tools/Makefile.am:
17897 * tools/gst-inspect.c:
17898 * tools/gst-xmlinspect.c:
17899 various fixes to make
17900 --disable-nls --disable-registry --disable-loadsave
17901 --disable-parse --disable-gst-debug
17902 work and get the core .so down to 360444 bytes after stripping
17904 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17909 * docs/random/thomasvs/TODO:
17910 * tests/Makefile.am:
17914 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17916 * win32/GStreamer.vcproj:
17919 * win32/Makefile.inspect:
17920 * win32/Makefile.launch:
17921 * win32/Makefile.register:
17922 * win32/README.txt:
17923 * win32/gst-inspect.vcproj:
17924 * win32/gst-launch.vcproj:
17925 * win32/gst-register.vcproj:
17926 * win32/gstelements.vcproj:
17927 * win32/gstgetbits.def:
17928 * win32/gstgetbits.vcproj:
17929 * win32/gstreamer-dbg.def:
17930 * win32/gstreamer.def:
17931 * win32/libgstbase.def:
17932 * win32/libgstbase.vcproj:
17933 * win32/link_oldruntime.c:
17937 * win32/msvc71.sln:
17938 move even more stuff, win32/ is nice and clean now
17940 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17942 * libs/gst/control/.cvsignore:
17947 * win32/gstbytestream.def:
17948 * win32/gstbytestream.vcproj:
17949 * win32/gstconfig.h:
17950 * win32/gstenumtypes.c:
17951 * win32/gstenumtypes.h:
17952 * win32/gstoptimalscheduler.vcproj:
17953 * win32/gstversion.h:
17955 * win32/testsuite/bins.vcproj:
17956 * win32/testsuite/bytestream.vcproj:
17957 * win32/testsuite/caps.vcproj:
17958 * win32/testsuite/cleanup.vcproj:
17959 * win32/testsuite/clock.vcproj:
17960 * win32/testsuite/debug.vcproj:
17961 * win32/testsuite/dlopen.vcproj:
17962 * win32/testsuite/dynparams.vcproj:
17963 * win32/testsuite/elements.vcproj:
17964 * win32/testsuite/ghostpads.vcproj:
17965 * win32/testsuite/indexers.vcproj:
17966 * win32/testsuite/negotiation.vcproj:
17967 * win32/testsuite/parse.vcproj:
17968 * win32/testsuite/plugin.vcproj:
17969 * win32/testsuite/refcounting.vcproj:
17970 * win32/testsuite/schedulers.vcproj:
17971 * win32/testsuite/states.vcproj:
17972 * win32/testsuite/tags.vcproj:
17973 * win32/testsuite/threads.vcproj:
17974 remove old win32 stuff that isn't maintained and should be
17977 2005-11-30 Andy Wingo <wingo@pobox.com>
17979 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17980 loading the gst.interfaces python module bork.
17982 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17983 available since GLib 2.2. Fixes #318031.
17985 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17988 * check/.cvsignore:
17989 * check/Makefile.am:
17990 * check/elements/.cvsignore:
17991 * check/elements/fakesrc.c:
17992 * check/elements/fdsrc.c:
17993 * check/elements/identity.c:
17994 * check/generic/.cvsignore:
17995 * check/generic/states.c:
17996 * check/gst-libs/.cvsignore:
17997 * check/gst-libs/controller.c:
17998 * check/gst-libs/gdp.c:
17999 * check/gst/.cvsignore:
18000 * check/gst/capslist.h:
18002 * check/gst/gstbin.c:
18003 * check/gst/gstbuffer.c:
18004 * check/gst/gstbus.c:
18005 * check/gst/gstcaps.c:
18006 * check/gst/gstelement.c:
18007 * check/gst/gstevent.c:
18008 * check/gst/gstghostpad.c:
18009 * check/gst/gstiterator.c:
18010 * check/gst/gstmessage.c:
18011 * check/gst/gstminiobject.c:
18012 * check/gst/gstobject.c:
18013 * check/gst/gstpad.c:
18014 * check/gst/gstpipeline.c:
18015 * check/gst/gstplugin.c:
18016 * check/gst/gstsegment.c:
18017 * check/gst/gststructure.c:
18018 * check/gst/gstsystemclock.c:
18019 * check/gst/gsttag.c:
18020 * check/gst/gstutils.c:
18021 * check/gst/gstvalue.c:
18022 * check/net/.cvsignore:
18023 * check/net/gstnetclientclock.c:
18024 * check/net/gstnettimeprovider.c:
18025 * check/pipelines/.cvsignore:
18026 * check/pipelines/cleanup.c:
18027 * check/pipelines/simple_launch_lines.c:
18028 * check/pipelines/stress.c:
18029 * check/states/.cvsignore:
18030 * check/states/sinks.c:
18032 * examples/Makefile.am:
18033 * examples/appreader/.cvsignore:
18034 * examples/appreader/Makefile.am:
18035 * examples/appreader/appreader.c:
18036 * examples/controller/.cvsignore:
18037 * examples/controller/Makefile.am:
18038 * examples/controller/audio-example.c:
18039 * examples/cutter/.cvsignore:
18040 * examples/cutter/Makefile.am:
18041 * examples/cutter/cutter.c:
18042 * examples/cutter/cutter.h:
18043 * examples/events/Makefile.am:
18044 * examples/events/seek.c:
18045 * examples/helloworld/.cvsignore:
18046 * examples/helloworld/Makefile.am:
18047 * examples/helloworld/helloworld.c:
18048 * examples/helloworld2/.cvsignore:
18049 * examples/helloworld2/Makefile.am:
18050 * examples/helloworld2/helloworld2.c:
18051 * examples/launch/.cvsignore:
18052 * examples/launch/Makefile.am:
18053 * examples/launch/mp3parselaunch.c:
18054 * examples/launch/mp3play:
18055 * examples/manual/.cvsignore:
18056 * examples/manual/Makefile.am:
18057 * examples/manual/extract.pl:
18058 * examples/metadata/Makefile.am:
18059 * examples/metadata/read-metadata.c:
18060 * examples/mixer/.cvsignore:
18061 * examples/mixer/Makefile.am:
18062 * examples/mixer/mixer.c:
18063 * examples/mixer/mixer.h:
18064 * examples/pingpong/.cvsignore:
18065 * examples/pingpong/Makefile.am:
18066 * examples/pingpong/pingpong.c:
18067 * examples/plugins/.cvsignore:
18068 * examples/plugins/Makefile.am:
18069 * examples/plugins/example.c:
18070 * examples/plugins/example.h:
18071 * examples/pwg/.cvsignore:
18072 * examples/pwg/Makefile.am:
18073 * examples/pwg/extract.pl:
18074 * examples/queue/.cvsignore:
18075 * examples/queue/Makefile.am:
18076 * examples/queue/queue.c:
18077 * examples/queue2/.cvsignore:
18078 * examples/queue2/Makefile.am:
18079 * examples/queue2/queue2.c:
18080 * examples/queue3/.cvsignore:
18081 * examples/queue3/Makefile.am:
18082 * examples/queue3/queue3.c:
18083 * examples/queue4/.cvsignore:
18084 * examples/queue4/Makefile.am:
18085 * examples/queue4/queue4.c:
18086 * examples/retag/.cvsignore:
18087 * examples/retag/Makefile.am:
18088 * examples/retag/retag.c:
18089 * examples/retag/transcode.c:
18090 * examples/thread/.cvsignore:
18091 * examples/thread/Makefile.am:
18092 * examples/thread/thread.c:
18093 * examples/typefind/.cvsignore:
18094 * examples/typefind/Makefile.am:
18095 * examples/typefind/typefind.c:
18096 * examples/xml/.cvsignore:
18097 * examples/xml/Makefile.am:
18098 * examples/xml/createxml.c:
18099 * examples/xml/runxml.c:
18100 * tests/Makefile.am:
18101 * tests/check/Makefile.am:
18102 * testsuite/.cvsignore:
18103 * testsuite/Makefile.am:
18105 * testsuite/caps/.cvsignore:
18106 * testsuite/caps/Makefile.am:
18107 * testsuite/caps/app_fixate.c:
18108 * testsuite/caps/audioscale.c:
18109 * testsuite/caps/caps.c:
18110 * testsuite/caps/caps.h:
18111 * testsuite/caps/caps_strings:
18112 * testsuite/caps/compatibility.c:
18113 * testsuite/caps/deserialize.c:
18114 * testsuite/caps/enumcaps.c:
18115 * testsuite/caps/eratosthenes.c:
18116 * testsuite/caps/filtercaps.c:
18117 * testsuite/caps/fixed.c:
18118 * testsuite/caps/fraction-convert.c:
18119 * testsuite/caps/fraction-multiply-and-zero.c:
18120 * testsuite/caps/intersect2.c:
18121 * testsuite/caps/intersection.c:
18122 * testsuite/caps/normalisation.c:
18123 * testsuite/caps/random.c:
18124 * testsuite/caps/renegotiate.c:
18125 * testsuite/caps/sets.c:
18126 * testsuite/caps/simplify.c:
18127 * testsuite/caps/string-conversions.c:
18128 * testsuite/caps/structure.c:
18129 * testsuite/caps/subtract.c:
18130 * testsuite/caps/union.c:
18131 * testsuite/debug/.cvsignore:
18132 * testsuite/debug/Makefile.am:
18133 * testsuite/debug/category.c:
18134 * testsuite/debug/commandline.c:
18135 * testsuite/debug/global.c:
18136 * testsuite/debug/output.c:
18137 * testsuite/debug/printf_extension.c:
18138 * testsuite/dlopen/.cvsignore:
18139 * testsuite/dlopen/Makefile.am:
18140 * testsuite/dlopen/dlopen_gst.c:
18141 * testsuite/dlopen/loadgst.c:
18142 * testsuite/elements/.cvsignore:
18143 * testsuite/elements/Makefile.am:
18144 * testsuite/elements/gst-inspect-check.in:
18145 * testsuite/elements/struct_i386.h:
18146 * testsuite/elements/struct_size.c:
18147 * testsuite/indexers/.cvsignore:
18148 * testsuite/indexers/Makefile.am:
18149 * testsuite/indexers/cache1.c:
18150 * testsuite/indexers/indexdump.c:
18151 * testsuite/parse/.cvsignore:
18152 * testsuite/parse/Makefile.am:
18153 * testsuite/parse/parse1.c:
18154 * testsuite/parse/parse2.c:
18155 * testsuite/plugin/.cvsignore:
18156 * testsuite/plugin/Makefile.am:
18157 * testsuite/plugin/README:
18158 * testsuite/plugin/dynamic.c:
18159 * testsuite/plugin/linked.c:
18160 * testsuite/plugin/loading.c:
18161 * testsuite/plugin/registry.c:
18162 * testsuite/plugin/static.c:
18163 * testsuite/plugin/static2.c:
18164 * testsuite/plugin/testplugin.c:
18165 * testsuite/plugin/testplugin2.c:
18166 * testsuite/plugin/testplugin2_s.c:
18167 * testsuite/plugin/testplugin_s.c:
18168 * testsuite/refcounting/.cvsignore:
18169 * testsuite/refcounting/Makefile.am:
18170 * testsuite/refcounting/bin.c:
18171 * testsuite/refcounting/element.c:
18172 * testsuite/refcounting/element_pad.c:
18173 * testsuite/refcounting/mainloop.c:
18174 * testsuite/refcounting/mem.c:
18175 * testsuite/refcounting/mem.h:
18176 * testsuite/refcounting/object.c:
18177 * testsuite/refcounting/pad.c:
18178 * testsuite/refcounting/sched.c:
18179 * testsuite/refcounting/thread.c:
18180 * testsuite/states/.cvsignore:
18181 * testsuite/states/Makefile.am:
18182 * testsuite/states/bin.c:
18183 * testsuite/states/locked.c:
18184 * testsuite/states/parent.c:
18185 * testsuite/threads/.cvsignore:
18186 * testsuite/threads/159566.c:
18187 * testsuite/threads/159852.c:
18188 * testsuite/threads/Makefile.am:
18189 * testsuite/threads/queue.c:
18190 * testsuite/threads/signals.c:
18191 * testsuite/threads/staticrec.c:
18192 * testsuite/threads/thread.c:
18193 * testsuite/threads/threadb.c:
18194 * testsuite/threads/threadc.c:
18195 * testsuite/threads/threadd.c:
18196 * testsuite/threads/threade.c:
18197 * testsuite/threads/threadf.c:
18198 * testsuite/threads/threadg.c:
18199 * testsuite/threads/threadh.c:
18200 * testsuite/threads/threadi.c:
18201 move all of these under tests
18203 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18206 * tests/Makefile.am:
18209 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18211 * docs/gst/gstreamer-sections.txt:
18212 * tests/sched/.cvsignore:
18213 * tests/sched/Makefile.am:
18214 * tests/sched/cases/(fs-fs).xml:
18215 * tests/sched/cases/(fs-i-fs).xml:
18216 * tests/sched/cases/(fs-i-i-fs).xml:
18217 * tests/sched/cases/(fs-i-q[i-fs]).xml:
18218 * tests/sched/dynamic-pipeline.c:
18219 * tests/sched/interrupt1.c:
18220 * tests/sched/interrupt2.c:
18221 * tests/sched/interrupt3.c:
18222 * tests/sched/runtestcases:
18223 * tests/sched/runxml.c:
18224 * tests/sched/sched-stress.c:
18225 * tests/sched/sort.c:
18226 * tests/sched/testcases:
18227 * tests/sched/testcases1.tc:
18228 * tests/seeking/.cvsignore:
18229 * tests/seeking/Makefile.am:
18230 * tests/seeking/seeking1.c:
18231 * tests/threadstate/.cvsignore:
18232 * tests/threadstate/Makefile.am:
18233 * tests/threadstate/test1.c:
18234 * tests/threadstate/test2.c:
18235 * tests/threadstate/threadstate1.c:
18236 * tests/threadstate/threadstate2.c:
18237 * tests/threadstate/threadstate3.c:
18238 * tests/threadstate/threadstate4.c:
18239 * tests/threadstate/threadstate5.c:
18240 remove obsolete tests
18242 * tests/bench-complexity.scm:
18243 * tests/bench-mass_elements.scm:
18244 * tests/complexity.c:
18245 * tests/complexity.gnuplot:
18246 * tests/instantiate/.cvsignore:
18247 * tests/instantiate/Makefile.am:
18248 * tests/instantiate/caps.c:
18249 * tests/mass_elements.c:
18250 * tests/network-clock-utils.scm:
18251 * tests/network-clock.scm:
18253 First pass at cleaning up tests/ dir before moving the rest
18254 Combined with CVS surgery
18256 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18259 queue has moved, update
18261 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18263 * docs/gst/gstreamer-sections.txt:
18264 remove double entries from the docs
18265 * gst/gst_private.h:
18266 * gst/gstinfo.c: (_gst_debug_init):
18267 remove the THREAD debug category
18271 * docs/gst/gstreamer.types:
18272 * plugins/elements/gstqueue.c: (gst_queue_get_type),
18273 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
18274 completely move queue and fix up debugging categories
18276 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18278 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18279 make initialization portable, using LL is not
18281 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18283 * win32/common/gstconfig.h:
18286 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18288 * win32/common/libgstreamer.def:
18289 rename symbols; sort base section
18291 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18293 * gst/gstclock.c: (do_linear_regression):
18294 remove crack non-portable handrolled DEBUG macro
18296 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18298 * docs/random/release:
18300 * win32/common/gstenumtypes.c: (register_gst_object_flags),
18301 (gst_object_flags_get_type), (register_gst_bin_flags),
18302 (gst_bin_flags_get_type), (register_gst_buffer_flag),
18303 (gst_buffer_flag_get_type), (register_gst_bus_flags),
18304 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18305 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
18306 (gst_caps_flags_get_type), (register_gst_clock_return),
18307 (gst_clock_return_get_type), (register_gst_clock_entry_type),
18308 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18309 (gst_clock_flags_get_type), (register_gst_state),
18310 (gst_state_get_type), (register_gst_state_change_return),
18311 (gst_state_change_return_get_type), (register_gst_state_change),
18312 (gst_state_change_get_type), (register_gst_element_flags),
18313 (gst_element_flags_get_type), (register_gst_core_error),
18314 (gst_core_error_get_type), (register_gst_library_error),
18315 (gst_library_error_get_type), (register_gst_resource_error),
18316 (gst_resource_error_get_type), (register_gst_stream_error),
18317 (gst_stream_error_get_type), (register_gst_event_type_flags),
18318 (gst_event_type_flags_get_type), (register_gst_event_type),
18319 (gst_event_type_get_type), (register_gst_seek_type),
18320 (gst_seek_type_get_type), (register_gst_seek_flags),
18321 (gst_seek_flags_get_type), (register_gst_format),
18322 (gst_format_get_type), (register_gst_index_certainty),
18323 (gst_index_certainty_get_type), (register_gst_index_entry_type),
18324 (gst_index_entry_type_get_type),
18325 (register_gst_index_lookup_method),
18326 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18327 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18328 (gst_index_resolver_method_get_type), (register_gst_index_flags),
18329 (gst_index_flags_get_type), (register_gst_debug_level),
18330 (gst_debug_level_get_type), (register_gst_debug_color_flags),
18331 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18332 (gst_iterator_result_get_type), (register_gst_iterator_item),
18333 (gst_iterator_item_get_type), (register_gst_message_type),
18334 (gst_message_type_get_type), (register_gst_mini_object_flags),
18335 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18336 (gst_pad_link_return_get_type), (register_gst_flow_return),
18337 (gst_flow_return_get_type), (register_gst_activate_mode),
18338 (gst_activate_mode_get_type), (register_gst_pad_direction),
18339 (gst_pad_direction_get_type), (register_gst_pad_flags),
18340 (gst_pad_flags_get_type), (register_gst_pad_presence),
18341 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18342 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18343 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18344 (gst_plugin_error_get_type), (register_gst_plugin_flags),
18345 (gst_plugin_flags_get_type), (register_gst_rank),
18346 (gst_rank_get_type), (register_gst_query_type),
18347 (gst_query_type_get_type), (register_gst_tag_merge_mode),
18348 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18349 (gst_tag_flag_get_type), (register_gst_task_state),
18350 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18351 (gst_alloc_trace_flags_get_type),
18352 (register_gst_type_find_probability),
18353 (gst_type_find_probability_get_type), (register_gst_uri_type),
18354 (gst_uri_type_get_type), (register_gst_parse_error),
18355 (gst_parse_error_get_type):
18356 * win32/common/gstenumtypes.h:
18357 * win32/common/gstversion.h:
18358 update visual studio generated files
18360 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18362 * win32/vs6/libgstbase.dsp:
18363 * win32/vs6/libgstelements.dsp:
18364 update project files for new locations
18366 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18371 reinstate and update
18376 * docs/random/LICENSE:
18379 2005-11-30 Edward Hervey <edward@fluendo.com>
18381 * gst/gsttypefind.c: (gst_type_find_register):
18382 * gst/gsttypefind.h:
18383 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18384 (gst_type_find_factory_dispose):
18385 * gst/gsttypefindfactory.h:
18386 Fix memory leak in GstTypeFindFactory.
18388 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18391 * plugins/elements/Makefile.am:
18392 * plugins/elements/gstelements.c:
18393 * plugins/elements/gstqueue.c:
18394 move queue from core to the elements plugin
18396 2005-11-29 Andy Wingo <wingo@pobox.com>
18398 * libs/gst/base/gstbasetransform.h:
18399 * libs/gst/base/gstbasesrc.h:
18400 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18402 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18403 of pointers by which to pad very extensible base classes (like the
18404 ones in libs/gst/base).
18406 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18408 * docs/gst/gstreamer-docs.sgml:
18409 * docs/gst/gstreamer-sections.txt:
18410 * docs/libs/gstreamer-libs-docs.sgml:
18411 * docs/libs/gstreamer-libs-sections.txt:
18412 moving documentation from core to lib
18414 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18416 * check/Makefile.am:
18418 * docs/gst/Makefile.am:
18420 * gst/base/.cvsignore:
18421 * gst/base/Makefile.am:
18423 * gst/base/gstadapter.c:
18424 * gst/base/gstadapter.h:
18425 * gst/base/gstbasesink.c:
18426 * gst/base/gstbasesink.h:
18427 * gst/base/gstbasesrc.c:
18428 * gst/base/gstbasesrc.h:
18429 * gst/base/gstbasetransform.c:
18430 * gst/base/gstbasetransform.h:
18431 * gst/base/gstcollectpads.c:
18432 * gst/base/gstcollectpads.h:
18433 * gst/base/gstpushsrc.c:
18434 * gst/base/gstpushsrc.h:
18435 * gst/base/gsttypefindhelper.c:
18436 * gst/base/gsttypefindhelper.h:
18437 * gst/check/Makefile.am:
18438 * gst/check/gstcheck.c:
18439 * gst/check/gstcheck.h:
18440 * gst/net/Makefile.am:
18441 * gst/net/gstnet.h:
18442 * gst/net/gstnetclientclock.c:
18443 * gst/net/gstnetclientclock.h:
18444 * gst/net/gstnettimepacket.c:
18445 * gst/net/gstnettimepacket.h:
18446 * gst/net/gstnettimeprovider.c:
18447 * gst/net/gstnettimeprovider.h:
18448 * libs/gst/Makefile.am:
18449 * libs/gst/base/Makefile.am:
18450 * libs/gst/base/gstbasetransform.c:
18451 * libs/gst/check/Makefile.am:
18452 * plugins/elements/Makefile.am:
18454 CVS surgery + support to move base, check, and net out of gst
18457 2005-11-29 Andy Wingo <wingo@pobox.com>
18459 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18461 * gst/gststructure.h (struct _GstStructure): Only one pointer of
18464 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18466 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18468 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18470 * gst/gstobject.h: (struct _GstObject): Only one pointer of
18471 padding; reduces object size by about 30%. We don't expect
18472 anything else to go into gstobject.
18474 * gst/gstminiobject.h (struct _GstMiniObject)
18475 (struct _GstMiniObjectClass): Only one pointer of padding; the
18476 payload is only a pointer and two ints anyway. For the class there
18477 are only two methods as well.
18479 * gst/gstelement.h (struct _GstElementClass): Removed
18480 the state_changed signal callback, it is not used.
18482 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18484 * docs/gst/gstreamer.types:
18485 fix includes, though they are a little dinky
18487 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18489 * check/Makefile.am:
18490 look in the right place for elements, a lot more chance of
18493 remove indexers and elements subdirs
18494 * plugins/Makefile.am:
18495 make indexers conditional
18497 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18501 * plugins/elements/Makefile.am:
18502 * plugins/elements/gstcapsfilter.c:
18503 * plugins/elements/gstfilesink.c:
18504 * plugins/elements/gstfilesrc.c:
18505 * plugins/elements/gstidentity.c:
18506 * plugins/indexers/Makefile.am:
18507 do CVS surgery and related build fixery to move elements
18508 and indexers in a new gstreamer/plugins directory, out of the
18511 2005-11-29 Andy Wingo <wingo@pobox.com>
18513 * check/Makefile.am:
18514 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18515 * pkgconfig/gstreamer-net.pc.in:
18516 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18519 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18521 * tools/Makefile.am:
18522 * tools/gst-complete.1.in:
18523 * tools/gst-complete.c:
18524 * tools/gst-compprep.1.in:
18525 * tools/gst-compprep.c:
18526 removing -compprep and -complete
18528 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18530 * gst/gstevent.c: (gst_event_new_new_segment),
18531 (gst_event_parse_new_segment):
18533 fix #320529 - clean up new_segment API and structure.
18534 Let's hope everyone was using the methods, and not the structure.
18536 2005-11-29 Edward Hervey <edward@fluendo.com>
18538 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18539 (gst_base_sink_event), (gst_base_sink_do_sync),
18540 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18541 Properly handle non GST_FORMAT_TIME segment
18542 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18543 Properly handle non GST_FORMAT_TIME segment
18544 * gst/gstsegment.c:
18545 This function is valid if the accumulator is 0 and the format
18546 is different from the requested format.
18548 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18550 * docs/gst/gstreamer-sections.txt:
18551 Add gst_query_new_seeking and gst_query_parse_seeking to the
18554 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18556 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18557 Treat a pad alloc with new caps the same as if we were not
18558 negotiated, in order to allow a changing upstream output
18559 to produce a new format of data.
18561 2005-11-29 Edward Hervey <edward@fluendo.com>
18563 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18564 (gst_base_transform_event), (gst_base_transform_eventfunc):
18565 The event virtual method is now properly implemented, with a default
18567 Sub classes should call the parent_class event method. They should
18568 return FALSE if they had a problem handling the given event, or don't
18569 want GstBaseTransform to send that even downstream
18570 * gst/elements/gstidentity.c: (gst_identity_class_init),
18571 (gst_identity_init), (gst_identity_event),
18572 (gst_identity_transform_ip), (gst_identity_set_property),
18573 (gst_identity_get_property):
18574 * gst/elements/gstidentity.h:
18575 Added the single-segment boolean property.
18576 If set to TRUE, it will output a single segment of data, starting from
18577 0, will eat up all incoming newsegment, and modify the timestamp of the
18578 buffers accordingly
18580 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
18582 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18583 Don't ref NULL target pad (#322751). Improve docs.
18585 2005-11-29 Michael Smith <msmith@fluendo.com>
18587 * gst/gstregistryxml.c: (load_plugin):
18588 Don't crash if we failed to load a feature from a plugin.
18590 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18592 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18594 use more check API and less GLib API
18596 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18599 don't run checks if we don't have check
18600 * common/check.mak:
18601 remove the registry when running make torture
18602 * docs/gst/gstreamer-sections.txt:
18603 remove second multiply
18604 * gst/gstqueue.c: (gst_queue_loop):
18605 fix a compile warning when disabling debug
18607 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18610 Hey! Let's print the pad name if the pointer != NULL instead
18611 of when it == NULL :-)
18613 2005-11-28 Wim Taymans <wim@fluendo.com>
18615 * check/gst/gstutils.c: (GST_START_TEST):
18616 Updated check, add some scaling accuracy checking code.
18618 * gst/gstutils.c: (gst_util_div128_64),
18619 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18620 (gst_util_uint64_scale_int):
18621 Fix 6 times faster division code. Optimize for common
18622 1/1 and less common X/1 cases.
18624 2005-11-28 Wim Taymans <wim@fluendo.com>
18626 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18629 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18630 (do_linear_regression), (gst_clock_add_observation):
18632 Release lock when the clock cannot be slaved.
18633 Catch the case where the regression returned an invalid denominator.
18635 * gst/gstutils.c: (gst_util_div128_64_iterate),
18636 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18637 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18638 Add protentially more performant non-iterative 128/64 divide function
18639 that unfortunatly does not work yet.
18640 Shortcut the trivial 0/X = 0 case.
18641 Remove the warnings on overflow.
18643 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18645 * gst/gstplugin.c: (gst_plugin_register_func):
18646 everything causing a plugin not to load should be at least a WARNING
18648 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18650 * docs/random/ensonic/dparams.txt:
18651 some TODOs for the next dev cycle
18652 * libs/gst/controller/gstcontroller.c:
18653 (gst_controlled_property_set_interpolation_mode),
18654 (gst_controlled_property_new):
18655 * libs/gst/controller/gstcontroller.h:
18656 use base type to assign acccessor functions
18658 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18660 * check/Makefile.am:
18661 Oops, that should have been top_srcdir
18663 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18665 * check/Makefile.am:
18666 * check/elements/fdsrc.c: (GST_START_TEST):
18667 Use a cmdline define to specify the location of a file to use for
18668 testing, to avoid breaking distcheck.
18670 2005-11-28 Andy Wingo <wingo@pobox.com>
18672 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18674 2005-11-28 Edward Hervey <edward@fluendo.com>
18676 * tools/gst-launch.c: (main):
18677 Clarify the output strings, makes it easier to translate.
18680 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18683 don't try and build net if we don't even have <sys/socket.h>
18685 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18687 * check/Makefile.am:
18688 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18689 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18690 Add tests for fdsrc seekability
18692 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18693 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18694 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18695 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18696 * gst/elements/gstfdsrc.h:
18697 fdsrc should not be a 'live' source.
18698 Implement seeking on seekable fd's.
18700 * gst/gstquery.c: (gst_query_new_seeking),
18701 (gst_query_parse_seeking):
18703 Implement SEEKING query functions:
18704 *_new_seeking and *_parse_seeking
18706 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18708 * gst/gstelement.c: (gst_element_dispose):
18711 * gst/gstiterator.c:
18712 * gst/gststructure.c:
18715 * libs/gst/controller/gstcontroller.c:
18716 (gst_controlled_property_set_interpolation_mode):
18717 * libs/gst/controller/gstcontroller.h:
18718 * libs/gst/controller/gstinterpolation.c:
18719 (interpolate_none_get_enum_value_array):
18720 support controlling enums
18722 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18725 Improve documentation for gst_value_union().
18728 Change return value for union, intersect and subtract functions
18729 from gint to gboolean.
18731 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18733 * gst/gstvalue.c: (gst_value_serialize_any_list),
18734 (gst_value_transform_any_list_string),
18735 (gst_value_deserialize_list), (gst_value_deserialize_array),
18736 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18737 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18738 (gst_value_set_fraction_range_full),
18739 (gst_value_deserialize_fraction_range),
18740 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18741 (gst_value_deserialize_boolean),
18742 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18743 (gst_value_serialize_float), (gst_value_deserialize_float),
18744 (gst_string_wrap), (gst_value_deserialize_string),
18745 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18746 (gst_value_union_int_range_int_range),
18747 (gst_value_intersect_int_range_int_range),
18748 (gst_value_intersect_double_range_double_range),
18749 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18750 (gst_value_subtract_int_range_int_range),
18751 (gst_value_subtract_double_double_range),
18752 (gst_value_subtract_double_range_double_range),
18753 (gst_value_deserialize_fraction):
18755 Use gint, gdouble and gchar in our API instead of int, double and
18756 char (and make usage in gstvalue.c more consistent).
18758 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18760 * check/Makefile.am:
18761 * libs/gst/controller/Makefile.am:
18762 * libs/gst/dataprotocol/Makefile.am:
18763 fix up Makefile.am and remove GST_ENABLE_NEW
18765 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18769 * gst/base/Makefile.am:
18770 * gst/check/Makefile.am:
18771 * gst/elements/Makefile.am:
18772 * gst/net/Makefile.am:
18773 update LDFLAGS use some more
18775 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18777 * common/m4/gst-doc.m4:
18780 2005-11-26 Edward Hervey <edward@fluendo.com>
18782 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18783 This shouldn't issue a g_warning since it returns NULL if it
18784 couldn't find the plugin, and all functions using this behave
18785 properly on a NULL return. Switching to a GST_WARNING.
18787 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18789 * gst/gstbin.c: (gst_bin_handle_message_func):
18790 Don't leak clock messages.
18792 2005-11-25 Wim Taymans <wim@fluendo.com>
18794 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18795 (gst_util_uint64_scale_int):
18796 Optimisations, remove unneeded vars.
18798 2005-11-25 Wim Taymans <wim@fluendo.com>
18800 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18801 Added more checks for the high precision uint64 cases.
18803 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18804 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18805 Implement high precision (guint64 * guint64) / guint64.
18807 2005-11-24 Wim Taymans <wim@fluendo.com>
18809 * gst/base/gstbasesrc.c: (gst_base_src_query):
18810 Fix wrong percentage query.
18812 * gst/gstutils.c: (gst_util_uint64_scale),
18813 (gst_util_uint64_scale_int):
18814 Add some more common cases that can be handled
18815 efficiently to _scale.
18817 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18819 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18820 (gst_mini_object_suite):
18821 don't use check calls from threads; check probably isn't
18822 threadsafe and using a lock to make it threadsafe would
18823 defeat the purpose of this check
18824 * gst/check/gstcheck.c:
18825 * gst/check/gstcheck.h:
18826 use GST_DEBUG some more
18828 2005-11-24 Wim Taymans <wim@fluendo.com>
18830 * gst/gstutils.c: (gst_util_uint64_scale),
18831 (gst_util_uint64_scale_int):
18832 Chain trivial case to _scale_int.
18834 2005-11-24 Wim Taymans <wim@fluendo.com>
18836 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18837 Added test for scaling.
18842 * gst/gstutils.c: (gst_util_uint64_scale_int):
18843 Implemented high precision scaling code.
18845 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18848 do not crash on pad==NULL
18850 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18852 Patch by: Stefan Kost
18854 * common/gtk-doc.mak:
18855 * docs/gst/Makefile.am:
18856 * docs/libs/Makefile.am:
18857 Fix distcheck issues for the libraries docs build
18860 2005-11-24 Michael Smith <msmith@fluendo.com>
18862 * docs/manual/basics-helloworld.xml:
18863 Fix bug #315027: memory leak in example code in docs.
18865 2005-11-24 Michael Smith <msmith@fluendo.com>
18867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18868 Unlock the PREROLL_LOCK in a failure case.
18870 2005-11-24 Wim Taymans <wim@fluendo.com>
18872 * docs/gst/gstreamer-sections.txt:
18873 * gst/base/gstadapter.h:
18874 * gst/base/gstbasesink.h:
18875 * gst/base/gstbasesrc.h:
18876 * gst/base/gstbasetransform.h:
18877 * gst/base/gstpushsrc.h:
18878 * gst/elements/gstfakesink.h:
18879 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18880 * gst/elements/gstfakesrc.h:
18881 * gst/elements/gstfilesink.h:
18882 * gst/elements/gstfilesrc.h:
18885 * gst/gstbuffer.c: (_gst_buffer_copy):
18888 * gst/gstchildproxy.c:
18890 * gst/gstelement.c:
18891 * gst/gstelementfactory.c:
18892 * gst/gstelementfactory.h:
18894 * gst/gstghostpad.h:
18896 * gst/gstinterface.h:
18897 * gst/gstminiobject.c:
18898 * gst/gstminiobject.h:
18901 * gst/gstpadtemplate.h:
18902 * gst/gstpipeline.h:
18903 * gst/gstpluginfeature.h:
18906 * gst/gsttaglist.c:
18907 * gst/gsttaglist.h:
18908 * gst/gsttagsetter.c:
18909 * gst/gsttagsetter.h:
18912 * gst/gsttypefind.h:
18915 * gst/net/gstnetclientclock.c:
18916 * gst/net/gstnetclientclock.h:
18917 * gst/net/gstnettimepacket.c:
18918 * gst/net/gstnettimeprovider.c:
18919 * gst/net/gstnettimeprovider.h:
18922 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18924 * configure.ac: back to HEAD
18926 === release 0.9.6 ===
18928 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18931 releasing 0.9.6, "Always On Time"
18933 2005-11-23 Wim Taymans <wim@fluendo.com>
18935 * docs/gst/gstreamer-sections.txt:
18936 * gst/glib-compat.c:
18937 * gst/gsttagsetter.c:
18939 * gst/net/gstnetclientclock.c:
18940 * gst/net/gstnettimepacket.h:
18943 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18945 * docs/faq/using.xml:
18946 * docs/libs/tmpl/gstcontrol.sgml:
18947 * docs/manual/advanced-dparams.xml:
18948 * docs/manual/appendix-checklist.xml:
18949 * docs/manual/basics-elements.xml:
18950 * docs/pwg/other-source.xml:
18951 * docs/random/moving-plugins:
18953 * tools/gst-launch.1.in:
18954 remove mentions of sinesrc
18956 2005-11-23 Michael Smith <msmith@fluendo.com>
18958 * docs/gst/gstreamer-sections.txt:
18959 Update for new API and API changes.
18961 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18963 Documentation typo fix.
18964 * gst/net/gstnettimepacket.c:
18965 Documentation fixes for arguments.
18967 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18969 * gst/gststructure.c: (gst_structure_get_fraction),
18970 (gst_structure_parse_value),
18971 (gst_structure_fixate_field_nearest_fraction):
18972 * gst/gststructure.h:
18973 * gst/gstutils.c: (gst_util_uint64_scale_int):
18975 * scripts/update-funcnames:
18977 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18978 Make gst_structure_fixate_field_nearest_fraction take a numerator
18979 and denominator argument instead of a GValue
18980 add gst_structure_get_fraction helper function.
18982 2005-11-23 Wim Taymans <wim@fluendo.com>
18984 * docs/design/part-TODO.txt:
18987 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18988 * gst/net/gstnetclientclock.h:
18989 Use parent fields for timeout and window_size.
18991 2005-11-23 Andy Wingo <wingo@pobox.com>
18993 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18994 rate_num/rate_denom change.
18996 * gst/net/gstnetclientclock.c
18997 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18998 OBJECT_LOCK. Don't call add_observation with the lock.
19000 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19002 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19004 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19005 deal with rate as a fraction whose numerator and denominator are
19006 GstClockTime values.
19007 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19008 master; the other fields are protected by the SLAVE_LOCK.
19009 (do_linear_regression): Note that this must be called with the
19011 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19012 OBJECT_LOCK. Call set_calibration instead of touching the
19013 variables directly.
19014 (gst_clock_set_property, gst_clock_get_property): Protect
19015 master/slave parameters with the SLAVE_LOCK.
19017 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19018 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19019 note that all of the instance variables that add_observation and
19020 the set_master functions use are protected by that lock and not
19022 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19024 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19025 the caller to take the object lock.
19027 2005-11-23 Wim Taymans <wim@fluendo.com>
19029 * gst/gsterror.c: (_gst_core_errors_init):
19031 Add error for clock stuff.
19033 * gst/gstpipeline.c: (gst_pipeline_change_state),
19034 (gst_pipeline_set_clock):
19035 Post clock error when clock cannot be used in a pipeline.
19037 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19039 * docs/gst/gstreamer-sections.txt:
19040 make two symbols from gstinfo private for the docs
19041 * gst/base/gstcollectpads.h:
19043 fix doc typos, update docs
19045 2005-11-22 Wim Taymans <wim@fluendo.com>
19047 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19048 (gst_base_sink_wait), (gst_base_sink_do_sync),
19049 (gst_base_sink_handle_event):
19050 * gst/base/gstbasesink.h:
19051 No need to store the clock, the parent element class already
19054 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19055 Updates for clock_set returning a gboolean
19057 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19058 (gst_clock_id_wait_async), (gst_clock_class_init),
19059 (gst_clock_init), (gst_clock_finalize),
19060 (gst_clock_get_internal_time), (gst_clock_get_time),
19061 (gst_clock_slave_callback), (gst_clock_set_master),
19062 (gst_clock_get_master), (do_linear_regression),
19063 (gst_clock_add_observation), (gst_clock_set_property),
19064 (gst_clock_get_property):
19066 Implement master/slave. When setting a clock as a slave, a
19067 periodic timeout is scheduled to sample master and slave times.
19068 Then the slave clock is recalibrated to match offset and rate
19069 of the master clock.
19070 Update logging a bit.
19071 Add flag so that a clock can state that is cannot be slaved to
19074 * gst/gstelement.c: (gst_element_set_clock):
19075 * gst/gstelement.h:
19076 The set clock returns a gboolean for when an element cannot
19077 deal with the selected clock in the pipeline.
19079 * gst/gstpipeline.c: (gst_pipeline_change_state),
19080 (gst_pipeline_set_clock):
19081 * gst/gstpipeline.h:
19082 Handle the case where the selected clock cannot be set on
19085 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19086 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19087 (gst_net_client_clock_set_property),
19088 (gst_net_client_clock_get_property),
19089 (gst_net_client_clock_observe_times):
19090 * gst/net/gstnetclientclock.h:
19091 Use regression code in GstClock parent, remove duplicated
19094 2005-11-22 Michael Smith <msmith@fluendo.com>
19096 * gst/gstutils.c: (gst_util_clock_time_scale):
19098 * docs/gst/gstreamer-sections.txt:
19099 Rename method to have extra underscore.
19101 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
19103 * gst/elements/Makefile.am:
19104 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
19105 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19106 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19107 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
19108 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
19109 * gst/elements/gstfakesrc.h:
19110 * gst/gstqueue.c: (queue_leaky_get_type):
19111 correctly fix GEnumValues so that nick is the short lowercase
19113 * tools/gst-inspect.c: (print_element_properties_info):
19114 also show the nick, since it's useful to use from parse_launch
19118 2005-11-22 Michael Smith <msmith@fluendo.com>
19120 * gst/gstutils.c: (gst_util_clocktime_scale):
19122 * docs/gst/gstreamer-sections.txt:
19123 Add util method for scaling a clocktime by a fraction. Useful
19124 implementation is left as an exercise for the reader.
19126 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19128 * gst/gstvalue.c: (gst_value_collect_fraction_range):
19129 If needed, allocate storage in the destination value during
19132 2005-11-22 Edward Hervey <edward@fluendo.com>
19134 * docs/gst/gstreamer-sections.txt:
19137 * gst/gsturitype.c:
19138 * gst/gsturitype.h:
19139 * gst/gstutils.c: (gst_util_set_object_arg):
19140 * tools/gst-compprep.c: (main):
19141 * tools/gst-inspect.c: (print_element_properties_info):
19142 Removed GstURI, closes bug #321061
19144 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19146 * check/gst/gststructure.c: (GST_START_TEST):
19147 * gst/gststructure.c: (gst_structure_parse_value):
19148 Oops, broke automatic string type parsing.
19149 Add a test to catch it in future.
19151 2005-11-22 Andy Wingo <wingo@pobox.com>
19153 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
19154 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
19155 Actually rename the function implementations. Grr.
19157 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19159 * check/gst/capslist.h:
19161 * check/gst/gststructure.c: (GST_START_TEST),
19162 (gst_structure_suite):
19163 Test automatic value type detection in gst_structure_from_string.
19164 * gst/gststructure.c: (gst_structure_parse_value):
19165 Add fraction as a type we try and guess automatically in
19166 caps/structure strings.
19168 2005-11-22 Andy Wingo <wingo@pobox.com>
19170 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
19172 * gst/gsttagsetter.h:
19173 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
19174 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
19175 (gst_tag_setter_add_tag_valist)
19176 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
19177 _add_values, _add_valist, and _add_valist_values. Since this is an
19178 interface the function suffixes should be more explicit so
19179 language binding don't end up with element.add_valist ->
19180 gst_tag_setter_add_valist, for example. Fixes #322069.
19182 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19184 * check/gst/gstcaps.c: (GST_START_TEST):
19185 Extend caps string tests to check that a caps to string
19186 conversion is reversible and produces the same caps.
19188 * gst/gststructure.c: (gst_structure_value_get_generic_type):
19189 Output "fraction" as the generic type fraction range, so caps
19190 serialisation and deserialisation works.
19191 * check/gst/capslist.h:
19192 * gst/gstvalue.c: (gst_value_deserialize_fraction):
19193 Support 'MIN' and 'MAX' for deserialising fractions.
19195 2005-11-22 Andy Wingo <wingo@pobox.com>
19197 * gst/gstevent.h (gst_event_new_new_segment)
19198 (gst_event_parse_new_segment, gst_event_new_buffer_size)
19199 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
19200 Renamed from *_newsegment, *_buffersize, *_notarget.
19202 * scripts/update-funcnames: New script, performs the changes
19205 2005-11-22 Wim Taymans <wim@fluendo.com>
19207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19208 Make sure the GstFlowReturn is returned.
19210 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
19211 (gst_bus_add_signal_watch):
19213 add gst_bus_add_signal_watch_full.
19215 * gst/gstplugin.c: (gst_plugin_load_file):
19216 Small style cleanup.
19218 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19220 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
19221 Block the fakesrc srcpad when we send an event, to avoid
19222 contention on the stream_lock causing random test failures.
19224 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19226 * check/gst/gstvalue.c: (GST_START_TEST):
19227 * gst/gstvalue.c: (gst_value_fraction_subtract):
19230 2005-11-22 Stefan Kost <ensonic@users.sf.net>
19233 include "gstchildproxy.h"
19234 * gst/gstchildproxy.h:
19235 * libs/gst/controller/gstcontroller.h:
19236 use G_GNUC_NULL_TERMINATED
19238 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19240 * check/gst/capslist.h:
19241 * check/gst/gstcaps.c: (GST_START_TEST):
19242 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19243 * gst/gststructure.c: (gst_structure_parse_range),
19244 (gst_structure_fixate_field_nearest_fraction):
19245 * gst/gststructure.h:
19246 * gst/gstvalue.c: (gst_value_init_fraction_range),
19247 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
19248 (gst_value_collect_fraction_range),
19249 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
19250 (gst_value_set_fraction_range_full),
19251 (gst_value_get_fraction_range_min),
19252 (gst_value_get_fraction_range_max),
19253 (gst_value_serialize_fraction_range),
19254 (gst_value_transform_fraction_range_string),
19255 (gst_value_compare_fraction_range),
19256 (gst_value_deserialize_fraction_range),
19257 (gst_value_intersect_fraction_fraction_range),
19258 (gst_value_intersect_fraction_range_fraction_range),
19259 (gst_value_subtract_fraction_fraction_range),
19260 (gst_value_subtract_fraction_range_fraction),
19261 (gst_value_subtract_fraction_range_fraction_range),
19262 (gst_value_collect_fraction), (gst_value_fraction_multiply),
19263 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
19264 (gst_value_transform_string_fraction), (_gst_value_initialize):
19266 Implement fraction ranges and extend GstFraction to support
19267 arithmetic subtraction, as well as deserialization from integer
19268 strings such as "100"
19269 Add a testsuite as for int and double range set operations
19271 2005-11-21 Andy Wingo <wingo@pobox.com>
19273 * gst/gsttaglist.h:
19275 * gst/gststructure.h: Add glib-compat.h.
19277 2005-11-21 Wim Taymans <wim@fluendo.com>
19279 * gst/gstbin.c: (gst_bin_change_state_func):
19282 2005-11-21 Wim Taymans <wim@fluendo.com>
19284 * gst/gstsegment.h:
19285 And add a nice define too.
19287 2005-11-21 Wim Taymans <wim@fluendo.com>
19289 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
19290 (gst_segment_new), (gst_segment_free), (gst_segment_init),
19291 (gst_segment_set_duration), (gst_segment_set_last_stop),
19292 (gst_segment_set_seek), (gst_segment_set_newsegment),
19293 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19294 (gst_segment_clip):
19295 * gst/gstsegment.h:
19296 Make binding friendly.
19298 2005-11-21 Andy Wingo <wingo@pobox.com>
19300 * gst/gsttagsetter.h:
19301 * gst/gsttaglist.h:
19302 * gst/gststructure.h:
19304 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
19307 * gst/gsterror.c (_gst_core_errors_init):
19308 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
19311 * gst/Makefile.am (gst_headers): Add glib-compat.h.
19312 (noinst_HEADERS): noinst the -private.
19314 2005-11-21 Michael Smith <msmith@fluendo.com>
19317 * gst/gstregistry.h:
19318 Remove unimplemented declarations for which we can see no sensible
19321 2005-11-21 Andy Wingo <wingo@pobox.com>
19323 * gst/gst.h: Include glib-compat.h.
19325 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
19327 * gst/glib-compat.c: Include the public and the private header.
19329 * gst/glib-compat-private.h: Copied here from glib-compat.h.
19333 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
19335 * check/gst/gstevent.c (create_custom_events): Check that
19336 FLUSH_STOP is serialized.
19338 * check/elements/identity.c (event_func):
19339 * check/elements/fakesrc.c (event_func): No stream lock, the core
19342 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
19343 stream lock taking, yay.
19345 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
19346 ensure that core takes the stream lock.
19348 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
19351 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
19352 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
19353 it already. For the flush start we do take it though so we get the
19354 right preroll state change messages.
19356 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
19357 the stream lock here, the core does it for us.
19359 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19360 GST_STREAM_GET_LOCK.
19361 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
19362 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
19363 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19364 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19365 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
19366 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19368 * gst/gstpad.c: Update for stream lock name change.
19370 * gst/base/gstbasesink.c: Update for preroll lock name change.
19372 2005-11-21 Wim Taymans <wim@fluendo.com>
19374 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19375 (gst_clock_get_master):
19377 * gst/gstsystemclock.c: (gst_system_clock_init):
19378 Convert Clock flags to object flags.
19379 Added methods to manage master/slave clocks.
19381 2005-11-21 Wim Taymans <wim@fluendo.com>
19383 * check/gst/gstsegment.c: (GST_START_TEST):
19384 * docs/design/part-TODO.txt:
19385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19386 (gst_base_sink_event), (gst_base_sink_do_sync),
19387 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19388 (gst_base_sink_query), (gst_base_sink_change_state):
19389 * gst/base/gstbasesink.h:
19390 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19391 (gst_base_src_default_newsegment),
19392 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19393 (gst_base_src_get_range), (gst_base_src_loop),
19394 (gst_base_src_change_state):
19395 * gst/base/gstbasesrc.h:
19396 * gst/base/gstbasetransform.c:
19397 (gst_base_transform_prepare_output_buf),
19398 (gst_base_transform_event), (gst_base_transform_change_state):
19399 * gst/base/gstbasetransform.h:
19400 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19401 (gst_collect_pads_event):
19402 * gst/base/gstcollectpads.h:
19403 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19404 (gst_fake_src_create):
19405 * gst/elements/gstfakesrc.h:
19406 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19407 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19408 (gst_segment_set_last_stop), (gst_segment_set_seek),
19409 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19410 (gst_segment_to_running_time), (gst_segment_clip):
19411 * gst/gstsegment.h:
19412 More segment updates, replace code in plugins with segment
19415 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19417 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19418 Don't ignore sscanf results
19420 2005-11-21 Andy Wingo <wingo@pobox.com>
19422 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19425 * *.c: Ran scripts/update-macros. Oh yes.
19427 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19428 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19431 * scripts/update-macros: New script. Run it on your files to
19432 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19435 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19437 * docs/gst/Makefile.am:
19438 * docs/gst/gstreamer-docs.sgml:
19439 * docs/gst/gstreamer-sections.txt:
19440 * docs/gst/gstreamer.types:
19442 more docs fixes, add new api to the docs
19444 2005-11-21 Andy Wingo <wingo@pobox.com>
19446 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19447 state_broadcast call.
19449 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19451 2005-11-21 Julien MOUTTE <julien@moutte.net>
19453 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19454 function calls for arrays.
19456 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19458 * docs/random/ensonic/media-device-daemon.txt:
19459 wild idea, can this be done?
19460 * docs/gst/gstreamer-sections.txt:
19465 * gst/gstpluginfeature.c:
19469 doc fixes and additions
19471 2005-11-21 Andy Wingo <wingo@pobox.com>
19473 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
19474 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
19475 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
19476 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19477 private to the basesrc implementation.
19479 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19480 behalf of event function if necessary. It should no longer be
19481 necessary to take the stream lock in pad's event functions. Fixes
19484 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19485 * docs/gst/gstreamer-sections.txt:
19486 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19487 (gst_structure_fixate_field_nearest_double),
19488 (gst_structure_fixate_field_boolean):
19489 * gst/gststructure.h:
19490 * win32/common/libgstreamer.def:
19491 * win32/gstreamer.def:
19493 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19496 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19498 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19499 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19500 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19501 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19502 (gst_fdsrc_uri_handler_init):
19503 * gst/elements/gstfdsrc.h:
19504 Port fd:// URI handler from 0.8 to fdsrc
19506 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19508 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19509 (gst_value_serialize_fourcc):
19511 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19512 consistent with our other format defines (#320324).
19514 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19516 * gst/gstvalue.c: (gst_value_is_fixed):
19517 Revert previous commit. Value lists are by definition
19518 not fixed, as they are a list of possible values.
19520 2005-11-21 Andy Wingo <wingo@pobox.com>
19522 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19523 during the stable series if we need it. Fixes #319178.
19525 * gst/gstevent.c (gst_event_new_filler): Removed.
19527 * check/gst/gstevent.c: Update comment about filler events.
19529 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19531 * gst/gstvalue.c: (gst_value_is_fixed):
19532 Should handle both value arrays and value lists.
19534 2005-11-21 Andy Wingo <wingo@pobox.com>
19536 patch by: Alessandro Dessina <alessandro nnva org>
19538 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19539 functions to access arrays. Fixes #321962.
19541 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19543 * docs/gst/gstreamer.types:
19544 gst_collectpads_get_type => gst_collect_pads_get_type.
19546 * gst/base/gstbasetransform.c:
19547 Remove unused SIGNAL_HANDOFF enum.
19549 2005-11-21 Andy Wingo <wingo@pobox.com>
19551 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19552 the event type (upstream, downstream, serialized). Renamed
19553 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19554 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19555 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19557 * gst/gstevent.c: Update for new CUSTOM event names.
19559 * check/gst/gstevent.c: Update check for new CUSTOM event names.
19562 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19565 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19567 * docs/gst/gstreamer-sections.txt:
19568 * win32/common/libgstbase.def:
19569 * win32/libgstbase.def:
19570 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19571 (gst_collect_pads_class_init), (gst_collect_pads_init),
19572 (gst_collect_pads_finalize), (gst_collect_pads_new),
19573 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19574 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19575 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19576 (gst_collect_pads_start), (gst_collect_pads_stop),
19577 (gst_collect_pads_peek), (gst_collect_pads_pop),
19578 (gst_collect_pads_available), (gst_collect_pads_read),
19579 (gst_collect_pads_flush), (gst_collect_pads_event),
19580 (gst_collect_pads_chain):
19581 * gst/base/gstcollectpads.h:
19582 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19583 unimplemented functions as unimplemented. Add padding to
19584 GstCollectData. (#320766, #320423)
19586 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19588 * gst/gstmessage.c:
19589 Improve docs for DURATION message (usage of duration parameter)
19592 2005-11-20 Wim Taymans <wim@fluendo.com>
19594 * check/Makefile.am:
19595 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19599 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19600 (gst_segment_set_seek), (gst_segment_set_newsegment),
19601 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19602 (gst_segment_clip):
19603 * gst/gstsegment.h:
19604 Added segment helper structure and methods. Not fully implemented
19606 Added segment check.
19608 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
19610 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19611 Add a deserialisation test for fractions
19612 * examples/metadata/read-metadata.c: (message_loop),
19613 (make_pipeline), (main):
19614 Fix up metadata reading sample.
19615 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19617 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19618 Don't try and fixate empty caps
19619 * gst/gst_private.h:
19620 Wrap in G_BEGIN_DECLS/G_END_DECLS
19621 * gst/gstvalue.c: (gst_value_collect_fraction),
19622 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19623 (gst_value_transform_string_fraction),
19624 (gst_value_compare_fraction):
19625 Add some extra guards to ensure that we don't end up
19626 with an invalid denominator of 0 in a gstfraction and
19627 that fractions always get reduced.
19629 2005-11-20 Wim Taymans <wim@fluendo.com>
19631 * docs/gst/gstreamer-sections.txt:
19633 * gst/gstelement.c:
19642 2005-11-20 Wim Taymans <wim@fluendo.com>
19644 * docs/design/part-TODO.txt:
19646 Make a proper enum of the flag.
19648 2005-11-19 Wim Taymans <wim@fluendo.com>
19650 * docs/design/part-TODO.txt:
19651 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19652 (gst_format_to_quark), (gst_format_register):
19654 * gst/gstquery.c: (_gst_query_initialize),
19655 (gst_query_type_get_name), (gst_query_type_to_quark),
19656 (gst_query_type_register):
19658 Add type to quark and type to string conversions.
19660 2005-11-19 Andy Wingo <wingo@pobox.com>
19662 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19665 2005-11-19 Wim Taymans <wim@fluendo.com>
19667 * docs/design/part-TODO.txt:
19668 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19669 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19670 (gst_bin_handle_message_func):
19672 Make message handling overridable.
19674 2005-11-19 Andy Wingo <wingo@pobox.com>
19676 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19679 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19681 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19682 is a GstClockTime. Fixes #321710.
19684 * gst/gstclock.h (GstClock): Remove offset property. Add
19685 internal_calibration and external_calibration. Fix padding. Pad
19686 also by GstClockTime so we don't run into problems.
19688 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19689 (gst_clock_get_rate_offset): Remove.
19690 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19693 * gst/gstutils.c (g_static_rec_cond_wait)
19694 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19696 * gst/gstbin.c: Remove terrible continue_state prototype.
19698 * gst/gstelement.h (gst_element_continue_state): Make public.
19700 * gst/gstelement.h:
19701 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19702 by continue_state. Fixes #319389.
19704 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19705 Really fixes #168438. However I don't see anywhere where the
19706 filter function is called... stupid GStreamer...
19708 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19709 don't have a dispose function, so it won't get called when the
19710 object is unreffed, but oh well!
19712 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19713 allows a destroy function to be set so user_data can be freed.
19715 (gst_index_set_filter): Call gst_index_set_filter_full.
19717 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19719 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19720 string should produce an error, given the lack of a way to
19721 represent NULL strings. Fixes #165650.
19724 * gst/gstvalue.c (gst_value_array_append_value)
19725 (gst_value_array_prepend_value, gst_value_array_get_size)
19726 (gst_value_array_get_value): New API, copied from
19727 gst_value_list_*, only operates on arrays.
19728 (gst_value_list_append_value, gst_value_list_prepend_value)
19729 (gst_value_list_concat, gst_value_list_get_size)
19730 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19732 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19733 init_list, because it works on both.
19734 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19735 (gst_value_copy_list_or_array): Renamed from copy_list.
19736 (gst_value_free_list_or_array): Renamed from free_list.
19737 (gst_value_collect_list_or_array): Renamed from collect_list.
19738 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19739 (gst_value_list_or_array_peek_pointer): Renamed from
19741 (_gst_value_array_value_table, _gst_value_list_value_table):
19742 Update value table functions.
19743 (gst_value_compare_list_or_array): Renamed from compare_list.
19745 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19748 * gst/gsttaglist.c:
19749 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19750 GstTagList*. Fixes #143472.
19752 * gst/gststructure.h: Clarify what the foreach/map functions can
19753 or can't do to their arguments.
19755 2005-11-18 Wim Taymans <wim@fluendo.com>
19757 * gst/gstclock.c: (gst_clock_set_calibration),
19758 (gst_clock_get_calibration):
19760 Calibration can be set with internal time equal to current
19763 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19769 2005-11-18 Andy Wingo <wingo@pobox.com>
19772 * pkgconfig/gstreamer-net.pc.in:
19773 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19774 * pkgconfig/Makefile.am: Add net pkgconfig files.
19776 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19779 * gst/gstghostpad.c:
19785 2005-11-18 Andy Wingo <wingo@pobox.com>
19787 * gst/net/gstnetclientclock.c: Turn off debugging.
19789 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19790 times connverge somewhat. Can't make a real test.
19792 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19793 integer arithmetic. Return the minimum of the domain, which can be
19794 set as "internal" for gst_clock_set_calibration.
19795 (gst_net_client_clock_observe_times): Call _set_calibration.
19796 (gst_net_client_clock_new): Call _set_calibration instead of
19799 * check/net/gstnetclientclock.c (test_functioning): Use the right
19803 * gst/gstclock.c (gst_clock_get_calibration)
19804 (gst_clock_set_calibration): New functions, obsolete the ones I
19805 added yesterday. Doh. Precision issues mean we have to extrapolate
19806 from a point in the more recent past than 1970.
19807 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19809 (gst_clock_adjust_unlocked): Use the right calibration data.
19811 2005-11-18 Edward Hervey <edward@fluendo.com>
19813 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19814 Also reset the ->current_* values in READY->PAUSED
19816 2005-11-18 Andy Wingo <wingo@pobox.com>
19818 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19819 Whoops, check the right fd. Also add some debugging.
19820 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19821 (do_linear_regression): Add a crapload of debugging. Subtract off
19822 the minimum values from the input series to discard unneeded bits.
19823 Use only int arithmetic. There is still double arithmetic when
19824 calculating the intercept that needs fixing. Return boolean to
19825 indicate success; FALSE would mean the domain or range is too
19826 great. Still needs fixes.
19828 2005-11-18 Wim Taymans <wim@fluendo.com>
19830 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19831 For the current position in stream time, we need to subtract
19834 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19835 Release lock before calling the callback function of async
19838 2005-11-18 Andy Wingo <wingo@pobox.com>
19840 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19841 Port goes all the way to MAXUINT16.
19843 * gst/net/gstnettimeprovider.c: Make the port range the same as
19844 for the kernel: 0 assigns, otherwise ports are less than
19847 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19850 * check/net/gstnetclientclock.c (test_functioning): Add the start
19853 2005-11-18 Wim Taymans <wim@fluendo.com>
19855 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19856 (gst_bin_remove_func), (bin_bus_handler):
19858 Removing a clock provider from a bin, triggers a clock lost message
19859 so that a new clock will be selected.
19860 Adding a clock to a bin triggers a clock provider message.
19861 Make sure we reselect a clock when we received a clock lost message.
19862 Keep a reference to the element that provided the clock.
19864 2005-11-18 Andy Wingo <wingo@pobox.com>
19866 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19867 the clock initially so it produces values around the base time.
19868 (gst_net_client_clock_class_init): Typo fix.
19869 (gst_net_client_clock_thread): Add note on when the socket gets
19872 2005-11-17 Wim Taymans <wim@fluendo.com>
19874 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19875 Free remote and local time arrays.
19877 2005-11-17 Wim Taymans <wim@fluendo.com>
19879 * gst/net/gstnetclientclock.c: (do_linear_regression),
19880 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19881 Fix compilation, uninitialized vars and a forgotten continue.
19883 2005-11-17 Andy Wingo <wingo@pobox.com>
19885 * check/Makefile.am (check_PROGRAMS):
19886 * check/net/gstnetclientclock.c: Add a most minimal test for the
19887 net client clock. More to come later.
19889 * gst/net/gstnet.h:
19890 * gst/net/Makefile.am: Add netclientclock.
19892 * gst/net/gstnetclientclock.h:
19893 * gst/net/gstnetclientclock.c: New files, implement an untested
19894 GstClock that takes its time from a network time provider.
19895 Implements the algorithm in network-clock.scm.
19897 * tests/network-clock.scm (*window-size*): Rename from
19899 * tests/network-clock.scm (network-time):
19900 * tests/network-clock-utils.scm (q-push): Update callers.
19902 2005-11-17 Wim Taymans <wim@fluendo.com>
19904 * gst/gstbin.c: (gst_bin_provide_clock_func),
19905 (gst_bin_sort_iterator_new):
19906 And unref the child too..
19908 2005-11-17 Wim Taymans <wim@fluendo.com>
19910 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19911 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19912 Refactor the sort iterator so it can be used while holding the
19914 Make clock selection select a clock closest to the source.
19916 2005-11-17 Michael Smith <msmith@fluendo.com>
19918 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19919 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19921 Anonymous structs are a gcc (and some other compilers) extension, so
19922 don't use them. Since this is only for ABI-compatibility, and our
19923 API/ABI freeze is over in a few days, this whole thing will only
19924 last a few days, so don't bother trying to think up a meaningful
19925 name for the struct.
19927 2005-11-17 Andy Wingo <wingo@pobox.com>
19929 * gst/gstclock.h (GstClock): Add rate and offset properties,
19930 preserving ABI stability. Add rate/offset accessors. Will file bug
19931 for the freeze break.
19933 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19934 and offset, trying to keep precision and avoiding
19935 underflow/overflow.
19936 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19937 functions. Make gst_clock_set_time_adjust obsolete.
19938 (gst_clock_set_time_adjust): Note that this function is obsolete.
19939 Will file bug soon.
19941 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19942 greppable by using GST_PADDING-1+1.
19944 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19946 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19948 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19949 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19951 * gst/gstpadtemplate.h:
19952 * gst/gstpluginfeature.h:
19953 Don't use c++ style comments in headers (#321638).
19955 2005-11-16 Andy Wingo <wingo@pobox.com>
19957 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19960 * check/net/gstnettimeprovider.c: Check to see that the time
19961 provider actually provides times. Works, yo!
19963 2005-11-16 Wim Taymans <wim@fluendo.com>
19965 * check/Makefile.am:
19968 * check/elements/fakesrc.c: (GST_START_TEST):
19969 Set element to NULL before disposing it.
19971 2005-11-16 Andy Wingo <wingo@pobox.com>
19973 * gst/net/Makefile.am:
19974 * gst/net/gstnet.h:
19975 * gst/net/gstnettimeprovider.c:
19976 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19977 provider, include it from gstnet.h, and add it to the build.
19979 * gst/net/gstnettimepacket.h:
19980 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19981 sending and receiving.
19983 2005-11-16 Wim Taymans <wim@fluendo.com>
19985 * check/Makefile.am:
19986 Enable valgrind check.
19988 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19989 (gst_fake_src_alloc_buffer):
19992 2005-11-16 Wim Taymans <wim@fluendo.com>
19994 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19995 Call parent finalize too.
19997 2005-11-16 Wim Taymans <wim@fluendo.com>
19999 * check/Makefile.am:
20000 Enable valgrind check that should work fine now.
20002 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20003 * gst/gstqueue.c: (gst_queue_init):
20004 Fix memleaks in pad allocation.
20006 2005-11-16 Andy Wingo <wingo@pobox.com>
20008 * gst/net/Makefile.am:
20009 * gst/net/gstnet.h: New part of core to hold network elements and
20010 objects. Put in core because it exposes API that applications want
20011 to use. The library is named libgstnet-tempname right now because
20012 of the existing libgstnet in gst-plugins-base. Solution is
20013 probably to rename the one in plugins-base; will file a bug for
20016 * gst/net/gstnettimeprovider.c:
20017 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20018 get_time call over the network.
20021 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20023 * check/Makefile.am:
20024 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20025 get additions shortly.
20027 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20029 * gst/gstpad.c: (gst_pad_new_from_static_template):
20031 add gst_pad_new_from_static_template functions
20032 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20033 (gst_check_setup_sink_pad):
20034 * gst/elements/gsttee.c: (gst_tee_init):
20037 2005-11-16 Wim Taymans <wim@fluendo.com>
20039 * gst/gstpad.c: (gst_pad_pause_task):
20040 Removed warning, it's not really an error either.
20042 2005-11-16 Wim Taymans <wim@fluendo.com>
20044 * gst/base/gstbasetransform.c:
20045 (gst_base_transform_prepare_output_buf),
20046 (gst_base_transform_event):
20047 Check if the caps are NULL, this can happen if the element
20048 is shutting down and the pad caps are set to NULL.
20050 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20052 * gst/elements/gsttee.c: (gst_tee_init):
20053 fix pad template leak in tee
20055 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20057 * gst/glib-compat.c: (g_value_dup_gst_object):
20058 * gst/glib-compat.h:
20059 * gst/gstpad.c: (gst_pad_set_property):
20060 use gst_object_ref when setting the pad template; this will
20061 trigger the pad template leaks on GLib 2.6 and the slaves
20063 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20065 * gst/glib-compat.c: (gst_flags_get_first_value):
20066 * gst/glib-compat.h:
20067 * gst/gstregistryxml.c:
20068 remove functions copied from GLib 2.6
20070 2005-11-16 Michael Smith <msmith@fluendo.com>
20073 Don't link against VALGRIND_LIBS. That was always the wrong thing to
20074 do, but only breaks with newer valgrind versions. We're not a
20075 valgrind tool, we have no link-time dependencies on libcoregrind.
20077 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20079 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20081 * gst/gstmessage.h:
20084 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20086 * gst/base/gstbasesrc.c: (gst_base_src_init):
20087 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20088 * gst/gstqueue.c: (gst_queue_init):
20089 * gst/gstregistryxml.c: (load_feature):
20090 Revert all these unrefs, they don't even pass make check !
20092 2005-11-15 Johan Dahlin <johan@gnome.org>
20094 * gst/base/gstbasesrc.c: (gst_base_src_init):
20095 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20096 * gst/gstqueue.c: (gst_queue_init):
20097 Free pad templates, fixes a couple of leaks.
20099 2005-11-15 Daniel Fischer <dan at f3c dot com>
20101 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20103 * gst/gstpad.c: (gst_pad_get_property):
20104 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
20105 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
20108 2005-11-15 Wim Taymans <wim@fluendo.com>
20113 2005-11-15 Andy Wingo <wingo@pobox.com>
20115 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
20117 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
20118 using GST_CLOCK_TIME_NONE to disable base time management.
20119 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
20120 time if it was NONE before.
20121 (gst_pipeline_change_state): Only munge the base time if
20122 stream_time != GST_CLOCK_TIME_NONE.
20124 * check/gst/gstpipeline.c (test_base_time): Punt around the
20125 problem of the probe not being called, because that's not the
20126 issue I'm looking at. Add a check that setting stream_time to NONE
20127 disables base time management.
20129 2005-11-15 Wim Taymans <wim@fluendo.com>
20131 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20132 segment_stop == -1 at startup.
20134 * gst/base/gstbasetransform.c: (gst_base_transform_event),
20135 (gst_base_transform_change_state):
20136 Init segment values at start.
20138 2005-11-15 Wim Taymans <wim@fluendo.com>
20140 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20141 0 segment values are 0 in any format.
20143 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20144 * gst/base/gstbasetransform.h:
20145 Parse newsegment correctly in basetransform
20147 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20148 Sync to clock using updated segment values.
20150 2005-11-15 Andy Wingo <wingo@pobox.com>
20152 * check/gst/gstpipeline.c (test_base_time): Add check that the
20153 base time and stream time are reset correctly.
20155 2005-11-15 Wim Taymans <wim@fluendo.com>
20157 * docs/design/part-TODO.txt:
20158 Some more TODO items.
20160 2005-11-15 Andy Wingo <wingo@pobox.com>
20162 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
20163 error if the user selected "no clock" as the clocking method.
20165 * check/gst/gstpipeline.c (test_base_time): New test for buffer
20166 timestamps with live capture.
20168 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
20169 is 0 but we are a live source, timestamp the buffers using the
20172 2005-11-14 Stefan Kost <ensonic@users.sf.net>
20174 * docs/gst/gstreamer-sections.txt:
20176 * gst/gstghostpad.c:
20181 2005-11-14 Wim Taymans <wim@fluendo.com>
20184 add suppressions from Wim's Debian machine
20186 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
20189 add suppressions from Andy's AMD64 Ubuntu machine
20191 2005-11-14 Andy Wingo <wingo@pobox.com>
20193 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
20194 STATE_LOCK not necessary. Fixes #311489.
20196 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
20199 * gst/gstindex.c (gst_index_add_object): Note in the docs that
20200 this function is not implemented.
20202 2005-11-14 Julien MOUTTE <julien@moutte.net>
20204 * gst/base/gstbasetransform.c:
20205 (gst_base_transform_prepare_output_buf):
20206 Ref the source pad caps while we need them.
20209 2005-11-11 Wim Taymans <wim@fluendo.com>
20211 * docs/gst/gstreamer-sections.txt:
20212 Added some docs for GstCollectData.
20214 * gst/base/gstadapter.c:
20215 Some small code example fix.
20217 * gst/base/gstcollectpads.c:
20218 * gst/base/gstcollectpads.h:
20219 Document some more.
20221 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
20223 * configure.ac: back to HEAD
20225 === release 0.9.5 ===
20227 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
20230 releasing 0.9.5, "Bike Lunch Day"
20232 2005-11-11 Wim Taymans <wim@fluendo.com>
20234 * gst/gstbuffer.c: (_gst_buffer_copy):
20237 * gst/gstcaps.c: (gst_caps_is_equal):
20239 Make _is_equal fast in the trivial cases.
20241 * gst/gstminiobject.c:
20242 * gst/gstminiobject.h:
20243 More docs. Spifify .h file.
20248 2005-11-11 Wim Taymans <wim@fluendo.com>
20250 * gst/base/gstbasetransform.c:
20251 (gst_base_transform_prepare_output_buf),
20252 (gst_base_transform_handle_buffer):
20254 If we're processing a buffer and need to allocate an output
20255 buffer, we cannot accept a format change. If we did get a
20256 format change, we have to alloc a buffer ourselves of the
20259 2005-11-11 Wim Taymans <wim@fluendo.com>
20261 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
20262 While checking the flag for reentrancy in the gstcaps function
20263 is nice to detect recursive invocations, it also makes it
20264 impossible to call getcaps from multiple threads, which must be
20265 possible. So, checking for recursive calls has to go.
20267 2005-11-11 Michael Smith <msmith@fluendo.com>
20269 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20270 Don't sync on buffers that fall partially outside our current
20271 segment. Prevents an assertion failure/abort playing some files.
20273 2005-11-10 Andy Wingo <wingo@pobox.com>
20275 * check/gst/gstbin.c (test_message_state_changed_children): Style
20278 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
20279 gst_bus_poll with the signal watch. Ensures that poll and a signal
20280 watch see the same messages.
20282 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
20283 a poll and a watch at the same time get the same messages.
20285 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
20287 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
20288 * gst/gstcaps.c: (gst_caps_intersect):
20289 Don't call gst_caps_do_simplify - it doesn't respect order of caps
20290 and it's not needed.
20292 2005-11-10 Wim Taymans <wim@fluendo.com>
20294 * docs/design/part-TODO.txt:
20297 2005-11-10 Wim Taymans <wim@fluendo.com>
20299 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20300 * gst/base/gstbasesrc.c: (gst_base_src_wait),
20301 (gst_base_src_do_sync), (gst_base_src_get_range):
20302 Implement clock sync in base class.
20304 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
20306 patch by: Tim-Philipp Müller <tim at centricular dot net>
20308 * gst/gststructure.c: (gst_structure_parse_field),
20309 (gst_structure_from_string):
20310 Forward-port a 0.8 patch to handle escaped spaces in structure string,
20311 so that gst_parse_launch() can deal with spaces in filtered link
20312 caps (fixes #164479)
20313 * check/gst/capslist.h:
20314 * check/gst/gststructure.c: (GST_START_TEST):
20315 add unit tests for this change
20317 2005-11-10 Wim Taymans <wim@fluendo.com>
20319 * docs/gst/gstreamer-sections.txt:
20320 * gst/gstelement.c:
20321 * gst/gstelement.h:
20322 Fix docs, move some STATE macros to private.
20324 2005-11-10 Wim Taymans <wim@fluendo.com>
20326 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20327 Added check for bug #317341
20331 Some more spiffifying.
20333 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
20334 Call peer linkfunction if we are a source pad. Totally fixes
20338 Update docs, source pads should call the peer linkfunction
20339 so they can atomically perform the pad link.
20341 2005-11-09 Wim Taymans <wim@fluendo.com>
20345 Uber-spiffy-spiffify some more.
20347 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
20349 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
20350 * gst/elements/gstfilesink.c: (gst_file_sink_init):
20351 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20352 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
20353 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
20354 * gst/gstpad.c: (gst_pad_init):
20355 Use GST_DEBUG_FUNCPTR() more extensively.
20357 2005-11-09 Wim Taymans <wim@fluendo.com>
20359 * gst/gstobject.c: (gst_object_class_init):
20361 Documentation fixes.
20363 2005-11-09 Edward Hervey <edward@fluendo.com>
20365 * gst/gsttypefindfactory.c:
20368 2005-11-09 Edward Hervey <edward@fluendo.com>
20370 * gst/base/gsttypefindhelper.c:
20371 * gst/gsttypefind.c:
20372 * gst/gsttypefind.h:
20375 2005-11-09 Wim Taymans <wim@fluendo.com>
20377 * gst/gstiterator.c:
20384 2005-11-09 Wim Taymans <wim@fluendo.com>
20390 2005-11-09 Wim Taymans <wim@fluendo.com>
20392 * docs/gst/gstreamer-sections.txt:
20393 Moved the message async delivery private lock and cond
20394 to the private section.
20396 * gst/gstmessage.c:
20397 * gst/gstmessage.h:
20400 2005-11-09 Edward Hervey <edward@fluendo.com>
20402 * docs/gst/gstreamer-sections.txt:
20405 Document GstURIHandler
20407 2005-11-09 Wim Taymans <wim@fluendo.com>
20409 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20410 (gst_iterator_find_custom):
20411 * gst/gstiterator.h:
20414 2005-11-09 Wim Taymans <wim@fluendo.com>
20417 Document another field.
20419 * gst/gststructure.c:
20420 * gst/gststructure.h:
20423 2005-11-09 Wim Taymans <wim@fluendo.com>
20426 Documented structs.
20428 2005-11-09 Wim Taymans <wim@fluendo.com>
20430 * docs/gst/gstreamer-sections.txt:
20431 Added some new macros.
20438 2005-11-09 Wim Taymans <wim@fluendo.com>
20440 * docs/design/part-TODO.txt:
20441 Some more items for the TODO
20447 2005-11-09 Andy Wingo <wingo@pobox.com>
20449 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20450 to work on something else now tho...
20452 * gst/base/gstadapter.c: More adapter docs.
20454 * gst/elements/gstfilesink.c (gst_file_sink_start)
20455 (gst_file_sink_stop): New functions, replace the state change
20457 (gst_file_sink_class_init): Hook up the start and stop functions.
20458 (gst_file_sink_base_init): Don't set the state change handler any
20459 more. It was a bit ugly too, being set from here...
20460 (gst_file_sink_get_property, gst_file_sink_set_property):
20462 (gst_file_sink_set_location): More robust check that doesn't call
20463 GST_STATE. Ugggggg.
20465 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
20467 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20468 Hold STREAM_LOCK while pushing newsegment or tag events as well.
20470 2005-11-08 Wim Taymans <wim@fluendo.com>
20472 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20473 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20474 (gst_base_sink_chain), (gst_base_sink_change_state):
20475 * gst/base/gstbasesink.h:
20476 * gst/base/gstbasesrc.h:
20477 * gst/gstelement.h:
20479 Avoid excessive typechecking in macros.
20481 * gst/gstminiobject.c: (gst_mini_object_get_type),
20482 (gst_mini_object_init), (gst_mini_object_new),
20483 (gst_mini_object_free):
20484 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20485 (gst_object_finalize):
20486 Remove cruft code, optimize alloc_trace.
20488 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
20490 * docs/faq/gst-uninstalled:
20491 fix up PS1 for systems that try to reset it
20493 2005-11-07 Wim Taymans <wim@fluendo.com>
20495 * gst/base/gstbasesrc.c: (gst_base_src_init),
20496 (gst_base_src_get_range):
20497 Set the segment_end to -1 initially. Fixed typefind.
20499 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
20501 * gst/base/gstadapter.c:
20502 Debug category should be 'adapter', not 'GstAdapter'.
20504 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20505 (gst_collectpads_class_init), (gst_collectpads_init),
20506 (gst_collectpads_peek), (gst_collectpads_pop),
20507 (gst_collectpads_event), (gst_collectpads_chain):
20508 Add debug category and some debugging output. Use boilerplate
20509 macros. Remove some extraneous words from docs.
20511 2005-11-05 Andy Wingo <wingo@pobox.com>
20513 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20516 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20518 * docs/gst/gstreamer-sections.txt:
20521 * gst/gstminiobject.h:
20526 2005-11-04 Wim Taymans <wim@fluendo.com>
20528 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20529 Small update to stop at the configured segment_end
20532 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20534 * gst/gstregistry.c:
20535 * gst/gstregistry.h:
20538 2005-11-04 Edward Hervey <edward@fluendo.com>
20540 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20541 Check if we are doing a segment seek and have arrived at the
20542 end of that segment.
20544 2005-11-04 Wim Taymans <wim@fluendo.com>
20546 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20547 Don't leak a mutex unlock in case of an error.
20552 2005-11-04 Wim Taymans <wim@fluendo.com>
20554 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20556 Get the context to wake up only once.
20558 2005-11-03 Wim Taymans <wim@fluendo.com>
20560 * check/states/sinks.c: (GST_START_TEST):
20561 Uncomment fixed check.
20563 * docs/design/part-TODO.txt:
20566 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20567 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20568 (gst_base_sink_get_position):
20569 If we are going to PLAYING, post the right pending state
20570 when we post the intermediate paused message.
20572 * gst/gstelement.c: (gst_element_continue_state),
20573 (gst_element_set_state_func), (gst_element_change_state):
20574 Don't post state changes that were between the same state
20575 and were not ASYNC.
20577 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20579 * docs/gst/gstreamer-sections.txt:
20582 * gst/gstminiobject.h:
20585 more docs and doc style fixes
20587 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20589 * docs/gst/gstreamer-sections.txt:
20590 * gst/gstelement.c:
20591 * gst/gstminiobject.c:
20594 2005-11-03 Andy Wingo <wingo@pobox.com>
20596 * check/states/sinks.c (test_livesrc_sink): Add checks that the
20597 state-changed messages actually have the right order and the right
20600 2005-11-03 Wim Taymans <wim@fluendo.com>
20602 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20603 Added some more checks. Specifically the case where NO_PREROLL
20604 elements are in the pipeline.
20606 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20607 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20608 (gst_base_sink_get_position):
20609 Post READY->PAUSED state change messages too.
20610 Fix bug where VOID was posted as pending state...
20612 * gst/gstbin.c: (gst_bin_recalc_state):
20613 use _element_continue_state() to continue the state change.
20615 * gst/gstelement.c: (gst_element_continue_state),
20616 (gst_element_commit_state), (gst_element_set_state_func),
20617 (gst_element_change_state), (gst_element_change_state_func):
20618 Lots of state change cleanups, assign the STATE_RETURN in
20619 a new continue_state() function that also propagates the
20620 last return value from a state change to the app.
20621 Update some debug statements with proper category.
20623 2005-11-03 Wim Taymans <wim@fluendo.com>
20625 * docs/design/part-events.txt:
20626 * docs/design/part-gstpipeline.txt:
20627 * docs/design/part-messages.txt:
20628 * docs/design/part-overview.txt:
20629 * docs/design/part-seeking.txt:
20630 * docs/design/part-states.txt:
20631 * docs/design/part-trickmodes.txt:
20632 * docs/manual/advanced-position.xml:
20633 Small docs updates.
20636 People think !! is ugly, this looks better.
20638 * gst/gstpad.c: (gst_pad_set_blocked_async):
20639 Remove !! since it's fixed elsewhere now.
20641 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20643 * gst/gstminiobject.h:
20645 Add !! to _FLAG_IS_SET macros to make the result boolean.
20647 2005-11-03 Edward Hervey <edward@fluendo.com>
20649 * gst/gstpad.c: (gst_pad_set_blocked_async):
20650 comparing a flag and a gboolean rarely returns coherent results...
20651 Added two characters (!!) to make that work correctly.
20653 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20655 * gst/gstbus.c: (gst_bus_class_init):
20658 * gst/gstqueue.c: (gst_queue_loop):
20659 Don't assume a miniobject that isn't a buffer is an
20660 event (it could be that there is a refcounting
20661 problem somewhere and the pointer is stale and
20662 refers to an already destroyed miniobject).
20664 2005-11-03 Julien MOUTTE <julien@moutte.net>
20666 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20668 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20670 * docs/manual/advanced-position.xml:
20671 Update seek example and explanations to current 0.9 API.
20673 * gst/elements/gsttypefindelement.c:
20674 (gst_type_find_element_activate):
20675 Remove FIXME comment now that the found caps
20678 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20680 * gst/gstregistryxml.c: (load_feature):
20681 Add another GST_STR_NULL instance
20683 2005-11-02 Edward Hervey <edward@fluendo.com>
20685 * gst/gstpad.c: (handle_pad_block):
20686 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20688 2005-11-02 Wim Taymans <wim@fluendo.com>
20693 * gst/gstelement.c: (gst_element_commit_state):
20694 Remove unused value.
20696 * gst/gstiterator.c:
20697 Mention that the returned element is reffed in the docs.
20699 2005-11-02 Wim Taymans <wim@fluendo.com>
20701 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20702 (gst_pad_push), (gst_pad_push_event):
20703 Unlock blocked pads when they are flushed.
20705 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20708 * docs/gst/gstreamer-sections.txt:
20711 * gst/gstregistry.c: (gst_registry_scan_path_level):
20712 fix for a nasty little missed situation where an installed plug-in
20713 which was in the cache did not get overridden by an uninstalled one
20714 which was earlier in the plugin path because the newly created plugin
20715 for the uninstalled one (not in the registry) didn't get its
20716 ->registered set to TRUE
20718 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20720 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20721 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20722 (gst_collectpads_is_active), (gst_collectpads_collect),
20723 (gst_collectpads_collect_range), (gst_collectpads_start),
20724 (gst_collectpads_stop), (gst_collectpads_peek),
20725 (gst_collectpads_pop), (gst_collectpads_available),
20726 (gst_collectpads_read), (gst_collectpads_flush):
20727 Guard public API with assertions.
20730 Fix docs for gst_pad_set_link_function().
20732 2005-11-02 Johan Dahlin <johan@gnome.org>
20734 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20735 Unref found_caps after we used it.
20737 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20739 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20740 Don't try to ref NULL.
20742 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20744 * win32/common/config.h.in:
20745 provide a GST_FUNCTION that just gives a string for now
20747 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20749 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20750 (gst_object_flags_get_type), (register_gst_bin_flags),
20751 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20752 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20753 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20754 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20755 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20756 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20757 (gst_clock_flags_get_type), (register_gst_state),
20758 (gst_state_get_type), (register_gst_state_change_return),
20759 (gst_state_change_return_get_type), (register_gst_state_change),
20760 (gst_state_change_get_type), (register_gst_element_flags),
20761 (gst_element_flags_get_type), (register_gst_core_error),
20762 (gst_core_error_get_type), (register_gst_library_error),
20763 (gst_library_error_get_type), (register_gst_resource_error),
20764 (gst_resource_error_get_type), (register_gst_stream_error),
20765 (gst_stream_error_get_type), (register_gst_event_type),
20766 (gst_event_type_get_type), (register_gst_seek_type),
20767 (gst_seek_type_get_type), (register_gst_seek_flags),
20768 (gst_seek_flags_get_type), (register_gst_format),
20769 (gst_format_get_type), (register_gst_index_certainty),
20770 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20771 (gst_index_entry_type_get_type),
20772 (register_gst_index_lookup_method),
20773 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20774 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20775 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20776 (gst_index_flags_get_type), (register_gst_debug_level),
20777 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20778 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20779 (gst_iterator_result_get_type), (register_gst_iterator_item),
20780 (gst_iterator_item_get_type), (register_gst_message_type),
20781 (gst_message_type_get_type), (register_gst_mini_object_flags),
20782 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20783 (gst_pad_link_return_get_type), (register_gst_flow_return),
20784 (gst_flow_return_get_type), (register_gst_activate_mode),
20785 (gst_activate_mode_get_type), (register_gst_pad_direction),
20786 (gst_pad_direction_get_type), (register_gst_pad_flags),
20787 (gst_pad_flags_get_type), (register_gst_pad_presence),
20788 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20789 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20790 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20791 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20792 (gst_plugin_flags_get_type), (register_gst_rank),
20793 (gst_rank_get_type), (register_gst_query_type),
20794 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20795 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20796 (gst_tag_flag_get_type), (register_gst_task_state),
20797 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20798 (gst_alloc_trace_flags_get_type),
20799 (register_gst_type_find_probability),
20800 (gst_type_find_probability_get_type), (register_gst_uri_type),
20801 (gst_uri_type_get_type), (register_gst_parse_error),
20802 (gst_parse_error_get_type):
20803 * win32/common/gstversion.h:
20804 update win32 copies
20806 2005-11-01 Luca Ognibene <luogni@tin.it>
20809 fix docs. popt is dead, long live GOption.
20811 2005-10-31 Wim Taymans <wim@fluendo.com>
20816 2005-10-31 Andy Wingo <wingo@pobox.com>
20820 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20822 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20823 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20824 the possibility of deadlocks here if code calling notify() or
20825 set() has a lock that can be taken in another notify handler (ABBA
20826 with class lock and e.g. python GIL state lock).
20828 2005-10-28 Julien MOUTTE <julien@moutte.net>
20830 * gst/gstbus.c: Doc updates.
20832 2005-10-28 Wim Taymans <wim@fluendo.com>
20834 * docs/design/part-TODO.txt:
20835 * gst/gstiterator.c:
20836 * gst/gstsystemclock.c:
20837 * gst/gstsystemclock.h:
20840 2005-10-28 Edward Hervey <edward@fluendo.com>
20842 * docs/gst/gstreamer-docs.sgml:
20843 * docs/gst/gstreamer-sections.txt:
20844 the GstURIType documentation page is private, it only defines GstURIType
20845 which should be defined in the GstURIHandler page
20847 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20849 * gst/gstbin.c: (gst_bin_class_init):
20852 Documentation updates.
20854 2005-10-28 Wim Taymans <wim@fluendo.com>
20856 * docs/gst/gstreamer-sections.txt:
20859 Documented the clocks.
20861 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20863 * docs/gst/gstreamer-sections.txt:
20864 move some macros to private sections
20865 * gst/gstminiobject.c:
20866 * gst/gstminiobject.h:
20867 add descriptions provided by ds and some more
20869 mark macro as to be removed
20871 2005-10-28 Wim Taymans <wim@fluendo.com>
20873 * docs/design/part-TODO.txt:
20874 Add an item to TODO.
20876 * gst/gstiterator.c: (gst_iterator_fold),
20877 (gst_iterator_find_custom):
20878 * gst/gstiterator.h:
20881 2005-10-28 Wim Taymans <wim@fluendo.com>
20883 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20884 (gst_base_transform_init):
20887 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20888 An EOS event marks the queue as completely filled.
20890 2005-10-27 Wim Taymans <wim@fluendo.com>
20892 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20893 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20894 Some more debugging.
20896 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20897 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20898 (gst_base_transform_event), (gst_base_transform_getrange),
20899 (gst_base_transform_chain):
20900 * gst/base/gstbasetransform.h:
20902 Protect transform and concurrent buffer alloc with a new lock.
20903 Try not to break ABI/API.
20905 2005-10-27 Wim Taymans <wim@fluendo.com>
20907 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20908 (gst_base_src_init), (gst_base_src_query),
20909 (gst_base_src_default_newsegment),
20910 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20911 (gst_base_src_send_event), (gst_base_src_event_handler),
20912 (gst_base_src_pad_get_range), (gst_base_src_loop),
20913 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20914 (gst_base_src_start), (gst_base_src_deactivate),
20915 (gst_base_src_activate_push), (gst_base_src_change_state):
20916 Move some stuff around and cleanup things.
20918 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20920 * gst/base/gstbasesrc.c: (gst_base_src_query):
20921 Add missing break statements.
20923 2005-10-27 Wim Taymans <wim@fluendo.com>
20925 * check/gst/gstbin.c: (GST_START_TEST):
20926 An extra refcount is taken in basesrc.
20928 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20929 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20930 (gst_base_src_loop):
20931 Small cleanups, check for flushing after being unlocked from the
20932 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20933 Don't send out EOS when going to READY.
20935 2005-10-27 Wim Taymans <wim@fluendo.com>
20937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20938 (gst_base_sink_get_position):
20941 * gst/gstbin.c: (message_check), (bin_replace_message),
20942 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20943 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20944 (bin_query_duration_init), (bin_query_duration_fold),
20945 (bin_query_duration_done), (bin_query_generic_fold),
20947 * tools/gst-launch.c: (main):
20950 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20952 * examples/controller/audio-example.c: (main):
20953 * examples/queue/queue.c: (event_loop):
20954 * gst/base/gstbasetransform.h:
20955 * gst/gstelement.c: (gst_element_send_event):
20957 * gst/gstpad.c: (gst_pad_send_event):
20960 changing log priority in error situations
20962 2005-10-25 Wim Taymans <wim@fluendo.com>
20964 * gst/gstbin.c: (message_check), (bin_replace_message),
20965 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20966 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20967 (bin_query_duration_init), (bin_query_duration_fold),
20968 (bin_query_duration_done), (bin_query_generic_fold),
20970 Some doc and debug updates.
20971 Cache previously requested query DURATION for speed. invalidate
20972 cached duration if element posts a DURATION message.
20974 2005-10-25 Wim Taymans <wim@fluendo.com>
20976 * docs/design/part-TODO.txt:
20979 * gst/gstbin.c: (message_check), (bin_replace_message),
20980 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20981 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20982 (bin_query_duration_init), (bin_query_duration_fold),
20983 (bin_query_duration_done), (bin_query_generic_fold),
20985 Handle SEGMENT_START/DONE messages correctly.
20986 More evolved query algorithm that handles duration queries
20989 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20990 (gst_element_get_state_func), (gst_element_abort_state),
20991 (gst_element_commit_state), (gst_element_lost_state):
20992 Some more debugging.
20994 * gst/gstmessage.h:
20997 2005-10-25 Wim Taymans <wim@fluendo.com>
20999 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21000 Don't use invalid stream_time.
21002 * gst/gstevent.c: (gst_event_new_newsegment):
21003 stream_time in newsegment cannot be undefined.
21005 2005-10-24 Wim Taymans <wim@fluendo.com>
21010 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21012 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21014 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21016 * docs/libs/tmpl/gstdparam.sgml:
21017 * docs/libs/tmpl/gstdplinint.sgml:
21018 * docs/libs/tmpl/gstdpman.sgml:
21019 * docs/libs/tmpl/gstdpsmooth.sgml:
21020 * docs/libs/tmpl/gstunitconvert.sgml:
21023 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21028 === release 0.9.4 ===
21030 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21033 releasing 0.9.4, "Tyrannosaurus Rex"
21035 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21037 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21038 (gst_file_sink_get_current_offset):
21039 Use fseeko() and ftello() if available. When falling back on
21040 lseek() to get the current offset, fflush() first to make sure
21041 everything is up-to-date and we get the right offset.
21043 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21045 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21046 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21047 * gst/gsterror.c: (_gst_stream_errors_init):
21049 * gst/gstqueue.c: (gst_queue_loop):
21051 remove prematurely added error category and clean up the instances
21053 2005-10-21 Wim Taymans <wim@fluendo.com>
21055 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21056 (gst_base_sink_get_position), (gst_base_sink_query),
21057 (gst_base_sink_change_state):
21058 Simply set the right flag when going to playing, that's all
21059 we need to do instead of calling a function inside the object
21060 lock (that could take the lock as well and deadlock)
21062 2005-10-21 Wim Taymans <wim@fluendo.com>
21064 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21065 (gst_base_src_loop):
21066 Don't warn, the peer element knows what to do best when
21067 the seek failed, it might try something else.
21069 2005-10-21 Wim Taymans <wim@fluendo.com>
21071 * gst/base/gstbasesrc.c: (gst_base_src_init),
21072 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21075 2005-10-21 Wim Taymans <wim@fluendo.com>
21077 * docs/design/part-segments.txt:
21080 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21081 Correctly set caps, even on the subbufer.
21083 2005-10-21 Wim Taymans <wim@fluendo.com>
21085 * docs/gst/gstreamer-docs.sgml:
21086 * docs/gst/gstreamer-sections.txt:
21087 * gst/gstelement.h:
21090 * gst/gstmessage.h:
21093 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21097 And 2% more doc coverage.
21099 2005-10-21 Andy Wingo <wingo@pobox.com>
21101 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
21102 position reporting.
21104 2005-10-20 Wim Taymans <wim@fluendo.com>
21106 * gst/gsterror.c: (gst_error_get_message):
21109 * gst/gststructure.c:
21114 2005-10-20 Wim Taymans <wim@fluendo.com>
21119 Another 1% more coverage.
21121 2005-10-20 Wim Taymans <wim@fluendo.com>
21123 * docs/gst/gstreamer-sections.txt:
21124 * gst/gstelement.c: (gst_element_get_state_func),
21125 (gst_element_abort_state), (gst_element_commit_state),
21126 (gst_element_lost_state):
21128 * gst/gstquery.c: (gst_query_set_position),
21129 (gst_query_parse_position), (gst_query_set_duration),
21130 (gst_query_parse_duration), (gst_query_new_convert):
21132 Yay! 1% more docs coverage.
21134 2005-10-20 Wim Taymans <wim@fluendo.com>
21137 * gst/gstquery.c: (gst_query_set_position),
21138 (gst_query_parse_position), (gst_query_set_duration),
21139 (gst_query_parse_duration), (gst_query_new_convert):
21141 * gst/gstutils.c: (gst_element_query_convert):
21143 Docs and consistency fixes.
21145 2005-10-20 Wim Taymans <wim@fluendo.com>
21151 2005-10-20 Wim Taymans <wim@fluendo.com>
21153 * gst/gstbin.c: (message_check), (bin_replace_message),
21154 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21155 (update_degree), (gst_bin_sort_iterator_next),
21156 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
21157 Reworked the message handling a bit, cache the messages instead of
21158 only the senders. alows us to do more in the future.
21160 2005-10-20 Wim Taymans <wim@fluendo.com>
21162 * docs/design/part-TODO.txt:
21165 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21166 (gst_base_sink_query):
21167 Don't use clock time to report position when in EOS.
21169 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
21171 * tools/gst-inspect.c: (print_interfaces),
21172 (print_element_properties_info), (print_element_info):
21173 Fix interface output with gst-inspect -a; don't print
21174 newlines after double/float properties.
21176 2005-10-20 Wim Taymans <wim@fluendo.com>
21178 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21179 (gst_base_sink_query):
21180 Speed up current position calculation.
21182 * gst/base/gstbasesrc.c: (gst_base_src_query),
21183 (gst_base_src_default_newsegment):
21184 Correctly set stream position in newsegment.
21186 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
21187 (update_degree), (gst_bin_sort_iterator_next),
21188 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
21189 * gst/gstmessage.c: (gst_message_new_custom):
21190 Clean up debugging info
21192 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21193 (gst_queue_loop), (gst_queue_handle_src_query):
21196 2005-10-19 Wim Taymans <wim@fluendo.com>
21198 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21199 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
21200 Fix query handling again.
21202 2005-10-19 Wim Taymans <wim@fluendo.com>
21204 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21205 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
21206 * gst/base/gstbasesrc.c: (gst_base_src_query):
21207 * gst/elements/gstfilesink.c: (gst_file_sink_query):
21208 * gst/elements/gsttypefindelement.c:
21209 (gst_type_find_handle_src_query), (find_element_get_length),
21210 (gst_type_find_element_activate):
21213 * gst/gstquery.c: (gst_query_new_position),
21214 (gst_query_set_position), (gst_query_parse_position),
21215 (gst_query_new_duration), (gst_query_set_duration),
21216 (gst_query_parse_duration), (gst_query_set_segment),
21217 (gst_query_parse_segment):
21219 Bundling query position/duration is not a good idea since duration
21220 does not change much and we don't want to recalculate it for every
21221 position query, so they are separated again..
21222 Base value in segment query is not needed.
21224 * gst/gstqueue.c: (gst_queue_handle_src_query):
21225 * gst/gstutils.c: (gst_element_query_position),
21226 (gst_element_query_duration), (gst_pad_query_position),
21227 (gst_pad_query_duration):
21229 Updates for query API change.
21230 Added some docs here and there.
21232 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
21234 * check/gst/gstbin.c: (GST_START_TEST):
21235 * check/gst/gstghostpad.c: (GST_START_TEST):
21236 * check/pipelines/cleanup.c: (GST_START_TEST):
21237 wait on thread to die so we can check refcount correctly
21239 2005-10-18 Wim Taymans <wim@fluendo.com>
21241 * check/pipelines/stress.c: (GST_START_TEST):
21242 Make check a little more time consuming.
21244 2005-10-18 Wim Taymans <wim@fluendo.com>
21246 * check/Makefile.am:
21247 * check/pipelines/stress.c: (GST_START_TEST),
21248 (simple_launch_lines_suite), (main):
21249 Small state change torture test.
21251 * docs/design/part-states.txt:
21252 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21253 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
21254 (gst_base_sink_change_state):
21255 Never take state lock from streaming thread, clean up ugly
21256 hacks. Unfortunatly core does not yet support nice ways to
21257 async commit state.
21259 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
21261 Start state recalc if a STATE_DIRTY message is posted, but only
21262 on the toplevel bin.
21264 * gst/gstelement.c: (gst_element_sync_state_with_parent),
21265 (gst_element_get_state_func), (gst_element_abort_state),
21266 (gst_element_commit_state), (gst_element_lost_state),
21267 (gst_element_set_state_func), (gst_element_change_state):
21268 * gst/gstelement.h:
21269 State variables are now protected with the LOCK, the state
21270 lock is only used to serialize _set_state().
21272 2005-10-18 Wim Taymans <wim@fluendo.com>
21274 * check/gst/gstbin.c: (GST_START_TEST):
21275 * check/gst/gstmessage.c: (GST_START_TEST):
21276 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
21279 * gst/gstelement.c: (gst_element_abort_state),
21280 (gst_element_commit_state), (gst_element_lost_state):
21281 * gst/gstmessage.c: (gst_message_new_state_changed),
21282 (gst_message_new_state_dirty), (gst_message_new_segment_start),
21283 (gst_message_new_segment_done), (gst_message_new_duration),
21284 (gst_message_parse_state_changed),
21285 (gst_message_parse_segment_start),
21286 (gst_message_parse_segment_done), (gst_message_parse_duration):
21287 * gst/gstmessage.h:
21288 * tools/gst-launch.c: (event_loop):
21289 Seriously, this is better than a previous commit as we only need
21290 to notify the fact that an element changed state in a streaming
21291 thread, marking the state of the parents dirty, hence the
21292 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
21295 2005-10-18 Wim Taymans <wim@fluendo.com>
21297 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
21298 (gst_bin_recalc_func):
21299 * gst/gstelement.c: (gst_element_set_clock),
21300 (gst_element_abort_state), (gst_element_lost_state):
21301 Cleanups, prepare for state change fixes.
21303 2005-10-18 Wim Taymans <wim@fluendo.com>
21306 * gst/gstelement.c: (gst_element_class_init),
21307 (gst_element_set_state), (gst_element_set_state_func):
21308 * gst/gstelement.h:
21309 Pending ABI changes.
21310 GThreadPool in GstBinClass to monitor async state changes.
21311 state_cookie in GstElement to detect concurrent gst/set state.
21312 set_state is now virtual too in case a very complicated element
21313 has to be constructed.
21315 2005-10-18 Wim Taymans <wim@fluendo.com>
21317 * check/gst/gstbin.c: (GST_START_TEST):
21318 * check/gst/gstmessage.c: (GST_START_TEST):
21319 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21320 * gst/gstbin.c: (bin_bus_handler):
21321 * gst/gstelement.c: (gst_element_commit_state),
21322 (gst_element_lost_state):
21323 * gst/gstmessage.c: (gst_message_new_state_changed),
21324 (gst_message_new_segment_start), (gst_message_new_segment_done),
21325 (gst_message_new_duration), (gst_message_parse_state_changed),
21326 (gst_message_parse_segment_start),
21327 (gst_message_parse_segment_done), (gst_message_parse_duration):
21328 * gst/gstmessage.h:
21329 * tools/gst-launch.c: (event_loop):
21330 Make messages future proof.
21331 state-change gets a flag if it was a message comming from the
21333 segment-start/stop can also be specified in other formats.
21334 A message to notify an app that a pipeline changed playback
21336 Also fix a GstMessage leak in -launch
21338 2005-10-18 Andy Wingo <wingo@pobox.com>
21340 * gst/gstelement.c (gst_element_dispose): More helpful message.
21342 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
21344 reviewed by: <delete if not using a buddy>
21346 * common/gtk-doc.mak:
21348 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
21350 * gst/gstregistry.c: (gst_registry_scan_path_level):
21351 unref a plug-in we get that was already initialized
21353 2005-10-18 Stefan Kost <ensonic@users.sf.net>
21355 * docs/gst/gstreamer-sections.txt:
21356 * docs/libs/gstreamer-libs-sections.txt:
21357 * gst/gstelement.h:
21358 add new api entries
21359 hide internal macro
21361 2005-10-17 Andy Wingo <wingo@pobox.com>
21363 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21366 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21368 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21370 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21371 (gst_element_get_state_func): Better debug message.
21372 (gst_element_commit_state): s/INFO/DEBUG/.
21373 (gst_element_lost_state, gst_element_change_state):
21375 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21376 (gst_message_new_custom): s/INFO/LOG/.
21378 2005-10-17 Michael Smith <msmith@fluendo.com>
21380 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21381 Check if end time is valid using end time, not start time.
21383 2005-10-17 Stefan Kost <ensonic@users.sf.net>
21385 * check/gst-libs/controller.c: (GST_START_TEST),
21386 (gst_controller_suite):
21387 * libs/gst/controller/gstcontroller.c:
21388 (gst_controlled_property_set_interpolation_mode):
21389 * libs/gst/controller/gstcontroller.h:
21390 * libs/gst/controller/gstinterpolation.c:
21391 * testsuite/controller/.cvsignore:
21392 * testsuite/controller/Makefile.am:
21393 * testsuite/controller/interpolator.c:
21394 merge controller testsuites
21396 remove mem-chunk from docs
21398 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21400 * gst/gstmemchunk.c:
21401 * gst/gstmemchunk.h:
21402 * gst/gsttrashstack.c:
21403 * gst/gsttrashstack.h:
21404 out. get out. you're fired. to the Attic !
21406 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21408 * gst/gstcaps.c: (gst_caps_intersect):
21409 fix signedness issues in a (hopefully) correct way
21410 * gst/gstelement.c: (gst_element_pads_activate):
21412 * gst/gstobject.c: (gst_object_set_parent):
21415 2005-10-17 Julien MOUTTE <julien@moutte.net>
21417 * gst/gstvalue.h: Fix prototypes.
21419 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21421 * docs/gst/gstreamer-sections.txt:
21422 * gst/gst.c: (gst_version_string):
21424 * gst/gstversion.h.in:
21425 * win32/common/libgstreamer.def:
21426 add gst_version_string ()
21428 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21432 * gst/gst.c: (init_post):
21433 * win32/common/config.h.in:
21435 * gst/gstcaps.c: (gst_caps_intersect):
21436 use gint64, the range could be bigger than a guint
21438 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21441 document potential problem in 2038
21443 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21445 * gst/gstcaps.c: (gst_caps_intersect):
21446 Fix guint j diving under 0
21448 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21451 * win32/common/config.h:
21452 * win32/common/config.h.in:
21453 check for process.h, declares getpid() on Windows
21455 include process.h if we have it
21456 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21457 * gst/gstmemchunk.h:
21458 fix signedness issues
21459 * win32/common/libgstreamer.def:
21462 2005-10-16 Julien MOUTTE <julien@moutte.net>
21464 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21465 fix. Because of unsigned ints, caps intersection was going nuts and
21466 trying to access structures with G_MAXUINT index. That fixes
21467 videotestsrc ! ffmpegcolorspace ! fakesink
21468 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21471 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21474 use the gettext macro
21475 * gst/elements/gstelements.c:
21477 * gst/indexers/gstindexers.c:
21478 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21479 * win32/common/config.h:
21481 * win32/common/config.h.in:
21482 add the template to generate config.h
21483 * win32/common/gstenumtypes.c:
21484 * win32/common/gstversion.h:
21487 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21489 * gst/gst.c: (gst_version):
21490 * gst/gstversion.h.in:
21493 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21496 Oops, add missing closing bracket.
21498 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21501 use common m4's for argument checking
21503 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21505 * docs/gst/gstreamer-sections.txt:
21507 Add GST_EVENT_TYPE_NAME() macro.
21509 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21512 * gst/gstpluginfeature.c:
21514 privatize more symbols
21516 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21519 add srcdir, builddir includes to GST_ALL_CFLAGS, since
21520 everything that uses GStreamer API should have the includes
21522 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21524 * docs/gst/gstreamer-sections.txt:
21525 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21527 give each value a _get_type, removes the DATA exports
21529 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21533 remove _gst_registry_auto_load, not used anymore
21534 * gst/gstbin.c: (gst_bin_get_type):
21536 * gst/gstelement.c: (gst_element_get_type):
21537 * gst/gstelement.h:
21538 * gst/gstobject.c: (gst_object_get_type):
21540 * gst/gstpad.c: (gst_pad_get_type):
21542 make _get_type functions similar, fixes data export from library
21544 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21547 correctly make conditionals
21548 * gst/elements/Makefile.am:
21549 * gst/elements/gstelements.c:
21550 fix typo causing fdsrc not to build
21552 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21554 * testsuite/Makefile.am:
21555 * testsuite/bytestream/.cvsignore:
21556 * testsuite/bytestream/Makefile.am:
21557 * testsuite/bytestream/filepadsink.c:
21558 * testsuite/bytestream/gstbstest.c:
21559 * testsuite/bytestream/test1.c:
21560 * testsuite/bytestream/testfile1:
21561 * testsuite/caps/normalisation.c:
21562 * testsuite/caps/random.c: (main):
21563 * testsuite/cleanup/.cvsignore:
21564 * testsuite/cleanup/Makefile.am:
21565 * testsuite/cleanup/cleanup1.c:
21566 * testsuite/cleanup/cleanup2.c:
21567 * testsuite/cleanup/cleanup3.c:
21568 * testsuite/cleanup/cleanup4.c:
21569 * testsuite/cleanup/cleanup5.c:
21570 * testsuite/controller/interpolator.c:
21571 * testsuite/debug/printf_extension.c: (main):
21572 * testsuite/elements/tee.c:
21573 * testsuite/negotiation/.cvsignore:
21574 * testsuite/negotiation/Makefile.am:
21575 * testsuite/negotiation/pad_link.c:
21576 * testsuite/pad/Makefile.am:
21577 * testsuite/pad/chainnopull.c:
21578 * testsuite/pad/getnopush.c:
21579 * testsuite/pad/link.c:
21580 * testsuite/refcounting/sched.c: (create_pipeline):
21581 * testsuite/registry/Makefile.am:
21582 * testsuite/registry/gst-print-formats.c:
21583 * testsuite/schedulers/.cvsignore:
21584 * testsuite/schedulers/142183-2.c:
21585 * testsuite/schedulers/142183.c:
21586 * testsuite/schedulers/143777-2.c:
21587 * testsuite/schedulers/143777.c:
21588 * testsuite/schedulers/147713.c:
21589 * testsuite/schedulers/147819.c:
21590 * testsuite/schedulers/147894-2.c:
21591 * testsuite/schedulers/147894.c:
21592 * testsuite/schedulers/Makefile.am:
21593 * testsuite/schedulers/group_link.c:
21594 * testsuite/schedulers/queue_link.c:
21595 * testsuite/schedulers/relink.c:
21596 * testsuite/schedulers/unlink.c:
21597 * testsuite/schedulers/unref.c:
21598 * testsuite/schedulers/useless_iteration.c:
21599 * testsuite/states/bin.c:
21600 clean out/remove some stuff from the testsuite directories
21602 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21605 check for some headers
21606 * gst/elements/Makefile.am:
21607 * gst/elements/gstelements.c:
21608 don't compile fdsrc without sys/socket.h
21609 * gst/indexers/Makefile.am:
21610 * gst/indexers/gstindexers.c: (plugin_init):
21611 don't compile fileindex without mmap
21613 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21620 * check/Makefile.am:
21621 * docs/gst/Makefile.am:
21622 * examples/helloworld/Makefile.am:
21624 * gst/base/Makefile.am:
21625 * gst/check/Makefile.am:
21626 * gst/elements/Makefile.am:
21627 * gst/indexers/Makefile.am:
21628 * gst/parse/Makefile.am:
21629 * libs/gst/controller/Makefile.am:
21630 * libs/gst/dataprotocol/Makefile.am:
21631 * examples/helloworld/helloworld.c: (event_loop):
21632 compile fixes, though it's not being compiled currently
21634 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21636 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21637 Add some simple tests for the new taglist date API.
21639 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21641 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21642 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21643 Beautify 'last-message' output: print 'none' for buffer timestamps
21644 and durations if none is set; improve alignment with next messages.
21646 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21648 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21649 * gst/gstpluginfeature.h:
21650 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21651 * gst/gstregistry.h:
21652 * docs/gst/gstreamer-sections.txt:
21653 Add new API to check plugin feature version requirements.
21655 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21656 Some basic tests for the above.
21658 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21660 * gst/gststructure.c: (gst_structure_to_string):
21661 guard against NULL printf - happens when for example
21662 a message structure with GstClock gets serialized
21664 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21666 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21667 Fix presumable copy'n'pasto.
21669 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21671 * gst/elements/gstfakesrc.h:
21672 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21673 * gst/elements/gsttypefindelement.c:
21674 fix some signedness
21675 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21676 I wonder if this could actually write +2GB files before
21678 2005-10-13 Andy Wingo <wingo@pobox.com>
21680 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21681 Fix Timmeke Waymans bug.
21682 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21683 string of the proper length to gst_caps_from_string. There's a
21684 potential for, before this fix, that this could cause someone
21685 connecting over the network to cause a segfault if the payload is
21686 not NUL-terminated.
21688 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21690 * docs/design/draft-push-pull.txt:
21691 * docs/design/part-overview.txt:
21692 * docs/random/TODO-pre-0.9:
21693 * docs/random/old/ChangeLog.gstreamer:
21694 * gst/base/gstpushsrc.c:
21698 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21700 * gst/glib-compat.c: (gst_flags_get_first_value):
21701 * gst/glib-compat.h:
21702 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21703 (gst_value_compare_double), (gst_value_serialize_flags):
21704 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21707 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21710 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21712 * tools/gst-launch.c: (event_loop):
21713 print out clock nicely
21715 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21717 * docs/gst/gstreamer-sections.txt:
21718 * gst/gsttaglist.h:
21719 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21720 (gst_tag_list_get_date_index):
21721 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21722 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21724 2005-10-13 Julien MOUTTE <julien@moutte.net>
21726 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21727 (gst_collectpads_chain):
21728 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21731 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21733 * docs/gst/gstreamer-sections.txt:
21736 * tools/gst-inspect.c: (main):
21737 * tools/gst-launch.c: (main):
21738 * tools/gst-run.c: (main):
21739 * tools/gst-xmlinspect.c: (main):
21740 fix GOption context leaks
21743 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21747 * win32/common/config.h:
21749 * win32/vs6/grammar.dsp:
21750 * win32/vs6/libgstelements.dsp:
21751 * win32/vs6/libgstreamer.dsp:
21754 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21756 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21757 * gst/base/gstbasesrc.c: (gst_base_src_query):
21758 fix more guint64<->gdouble conversions
21760 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21763 add win32-update target
21764 * win32/common/gstconfig.h:
21765 * win32/common/gstenumtypes.c:
21766 * win32/common/gstenumtypes.h:
21767 * win32/common/gstversion.h:
21768 add files that visual studio can't generate
21770 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21773 add a win32-update target
21776 2005-10-12 Wim Taymans <wim@fluendo.com>
21778 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21779 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21780 * gst/gstelement.c: (gst_element_commit_state),
21781 (gst_element_set_state):
21782 Protect flags with proper lock.
21783 unref provided cached clock in dispose.
21785 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21788 * gst/gstminiobject.h:
21790 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21791 removed unused flags from miniobject
21794 2005-10-12 Wim Taymans <wim@fluendo.com>
21796 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21797 (gst_file_sink_event), (gst_file_sink_render):
21798 Flush before seeking.
21800 2005-10-12 Andy Wingo <wingo@pobox.com>
21802 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21803 always been the case.
21805 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21807 * check/gst/gstbin.c: (GST_START_TEST):
21808 * docs/gst/gstreamer-sections.txt:
21809 * gst/base/gstbasesink.c: (gst_base_sink_init):
21810 * gst/base/gstbasesrc.c: (gst_base_src_init),
21811 (gst_base_src_get_range), (gst_base_src_check_get_range),
21812 (gst_base_src_start), (gst_base_src_stop):
21813 * gst/base/gstbasesrc.h:
21814 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21815 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21816 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21820 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21822 * gst/gstelement.c: (gst_element_is_locked_state),
21823 (gst_element_set_locked_state), (gst_element_commit_state),
21824 (gst_element_set_state):
21825 * gst/gstelement.h:
21826 * gst/gstindex.c: (gst_index_init):
21828 * gst/gstminiobject.h:
21829 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21830 (gst_object_set_parent):
21832 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21833 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21835 * gst/gstpadtemplate.h:
21836 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21837 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21838 * gst/gstpipeline.h:
21839 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21840 (gst_file_index_commit):
21841 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21842 * testsuite/pad/link.c: (gst_test_src_init),
21843 (gst_test_filter_init), (gst_test_sink_init):
21844 * testsuite/states/locked.c: (main):
21845 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21846 moved bitshift from macro to enum definition
21848 2005-10-12 Wim Taymans <wim@fluendo.com>
21850 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21851 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21852 (gst_file_sink_render):
21853 Some more debugging info.
21855 2005-10-12 Wim Taymans <wim@fluendo.com>
21857 * docs/design/part-states.txt:
21858 * tools/gst-launch.c: (main):
21860 Revert non-intentional change.
21862 2005-10-12 Wim Taymans <wim@fluendo.com>
21864 * check/gst/gstbin.c: (GST_START_TEST):
21865 * check/gst/gstelement.c: (GST_START_TEST):
21866 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21867 * check/gst/gstghostpad.c: (GST_START_TEST):
21868 * check/gst/gstpipeline.c: (GST_START_TEST):
21869 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21870 * check/states/sinks.c: (GST_START_TEST):
21871 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21872 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21873 (gst_bin_remove_func), (gst_bin_get_state_func),
21874 (gst_bin_recalc_state), (gst_bin_change_state_func),
21876 * gst/gstelement.c: (gst_element_get_state_func),
21877 (gst_element_get_state), (gst_element_abort_state),
21878 (gst_element_commit_state), (gst_element_set_state),
21879 (gst_element_change_state), (gst_element_change_state_func):
21880 * gst/gstelement.h:
21881 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21882 (gst_pipeline_provide_clock_func):
21883 * gst/gstutils.c: (gst_element_link_pads_filtered):
21884 * tools/gst-launch.c: (main):
21885 * tools/gst-typefind.c: (main):
21886 Use GstClockTime in _get_state() instead of GTimeVal.
21887 Remove old code in gstutils.c
21889 2005-10-12 Andy Wingo <wingo@pobox.com>
21891 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21894 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21895 there is no task. Shouldn't affect any code, as nothing in our
21896 plugins checks this return value.
21897 (gst_pad_stop_task): Also take the stream lock if the pad has no
21898 task. Docs updated.
21900 2005-10-12 Wim Taymans <wim@fluendo.com>
21902 * gst/gstpad.c: (pre_activate), (post_activate),
21903 (gst_pad_activate_pull), (gst_pad_activate_push):
21904 Cleanup activation code. Reset old state if
21907 2005-10-12 Wim Taymans <wim@fluendo.com>
21909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21910 (gst_base_sink_change_state):
21911 No need to prerol after receiving EOS.
21913 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21914 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21915 * gst/elements/gstidentity.c: (gst_identity_event):
21916 Print events more verbosely.
21918 2005-10-12 Wim Taymans <wim@fluendo.com>
21920 * check/Makefile.am:
21921 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21922 * check/states/sinks2.c:
21923 Moved sinks2 testcode in sinks check.
21925 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21926 (gst_bin_remove_func), (gst_bin_recalc_state),
21927 (gst_bin_change_state_func), (bin_bus_handler):
21928 Fix potential race condition when _get_state() iterated over an
21929 ASYNC element right before it posted a state completion.
21932 Do proper cast here.
21934 * gst/gstevent.c: (gst_event_new_newsegment),
21935 (gst_event_parse_newsegment):
21936 A playback rate of 0.0 is not allowed.
21938 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21940 * win32/common/config.h:
21941 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21942 (_trewinddir), (_ttelldir), (_tseekdir):
21943 * win32/common/dirent.h:
21944 * win32/common/gtchar.h:
21945 * win32/common/libgstbase.def:
21946 * win32/common/libgstreamer.def:
21947 * win32/vs6/grammar.dsp:
21948 * win32/vs6/gst_inspect.dsp:
21949 * win32/vs6/gst_launch.dsp:
21950 * win32/vs6/gstreamer.dsw:
21951 * win32/vs6/libgstbase.dsp:
21952 * win32/vs6/libgstelements.dsp:
21953 * win32/vs6/libgstreamer.dsp:
21954 Visual Studio 6 project files, and a new common directory.
21957 2005-10-11 Wim Taymans <wim@fluendo.com>
21959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21960 (gst_base_sink_do_sync), (gst_base_sink_query),
21961 (gst_base_sink_change_state):
21962 * gst/base/gstbasesink.h:
21963 Correctly parse newsegment info.
21965 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21967 * gst/gst.c: (init_post):
21968 split plugin paths correctly
21970 2005-10-11 Wim Taymans <wim@fluendo.com>
21972 * check/gst/gstevent.c: (GST_START_TEST):
21973 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21974 (gst_base_sink_change_state):
21975 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21976 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21977 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21978 * gst/gstevent.c: (gst_event_new_newsegment),
21979 (gst_event_parse_newsegment):
21981 Added extra flag to newsegment for future API freeze.
21982 Updated check and base elements.
21984 2005-10-11 Julien MOUTTE <julien@moutte.net>
21986 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21987 (gst_collectpads_add_pad), (gst_collectpads_pop),
21988 (gst_collectpads_event), (gst_collectpads_chain):
21989 * gst/base/gstcollectpads.h: Handle EOS correctly.
21991 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21993 * tools/gst-launch.c: (main):
21994 more null protecting
21996 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21998 * gst/gst-i18n-lib.h:
21999 check for ENABLE_NLS, not GETTEXT_PACKAGE
22000 * gst/gstregistry.c: (gst_registry_add_plugin),
22001 (gst_registry_scan_path_level),
22002 (_gst_registry_remove_cache_plugins):
22003 protect possibly NULL strings
22004 * gst/parse/types.h:
22005 config.h already included before
22006 * tools/gst-inspect.c: (main):
22007 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22008 check for ENABLE_NLS, not GETTEXT_PACKAGE
22009 * tools/gst-launch.c: (main):
22010 check for ENABLE_NLS, not GETTEXT_PACKAGE
22012 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22015 if we don't have glib, fail before testing 2.8
22016 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22017 fix a leak, should fix plugins-base testsuite
22019 2005-10-11 Andy Wingo <wingo@pobox.com>
22021 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22022 take the mode we're going to as an arg. Go head and set the mode
22023 and flushing flags now, so that if the activate function starts a
22024 thread all the flags will be in the right state.
22025 (post_activate): Renamed also. Just handle making sure streaming
22026 finishes for the deactivation case, and setting the deactivated
22028 (gst_pad_set_active): Complain loudly if deactivation fails.
22029 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22030 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22031 remove the terrible hack.
22033 2005-10-11 Wim Taymans <wim@fluendo.com>
22035 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22036 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22037 (gst_bin_recalc_state), (gst_bin_change_state_func),
22038 (gst_bin_dispose), (bin_bus_handler):
22040 Prepare to make current EOS message queue more generic.
22043 * gst/gstevent.c: (gst_event_new_newsegment),
22044 (gst_event_parse_newsegment):
22046 Rename base to stream_time.
22048 * gst/gstmessage.h:
22051 2005-10-11 Wim Taymans <wim@fluendo.com>
22053 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22054 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22055 (gst_bin_change_state_func), (bin_bus_handler):
22057 Work on proper clock selection.
22059 2005-10-11 Edward Hervey <edward@fluendo.com>
22061 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
22062 * libs/gst/controller/gstcontroller.h:
22063 Added GList* version of _remove_properties() in order to be able to wrap
22066 2005-10-11 Wim Taymans <wim@fluendo.com>
22068 * docs/design/part-states.txt:
22071 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22072 (gst_bin_change_state_func), (bin_bus_handler):
22073 Doc updates. Don't distribute the same clock over and over again.
22079 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22080 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22081 (gst_pad_send_event):
22083 Make probe emission threadsafe again.
22084 Register quarks and move _get_name() from utils.
22087 * gst/gstpipeline.c: (gst_pipeline_class_init),
22088 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22089 Only redistribute the clock of it changed.
22091 * gst/gstsystemclock.h:
22096 Moved the _flow_get_name() to GstPad.
22098 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22100 * check/gst-libs/gdp.c: (GST_START_TEST):
22101 * check/gst/gstcaps.c: (GST_START_TEST):
22102 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
22103 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
22104 (gst_dp_packet_from_caps):
22105 fix more valgrind warnings before turning up the heat
22107 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22109 * gst/parse/grammar.y:
22110 some cleanup before the hacking
22112 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22114 * gst/base/gstbasesrc.c: (gst_base_src_query):
22116 * gst/gstutils.c: (gst_guint64_to_gdouble),
22117 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
22119 externalize, basesrc uses it
22120 obviously the implementation needs testing
22122 2005-10-10 Wim Taymans <wim@fluendo.com>
22124 * tests/sched/Makefile.am:
22125 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
22126 (make_pipeline3), (make_pipeline4), (print_elem), (main):
22128 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22130 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
22131 apparently converting from guint64 to double is not implemented
22134 2005-10-10 Wim Taymans <wim@fluendo.com>
22136 * check/Makefile.am:
22137 * check/generic/states.c: (GST_START_TEST):
22138 * check/gst/gstbin.c: (GST_START_TEST):
22139 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22140 * check/states/sinks.c: (GST_START_TEST):
22141 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
22143 Check fixes, use API as stated in design docs, remove hacks.
22145 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22146 (gst_base_sink_change_state):
22147 Catch stopping our task while we're shutting down.
22149 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
22150 (gst_bin_remove_func), (gst_bin_get_state_func),
22151 (gst_bin_recalc_state), (gst_bin_change_state_func),
22154 * gst/gstelement.c: (gst_element_init),
22155 (gst_element_get_state_func), (gst_element_abort_state),
22156 (gst_element_commit_state), (gst_element_lost_state),
22157 (gst_element_set_state), (gst_element_change_state),
22158 (gst_element_change_state_func):
22159 * gst/gstelement.h:
22160 New state change algorithm (see #318116)
22162 * gst/gstpipeline.c: (gst_pipeline_class_init),
22163 (gst_pipeline_init), (gst_pipeline_set_property),
22164 (gst_pipeline_get_property), (do_pipeline_seek),
22165 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22166 * gst/gstpipeline.h:
22167 Remove crude state change hacks.
22170 Remove crude hacks.
22172 * tools/gst-launch.c: (main):
22173 Fixes for state change. Needs some more work to fully use the
22176 2005-10-10 Andy Wingo <wingo@pobox.com>
22178 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
22180 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
22181 this flag, but it's not even in GLib 2.6. Odd. Hack around the
22184 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22186 * gst/gstiterator.c: (gst_iterator_new):
22187 Fix my previous commit: GTypes passed to gst_iterator_new()
22188 can be fundamental types.
22190 2005-10-10 Wim Taymans <wim@fluendo.com>
22192 * gst/gstelement.c: (gst_element_iterate_pad_list),
22193 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
22194 (gst_element_iterate_sink_pads):
22195 Use src/sink pads lists for the respective iterators instead
22198 2005-10-10 Andy Wingo <wingo@pobox.com>
22200 Merged in popt removal + GOption addition patch from Ronald, bug
22203 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
22204 GstElement macros around, remove popt-related symbols, add goption
22207 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
22209 * docs/gst/Makefile.am:
22210 * docs/libs/Makefile.am: No POPT_CFLAGS.
22212 * examples/manual/Makefile.am:
22213 * docs/manual/basics-init.xml: Doc updates with an example.
22215 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
22216 (gst_init), (parse_one_option), (parse_goption_arg):
22217 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
22218 bit of hand merging and debugging to get the GOption stuff working
22221 * tests/Makefile.am:
22222 * tools/Makefile.am:
22223 * tools/gst-inspect.c: (main):
22224 * tools/gst-launch.c: (main):
22225 * tools/gst-run.c: (main):
22226 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
22228 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22230 * gst/gstiterator.c: (gst_iterator_new):
22231 Add assertions to make sure passed GType is likely to really
22232 be a GType (as the compiler won't catch it if the size and
22233 GType arguments get mixed up, see #318447).
22235 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
22237 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22239 * gst/gstbin.c: (gst_bin_iterate_sorted):
22240 Pass GType and size arguments to gst_iterator_new() in the right
22241 order (maybe we should make _new() take the GType as first argument
22242 just like _new_list()?) (#318447).
22245 2005-10-10 Wim Taymans <wim@fluendo.com>
22247 * gst/gstelement.c: (gst_element_finalize):
22248 And free the GStaticRecMutex too
22250 2005-10-10 Andy Wingo <wingo@pobox.com>
22252 * gst/gstelement.c (gst_element_init, gst_element_finalize):
22253 Allocate and free the mutex properly.
22255 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
22257 (GstElement): The state_lock is now recursive. Rebuild your
22258 plugins, suckers. Old macros adapted.
22260 * docs/gst/gstreamer-sections.txt: Doc updates.
22263 * gst/gstutils.c (g_static_rec_cond_timed_wait)
22264 (g_static_rec_cond_wait): Ported from state changes patch, while
22265 we wait on bug #317802 to be solved in a well-distributed GLib.
22267 * gst/gstelement.c (gst_element_change_state_func): Renamed from
22268 gst_element_change_state, variable name changes.
22269 (gst_element_change_state): Split out of gst_element_set_state in
22270 preparation for the state change merge. Doesn't pay attention to
22271 the 'transition' argument.
22272 (gst_element_set_state): Updates, hopefully purely cosmetic.
22273 (gst_element_sync_state_with_parent): MT-safety. Ported from the
22274 state change patch.
22275 (gst_element_get_state_func): Renamed from get_state, cosmetic
22278 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22280 * gst/elements/gstelements.c:
22281 * win32/GStreamer.vcproj:
22283 * win32/dirent.c: (_tseekdir):
22284 * win32/gst-inspect.vcproj:
22285 * win32/gst-launch.vcproj:
22286 * win32/gstconfig.h:
22287 * win32/gstelements.vcproj:
22288 * win32/gstenumtypes.c: (gst_object_flags_get_type):
22289 * win32/gstreamer.def:
22290 * win32/msvc71.sln:
22291 updates for the win32 build (patch from Sebastien Moutte)
22293 2005-10-10 Andy Wingo <wingo@pobox.com>
22295 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
22296 gst_bin_get_state, cleaned up (but no logic changes).
22297 (bin_element_is_sink): Comment updates.
22298 (sink_iterator_filter): Remove needless cast.
22299 (gst_bin_iterate_sinks): Doc update.
22300 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
22301 cleaned up (but no logic changes).
22303 * check/states/sinks.c (test_src_sink): Cleanups from the state
22305 (test_livesrc_sink): Sync on the state.
22307 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
22308 the state change patch.
22310 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
22313 * check/gst/gstbin.c: Merge in some style fixes and additional
22314 checks from Wim's state change patch.
22316 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22318 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22319 (gst_type_find_helper):
22320 Check whether we have the requested data already in our list of
22321 cached buffers before pulling a new buffer; also make the buffer
22322 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
22324 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22329 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22330 don't use long long, it's not portable. Replacing with
22331 gint64 seems to work; let's hope no skeletons fall out of the closet.
22333 2005-10-10 Andy Wingo <wingo@pobox.com>
22335 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
22337 2005-10-09 Stefan Kost <ensonic@users.sf.net>
22339 * docs/gst/gstreamer-sections.txt:
22344 * gst/gstmessage.c: (gst_message_parse_state_changed):
22347 more docs, fix compilation
22349 2005-10-09 Philippe Khalaf <burger@speedy.org>
22350 * gst/gstmessage.c:
22351 Fixed a few forgotten variables on previous commit
22353 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
22355 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22356 Fix evil typefind crasher: getrange() might return a short
22357 buffer at the end of a file, but gst_type_find_peek() must
22358 either return the full data as requested or NULL, but
22359 never a short buffer.
22361 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
22363 * gst/gstmessage.c: (gst_message_new_state_changed),
22364 (gst_message_parse_state_changed):
22365 * gst/gstmessage.h:
22366 don't use "new", it's a C++ keyword
22368 2005-10-08 Wim Taymans <wim@fluendo.com>
22370 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22371 * gst/gstelement.c: (gst_element_post_message):
22372 * gst/gstpipeline.c: (gst_pipeline_change_state):
22373 Small docs and debug updates.
22375 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22377 * docs/gst/gstreamer-sections.txt:
22378 * gst/gstelementfactory.c:
22380 * gst/gsttaglist.c:
22383 2005-10-08 Wim Taymans <wim@fluendo.com>
22385 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22386 (gst_bin_dispose), (bin_bus_handler):
22387 Fix typos, add comments.
22388 Clear EOS list when going to PAUSED from any direction and do it
22389 in a threadsafe way.
22390 Get base time in a threadsafe way too.
22391 Fix confusing debug in the change_state function.
22392 Various other small cleanups.
22394 * gst/gstelement.c: (gst_element_post_message):
22395 Fix very verbose bus posting code.
22397 * gst/gstpipeline.c: (gst_pipeline_class_init),
22398 (gst_pipeline_set_property), (gst_pipeline_get_property),
22399 (gst_pipeline_change_state):
22400 Small ARG_ -> PROP_ cleanup
22402 2005-10-08 Wim Taymans <wim@fluendo.com>
22404 * gst/gstbin.c: (is_eos), (bin_bus_handler):
22405 Do a less CPU demanding EOS check because we can.
22407 2005-10-08 Wim Taymans <wim@fluendo.com>
22409 * libs/gst/dataprotocol/dataprotocol.c:
22410 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22411 (gst_dp_packet_from_event):
22412 * libs/gst/dataprotocol/dataprotocol.h:
22413 * libs/gst/dataprotocol/dp-private.h:
22414 It's about time we bump the version number.
22415 Since event types don't fit in the guint8 anymore describing
22416 the payload type, make payload type 16 bits wide.
22418 2005-10-08 Wim Taymans <wim@fluendo.com>
22420 * docs/design/part-TODO.txt:
22421 * docs/design/part-clocks.txt:
22422 * docs/design/part-events.txt:
22423 * docs/design/part-gstbin.txt:
22424 * docs/design/part-gstelement.txt:
22425 * docs/design/part-gstpipeline.txt:
22426 * docs/design/part-live-source.txt:
22427 * docs/design/part-messages.txt:
22428 * docs/design/part-overview.txt:
22429 * docs/design/part-states.txt:
22432 2005-10-08 Wim Taymans <wim@fluendo.com>
22436 Fix event quark registration.
22437 Add some space between events so we can insert them in the
22440 2005-10-08 Wim Taymans <wim@fluendo.com>
22442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22443 (gst_base_sink_handle_buffer):
22444 Better log message.
22447 * gst/gstelement.h:
22450 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22451 (gst_queue_set_property), (gst_queue_get_property):
22453 Remove old unused properties.
22455 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22456 * docs/gst/gstreamer-sections.txt:
22457 * gst/gstmessage.c:
22458 * gst/gstmessage.h:
22459 * gst/gstminiobject.c:
22460 * gst/gstminiobject.h:
22464 lots of new docs and doc fixes
22466 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22468 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22470 * gst/gstregistry.c: (gst_registry_lookup_locked),
22471 (gst_registry_scan_path_level):
22472 * gst/gstregistryxml.c: (load_plugin):
22473 Only ever load one plugin for a given plugin basename.
22474 This ensures correct overriding of GST_PLUGIN_PATH over
22475 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22476 system installed plugins.
22478 2005-10-08 Wim Taymans <wim@fluendo.com>
22480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22481 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22482 Prepare for doing QOS.
22484 2005-10-08 Wim Taymans <wim@fluendo.com>
22486 * check/gst/gstbin.c: (GST_START_TEST):
22487 * check/pipelines/cleanup.c: (GST_START_TEST):
22488 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22489 Allow new clock message too.
22491 2005-10-08 Wim Taymans <wim@fluendo.com>
22493 * gst/gstmessage.c: (gst_message_new_error),
22494 (gst_message_new_warning), (gst_message_new_tag),
22495 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22496 (gst_message_new_clock_lost), (gst_message_new_new_clock),
22497 (gst_message_new_segment_start), (gst_message_new_segment_done),
22498 (gst_message_parse_state_changed),
22499 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22500 (gst_message_parse_new_clock):
22501 * gst/gstmessage.h:
22502 Also carry the clock in question.
22504 2005-10-08 Wim Taymans <wim@fluendo.com>
22506 * gst/gstmessage.c: (gst_message_new_custom),
22507 (gst_message_new_eos), (gst_message_new_error),
22508 (gst_message_new_warning), (gst_message_new_tag),
22509 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22510 (gst_message_new_new_clock), (gst_message_new_segment_start),
22511 (gst_message_new_segment_done), (gst_message_parse_state_changed),
22512 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22513 * gst/gstmessage.h:
22515 Added clock related messages.
22517 * gst/gstpipeline.c: (gst_pipeline_change_state):
22518 Post message when the clock changed.
22520 * tools/gst-launch.c: (event_loop):
22523 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
22525 * tools/gst-inspect.c: (print_element_properties_info):
22526 Can't pass NULL strings to g_print() on windows.
22528 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22530 * docs/Makefile.am:
22531 * docs/gst/Makefile.am:
22532 * docs/gst/gstreamer-docs.sgml:
22533 * docs/gst/running.xml:
22534 * docs/version.entities.in:
22535 add a chapter on running GStreamer.
22536 document GST_DEBUG and GST_PLUGIN* env vars
22538 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22543 remove PLUGINS_BUILDDIR stuff
22544 * gst/gst.c: (init_post):
22545 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22547 remove, it was condescending and not needed
22549 2005-10-08 Wim Taymans <wim@fluendo.com>
22551 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22552 (gst_base_sink_handle_object), (gst_base_sink_event),
22553 (gst_base_sink_wait), (gst_base_sink_handle_event),
22554 (gst_base_sink_change_state):
22555 * gst/base/gstbasesink.h:
22556 Repost EOS message while going to PLAYING if still EOS.
22557 Make sure that when receiving a FLUSH_START we don't attempt
22558 to sync on the clock anymore.
22560 2005-10-08 Wim Taymans <wim@fluendo.com>
22562 * tools/gst-launch.c: (event_loop):
22563 Better message printout.
22565 2005-10-08 Wim Taymans <wim@fluendo.com>
22567 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22568 (gst_bin_child_proxy_get_children_count):
22569 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22570 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22571 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22572 (gst_child_proxy_set_valist):
22573 * gst/parse/grammar.y:
22574 Make ChildProxy threadsafe and fix mem leaks.
22576 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22578 * gst/gst.c: (init_post):
22579 debug the GST_PLUGIN_ env vars
22581 2005-10-08 Wim Taymans <wim@fluendo.com>
22583 * check/gst/gstbin.c: (GST_START_TEST):
22584 * check/gst/gstmessage.c: (GST_START_TEST):
22585 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22586 * gst/gstelement.c: (gst_element_commit_state),
22587 (gst_element_lost_state):
22588 * gst/gstmessage.c: (gst_message_new_state_changed),
22589 (gst_message_parse_state_changed):
22590 * gst/gstmessage.h:
22591 * tools/gst-launch.c: (event_loop):
22592 Added extra field to STATE_CHANGE message with the pending
22593 state, which will be different from the new state soon.
22595 2005-10-08 Wim Taymans <wim@fluendo.com>
22597 * gst/gstbus.c: (gst_bus_pop):
22599 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22600 Small cleanups and doc updates.
22602 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22604 * gst/gst.c: (init_pre):
22605 * gst/gstbin.c: (gst_bin_add_func):
22606 log distributing clocks and base time
22607 * gst/gstregistry.c: (gst_registry_add_plugin),
22608 (gst_registry_scan_path_level), (gst_registry_scan_path):
22609 clean up the debugging output a little
22610 * gst/gstutils.c: (gst_element_state_get_name):
22611 warn about a memleak (I've actually seen this be used, though
22612 it was probably a bug)
22614 2005-10-07 Wim Taymans <wim@fluendo.com>
22616 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22617 (gst_base_src_init), (gst_base_src_default_newsegment),
22618 (gst_base_src_newsegment), (gst_base_src_do_seek),
22619 (gst_base_src_loop), (gst_base_src_start):
22620 * gst/base/gstbasesrc.h:
22621 Make the newsegment event customizable by subclasses.
22623 2005-10-07 Wim Taymans <wim@fluendo.com>
22625 * gst/gstevent.c: (gst_event_new_buffersize),
22626 (gst_event_parse_buffersize):
22628 New event for future idea.
22630 2005-10-07 Andy Wingo <wingo@pobox.com>
22632 * gst/gstelement.c (gst_element_post_message): Doc update.
22634 * docs/gst/gstreamer-sections.txt: Update.
22636 * gst/gstmessage.c (gst_message_new_application): Made into a
22637 function like honest API calls.
22638 (gst_message_new_element): New message type.
22640 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22642 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22643 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22646 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22647 NO_PREROLL from gst_element_change_state to fall through.
22649 2005-10-07 Wim Taymans <wim@fluendo.com>
22651 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22652 (gst_ghost_pad_do_activate_push):
22653 Activating a ghostpad with no internal pad in push mode
22656 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22659 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22660 Fixes compilation on Windows.
22662 2005-10-07 Michael Smith <msmith@fluendo.com>
22664 * tools/gst-inspect.c:
22665 Print out feature and plugin count at the end when printing out
22668 2005-10-04 Michael Smith <msmith@fluendo.com>
22670 * gst/gsterror.c: (_gst_stream_errors_init):
22671 Add another error string used in a few existing plugins.
22674 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22675 * tools/gst-inspect.c: (print_element_info):
22676 When a feature disappears from a plugin (and the feature exists in
22677 the cached registry file), things went horribly wrong. This isn't a
22678 complete fix, we should actually be removing the 'missing' features
22679 from the features list when we load the actual plugin. That's not
22682 2005-10-04 Johan Dahlin <johan@gnome.org>
22684 * check/gst/gstiterator.c: (GST_START_TEST):
22685 * gst/gstbin.c: (gst_bin_iterate_elements),
22686 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22687 * gst/gstelement.c: (gst_element_iterate_pads):
22688 * gst/gstformat.c: (gst_format_iterate_definitions):
22689 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22690 (gst_iterator_new_list), (gst_iterator_filter):
22691 * gst/gstiterator.h:
22692 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22693 Add a GType to GstIterator, update callsites and tests.
22695 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22697 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22698 give events a chance to be handled by event probes when the pad
22701 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22703 * gst/gstevent.c: (gst_event_type_get_name),
22704 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22706 add string representations for event types
22708 2005-10-06 Wim Taymans <wim@fluendo.com>
22710 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22711 Don't use NULL pointers.
22713 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22715 * gst/gst_private.h:
22717 * gst/gstelement.c:
22719 * gst/gstpluginfeature.c:
22720 widen the debug category in output to fit the biggest one we have
22721 add a bus category and use it
22722 play with the colors
22723 fix up some categories
22725 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22727 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22728 add push activation of sink ghost pads.
22729 Andye, please verify
22731 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22733 * gst/gstutils.c: (gst_element_link_pads):
22734 fix a bug in the case where neither element has a pad
22735 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22736 add a test for that case
22738 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22740 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22741 emit have-data before checking for peers. This allows
22742 for probe handlers to connect elements. This helps autopluggers.
22743 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22745 add six checks, linked/unlinked with no/true/false probe
22747 2005-10-04 Wim Taymans <wim@fluendo.com>
22749 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22750 (gst_fake_sink_event), (gst_fake_sink_preroll),
22751 (gst_fake_sink_render), (gst_fake_sink_change_state):
22752 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22753 (gst_fake_src_get_property), (gst_fake_src_create),
22754 (gst_fake_src_stop):
22755 * gst/elements/gstidentity.c: (gst_identity_stop):
22756 Protect last_message with lock.
22758 2005-10-04 Edward Hervey <edward@fluendo.com>
22761 Added precision in the comments for GST_FORMAT_DEFAULT
22763 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22765 * tools/gst-launch.c: (main):
22766 Don't try to run erroneous pipelines.
22768 2005-10-04 Julien MOUTTE <julien@moutte.net>
22770 * gst/gstbus.c: We don't need this header.
22772 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22775 back to development
22777 === release 0.9.3 ===
22779 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22783 Releasing 0.9.3, "Unregistered"
22785 2005-10-03 Andy Wingo <wingo@pobox.com>
22787 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22788 whereby calling a pad's activatepush() function can start a thread
22789 that starts to push or pull before the pad gets the FLUSHING flag
22790 unset. Hack around it by holding the stream lock until the flag is
22791 set. Need to replace this with a proper solution. Together with
22792 the ghost pad fixes, this fixes mp3 playing/tagreading.
22794 * docs/design/part-gstghostpad.txt: Add a note about activation of
22795 proxy pads outside of ghost pads.
22797 * gst/gstghostpad.c: Implement the ghost pad activation design.
22799 2005-10-02 Andy Wingo <wingo@pobox.com>
22801 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22802 It is volatile, after all.
22804 * docs/design/part-gstghostpad.txt: Flesh out activation with
22807 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22810 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22813 Fix (unused) AM_CONDITIONAL tests.
22815 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22817 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22819 * gst/gstutils.c: (gst_pad_query_convert):
22820 Add assertion that makes sure src_val is >=0, just like
22821 gst_query_new_convert() has. (#315895)
22823 2005-09-30 Edward Hervey <edward@fluendo.com>
22825 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22826 Let's not iterate pads we're not interested in, it avoids getting
22827 sky-high refcounts on sinkpad.
22829 2005-09-30 Wim Taymans <wim@fluendo.com>
22831 * gst/gstelement.c: (gst_element_set_state),
22832 (gst_element_change_state):
22833 Small tweak, element in ASYNC remains ASYNC.
22835 2005-09-30 Wim Taymans <wim@fluendo.com>
22837 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22838 Only error is an error.
22840 * gst/gstbin.c: (gst_bin_change_state):
22843 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22844 Also call pad_block in pad alloc.
22846 * gst/gstutils.c: (gst_flow_get_name):
22849 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22851 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22852 (gst_base_src_get_range):
22853 Fix documentation typos. Add some more debug info.
22855 2005-09-29 David Schleef <ds@schleef.org>
22857 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22858 more end-user friendly.
22859 * tools/gst-inspect.c: (main): Check if command-line argument is
22860 a file and attempt to load that file as a plugin.
22862 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22864 * check/gst/gstbin.c:
22865 * check/states/sinks.c:
22866 fix tests for the new warning
22867 * check/gst/gstpipeline.c:
22868 add a test for pipeline and bus interaction
22869 * gst/gstelement.c:
22870 elements should be NULL if they get disposed; add a warning if not
22872 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22875 for 2.6 refcounting, make debug log more correct by printing
22876 the actual refcounts at the time of swap (Wim)
22878 2005-09-29 Andy Wingo <wingo@pobox.com>
22880 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22881 removes signal watches previously added via
22882 gst_bus_add_signal_watch.
22883 (gst_bus_add_signal_watch): Don't return the source id, just store
22884 it on the bus if there wasn't an id already.
22886 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22887 add_signal_watch and remove_signal_watch.
22889 2005-09-29 Edward Hervey <edward@fluendo.com>
22891 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22892 Better if we actually iterate the list :)
22894 2005-09-29 Wim Taymans <wim@fluendo.com>
22896 * check/gst/gstbin.c: (GST_START_TEST):
22897 Change for new bus API.
22899 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22900 (send_messages), (GST_START_TEST), (gstbus_suite):
22901 Change for new bus signal API.
22903 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22904 (gst_bus_source_prepare), (gst_bus_source_check),
22905 (gst_bus_create_watch), (gst_bus_add_watch_full),
22906 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22907 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22909 Remove support for multiple GSources operating on different
22910 message types as it is too complex and unneeded when using
22912 Added support for receiving signals from the bus.
22914 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22916 * docs/libs/tmpl/gstdataprotocol.sgml:
22917 * docs/manual/advanced-dataaccess.xml:
22918 * gst/elements/gstcapsfilter.c:
22920 rename filter-caps to caps property
22922 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22924 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22925 More robust fraction string parsing.
22927 * docs/pwg/appendix-porting.xml:
22928 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22930 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22932 * gst/gstcaps.c: (gst_caps_do_simplify):
22933 Thou shalt not free a structure and then continue using it
22934 in the next loop iteration.
22936 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22938 Add test case for caps simplification.
22940 2005-09-29 Wim Taymans <wim@fluendo.com>
22942 * check/gst/gstbin.c: (GST_START_TEST):
22945 2005-09-29 Wim Taymans <wim@fluendo.com>
22947 * check/gst/gstbin.c: (GST_START_TEST):
22950 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22951 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22952 (find_element), (gst_bin_sort_iterator_next),
22953 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22954 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22955 (gst_bin_change_state), (gst_bin_dispose):
22956 A bin does not have a bus, it gets the bus from the parent.
22958 * gst/gstelement.c: (gst_element_requires_clock),
22959 (gst_element_provides_clock), (gst_element_is_indexable),
22960 (gst_element_is_locked_state), (gst_element_change_state),
22961 (gst_element_set_bus_func):
22964 * gst/gstpipeline.c: (gst_pipeline_class_init),
22965 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22966 The pipeline provides a bus.
22968 2005-09-28 Johan Dahlin <johan@gnome.org>
22970 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22971 gst_structure_get_enum instead of gst_structure_get_int
22973 * gst/gststructure.c (gst_structure_get_enum): Impl.
22975 * gst/gststructure.h (gst_structure_get_enum): Add
22977 * docs/gst/gstreamer-sections.txt: Ditto
22979 * gst/gstmessage.c (gst_message_new_state_changed): Use
22980 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22981 which does introspection.
22982 Reviewed by Christian Schaller
22984 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22986 * gst/gstinfo.c: (gst_debug_log_default):
22987 don't do dummy g_strdup()s
22988 * libs/gst/controller/gstcontroller.c:
22989 (on_object_controlled_property_changed),
22990 (gst_controlled_property_new), (gst_controller_new_valist),
22991 (gst_controller_new_list),
22992 (gst_controller_remove_properties_valist), (gst_controller_set),
22993 (gst_controller_get), (gst_controller_sync_values),
22994 (gst_controller_get_value_array), (_gst_controller_class_init),
22995 (gst_controller_get_type):
22996 * libs/gst/controller/gstcontroller.h:
22997 * libs/gst/controller/gstinterpolation.c:
22998 (gst_controlled_property_find_timed_value_node):
22999 convert // to /**/ comments
23001 2005-09-28 Wim Taymans <wim@fluendo.com>
23003 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23004 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23005 (gst_bus_sync_signal_handler):
23007 Added async-message and sync-message signals to the bus.
23008 Added helper BusFunc to emit signals for all posted messages.
23010 * gst/gstmessage.c: (gst_message_type_get_name),
23011 (gst_message_type_to_quark), (gst_message_get_type):
23012 * gst/gstmessage.h:
23013 Register quarks for message names.
23015 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23017 * docs/libs/gstreamer-libs-sections.txt:
23018 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23019 (gst_controller_new_list):
23020 * libs/gst/controller/gstcontroller.h:
23021 added another constructor for language bindings
23023 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23025 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23029 * gst/gstinfo.c: (_gst_debug_init):
23030 slightly more readable color for refcount debugging
23032 2005-09-28 Wim Taymans <wim@fluendo.com>
23034 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23035 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23036 (find_element), (gst_bin_sort_iterator_next),
23037 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23038 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23039 (gst_bin_change_state), (gst_bin_dispose):
23040 Small doc fixes. get_clock -> provide_clock.
23042 * gst/gstelement.c: (gst_element_class_init),
23043 (gst_element_provides_clock), (gst_element_provide_clock),
23044 (gst_element_get_clock), (gst_element_commit_state),
23045 (gst_element_lost_state):
23046 * gst/gstelement.h:
23047 Make get/set_clock() symetric. Add provide_clock vmethod since
23048 that is actually what this function does.
23050 * gst/gstpipeline.c: (gst_pipeline_class_init),
23051 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23052 (gst_pipeline_get_clock):
23053 get_clock -> provide_clock.
23055 2005-09-28 Andy Wingo <wingo@pobox.com>
23057 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23058 lieu of real docs...
23060 * gst/elements/gstfdsrc.c: Cleaned up a bit.
23062 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
23064 * gst/elements/gstcapsfilter.c:
23065 * gst/elements/gstfakesink.c:
23066 * gst/elements/gstfakesrc.c:
23067 * gst/elements/gstfdsink.c:
23068 * gst/elements/gstfdsrc.c:
23069 * gst/elements/gstfilesink.c:
23070 * gst/elements/gstfilesrc.c:
23071 * gst/elements/gstidentity.c:
23072 * gst/elements/gsttee.c:
23073 * gst/elements/gsttypefindelement.c:
23074 Make element details static.
23076 2005-09-28 Wim Taymans <wim@fluendo.com>
23078 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23079 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23080 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23081 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23082 (gst_bin_change_state), (gst_bin_dispose):
23083 Some documentation updates.
23084 Clean up dispose handlers.
23086 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23087 * gst/gstpad.c: (gst_pad_dispose):
23088 Clean up dispose handler.
23090 * gst/gstpipeline.c: (gst_pipeline_change_state):
23091 Removed spurious UNLOCK.
23093 2005-09-27 Stefan Kost <ensonic@users.sf.net>
23095 * docs/gst/gstreamer-sections.txt:
23096 * gst/base/gstbasesrc.h:
23097 * gst/gstelement.h:
23101 * gst/gstpipeline.c:
23102 * gst/gstpipeline.h:
23105 added two new functions to the docs
23106 documents all undocumented GstXXXFlags
23107 completed some incomplete docs
23109 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
23111 * gst/gstbin.c: (gst_bin_dispose):
23112 * gst/gstelement.c: (gst_element_dispose):
23113 remove now useless and leaky resurrection code in dispose
23114 * gst/base/gstbasesrc.c: (gst_base_src_init):
23115 * gst/gstelementfactory.c: (gst_element_factory_create):
23116 * gst/gstobject.c: (gst_object_set_parent):
23119 2005-09-27 Wim Taymans <wim@fluendo.com>
23121 * docs/design/part-TODO.txt:
23124 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23125 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23126 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23127 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23128 (gst_bin_change_state):
23129 * gst/gstelement.h:
23130 Remove element variable, we keep element info in the iterator now.
23132 2005-09-27 Andy Wingo <wingo@pobox.com>
23134 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
23137 2005-09-27 Wim Taymans <wim@fluendo.com>
23139 * check/gst/gstbin.c: (GST_START_TEST):
23140 Enable check that works now.
23142 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23143 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23144 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23145 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23146 (gst_bin_change_state):
23148 Redid the state change algorithm using a topological sort algo.
23149 Handles all cases correctly.
23150 Exposed iterator for state change order.
23152 * gst/gstelement.h:
23153 Temp storage for state changes. Need to get rid of this soon.
23155 2005-09-27 Wim Taymans <wim@fluendo.com>
23157 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
23158 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
23159 (link_fold_func), (gst_pad_proxy_setcaps):
23160 Leak fixes, the fold functions need to unref the passed object and
23161 _get_parent_*() returns ref to parent.
23163 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23165 * check/gst/gstbuffer.c: (test_make_writable):
23166 Plug leak in test case and fix 'make check-valgrind'
23168 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23170 * gst/gstbuffer.c: (gst_subbuffer_init):
23171 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
23172 works correctly in all circumstances (we could have just copied
23173 the parent buffer's readonly flag, but conceptually it seems
23174 cleaner to mark all subbuffers as read-only). (based on patch
23175 by Alessandro Decina, #314710).
23177 * check/gst/gstbuffer.c: (create_read_only_buffer),
23178 (test_make_writable), (test_subbuffer_make_writable),
23180 Add some tests for gst_buffer_make_writable().
23182 2005-09-27 Wim Taymans <wim@fluendo.com>
23184 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
23185 use gst_object_has_ancestor().
23187 * gst/gstobject.c: (gst_object_has_ancestor):
23189 gst_object_has_ancestor() copied from gstbin.c as it is a
23192 * tests/instantiate/create.c: (create_all_elements):
23193 * tests/lat.c: (handoff_src), (handoff_sink):
23194 * tests/sched/runxml.c: (main):
23195 * tests/seeking/seeking1.c: (main):
23196 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23198 Fix compilation of some tests.
23200 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23203 Remove comment. GST_TYPE_G_ERROR is here to stay,
23204 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
23205 (#316961, #300610).
23207 2005-09-26 Wim Taymans <wim@fluendo.com>
23209 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23210 Added check that shows error in state change order.
23212 2005-09-26 Wim Taymans <wim@fluendo.com>
23214 * gst/gstbin.c: (gst_bin_change_state):
23215 Make state change function use 3 queues again, we were
23216 adding elements in the wrong order.
23218 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
23221 * gst/gstpad.c: (gst_pad_dispose):
23222 Added some debug info first.
23224 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
23226 * docs/design/draft-push-pull.txt:
23227 * docs/design/part-events.txt:
23228 * docs/design/part-overview.txt:
23229 * docs/design/part-scheduling.txt:
23230 Replace all _pull_region() with _pull_range()
23232 2005-09-26 Andy Wingo <wingo@pobox.com>
23234 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
23236 * check/gst-libs/controller.c: Update for controller api change.
23239 * tests/Makefile.am:
23240 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
23241 over by GLib bug 118439.
23243 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
23244 routines to a function.
23246 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
23248 * libs/gst/controller/gsthelper.c:
23249 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
23250 (gst_object_sync_values): Renamed from sink_values. Ugh.
23252 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
23254 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
23255 Renamed from controller_key, as it is exported.
23257 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
23259 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
23264 * gst/gstpadtemplate.h:
23267 * gst/gstqueryutils.c:
23268 * gst/gstqueryutils.h:
23269 remove queryutils headers after moving the two used functions
23270 to gstquery. also fixes build problem for gstsiddec
23272 2005-09-26 Michael Smith <msmith@fluendo.com>
23274 * tools/gst-launch.1.in:
23275 Correct documentation in manpage of debug syntax
23277 2005-09-26 Wim Taymans <wim@fluendo.com>
23279 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23280 (gst_base_src_is_seekable), (gst_base_src_change_state):
23281 Some more debugging info.
23283 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23285 * docs/gst/gstreamer-sections.txt:
23286 * gst/base/gstbasetransform.h:
23290 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23292 * docs/gst/.cvsignore:
23293 * docs/gst/tmpl/.cvsignore:
23294 * docs/gst/tmpl/gstpipeline.sgml:
23295 * docs/gst/tmpl/gstplugin.sgml:
23296 * gst/gstpipeline.c:
23299 inlined the last two docs files
23300 removed the tmpl directory from cvs (no more conflicts here!)
23302 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23304 * docs/gst/gstreamer-sections.txt:
23305 * docs/gst/tmpl/.cvsignore:
23306 * docs/gst/tmpl/gstpad.sgml:
23307 * docs/gst/tmpl/gstpadtemplate.sgml:
23309 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
23310 (gst_pad_finalize), (gst_pad_set_pad_template):
23312 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
23313 (gst_pad_template_class_init), (gst_pad_template_init),
23314 (gst_pad_template_dispose), (name_is_valid),
23315 (gst_static_pad_template_get), (gst_pad_template_new),
23316 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
23317 (gst_pad_template_pad_created):
23318 * gst/gstpadtemplate.h:
23319 inlined two more docs
23320 factored gstpadtemplate out of gstpad
23322 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
23324 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23325 (test_children_state_change_order_semi_sink):
23326 Fix test case: we can't rely on a fixed state change order when
23327 going from READY => PAUSED because the sink might commit its
23328 new state first when the first buffer created by the source
23329 reaches the sink before the source has finished its change state.
23330 (Test case still fails at times, see #316856, comment 5 onwards)
23332 2005-09-24 Wim Taymans <wim@fluendo.com>
23334 * docs/design/part-events.txt:
23335 * docs/design/part-gstbus.txt:
23336 * docs/design/part-gstpipeline.txt:
23337 * docs/design/part-messages.txt:
23338 * docs/design/part-overview.txt:
23339 * docs/design/part-segments.txt:
23343 * gst/gstelement.c:
23346 * gst/gstiterator.c:
23347 Various documentation updates.
23349 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
23352 Well, that's embarassing. Luckily we weren't using
23353 GST_CLOCK_DIFF anywhere.
23355 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23357 * common/gtk-doc.mak:
23358 don't fail on building XML, FC4 slave shows a bunch of doc
23359 missing bits that I don't get
23361 * gst/gstpipeline.c:
23362 * gst/gststructure.c:
23365 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23367 * docs/design/part-gstbin.txt:
23368 * docs/design/part-gstbus.txt:
23370 Add blurb about how the bus goes into flushing mode and
23371 drops all messages when its bin goes from READY into NULL
23374 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23376 * docs/gst/gstreamer-sections.txt:
23377 * gst/gststructure.c: (gst_structure_get_clock_time):
23378 * gst/gststructure.h:
23379 add a method to get a GstClockTime out of a structure
23381 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23383 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23384 (test_children_state_change_order_semi_sink), (gst_bin_suite):
23385 Added test to check state change order in bins (can still be made
23386 to fail here under heavy disk load; bails out with 'Push on pad
23387 fakesink:sink0, but it was not activated in push mode').
23389 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23390 Fix state change order when there is only a semi sink (#316856)
23392 * gst/gstbus.c: (gst_bus_class_init):
23393 Use _class_peek_parent(), not _class_ref(); fix docs to say
23394 'default main context' instead of 'mainloop' where that is
23397 * gst/gstelement.c: (gst_element_commit_state),
23398 (gst_element_set_state):
23399 Fix typos in debug messages
23401 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23404 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23405 * gst/gstpluginfeature.c:
23407 various doc updates
23408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23409 change an assert into an error until it gets fixed properly
23411 2005-09-23 Stefan Kost <ensonic@users.sf.net>
23413 * docs/gst/gstreamer-sections.txt:
23414 * docs/gst/tmpl/.cvsignore:
23415 * docs/gst/tmpl/gstelement.sgml:
23416 * docs/gst/tmpl/gstinfo.sgml:
23417 * docs/gst/tmpl/gstobject.sgml:
23418 * gst/gstelement.c:
23419 * gst/gstelement.h:
23422 * gst/gstobject.c: (gst_object_class_init):
23424 inlined 3 more biiiig doc files and added some missing docs on the fly
23426 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23428 * check/gst/.cvsignore:
23429 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23430 * gst/gstregistryxml.c: (load_plugin),
23431 (gst_registry_xml_save_plugin):
23432 put back source in registry. add checks for find_plugin.
23433 * testsuite/states/bin.c: (assert_state), (empty_bin),
23434 (test_adding_one_element), (main):
23435 * testsuite/states/locked.c: (main):
23436 some compile/run fixes
23438 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
23440 * check/gst/gstvalue.c: (GST_START_TEST):
23441 fix leaks in the test itself
23443 2005-09-22 Wim Taymans <wim@fluendo.com>
23445 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23446 (gst_base_sink_send_event), (gst_base_sink_peer_query),
23447 (gst_base_sink_query):
23448 Prepare for more accurate position reporting and query
23451 * gst/gstelement.c: (gst_element_send_event),
23452 (gst_element_set_state):
23455 2005-09-22 Wim Taymans <wim@fluendo.com>
23457 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23458 (gst_query_parse_segment):
23460 More documentation.
23461 Add segment query for future use.
23463 2005-09-22 Wim Taymans <wim@fluendo.com>
23465 * gst/gstbin.c: (gst_bin_add_func):
23466 Some more debug info.
23468 * gst/gstelement.c: (gst_element_send_event):
23469 Simplify send_event
23471 * gst/gstelement.h:
23472 Don't know how flags got broken.
23477 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23479 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23480 Add simplistic test suite for GST_TYPE_DATE serialisation and
23483 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23485 * docs/gst/gstreamer-sections.txt:
23486 * gst/gststructure.c: (gst_structure_set_valist),
23487 (gst_structure_get_date):
23488 * gst/gststructure.h:
23489 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23490 (gst_date_copy), (gst_value_compare_date),
23491 (gst_value_serialize_date), (gst_value_deserialize_date),
23492 (gst_value_transform_date_string),
23493 (gst_value_transform_string_date), (_gst_value_initialize):
23495 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23496 bunch of utility functions along with a hack that checks that
23497 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23498 is required. Part of the grand scheme in #170777.
23500 2005-09-22 Andy Wingo <wingo@pobox.com>
23502 * gst/gstconfig.h.in: Psych out gtk-doc.
23504 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23506 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23508 * tools/gst-inspect.c (print_element_list): Plug some
23509 inconsequential leaks.
23511 * gst/gstregistry.c (gst_registry_get_default): Doc.
23513 * check/gst/gstplugin.c:
23514 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23515 * gst/gstelementfactory.c (gst_element_factory_create):
23516 * gst/gstindexfactory.c (gst_index_factory_create): Update for
23519 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23520 (gst_plugin_feature_load): Doc, don't eat refs.
23522 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23523 (gst_plugin_list_free): Doc.
23524 (gst_plugin_load_file): Doc updates.
23526 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23527 accessors returning refcounted objects, return a ref.
23529 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23530 accessor for caps. IDEMPOTENCE. Oh yes.
23532 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
23534 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23536 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23537 (_gst_debug_register_funcptr):
23538 Add mutex to serialise access to the hash table with
23539 the function pointer => function name string mapping;
23540 make that hash table static scope (#316809).
23542 * gst/registries/.cvsignore:
23543 Remove left-over file.
23545 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23547 * docs/pwg/appendix-porting.xml:
23548 And something about newsegment events and caps-on-buffers to
23549 the porting guide (feel free to improve).
23551 2005-09-21 Andy Wingo <wingo@pobox.com>
23553 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23554 data and event probes on the same pad.
23555 (test_buffer_probe_once): Test that removing probes from within
23556 the probe functions works.
23558 2005-09-21 Andy Wingo <wingo@pobox.com>
23560 * check/gst/gstutils.c: New file.
23561 (test_buffer_probe_n_times): A simple buffer probe test. More to
23564 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23565 have-data::buffer, not have-data.
23566 (gst_pad_add_event_probe): Likewise for have-data::event.
23567 (gst_pad_add_data_probe): More docs. The part about 'resolving the
23568 peer' isn't quite right yet though.
23569 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
23570 (gst_pad_remove_data_probe): Change to take the guint handler_id
23571 as their arg, not the function+data, which is more glib-like.
23573 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23574 the signal emission to indicate if the data is a buffer or an
23576 (gst_pad_get_type): Initialize buffer and event quarks.
23577 (gst_pad_class_init): have-data is now a detailed signal, yes it
23580 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23582 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23583 * gst/gstutils.c: (gst_util_set_value_from_string),
23584 (gst_util_set_object_arg):
23585 Don't put functional code in g_return_if_fail() or
23586 g_return_val_if_fail() statements, otherwise things will
23587 break when G_DISABLE_CHECKS is defined during compilation.
23589 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23591 * docs/gst/tmpl/.cvsignore:
23592 * docs/gst/tmpl/gstvalue.sgml:
23595 inlied another one and added some obvious docs
23597 2005-09-21 Wim Taymans <wim@fluendo.com>
23599 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23600 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23601 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23602 (gst_fdsrc_get_property), (gst_fdsrc_create):
23603 * gst/elements/gstfdsrc.h:
23604 Properly implement fdsrc. Removed signal and timeout,
23605 better implemented somewhere else.
23607 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23609 * docs/gst/tmpl/.cvsignore:
23610 * docs/gst/tmpl/gstimplementsinterface.sgml:
23611 * gst/gstinterface.c:
23614 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23616 * docs/gst/gstreamer-sections.txt:
23617 * docs/gst/tmpl/.cvsignore:
23618 * docs/gst/tmpl/gstenumtypes.sgml:
23619 remove obsolete doc file
23621 2005-09-21 David Schleef <ds@schleef.org>
23623 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23624 little beer, fix a little leak.
23626 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23628 * docs/gst/gstreamer-docs.sgml:
23629 * docs/gst/gstreamer-sections.txt:
23630 * docs/gst/tmpl/.cvsignore:
23634 * gst/gstelement.h:
23635 * gst/gstindex.c: (gst_index_class_init):
23637 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23638 (gst_index_factory_class_init), (gst_index_factory_init),
23639 (gst_index_factory_finalize), (gst_index_factory_new),
23640 (gst_index_factory_destroy), (gst_index_factory_find),
23641 (gst_index_factory_create), (gst_index_factory_make):
23642 * gst/gstindexfactory.h:
23643 * gst/gstpluginfeature.c:
23644 * gst/gstpluginfeature.h:
23645 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23646 more docs inlined, splitted gstindex.{c,h}
23648 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23650 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23653 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23655 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23656 Set sync to FALSE by default.
23658 2005-09-20 Wim Taymans <wim@fluendo.com>
23660 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23661 (gst_base_sink_init):
23662 Make sync property settable from subclass.
23664 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23665 (gst_fake_sink_change_state):
23666 Set sync to FALSE by default.
23668 2005-09-20 Wim Taymans <wim@fluendo.com>
23670 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23671 * tools/gst-launch.c: (main):
23672 The timeout handler should have lower priority than the source
23673 so we don't timeout before popping a message with 0 timeout.
23674 Dump error messages after failed state change.
23676 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23678 * tools/gst-inspect.c: (print_element_properties_info):
23681 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23683 * check/gst/gstevent.c:
23684 * gst/elements/gstfakesink.c:
23685 * gst/elements/gstfakesink.h:
23686 remove the sync property from fakesink.
23687 has the side effect of setting sync TRUE
23688 for fakesink, which is a change. Anyone who knows how
23689 to fix this nicely in a GObject-y way, feel free.
23691 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23693 * docs/gst/gstreamer-docs.sgml:
23694 remove probe refsection
23696 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23698 * check/Makefile.am:
23699 disable valgrinding the controller test again
23700 * docs/gst/gstreamer-sections.txt:
23701 update for api-changes
23703 2005-09-20 Wim Taymans <wim@fluendo.com>
23705 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23706 (gst_base_sink_set_property), (gst_base_sink_get_property),
23707 (gst_base_sink_do_sync):
23708 * gst/base/gstbasesink.h:
23709 Added sync property to basesink to disable clock sync.
23711 2005-09-20 Andy Wingo <wingo@pobox.com>
23713 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23714 eating the caller's refcount.
23716 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23717 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23720 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23721 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23722 of GLib 2.8 public, so we can know which refcount to check in
23725 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23726 (gst_object_init): Only set the gst refcount if we're going ahead
23727 with the refcount hack.
23729 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23731 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23732 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23733 more leaks plumbed, added more debug-logging
23737 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23739 * gst/gstmessage.c:
23740 remove include of gstmemchunk.h
23742 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23744 * gst/gstclock.c: (_gst_clock_id_free):
23745 Commit from the Political Party For More Atomic CVS Commits,
23746 so that people don't waste too much of their day fishing
23747 out obvious leaks out of massive commits.
23748 Oh, and fix a pretty damn obvious leak in the memchunk
23751 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23753 * check/Makefile.am:
23754 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23755 plug mem-leak, re-add to valgrindable tests
23757 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23760 unbreak the build for those who have chronic arthritis
23761 and typing "make check" is just too taxing on the hands
23763 2005-09-20 Andy Wingo <wingo@pobox.com>
23765 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23766 really want it out, you should fix plugins at the same time.
23768 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23771 * docs/gst/gstreamer-sections.txt:
23773 added missing symbols to api docs
23774 disable ref-count hack if we have glib >= 2.8
23776 2005-09-19 David Schleef <ds@schleef.org>
23778 * docs/gst/Makefile.am: Ignore a few more internal headers
23779 * docs/gst/gstreamer-docs.sgml: Remove old sections
23780 * docs/gst/gstreamer-sections.txt: Remove old sections
23781 * docs/gst/tmpl/gstobject.sgml: update
23782 * docs/gst/tmpl/gstplugin.sgml: update
23783 * docs/gst/tmpl/gstpluginfeature.sgml: update
23784 * docs/random/ds/0.9-suggested-changes: update.
23785 * gst/Makefile.am: remove memchunk and trashstack, since they're
23787 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23788 * gst/gst.h: don't include some headers
23789 * gst/gstchildproxy.c: add gstmarshal.h
23790 * gst/gstclock.c: Don't use memchunks
23791 * gst/gstminiobject.c: Add some docs
23792 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23793 * gst/gstobject.h: same
23794 * gst/gstplugin.c: include gstmacros.h
23795 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23796 * gst/gstquery.c: don't use memchunks
23797 * gst/gstregistry.c: rename gst_registry_deinit()
23798 * gst/gstregistry.h: same
23800 2005-09-19 David Schleef <ds@schleef.org>
23802 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23803 * docs/libs/gstreamer-libs-sections.txt:
23804 * docs/libs/tmpl/gstgetbits.sgml:
23805 * docs/libs/tmpl/gstputbits.sgml:
23807 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23809 * win32/gstenumtypes.c:
23810 * win32/gstenumtypes.h:
23813 2005-09-19 Wim Taymans <wim@fluendo.com>
23815 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23816 Automatically PAUSE and RESUME a pipeline when a flushing seek
23819 2005-09-19 Andy Wingo <wingo@pobox.com>
23821 * gst/gstregistry.h: Spacing fixen.
23823 2005-09-19 Wim Taymans <wim@fluendo.com>
23825 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23826 Handle state change failure more correctly.
23828 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23830 * check/Makefile.am:
23831 * check/pipelines/cleanup.c: (run_pipeline):
23832 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23834 enable cleanup again after fixing the leak
23836 some more info on docs
23838 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23840 * check/Makefile.am:
23841 re-enable tests now that leaks are plugged
23843 * check/gst/gstbin.c:
23844 * check/gst/gstpipeline.c:
23845 add some more tests while fixing leaks
23846 * common/check.mak:
23847 make sure binaries are uptodate when valgrinding/gdbing
23849 * gst/gstelementfactory.c:
23850 remove a ref too many, and add a FIXME for when we get
23851 round to disposing of classes
23853 fix the refcounting when loading a plugin from a file and
23854 the code pretends that the pointer is the same even though
23855 of course it can change
23856 * gst/gstpluginfeature.c:
23857 unref plugins marked cached (a bit confusing as a name)
23858 as the docs state should be done
23859 various doc additions to explain refcounting
23860 * gst/gstregistry.c:
23861 * gst/gstregistryxml.c:
23864 2005-09-19 Wim Taymans <wim@fluendo.com>
23866 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23867 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23868 (send_messages), (GST_START_TEST), (gstbus_suite):
23869 * check/gst/gstpipeline.c: (GST_START_TEST):
23870 * check/pipelines/cleanup.c: (run_pipeline):
23871 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23873 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23874 (gst_bus_source_check), (gst_bus_source_dispatch),
23875 (gst_bus_create_watch), (gst_bus_add_watch_full),
23876 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23878 * tools/gst-launch.c: (event_loop):
23879 * tools/gst-md5sum.c: (event_loop):
23880 GstBusHandler -> GstBusFunc, return value has the same meaning as
23881 any other GSource (FALSE == remove source).
23882 _add_watch() and _add_watch_full() now take a MessageType mask to
23883 only handle specific types of messages.
23884 _poll() returns the GstMessage instead of the message type to avoid
23886 _have_pending() takes a MessageType mask now too.
23887 Added testsuite for multiple bus watches.
23888 Fix testsuites and applications for new bus API.
23890 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23892 * check/Makefile.am:
23893 mark a bunch of the tests as to fix until we fix them
23895 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23897 * common/check.mak:
23898 use GST_PLUGIN settings for valgrind tests as well, so we're
23899 valgrinding the correct thing
23900 * gst/gst.c: (init_post):
23903 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23905 * gst/gst.c: (init_post), (gst_deinit):
23906 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23907 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23908 * gst/gstindex.c: (gst_index_factory_class_init),
23909 (gst_index_factory_finalize):
23910 * gst/gstobject.c: (gst_object_dispose):
23911 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23912 (gst_plugin_load_file), (gst_plugin_desc_free):
23913 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23914 (gst_plugin_feature_finalize):
23915 * gst/gstregistry.c: (gst_registry_class_init),
23916 (gst_registry_init), (gst_registry_finalize),
23917 (gst_registry_get_default), (gst_registry_deinit):
23918 * gst/gstregistry.h:
23919 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23920 various cleanups and memleak plugging. make valgrind is happy now.
23922 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23924 * common/check.mak:
23925 add a check-valgrind target
23927 2005-09-18 David Schleef <ds@schleef.org>
23929 * tools/gst-inspect.c: Revert the GOption code.
23931 2005-09-17 David Schleef <ds@schleef.org>
23933 * check/Makefile.am: Fix environment variables.
23934 * check/gst/gstplugin.c: Fix for API changes.
23935 * tools/gst-inspect.c: Fix for API changes.
23936 * tools/gst-xmlinspect.c: Fix for API changes.
23937 * gst/gstelementfactory.c:
23940 * gst/gstpluginfeature.c:
23941 * gst/gstpluginfeature.h:
23942 * gst/gstregistry.c:
23943 * gst/gstregistry.h:
23944 * gst/gstregistryxml.c:
23945 * gst/gsttypefind.c:
23946 * gst/gsttypefindfactory.c:
23947 * gst/indexers/gstfileindex.c:
23948 * gst/indexers/gstmemindex.c:
23949 * gst/schedulers/Makefile.am:
23950 Change registry to keep track of both plugins and features,
23951 removing the feature tracking from plugins themselves.
23953 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23955 * check/Makefile.am:
23956 * tools/gst-register.1.in:
23957 remove gst-register
23959 2005-09-15 David Schleef <ds@schleef.org>
23961 * check/gst/gstplugin.c:
23962 * gst/gstelementfactory.c:
23964 * gst/gstpluginfeature.c:
23965 * gst/gstregistry.c:
23966 Getting tired of debugging. Disabled all the unreffing of
23967 plugins and features, which fixes the segfaults, but of
23968 course leaks like crazy. At least playbin works.
23970 2005-09-15 David Schleef <ds@schleef.org>
23972 * check/gst/gstplugin.c: (register_check_elements),
23973 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23975 * gst/elements/gsttypefindelement.c: Fix refcounting.
23976 * gst/gsttypefind.c:
23977 * gst/gsttypefindfactory.c:
23978 * gst/gsttypefindfactory.h:
23980 2005-09-15 David Schleef <ds@schleef.org>
23982 * gst/gstindex.c: get refcounting correct.
23983 * gst/gstregistry.c: Handle the case where a feature/plugin is
23986 2005-09-15 David Schleef <ds@schleef.org>
23988 * check/Makefile.am:
23989 * check/gst/gstplugin.c: Add test
23990 * gst/gstplugin.c: Fix problems noticed by testsuite
23992 * gst/gstregistry.c:
23993 * gst/gstregistry.h:
23995 2005-09-15 David Schleef <ds@schleef.org>
23997 * gst/gstplugin.c: Implement semi-decent recounting and locking
23998 in plugins and plugin features.
24000 * gst/gstpluginfeature.c:
24001 * gst/gstpluginfeature.h:
24002 * gst/gstregistry.c:
24004 2005-09-15 Michael Smith <msmith@fluendo.com>
24006 * gst/gstregistry.c: (gst_registry_get_feature_list):
24007 Implement this. Makes oggdemux work; decodebin still broken.
24009 2005-09-14 David Schleef <ds@schleef.org>
24011 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24013 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24014 * gst/check/Makefile.am:
24015 * libs/gst/controller/Makefile.am:
24016 * libs/gst/dataprotocol/Makefile.am:
24018 2005-09-14 David Schleef <ds@schleef.org>
24020 * configure.ac: Remove getbits library. Nothing uses it, and
24021 it should be in something like liboil if someone did want
24023 * libs/gst/Makefile.am:
24024 * libs/gst/getbits/Makefile.am:
24025 * libs/gst/getbits/gbtest.c:
24026 * libs/gst/getbits/getbits.c:
24027 * libs/gst/getbits/getbits.h:
24028 * libs/gst/getbits/gstgetbits_generic.c:
24029 * libs/gst/getbits/gstgetbits_i386.s:
24030 * libs/gst/getbits/gstgetbits_inl.h:
24032 2005-09-14 David Schleef <ds@schleef.org>
24034 * gst/Makefile.am: Dist glib-compat.h
24036 2005-09-14 David Schleef <ds@schleef.org>
24038 * configure.ac: Remove gst/registries, since it's no longer used.
24039 * gst/registries/Makefile.am:
24040 * gst/registries/gstlibxmlregistry.c:
24041 * gst/registries/gstlibxmlregistry.h:
24042 * gst/registries/gstxmlregistry.c:
24043 * gst/registries/gstxmlregistry.h:
24044 * gst/registries/registrytest.c:
24046 2005-09-14 David Schleef <ds@schleef.org>
24048 * gst/glib-compat.h:
24049 * gst/gstregistryxml.c:
24050 Convergence is near. Seriously.
24052 2005-09-14 David Schleef <ds@schleef.org>
24054 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24055 * gst/glib-compat.h:
24056 Attempt #4 to appease the buildbots.
24058 2005-09-14 David Schleef <ds@schleef.org>
24060 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24063 2005-09-14 David Schleef <ds@schleef.org>
24065 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24068 2005-09-14 David Schleef <ds@schleef.org>
24070 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24073 2005-09-14 David Schleef <ds@schleef.org>
24075 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24076 * gst/glib-compat.h: Add some functions that are in newer versions
24077 of glib than we care to require.
24078 * gst/gstregistryxml.c: Use them.
24080 2005-09-14 David Schleef <ds@schleef.org>
24082 * po/POTFILES.in: remove gst-register.c
24084 2005-09-14 David Schleef <ds@schleef.org>
24086 * docs/gst/gstreamer-docs.sgml:
24087 * docs/gst/gstreamer-sections.txt:
24088 * docs/gst/gstreamer.types:
24089 * docs/gst/tmpl/gstelement.sgml:
24090 * docs/gst/tmpl/gstplugin.sgml:
24091 * docs/gst/tmpl/gstpluginfeature.sgml:
24092 Documentation updates for registry changes.
24094 2005-09-14 David Schleef <ds@schleef.org>
24096 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24097 because we don't require glib-2.8.
24099 2005-09-14 David Schleef <ds@schleef.org>
24101 * gst/gstregistryxml.c: Added. Essentially moved out of the
24102 registries directory.
24104 2005-09-14 David Schleef <ds@schleef.org>
24106 * check/Makefile.am:
24107 * check/generic/states.c:
24111 * gst/gst_private.h:
24112 * gst/gstelementfactory.c:
24117 * gst/gstpluginfeature.c:
24118 * gst/gstpluginfeature.h:
24119 * gst/gstregistry.c:
24120 * gst/gstregistry.h:
24121 * gst/gstregistrypool.c: remove
24122 * gst/gstregistrypool.h: remove
24123 * gst/gsttypefind.c:
24124 * gst/gsttypefindfactory.c:
24126 * tools/Makefile.am:
24127 * tools/gst-compprep.c:
24128 * tools/gst-inspect.c:
24129 * tools/gst-register.c: remove
24130 * tools/gst-xmlinspect.c:
24131 Registry rewrite. Changes registry from being a file created
24132 by a tool into a simple cache file created automatically by
24133 libgstreamer. Removed gst-register (because it's no longer
24134 needed). Remove registry pools, because we only have one
24135 registry implementation (XML). Fix up other subsystems as
24138 2005-09-13 Michael Smith <msmith@fluendo.com>
24140 * gst/gstconfig.h.in:
24141 Don't Use windows linking attributes for MinGW. Fixes #316157
24143 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
24145 * gst/gstutils.c: (set_state_async_thread_func),
24146 (gst_element_set_state_async):
24147 Apparently people think it's better if this function doesn't
24148 try to set the state to whatever state was asked for on the first
24149 call to this function for any object. Seriously.
24151 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24153 * check/gst/gstpipeline.c: (GST_START_TEST):
24154 * docs/gst/gstreamer-sections.txt:
24155 * gst/gstutils.c: (set_state_async_thread_func),
24156 (gst_element_set_state_async):
24158 add a "gst_element_set_state_async" method that
24159 sets the state and starts a thread to make sure the state
24160 change completes as best as it can
24162 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24164 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24165 codify design+behaviour in testsuite after discussion
24167 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24169 * docs/gst/tmpl/gstelement.sgml:
24170 * docs/manual/appendix-quotes.xml:
24172 * gst/gstelement.c: (gst_element_set_state):
24175 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
24177 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24178 (gst_base_transform_prepare_output_buf),
24179 (gst_base_transform_handle_buffer):
24180 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
24181 (gst_capsfilter_prepare_buf):
24182 Remove the requirement for sub-classes to call the parent
24183 implementation of prepare_output_buffer with a wrapper function.
24185 * gst/gsttaglist.h:
24186 * gst/gsttagsetter.h:
24187 Fix #define wrapper
24189 2005-09-11 Stefan Kost <ensonic@users.sf.net>
24191 * docs/gst/gstreamer-sections.txt:
24194 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24196 * docs/gst/gstreamer-sections.txt:
24197 * docs/gst/tmpl/gstelement.sgml:
24198 * docs/gst/tmpl/gstplugin.sgml:
24199 * gst/gstminiobject.c:
24201 docs now stop throwing warnings
24203 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24205 * docs/gst/gstreamer-sections.txt:
24206 * docs/gst/gstreamer.types:
24207 * docs/gst/tmpl/gstpad.sgml:
24208 * docs/gst/tmpl/gsttypes.sgml:
24209 * gst/base/gstadapter.h:
24210 * gst/base/gstbasesink.h:
24211 * gst/base/gstbasesrc.h:
24217 * gst/gstelement.h:
24219 * gst/gstmessage.h:
24221 * gst/gststructure.c:
24222 * gst/registries/gstlibxmlregistry.h:
24223 various documentation fixes
24225 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24227 * docs/gst/gstreamer-sections.txt:
24228 * docs/gst/tmpl/gstvalue.sgml:
24229 rearrange gstvalue section
24230 * gst/gstutils.c: (gst_element_state_get_name):
24232 * gst/gstvalue.c: (_gst_value_initialize):
24236 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
24238 * check/gst-libs/controller.c:
24239 Header include fix.
24240 * gst/base/gstbasetransform.c:
24241 (gst_base_transform_default_prepare_buf),
24242 (gst_base_transform_handle_buffer):
24243 * gst/base/gstbasetransform.h:
24244 Some more basetransform changes and fixes to enable sub-classes
24245 that modify buffer metadata only.
24246 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24247 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
24248 (gst_capsfilter_prepare_buf):
24249 If the output pad has fixed allowed caps and input buffers
24250 don't have any, set the fixed caps on outgoing buffers.
24252 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
24253 * check/elements/identity.c: (GST_START_TEST):
24254 Make the error a little clearer when the test fails because
24255 identity made a copy of the buffer.
24256 * docs/gst/gstreamer-sections.txt:
24257 New symbols in gstbasetransform.h
24258 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24259 (gst_base_transform_init), (gst_base_transform_transform_size),
24260 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24261 (gst_base_transform_default_prepare_buf),
24262 (gst_base_transform_get_unit_size),
24263 (gst_base_transform_buffer_alloc),
24264 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
24265 (gst_base_transform_change_state),
24266 (gst_base_transform_set_passthrough),
24267 (gst_base_transform_set_in_place),
24268 (gst_base_transform_is_in_place):
24269 * gst/base/gstbasetransform.h:
24270 Change BaseTransform to separate in_place operate from same_caps
24271 output. in_place implies that the element can perform the transform
24272 on incoming buffers in-place, even if the caps on the output are
24274 Sub-class elements can now implement special buffer allocation
24275 methods for outgoing buffers if they wish to.
24276 Big documentation addition.
24277 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
24278 * gst/elements/gstelements.c:
24279 Changes for basetransform modifications.
24280 * gst/elements/Makefile.am:
24281 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
24282 Compile fix. Extra debug output.
24284 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24286 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
24288 add tests for valid pad naming
24289 * gst/check/gstcheck.c: (gst_check_log_message_func),
24290 (gst_check_log_critical_func):
24292 remove printing of code, it is fragile when the code contains
24293 % and the line number is enough info
24294 * gst/check/gstcheck.h:
24295 * gst/gstpad.c: (gst_pad_template_new):
24298 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24301 say what CHECK flags we use
24302 * docs/libs/gstreamer-libs.types:
24303 * libs/gst/controller/Makefile.am:
24304 * libs/gst/controller/gst-controller.c:
24305 * libs/gst/controller/gst-controller.h:
24306 * libs/gst/controller/gst-helper.c:
24307 * libs/gst/controller/gst-interpolation.c:
24308 * libs/gst/controller/gstcontroller.c:
24309 * libs/gst/controller/gsthelper.c:
24310 * libs/gst/controller/gstinterpolation.c:
24311 * tools/gst-inspect.c: (print_plugin_info):
24312 we don't use dashes in header names
24314 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24316 * check/Makefile.am:
24317 * check/gst/.cvsignore:
24318 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
24319 (gst_pipeline_suite), (main):
24320 adding a test for pipelines and state changes
24321 * gst/gstutils.c: (get_state_func):
24323 * gstreamer.spec.in:
24326 2005-09-08 Michael Smith <msmith@fluendo.com>
24328 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
24329 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
24330 (gst_file_src_is_seekable), (gst_file_src_get_size),
24331 (gst_file_src_start):
24332 * gst/elements/gstfilesrc.h:
24333 Various fixes for unseekable, unmmapable, and non-normal files, so
24334 that fallback to read() rather than mmap() works.
24335 * gst/gstevent.c: (gst_event_new_newsegment):
24336 Allow newsegment events with segment_start == segment_end, as will
24337 correctly happen if you use filesrc on a zero-size file, for
24340 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24342 * gst/gstplugin.c: (gst_plugin_load_file):
24343 Call g_module_close when we don't load the module
24345 * gst/registries/gstlibxmlregistry.c:
24346 (gst_xml_registry_get_property):
24347 Port leak fix from 0.8
24349 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24351 * docs/gst/gstreamer-docs.sgml:
24352 * docs/gst/tmpl/.cvsignore:
24353 * docs/gst/tmpl/gsttrace.sgml:
24354 * docs/gst/tmpl/gsttrashstack.sgml:
24357 * gst/gstelement.h:
24359 * gst/gstmessage.c:
24360 * gst/gstmessage.h:
24363 * gst/gsttaginterface.c:
24364 * gst/gsttaginterface.h:
24365 * gst/gsttaglist.c:
24366 * gst/gsttaglist.h:
24367 * gst/gsttagsetter.c:
24368 * gst/gsttagsetter.h:
24371 * gst/gsttrashstack.c:
24372 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24373 inlined docs for gsttrace, gsttrashstack
24375 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24378 * gst/elements/gstbufferstore.h:
24379 * gst/elements/gsttypefindelement.c:
24380 * gst/elements/gsttypefindelement.h:
24382 * gst/gsttypefind.c:
24383 * gst/gsttypefind.h:
24384 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24385 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24386 (gst_type_find_factory_dispose),
24387 (gst_type_find_factory_unload_thyself),
24388 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24389 (gst_type_find_factory_get_caps),
24390 (gst_type_find_factory_get_extensions),
24391 (gst_type_find_factory_call_function):
24392 * gst/gsttypefindfactory.h:
24393 * gst/registries/gstlibxmlregistry.c:
24394 * gst/registries/gstxmlregistry.c:
24395 splitted gsttypefind into gsttypefind, gsttypefindfactory
24397 2005-09-07 Andy Wingo <wingo@pobox.com>
24399 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24400 condition whereby the pad's task function is entered before the
24401 pad_mode variable was set.
24403 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24405 * gst/gstpad.c: (gst_pad_alloc_buffer):
24406 Catch misbehaving pad_alloc functions that don't
24407 set up caps and do it for them.
24409 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24411 * check/pipelines/simple_launch_lines.c: (run_pipeline):
24412 test for pipe!=NULL
24413 * docs/gst/tmpl/.cvsignore:
24414 * docs/gst/tmpl/gstmemchunk.sgml:
24415 * docs/gst/tmpl/gstparse.sgml:
24416 * docs/gst/tmpl/gsttaglist.sgml:
24417 * docs/gst/tmpl/gsttagsetter.sgml:
24418 * docs/gst/tmpl/gsttypefind.sgml:
24419 * docs/gst/tmpl/gsttypefindfactory.sgml:
24420 * gst/gstmemchunk.c:
24423 * gst/gsttaginterface.c:
24424 * gst/gsttypefind.c:
24425 * gst/gsttypefind.h:
24428 === release 0.9.2 ===
24430 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
24435 releasing 0.9.2, "South"
24437 2005-09-05 Andy Wingo <wingo@pobox.com>
24439 * gst/registries/gstxmlregistry.h:
24440 * gst/registries/gstxmlregistry.c: Um... resurrect...
24442 * gst/registries/gstxmlregistry.h:
24443 * gst/registries/gstxmlregistry.c: and update to newer API.
24444 Incidentally they should be a bit faster now that they don't have
24447 2005-09-05 Andy Wingo <wingo@pobox.com>
24449 * gst/registries/gstxmlregistry.h:
24450 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24451 replaced by the libxml registry a while back
24453 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24455 * docs/gst/tmpl/gstplugin.sgml:
24456 * gst/elements/gstelements.c:
24458 * gst/gstplugin.c: (gst_plugin_register_func),
24459 (gst_plugin_desc_copy), (gst_plugin_desc_free),
24460 (gst_plugin_get_source):
24462 * gst/registries/gstlibxmlregistry.c: (load_plugin),
24463 (gst_xml_registry_save_plugin):
24464 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24465 (gst_xml_registry_save_plugin):
24466 * tools/gst-inspect.c: (print_plugin_info):
24467 add a "source" plugin description field, to represent the source
24468 module this plugin is a part of. By default GST_PLUGIN_DEFINE
24469 will set it to PACKAGE, which is automake's idea of the name of
24470 the source project.
24472 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24477 * docs/Makefile.am:
24478 * docs/faq/Makefile.am:
24479 * docs/gst/tmpl/gstelement.sgml:
24480 * docs/gst/tmpl/gsttypes.sgml:
24481 * docs/htmlinstall.mak:
24482 * docs/manual/Makefile.am:
24483 * docs/pwg/Makefile.am:
24484 reorganize doc build a little
24485 split out docbook and gtk-doc stuff
24486 have two separate --enable's and enable them through autogen
24487 but disable by default in configure (to be similar to other
24489 * gstreamer.spec.in:
24490 clean up docs install
24508 translation updates
24510 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
24512 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24515 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24516 (gst_fake_sink_change_state):
24517 Make state change function thread-safe.
24519 * gst/gstpad.c: (gst_pad_alloc_buffer):
24520 Set offset on generic buffer allocated by fallback.
24522 2005-09-03 Stefan Kost <ensonic@users.sf.net>
24524 * docs/gst/gstreamer-sections.txt:
24525 * docs/gst/tmpl/gstelement.sgml:
24527 * libs/gst/controller/gst-controller.c:
24528 (gst_controlled_property_set_interpolation_mode),
24529 (gst_controlled_property_new),
24530 (gst_controller_find_controlled_property):
24531 run the wingo-magic script against the docs
24533 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24535 * docs/gst/gstreamer-docs.sgml:
24536 * docs/gst/gstreamer-sections.txt:
24537 * docs/gst/tmpl/.cvsignore:
24538 * docs/gst/tmpl/gstelementdetails.sgml:
24539 * docs/gst/tmpl/gstelementfactory.sgml:
24542 * gst/gstelementfactory.c:
24543 * gst/gstelementfactory.h:
24544 merged elementdetails docs into elementfactory docs
24547 2005-09-02 Andy Wingo <wingo@pobox.com>
24549 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24550 consider this enum an enum and not a flags.
24552 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24554 * docs/gst/gstreamer-docs.sgml:
24555 * docs/gst/tmpl/.cvsignore:
24556 * docs/gst/tmpl/gstghostpad.sgml:
24557 * docs/gst/tmpl/gstiterator.sgml:
24558 * docs/gst/tmpl/gstmacros.sgml:
24559 * docs/gst/tmpl/gstrealpad.sgml:
24560 * docs/gst/tmpl/gstregistry.sgml:
24561 * docs/gst/tmpl/gstregistrypool.sgml:
24562 * docs/gst/tmpl/gststructure.sgml:
24563 * docs/gst/tmpl/gstsystemclock.sgml:
24564 * docs/gst/tmpl/gsttrace.sgml:
24565 * gst/gstghostpad.c:
24567 * gst/gstmemchunk.c:
24568 * gst/gstmemchunk.h:
24570 * gst/gstregistry.c:
24571 * gst/gstregistrypool.c:
24572 * gst/gststructure.c:
24573 * gst/gstsystemclock.c:
24576 2005-09-02 Andy Wingo <wingo@pobox.com>
24578 * gst/gstelement.h (GstState): Renamed from GstElementState,
24579 changed to be a normal enum instead of flags.
24580 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24581 munged to be GST_STATE_CHANGE_*.
24582 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24583 work with the new state representation.
24584 (GstStateChange): New enumeration of possible state transitions.
24585 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24586 (GstElementClass::change_state): Pass the GstStateChange along as
24587 an argument. Helps language bindings, so they don't have to use
24588 tricky lock-needing macros like GST_STATE_CHANGE ().
24590 * scripts/update-states (file): New script. Run it on a file to
24591 update it for state naming and API changes. Updates files in
24594 * All files updated for the new API.
24596 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
24598 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24599 * gst/gstutils.c: (gst_util_set_value_from_string),
24600 (gst_util_set_object_arg):
24601 fix a bunch of unchecked return values
24602 * tools/gst-complete.c: (main):
24603 * gstreamer.spec.in:
24606 2005-09-01 Wim Taymans <wim@fluendo.com>
24608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24609 (gst_base_sink_event), (gst_base_sink_do_sync),
24610 (gst_base_sink_handle_event):
24611 * gst/base/gstbasesink.h:
24612 Handle newsegments more correctly.
24617 * gst/gstevent.c: (gst_event_new_newsegment):
24618 A newsegment cannot have a start_time of -1
24620 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24622 * win32/gstenumtypes.c:
24623 * win32/gstenumtypes.h:
24626 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24628 * libs/gst/controller/gst-controller.c:
24629 (gst_controlled_property_set_interpolation_mode),
24630 (gst_controlled_property_new):
24631 fixed boolean again
24633 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24635 * docs/faq/gst-uninstalled:
24640 * gst/gstutils.c: (gst_element_link_filtered):
24642 add gst_element_link_filtered
24644 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24646 * docs/gst/gstreamer-docs.sgml:
24647 * docs/gst/gstreamer-sections.txt:
24648 * docs/gst/tmpl/.cvsignore:
24649 * docs/gst/tmpl/gsterror.sgml:
24650 * docs/gst/tmpl/gstfilter.sgml:
24651 * docs/gst/tmpl/gsturihandler.sgml:
24652 * docs/gst/tmpl/gsturitype.sgml:
24653 * docs/gst/tmpl/gstutils.sgml:
24654 * docs/gst/tmpl/gstxml.sgml:
24659 * gst/gsturitype.c:
24662 inlined more docs, fixed double id-ref
24664 2005-08-31 Wim Taymans <wim@fluendo.com>
24666 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24667 (gst_base_transform_handle_buffer):
24668 Passthrough elements don't need the caps as they don't care.
24670 2005-08-31 Wim Taymans <wim@fluendo.com>
24672 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24673 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24674 Don't leak refcounts on buffers.
24676 2005-08-31 Wim Taymans <wim@fluendo.com>
24678 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24679 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24680 (gst_base_transform_chain), (gst_base_transform_change_state):
24681 * gst/base/gstbasetransform.h:
24682 Handle the case where we are not negotiated more gracefully.
24684 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24686 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24687 (gst_file_src_map_region):
24688 Set READONLY flag on mmap'ed buffers, otherwise
24689 gst_buffer_make_writable() won't work properly (#314708).
24691 2005-08-31 Wim Taymans <wim@fluendo.com>
24693 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24694 passthrough elements can even do inplace on non writable
24695 buffers (as they don't touch them).
24697 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24699 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24700 (gst_test_mono_source_set_property),
24701 (gst_test_mono_source_class_init), (GST_START_TEST),
24702 (gst_controller_suite):
24703 more tests (hehe I have the most)
24705 describe popping messages whenusing mulltiple sources
24706 * libs/gst/controller/gst-controller.c:
24707 (gst_controlled_property_set_interpolation_mode),
24708 (gst_controlled_property_new):
24709 * libs/gst/controller/gst-controller.h:
24710 * libs/gst/controller/gst-interpolation.c:
24711 implement boolean properties
24713 2005-08-31 Wim Taymans <wim@fluendo.com>
24715 * gst/gstminiobject.c: (gst_mini_object_ref):
24716 Cannot assert that the refcount has to be positive
24717 since a disposed object can be resurrected.
24719 2005-08-31 Wim Taymans <wim@fluendo.com>
24721 * gst/gstpad.c: (gst_pad_init):
24722 Revert change, need to first fix badly behaving
24725 2005-08-30 Wim Taymans <wim@fluendo.com>
24727 * check/elements/fakesrc.c: (setup_fakesrc):
24728 * check/elements/identity.c: (setup_identity):
24729 Activate pads before using them.
24731 2005-08-30 Wim Taymans <wim@fluendo.com>
24733 * gst/base/gstadapter.c: (gst_adapter_flush):
24734 Flushing out 0 bytes is ok for this function.
24736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24737 no newsegment gives a warning and sets the start/stop to
24740 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24741 (gst_base_transform_set_passthrough):
24744 * gst/gstminiobject.c: (gst_mini_object_ref):
24745 Check refcount here too.
24747 * gst/gstpad.c: (gst_pad_init):
24748 Pads are initially flushing and refusing data.
24750 * gst/gstutils.c: (gst_element_link_pads_filtered):
24751 When adding a capsfilter element make sure it has the
24752 same state as the parent bin.
24754 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24756 * docs/gst/tmpl/.cvsignore:
24757 * docs/gst/tmpl/gstformat.sgml:
24758 * docs/gst/tmpl/gstversion.sgml:
24762 * gst/gstversion.h.in:
24763 more docs and two more inlined
24765 2005-08-30 Wim Taymans <wim@fluendo.com>
24767 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24768 Don't sync to clock.
24770 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24772 * docs/gst/gstreamer-sections.txt:
24773 ultral33t func10ns deserve to appear in the docs actually
24774 * docs/gst/tmpl/.cvsignore:
24775 * docs/gst/tmpl/gstcompat.sgml:
24776 * docs/gst/tmpl/gstconfig.sgml:
24777 * gst/check/gstcheck.c:
24779 * gst/gstconfig.h.in:
24782 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24784 * docs/gst/tmpl/.cvsignore:
24785 * docs/gst/tmpl/gstquery.sgml:
24786 * docs/gst/tmpl/gstutils.sgml:
24789 inlined and extended docs
24791 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24793 * check/gst-libs/controller.c: (GST_START_TEST),
24794 (gst_controller_suite):
24796 * docs/gst/tmpl/gstutils.sgml:
24797 * docs/libs/gstreamer-libs-sections.txt:
24798 * docs/libs/tmpl/gstdataprotocol.sgml:
24800 * examples/controller/audio-example.c: (main):
24801 controller example works now
24804 * tools/gst-inspect.c: (print_element_properties_info):
24805 show param spec flags
24807 2005-08-29 Andy Wingo <wingo@pobox.com>
24809 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24811 2005-08-28 Andy Wingo <wingo@pobox.com>
24813 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24814 as having two arguments instead of just one. Allows superclasses
24815 to access information on subclasses -- see the terrible for() loop
24816 in gtype.c:g_type_create_instance for the reason why. All callers
24819 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24821 * docs/design/part-messages.txt:
24823 * docs/gst/tmpl/.cvsignore:
24824 * docs/gst/tmpl/gstcaps.sgml:
24825 * docs/gst/tmpl/gstclock.sgml:
24831 * gst/gstmessage.c:
24832 added descriptions for bus and message
24833 inline caps and clock docs
24835 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24837 * gst/gstmessage.c:
24838 * gst/gstmessage.h:
24841 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24843 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24846 2005-08-26 Andy Wingo <wingo@pobox.com>
24848 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24849 element_set_state's return val.
24850 (test_2_elements): Add test that's been disabled for months.
24852 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24853 can-activate-pull properties.
24855 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24856 can-activate-pull properties. Implement is_seekable so fakesrc can
24857 operate in pull mode.
24859 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24861 (gst_base_sink_activate, gst_base_sink_activate_pull)
24862 (gst_base_sink_activate_push): Make activation mode choosing work.
24864 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24865 is right. Make pull mode work. Post an eos before pausing in pull
24867 (gst_base_sink_change_state): Pay attention to the core's
24868 change_state() return val.
24870 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24871 has-getrange properties. Cleanups.
24873 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24874 has_getrange and replace with can_activate_pull and
24877 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24878 locking comments. Remove has_loop, has_chain and replace with
24879 can_activate_pull and can_activate_push.
24881 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24884 * examples/Makefile.am:
24885 * examples/metadata/Makefile.am:
24886 * examples/metadata/read-metadata.c: (message_loop),
24887 (have_pad_handler), (make_pipeline), (print_tag), (main):
24888 Add metadata reading example that loops over a list of filenames,
24889 dumping any tags found.
24891 * gst/gstbus.c: (gst_bus_dispose):
24892 * gst/gstelement.c: (gst_element_dispose):
24893 Release a few potentially-held references in dispose.
24895 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24897 * docs/gst/tmpl/gstminiobject.sgml:
24898 do *not* add tmpl/*.sgml files to CVS!
24900 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24902 * libs/gst/bytestream/.cvsignore:
24903 * libs/gst/bytestream/Makefile.am:
24904 * libs/gst/bytestream/adapter.c:
24905 * libs/gst/bytestream/adapter.h:
24906 * libs/gst/bytestream/bytestream.c:
24907 * libs/gst/bytestream/bytestream.h:
24908 * libs/gst/bytestream/filepad.c:
24909 * libs/gst/bytestream/filepad.h:
24910 removing obsolete files
24912 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24914 * docs/gst/gstreamer-docs.sgml:
24915 * docs/libs/gstreamer-libs-docs.sgml:
24916 disabed additional index entries again, as this makes docs-gen just
24917 slow and they aren't useful yet
24918 * docs/libs/gstreamer-libs-sections.txt:
24919 little -section.txt cleanup for libs
24921 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24924 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24925 fix up some debugging
24926 (gst_base_transform_get_unit_size),
24927 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24928 (gst_base_transform_handle_buffer):
24929 * gst/base/gstbasetransform.h:
24930 handle and store timed NEWSEGMENT events so that subclasses that
24931 calculate time by counting samples have a segment_start time they
24932 need to add to their timestamps - see audioresample
24934 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24937 removed ';' from the end of macro defs
24938 * docs/gst/gstreamer-docs.sgml:
24939 * docs/gst/gstreamer-sections.txt:
24940 * docs/gst/tmpl/.cvsignore:
24942 * gst/gstelement.c: (gst_element_class_init),
24943 (gst_element_set_state), (activate_pads),
24944 (gst_element_save_thyself):
24945 * gst/gstevent.c: (gst_event_new_newsegment):
24947 * gst/gstiterator.c:
24948 * gst/gstiterator.h:
24951 * gst/gstutils.c: (gst_pad_query_convert):
24953 fixed parameter name mismatches between source, header and docs
24954 added some more docs, resolved the last batch of unused elements in
24955 docs (now someone needs to doc them)
24957 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24959 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24960 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24961 don't walk through the plugins backwards. Where is all this
24962 reversed logic coming from ?
24964 2005-08-25 Wim Taymans <wim@fluendo.com>
24966 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24967 (gst_base_transform_transform_size),
24968 (gst_base_transform_configure_caps),
24969 (gst_base_transform_get_unit_size),
24970 (gst_base_transform_buffer_alloc),
24971 (gst_base_transform_change_state):
24972 * gst/base/gstbasetransform.h:
24973 Cache caps unit_size.
24974 Make sure we cannot negotiate up and downstream at the
24977 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24979 * gst/gst.c: (init_pre), (init_post):
24980 register the installed plugin path after the env var
24981 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24982 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24983 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24984 directories, so the tests can prefer uninstalled over installed
24986 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24988 * gst/base/gstbasetransform.h:
24993 2005-08-25 Wim Taymans <wim@fluendo.com>
24995 * gst/gstbin.c: (bin_bus_handler):
24996 Be a bit more conservative about the posted message.
24998 * gst/gstbus.c: (gst_bus_post):
24999 Some cleanups, warn wrong return values.
25001 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25003 * check/gst/gstbin.c: (GST_START_TEST):
25004 * gst/gstbin.c: (bin_bus_handler):
25005 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25006 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25007 (gst_message_new_warning), (gst_message_new_tag),
25008 (gst_message_new_state_changed), (gst_message_new_segment_start),
25009 (gst_message_new_segment_done), (gst_message_new_custom):
25010 * gst/gstmessage.h:
25011 * tools/gst-launch.c: (event_loop):
25012 * tools/gst-md5sum.c: (event_loop):
25013 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25015 2005-08-25 Wim Taymans <wim@fluendo.com>
25017 * check/generic/states.c: (GST_START_TEST):
25018 Cleanup can be done at the end.
25020 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25021 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25022 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25023 Oh boy.. Thanks for finding this, Thomas.
25025 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25027 * docs/gst/gstreamer.types:
25028 added missing types
25030 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25032 * docs/gst/gstreamer-docs.sgml:
25033 * docs/gst/gstreamer-sections.txt:
25034 * docs/gst/tmpl/.cvsignore:
25036 * gst/gstiterator.c:
25038 * gst/registries/gstxmlregistry.h:
25039 added missing classes and symbols (123 more to go)
25040 removed removed symbols from section file
25041 fixed many doc-comments
25043 2005-08-24 Wim Taymans <wim@fluendo.com>
25045 * check/generic/states.c: (GST_START_TEST):
25046 Make sure all tasks are stopped.
25048 * check/gst/gstbin.c: (GST_START_TEST):
25049 Unref after usage for proper valgrinding.
25051 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25052 Really wait for the task to stop before destroying the
25055 * gst/gstqueue.c: (gst_queue_sink_activate_push),
25056 (gst_queue_src_activate_push):
25057 Small cleanups. Don't stop the task when we did not start
25060 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25061 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25062 (gst_task_get_state), (gst_task_start), (gst_task_pause),
25065 Protect the stream lock with the object lock.
25066 Disallow setting the stream lock when running.
25067 Add cleanup_all to wait for the threadpool to finish.
25068 Remove code to autoallocate a mutex if none was provided.
25069 Add _join() to wait for a task to stop.
25070 Protect the thread pool with a global lock.
25072 2005-08-24 Wim Taymans <wim@fluendo.com>
25074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25075 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25076 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25077 * gst/base/gstbasesink.h:
25078 Handle newsegment events correctly.
25079 Drop buffers out of the segment range.
25081 2005-08-22 Andy Wingo <wingo@pobox.com>
25083 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25084 macro, implements an interface and gstimplementsinterface for a
25087 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25089 * check/Makefile.am:
25090 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25091 add a test that does a bunch of state changes on elements
25092 needs some fixing for valgrind
25093 * check/states/sinks.c: (gst_object_suite):
25096 add prototype for gst_caps_is_equal_fixed
25098 * gst/gstregistrypool.c:
25101 2005-08-24 Andy Wingo <wingo@pobox.com>
25103 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
25104 convert a negative value. Doesn't make much sense. Mostly this is
25105 here to force callers to ensure -1 maps to -1.
25107 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25109 * docs/pwg/advanced-types.xml:
25110 Well done to Michael for catching my deliberate introduction
25111 of this spelling mistake.
25112 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
25113 * gst/gstelement.h:
25114 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
25115 unlink pads before removing the element from the bin.
25117 2005-08-24 Andy Wingo <wingo@pobox.com>
25119 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
25120 the same thing as GST_DEBUG=*:4.
25121 (parse_debug_level, parse_debug_category): New helper parsers.
25123 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25125 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25126 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
25127 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
25128 (gst_base_transform_buffer_alloc),
25129 (gst_base_transform_handle_buffer):
25130 use gboolean return values and pointers to size so we can use the
25131 full GST_BUFFER_SIZE range (guint) for buffer sizes
25132 use GstPadDirection for transform_caps
25133 * gst/base/gstbasetransform.h:
25134 rename get_size to get_unit_size since that's what it is
25135 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
25136 use GstPadDirection for transform_caps
25137 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25139 cleanup and debugging
25141 2005-08-24 Stefan Kost <ensonic@users.sf.net>
25143 * gst/gstelement.c: (gst_element_class_init),
25144 (gst_element_set_state), (activate_pads),
25145 (gst_element_save_thyself):
25146 * tools/gst-compprep.c: (main):
25147 * tools/gst-inspect.c: (print_element_properties_info):
25148 * tools/gst-xmlinspect.c: (print_element_properties):
25149 Fixed long standing mem-leak
25151 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25153 * check/gst/gstbin.c: (GST_START_TEST):
25154 * gst/gstbin.c: (bin_bus_handler):
25155 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25156 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25157 (gst_message_new_warning), (gst_message_new_tag),
25158 (gst_message_new_state_changed), (gst_message_new_segment_start),
25159 (gst_message_new_segment_done), (gst_message_new_custom):
25160 * gst/gstmessage.h:
25161 * tools/gst-launch.c: (event_loop):
25162 * tools/gst-md5sum.c: (event_loop):
25163 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
25164 that applications can sensibly post custom messages with references
25165 to their own objects.
25167 2005-08-24 Andy Wingo <wingo@pobox.com>
25169 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
25172 2005-08-24 Wim Taymans <wim@fluendo.com>
25174 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25175 (gst_base_transform_transform_caps),
25176 (gst_base_transform_transform_size),
25177 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25178 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25179 (gst_base_transform_handle_buffer):
25180 * gst/base/gstbasetransform.h:
25181 Many fixes and new features added by Thomas. Can now also do
25182 transforms with variable sizes and a custom fixate_caps function.
25184 2005-08-24 Wim Taymans <wim@fluendo.com>
25186 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25190 Cast to ClockTime before formatting to time.
25195 2005-08-24 Stefan Kost <ensonic@users.sf.net>
25197 * check/gst-libs/controller.c: (GST_START_TEST),
25198 (gst_controller_suite):
25199 * docs/gst/tmpl/gstcaps.sgml:
25200 * docs/gst/tmpl/gstghostpad.sgml:
25201 * docs/gst/tmpl/gstquery.sgml:
25202 * docs/gst/tmpl/gstutils.sgml:
25203 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
25204 (gst_object_sink_values), (gst_object_get_value_arrays),
25205 (gst_object_get_value_array):
25206 gracefully handle helper method calls to objects that are not beeing
25207 controlled, added test case for that
25209 2005-08-23 Wim Taymans <wim@fluendo.com>
25211 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
25212 (gst_event_new_newsegment), (gst_event_parse_newsegment),
25213 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
25214 (gst_event_parse_qos), (gst_event_new_seek),
25215 (gst_event_parse_seek):
25217 Some more debugging output and doc cleanups.
25219 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25220 Fix possible deadlock.
25222 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25224 * docs/gst/gstreamer-docs.sgml:
25225 * docs/gst/gstreamer-sections.txt:
25226 * docs/gst/gstreamer.types:
25227 * docs/gst/tmpl/.cvsignore:
25230 * gst/gstelement.c:
25232 added 100 symbols from gstreamer-unused.txt to the right sections
25233 fixed more broken comments
25234 added GstBus to docs
25236 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25238 * docs/gst/gstreamer-sections.txt:
25239 * docs/gst/tmpl/.cvsignore:
25240 * docs/gst/tmpl/gstbin.sgml:
25241 * docs/gst/tmpl/gstbuffer.sgml:
25242 * gst/base/gstbasesrc.c:
25243 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
25246 * tools/gst-launch.1.in:
25247 inlined more doc comments, added missing comments and fixed comments
25250 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
25252 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25256 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
25258 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
25259 * gst/gststructure.h:
25260 add a fixate function for booleans; add a FIXME that these func
25261 names should probably be gst_structure_fixate_*
25263 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25265 * docs/gst/gstreamer-docs.sgml:
25266 * docs/gst/gstreamer-sections.txt:
25268 * gst/gstbin.c: (gst_bin_get_type),
25269 (gst_bin_child_proxy_get_child_by_index),
25270 (gst_bin_child_proxy_get_children_count),
25271 (gst_bin_child_proxy_init):
25272 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
25273 (gst_child_proxy_get_child_by_index),
25274 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
25275 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
25276 (gst_child_proxy_get), (gst_child_proxy_set_property),
25277 (gst_child_proxy_set_valist), (gst_child_proxy_set),
25278 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
25279 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
25280 * gst/gstchildproxy.h:
25281 * gst/parse/grammar.y:
25282 * tools/gst-inspect.c: (print_interfaces),
25283 (print_element_properties_info), (print_element_info):
25284 ported gstchildproxy over from 0.8
25285 ported gst-inspect fixes and enhancements over from 0.8
25287 2005-08-22 Wim Taymans <wim@fluendo.com>
25289 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25290 (gst_base_transform_handle_buffer):
25291 Also call the transform function if we have ANY caps.
25293 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
25296 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
25298 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
25299 Don't pretend to handle seek events if the source is not seekable
25301 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
25303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25304 Remove extra parameter to debug output
25306 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25307 (gst_base_src_do_seek), (gst_base_src_activate_push):
25308 Fix seek event handling.
25310 * gst/gstpipeline.c: (gst_pipeline_change_state):
25311 * gst/gstqueue.c: (gst_queue_handle_sink_event),
25312 (gst_queue_src_activate_push):
25313 Don't start the src pad task on FLUSH_STOP if the pad
25317 2005-08-22 Wim Taymans <wim@fluendo.com>
25319 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
25320 Added check for gst_static_caps_get() refcounting.
25322 2005-08-22 Wim Taymans <wim@fluendo.com>
25324 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
25325 Make _static_caps_get() refcounting sane.
25327 * gst/gstelement.c: (gst_element_set_state):
25328 Add g_return_val_if_fail() to protect against segfaults.
25330 2005-08-22 Stefan Kost <ensonic@users.sf.net>
25332 * docs/gst/tmpl/gstevent.sgml:
25335 inlined remaining docs, added missing doc comments
25337 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
25339 * check/gst/gstbin.c: (GST_START_TEST):
25340 since we don't know when preroll is done, use refcount range
25342 * gst/check/gstcheck.h:
25343 add macro for checking refcount range
25345 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25347 * check/Makefile.am:
25348 clean up environment for when registry gets built versus
25349 when actual tests are run; valgrind seems to not report
25350 leaks if GST_PLUGIN_PATH is set to some specific values
25351 * check/gst/gstbin.c: (GST_START_TEST):
25352 add more refcounting checks; maybe this exposes a
25354 * common/check.mak:
25355 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25356 * gst/check/gstcheck.h:
25357 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25358 (gst_bin_change_state):
25359 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25360 add/fix debugging/whitespace
25362 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25364 * check/gst/gstevent.c: (event_probe), (test_event),
25366 Er, don't call gst_bin_watch_for_state_change you idiot.
25368 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25370 * check/Makefile.am:
25371 Use CHECK_CFLAGS and CHECK_LIBS
25372 * check/gst/gstevent.c: (event_probe), (test_event),
25375 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25376 (gst_base_src_start), (gst_base_src_stop),
25377 (gst_base_src_activate_push), (gst_base_src_activate_pull),
25378 (gst_base_src_change_state):
25379 Sprinkle gst_base_src_stop liberally around error paths to fix
25380 problems reusing a source after failed state changes.
25381 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25382 (helper_find_suggest), (gst_type_find_helper):
25383 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25385 * docs/gst/tmpl/gstevent.sgml:
25386 Migrate part of the docs from the SGML file. Wait for ensonic to
25387 tell me how I did it wrong ;)
25388 * tools/gst-typefind.c: (main):
25389 Extra robustness to state changes between files.
25391 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25393 * check/Makefile.am:
25394 don't valgrind the controller test - it's leaking - Stefan, HELP
25395 * gst/check/gstcheck.c: (gst_check_message_error),
25396 (gst_check_chain_func), (gst_check_setup_element),
25397 (gst_check_teardown_element), (gst_check_setup_src_pad),
25398 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25399 (gst_check_teardown_sink_pad):
25400 * gst/check/gstcheck.h:
25401 add a bunch of methods to set up elements, and src and sink pads
25402 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25403 * check/elements/identity.c: (setup_identity), (cleanup_identity),
25406 * gst/gstmessage.c:
25408 whitespace/doc fixes
25410 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25412 * gst/gstelement.h:
25413 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25414 be handled by the application and not always printed as well
25416 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25418 * check/Makefile.am:
25420 * gst/check/gstcheck.c: (gst_check_message_error):
25421 * gst/check/gstcheck.h:
25422 add a fail_unless_equals_int
25423 add fail_unless for error messages
25425 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25427 * check/Makefile.am:
25429 * common/Makefile.am:
25430 * common/check.mak:
25432 factor out some of the common stuff so we can use it
25434 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25436 * check/Makefile.am:
25437 * check/gst/gstiterator.c: (GST_START_TEST):
25438 * check/gst/gstsystemclock.c: (GST_START_TEST),
25439 (gst_systemclock_suite):
25440 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25442 valgrind more tests
25444 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25446 * check/elements/.cvsignore:
25447 * check/elements/gstfakesrc.c:
25448 rename to name of element
25449 * check/elements/identity.c: (chain_func), (event_func),
25450 (setup_identity), (cleanup_identity), (GST_START_TEST),
25451 (identity_suite), (main):
25452 add a test for identity
25453 * check/Makefile.am:
25454 * pkgconfig/Makefile.am:
25455 * pkgconfig/gstreamer-check.pc.in:
25456 * pkgconfig/gstreamer-check-uninstalled.pc.in:
25460 move the check stuff to a library that gets installed
25461 * check/gst-libs/controller.c: (GST_START_TEST):
25462 * check/gst-libs/gdp.c:
25463 * check/gst/gst.c: (GST_START_TEST):
25464 * check/gst/gstbin.c:
25465 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25466 * check/gst/gstbus.c:
25467 * check/gst/gstcaps.c: (GST_START_TEST):
25468 * check/gst/gstelement.c:
25469 * check/gst/gstghostpad.c:
25470 * check/gst/gstiterator.c:
25471 * check/gst/gstmessage.c:
25472 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25473 * check/gst/gstobject.c:
25474 * check/gst/gstpad.c: (GST_START_TEST):
25475 * check/gst/gststructure.c: (GST_START_TEST):
25476 * check/gst/gstsystemclock.c: (GST_START_TEST),
25477 (gst_systemclock_suite):
25478 * check/gst/gsttag.c: (gst_tag_suite):
25479 * check/gst/gstvalue.c:
25480 * check/pipelines/cleanup.c:
25481 * check/pipelines/simple_launch_lines.c:
25482 * check/states/sinks.c:
25483 change include statement
25485 * docs/gst/gstreamer-sections.txt:
25486 * docs/gst/tmpl/gstpad.sgml:
25487 document more pad stuff
25488 * gst/gstminiobject.c: (gst_mini_object_ref),
25489 (gst_mini_object_unref):
25492 2005-08-19 Stefan Kost <ensonic@users.sf.net>
25494 * docs/gst/tmpl/gst.sgml:
25496 eliminate another tmpl file, fix spelling in the long-description
25498 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25500 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25501 (test_event), (timediff), (gstevents_suite):
25502 Should fix build on 64-bit arch's
25504 2005-08-18 Andy Wingo <wingo@pobox.com>
25506 Make sure that when a pipeline goes to PLAYING, that data has
25507 actually hit the sink.
25509 * check/states/sinks.c (test_sink): A sink that doesn't get any
25510 data shouldn't return SUCCESS for going to either PLAYING or
25511 PAUSED. Test also the return values on the way back down.
25513 * gst/gstelement.c (gst_element_set_state): When changing the
25514 state of an element currently changing state asynchronously, go to
25515 lost-state after commiting the pending state. Makes future calls
25516 to get_state continue to return ASYNC.
25518 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25519 ASYNC when going to PLAYING if we still don't have preroll, as can
25520 happen with live sources.
25522 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25524 * docs/pwg/advanced-types.xml:
25525 Hack long paragraph into 2 chunks as a workaround for buggy
25526 jadetex version in sid and breezy that loops infinitely and
25529 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25531 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25532 (test_event), (timediff), (gstevents_suite):
25533 Provide more error margin in clock measurements to allow for
25534 g_get_current_time inaccuracies.
25536 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25538 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25539 (test_event), (timediff), (gstevents_suite):
25540 Fix error message output so I might be able to tell why the
25541 test works here but fails on the build farm.
25543 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25545 * check/Makefile.am:
25546 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25547 (test_event), (timediff), (gstevents_suite), (main):
25550 * docs/design/part-seeking.txt:
25551 Spelling correction
25553 * docs/gst/tmpl/gstevent.sgml:
25554 * docs/gst/tmpl/gstfakesrc.sgml:
25557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25558 Treat a buffer-without-newsegment the same as a receiving
25559 a newsegment not in time format, and disable syncing to the clock
25562 * gst/gstbus.c: (gst_bus_set_sync_handler):
25563 Assert if anyone tries to replace the existing sync_handler for bus,
25564 as only the owner should be setting it.
25567 Have a fixed set of custom event enums with events identified by
25568 their structure name (as in 0.8), rather than a free-for-all
25569 allowing collisions between enum values from different plugins.
25571 * gst/gstpad.c: (gst_pad_class_init):
25574 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25575 Handle out-of-band downstream events from the sending thread.
25577 2005-08-17 Andy Wingo <wingo@pobox.com>
25579 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25580 play-timeout==0 to mean no timeout at all. In that case, don't
25581 bother with a get_state or a warning, just return directly, even
25584 * gst/base/gstbasetransform.c: Debug changes.
25587 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25588 ensure bins post state change messages. A bit of a hack but I can't
25589 think of a way to avoid it.
25591 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25593 2005-08-16 Andy Wingo <wingo@pobox.com>
25595 * gst/base/gstadapter.h:
25596 * gst/base/gstadapter.c (gst_adapter_take): New function, like
25597 peek() but you own the data. Not terribly efficient atm.
25599 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25601 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25602 (gst_element_found_tags):
25604 Add two utility functions for tag handling.
25606 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25608 * docs/manual/advanced-dataaccess.xml:
25609 * docs/manual/basics-helloworld.xml:
25610 Fix docs to use _bin_add() before _link(), which fixes the examples
25611 with recent core versions (reported by Madhan Raj M
25612 <raj_madan@rediffmail.com>, #313199).
25614 2005-08-16 Wim Taymans <wim@fluendo.com>
25616 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25617 Added subtract checks.
25619 * docs/design/part-events.txt:
25620 Some more docs about newsegment
25622 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25625 * gst/gstcaps.c: (gst_caps_to_string):
25626 Add comments, cleanups.
25628 * gst/gstelement.c: (gst_element_save_thyself):
25631 * gst/gstvalue.c: (gst_value_collect_int_range),
25632 (gst_string_unwrap), (gst_value_union_int_int_range),
25633 (gst_value_union_int_range_int_range),
25634 (gst_value_intersect_int_int_range),
25635 (gst_value_intersect_int_range_int_range),
25636 (gst_value_intersect_double_double_range),
25637 (gst_value_intersect_double_range_double_range),
25638 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25639 (gst_value_subtract_int_range_int),
25640 (gst_value_subtract_double_range_double),
25641 (gst_value_subtract_double_range_double_range),
25642 (gst_value_subtract_from_list), (gst_value_subtract_list),
25643 (gst_value_can_compare), (gst_value_compare_fraction):
25644 Cleanups, add comments, remove unneeded asserts.
25646 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25648 * tools/gst-launch.c: (event_loop):
25649 don't convert NULL structures to strings
25651 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25653 * docs/gst/gstreamer-sections.txt:
25654 made some defines private
25655 * docs/gst/tmpl/gstconfig.sgml:
25656 * docs/gst/tmpl/gstqueue.sgml:
25657 * docs/gst/tmpl/gsttaglist.sgml:
25658 * docs/gst/tmpl/gsttypes.sgml:
25659 * docs/gst/tmpl/gstutils.sgml:
25660 * docs/pwg/appendix-porting.xml:
25661 * gst/base/gstbasesink.h:
25662 * gst/base/gstbasesrc.c:
25663 * gst/base/gstbasesrc.h:
25664 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25665 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25666 * gst/gstelement.c: (gst_element_class_init):
25667 * gst/gstpad.c: (gst_pad_class_init):
25668 * gst/gstqueue.c: (gst_queue_class_init):
25669 * gst/gstxml.c: (gst_xml_class_init):
25670 documented all undocumented signal inline
25671 * libs/gst/controller/gst-controller.h:
25674 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25676 * docs/pwg/appendix-porting.xml:
25677 Document _set_link_function -> _set_setcaps_function.
25679 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25681 * check/Makefile.am:
25682 add a .check target for running the check
25683 * check/gst-libs/controller.c: (GST_START_TEST):
25685 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25686 complete checks for gstbuffer; would be nice if I could get the
25687 gcov stuff to work so I can see if I actually completed gstbuffer.c
25688 * check/gstcheck.h:
25689 add ASSERT_BUFFER_REFCOUNT
25691 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25693 * docs/gst/gstreamer-sections.txt:
25694 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25696 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25697 spew out a warning if a tag that is already registered
25698 is re-registered, unless it is re-registered with a
25699 different type (#308438).
25701 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25703 * docs/pwg/appendix-porting.xml:
25704 * docs/pwg/building-state.xml:
25705 Add some paragraphs about state changes in 0.9 to the PWG
25706 and the porting guide, in particular about the new meaning
25707 of GST_STATE_PAUSED and how to write state change functions
25708 with concurrent access by multiple threads in mind.
25710 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25712 * docs/gst/gstreamer-docs.sgml:
25713 * docs/libs/gstreamer-libs-docs.sgml:
25714 added deprecation and since indexes
25715 * libs/gst/controller/gst-controller.c:
25716 * libs/gst/controller/gst-helper.c:
25720 2005-08-11 Wim Taymans <wim@fluendo.com>
25722 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25723 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25724 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25725 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25726 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25727 (gst_ghost_pad_set_target):
25728 Actually implement (re)setting the target on a ghostpad
25729 as described in the docs.
25731 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25733 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25734 Check whether GST_DEBUG_NO_COLOR environment variable is
25735 set and disable coloured debug output if that is the case.
25737 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25739 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25740 (gst_type_find_helper):
25741 The memory returned by gst_type_find_peek() needs to
25742 stay valid until the end of a typefind function, and
25743 typefind functions may keep results from different
25744 offsets around, so we can't just unref the buffer from
25745 the previous _peek(), but have to save all buffers
25746 returned by _peek() until typefinding is done and only
25749 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25751 * docs/gst/gstreamer-sections.txt:
25753 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25755 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25757 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25758 Fix a pretty good memleak.
25760 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25762 * gst/gstiterator.h:
25763 Fix wrong include and 'make distcheck'.
25765 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25767 * gst/gstbin.c: (bin_bus_handler):
25768 Use gst_element_post_message() instead.
25770 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25772 * gst/base/gstadapter.h:
25773 * gst/base/gstbasesink.h:
25774 * gst/base/gstbasesrc.h:
25775 * gst/base/gstbasetransform.h:
25776 * gst/base/gstcollectpads.h:
25777 * gst/base/gstpushsrc.h:
25778 * gst/gstiterator.h:
25779 Add padding to our base elements' class and instance structs and
25780 to GstIterator (you will need to rebuild all plugins and apps!)
25782 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25784 * gst/gstbin.c: (bin_bus_handler):
25785 Make default message forwarding from child->bus to bin->bus
25786 threadsafe and make it not emit warnings if the parent has no bus.
25788 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25790 * gst/gstelement.c: (activate_pads):
25791 On paused->ready, set pad->caps to NULL, as is the documented
25792 behaviour in this state change. Fixes playback of series of
25793 media files when visualization is enabled in Totem.
25795 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25797 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25798 Allow NULL as filter-caps (which means "any").
25800 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25802 * docs/libs/gstreamer-libs-sections.txt:
25803 * libs/gst/controller/gst-controller.c:
25804 * libs/gst/controller/gst-controller.h:
25805 * libs/gst/controller/gst-helper.c:
25806 adding more entries to the docs and fix small doc-bugs
25808 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25810 * docs/gst/gstreamer-docs.sgml:
25811 * docs/gst/gstreamer-sections.txt:
25812 * docs/gst/gstreamer.types:
25813 * docs/gst/tmpl/gstbasesink.sgml:
25814 * docs/gst/tmpl/gstbasesrc.sgml:
25815 * docs/gst/tmpl/gstbasetransform.sgml:
25816 * docs/gst/tmpl/gstfakesrc.sgml:
25817 * gst/base/gstcollectpads.c:
25818 * gst/base/gstcollectpads.h:
25819 * libs/gst/controller/gst-controller.c:
25820 * libs/gst/controller/gst-controller.h:
25821 * libs/gst/controller/gst-helper.c:
25822 * libs/gst/controller/gst-interpolation.c:
25823 * libs/gst/controller/lib.c:
25824 added long/short desc for controller docs
25825 added collectpads base class docs
25826 added correct includes to base-class docs
25828 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25830 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25831 (gst_test_mono_source_set_property),
25832 (gst_test_mono_source_class_init), (GST_START_TEST),
25833 (gst_controller_suite):
25834 * docs/gst/gstreamer-docs.sgml:
25835 * docs/gst/gstreamer-sections.txt:
25836 * docs/gst/gstreamer.types:
25837 * docs/libs/gstreamer-libs-docs.sgml:
25838 * docs/libs/gstreamer-libs-sections.txt:
25839 * gst/base/gstadapter.c:
25840 * libs/gst/controller/gst-controller.c:
25841 (gst_controlled_property_new), (gst_controlled_property_free),
25842 (gst_controller_new_valist),
25843 (gst_controller_remove_properties_valist),
25844 (gst_controller_sink_values), (_gst_controller_finalize):
25845 * libs/gst/controller/gst-controller.h:
25846 * libs/gst/controller/gst-helper.c:
25847 (gst_object_control_properties), (gst_object_uncontrol_properties),
25848 (gst_object_get_controller), (gst_object_set_controller),
25849 (gst_object_sink_values), (gst_object_get_value_arrays),
25850 (gst_object_get_value_array):
25851 more tests (and fixes) for the controller
25852 more docs for the controller
25853 integrated companies docs for the adapter
25855 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25857 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25858 (GST_START_TEST), (fakesrc_suite):
25859 add tests for sizetype
25861 2005-08-04 Andy Wingo <wingo@pobox.com>
25863 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25864 fixes buffer_alloc proxying among other things.
25866 * gst/base/gstbasetransform.c:
25867 * gst/base/gstbasetransform.h:
25868 Revert patch to gstbasetransform from 7-28 removing
25871 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25872 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25873 Semantics changed, should return not the size of the output buffer
25874 but the byte size of a buffer with a given caps.
25876 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25878 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25879 out) are not the pad caps until setcaps finishes.
25880 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25881 not-in-place case as well. Deal with changing from in-place to
25882 not-in-place within calling pad_alloc_buffer. Still a bit
25883 concerned about the overhead here...
25885 2005-08-03 Andy Wingo <wingo@pobox.com>
25887 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25888 fixating is an error.
25890 2005-08-04 Edward Hervey <edward@fluendo.com>
25892 * gst/base/gstadapter.h:
25893 Added gst_adapter_get_type() to the header
25895 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25897 * check/Makefile.am:
25898 * check/gst-libs/controller.c:
25899 * libs/gst/controller/gst-controller.c:
25900 (gst_controller_new_valist):
25901 added check test suite for the controller
25902 * gst/base/gstpushsrc.c:
25905 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25907 * docs/gst/Makefile.am:
25908 * docs/gst/gstreamer-docs.sgml:
25909 * docs/gst/gstreamer-sections.txt:
25910 * docs/gst/gstreamer.types:
25911 * docs/gst/tmpl/gstfakesrc.sgml:
25913 * gst/base/gstbasesink.c:
25914 * gst/base/gstbasesink.h:
25915 * gst/base/gstbasesrc.c:
25916 * gst/base/gstbasesrc.h:
25917 * gst/base/gstbasetransform.c:
25918 * gst/base/gstpushsrc.c:
25919 * gst/base/gstpushsrc.h:
25920 add short/long description docs to base classes
25921 add pushsrc to the docs
25922 remove consolidated doc fragments
25924 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25927 * docs/libs/Makefile.am:
25928 * docs/libs/gstreamer-libs-docs.sgml:
25929 * docs/libs/gstreamer-libs-sections.txt:
25930 * docs/libs/gstreamer-libs.types:
25931 * examples/Makefile.am:
25932 * examples/controller/.cvsignore:
25933 * examples/controller/Makefile.am:
25934 * examples/controller/audio-example.c: (main):
25935 * libs/gst/Makefile.am:
25936 * libs/gst/controller/.cvsignore:
25937 * libs/gst/controller/Makefile.am:
25938 * libs/gst/controller/gst-controller.c:
25939 (on_object_controlled_property_changed), (gst_timed_value_compare),
25940 (gst_timed_value_find),
25941 (gst_controlled_property_set_interpolation_mode),
25942 (gst_controlled_property_new), (gst_controlled_property_free),
25943 (gst_controller_find_controlled_property),
25944 (gst_controller_new_valist), (gst_controller_new),
25945 (gst_controller_remove_properties_valist),
25946 (gst_controller_remove_properties), (gst_controller_set),
25947 (gst_controller_set_from_list), (gst_controller_unset),
25948 (gst_controller_get), (gst_controller_get_all),
25949 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25950 (gst_controller_get_value_array),
25951 (gst_controller_set_interpolation_mode),
25952 (_gst_controller_finalize), (_gst_controller_init),
25953 (_gst_controller_class_init), (gst_controller_get_type):
25954 * libs/gst/controller/gst-controller.h:
25955 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25956 (g_object_uncontrol_properties), (g_object_get_controller),
25957 (g_object_set_controller), (g_object_sink_values),
25958 (g_object_get_value_arrays), (g_object_get_value_array):
25959 * libs/gst/controller/gst-interpolation.c:
25960 (gst_controlled_property_find_timed_value_node),
25961 (interpolate_none_get), (interpolate_trigger_get),
25962 (interpolate_trigger_get_value_array):
25963 * libs/gst/controller/lib.c: (gst_controller_init):
25964 * pkgconfig/Makefile.am:
25965 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25966 * pkgconfig/gstreamer-control.pc.in:
25967 * testsuite/Makefile.am:
25968 * testsuite/controller/.cvsignore:
25969 * testsuite/controller/Makefile.am:
25970 * testsuite/controller/interpolator.c: (main):
25971 added controller code
25972 removed dparam pc files
25974 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25975 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25976 (gst_collectpads_stop):
25977 Broadcast the condition when shutting down, to make sure we wake all
25978 threads up. Shut down pads on finalize, for safety.
25980 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25981 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25982 (gst_base_transform_handle_buffer),
25983 (gst_base_transform_change_state):
25984 Handle PAUSED->READY->PAUSED transition after negotiation
25986 * gst/gstmessage.c: (gst_message_init):
25987 Extra piece of debug for new messages.
25989 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25992 * docs/gst/tmpl/gstbasesrc.sgml:
25993 * docs/gst/tmpl/gstelement.sgml:
25994 * docs/gst/tmpl/gstevent.sgml:
25995 * docs/gst/tmpl/gstfakesrc.sgml:
25996 * docs/gst/tmpl/gstformat.sgml:
25997 * docs/gst/tmpl/gstghostpad.sgml:
25998 * docs/gst/tmpl/gstpad.sgml:
25999 * docs/gst/tmpl/gstquery.sgml:
26000 * docs/gst/tmpl/gststructure.sgml:
26001 * docs/gst/tmpl/gsttaglist.sgml:
26002 * docs/gst/tmpl/gstvalue.sgml:
26003 * docs/libs/gstreamer-libs-docs.sgml:
26004 * docs/libs/gstreamer-libs-sections.txt:
26005 * docs/libs/gstreamer-libs.types:
26006 * libs/gst/Makefile.am:
26007 * libs/gst/control/.cvsignore:
26008 * libs/gst/control/Makefile.am:
26009 * libs/gst/control/control.c:
26010 * libs/gst/control/control.h:
26011 * libs/gst/control/dparam.c:
26012 * libs/gst/control/dparam.h:
26013 * libs/gst/control/dparam_smooth.c:
26014 * libs/gst/control/dparam_smooth.h:
26015 * libs/gst/control/dparamcommon.h:
26016 * libs/gst/control/dparammanager.c:
26017 * libs/gst/control/dparammanager.h:
26018 * libs/gst/control/dplinearinterp.c:
26019 * libs/gst/control/dplinearinterp.h:
26020 * libs/gst/control/unitconvert.c:
26021 * libs/gst/control/unitconvert.h:
26022 * testsuite/Makefile.am:
26023 * testsuite/dynparams/.cvsignore:
26024 * testsuite/dynparams/Makefile.am:
26025 * testsuite/dynparams/dparamstest.c:
26026 * tools/Makefile.am:
26027 * tools/gst-inspect.c: (print_element_info), (main):
26028 * tools/gst-xmlinspect.c: (print_element_info), (main):
26029 deactivate and remove dparams (libgstcontrol)
26031 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26033 * gst/elements/gsttypefindelement.c:
26034 (gst_type_find_element_have_type), (gst_type_find_element_init),
26035 (stop_typefinding), (gst_type_find_element_handle_event),
26036 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26037 * gst/elements/gsttypefindelement.h:
26038 Set caps on all outgoing buffers, not just the first one.
26040 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26042 * gst/elements/gsttypefindelement.c:
26043 (gst_type_find_element_have_type),
26044 (gst_type_find_element_check_set_buffer_caps),
26045 (gst_type_find_element_init), (stop_typefinding),
26046 (gst_type_find_element_handle_event),
26047 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26048 * gst/elements/gsttypefindelement.h:
26049 Set caps on first outgoing buffer when we've found the type.
26051 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26053 * docs/gst/gstreamer-docs.sgml:
26054 * docs/gst/gstreamer-sections.txt:
26055 * docs/gst/tmpl/gstscheduler.sgml:
26056 * docs/gst/tmpl/gstschedulerfactory.sgml:
26057 Remove some old cruft from docs.
26059 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
26062 Fix inline docs for GstPadLinkReturn.
26064 * gst/gststructure.c: (gst_structure_has_name):
26065 * gst/gststructure.h:
26066 * docs/gst/gstreamer-sections.txt:
26067 New API: gst_structure_has_name().
26069 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
26072 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26073 and _LARGEFILE_SOURCE in config.h as required. Do not
26074 export those flags in our .pc files any longer (#142209).
26076 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26078 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26079 (gst_file_sink_do_seek), (gst_file_sink_event),
26080 (gst_file_sink_get_current_offset), (gst_file_sink_render):
26081 Redo seek/tell calls with large file support in mind; add some
26082 debugging messages; add log message that tells us when large
26083 file support is unavailable or not enabled for some reason.
26085 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26086 Add log message that tells us when large file support
26087 is unavailable or not enabled for some reason.
26089 2005-07-29 Wim Taymans <wim@fluendo.com>
26091 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26092 Added test for removing an element with ghostpad from a bin.
26093 Fixed test as current implementation does the right thing.
26095 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26096 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26097 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26098 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26099 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26100 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
26101 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
26102 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26103 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
26104 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
26105 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
26106 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
26107 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
26108 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
26109 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
26110 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
26111 * gst/gstghostpad.h:
26112 Clean up ghostpads, remove properties for internal stuff.
26115 Prepare for switching targets, not all use cases work yet.
26117 2005-07-29 Wim Taymans <wim@fluendo.com>
26119 * docs/design/part-gstghostpad.txt:
26122 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26123 (gst_bin_remove_func):
26124 Unlinking pads while holding the bin LOCK is not a good
26127 * gst/gstpad.c: (gst_pad_class_init),
26128 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
26129 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
26130 No prob setting template after creating the pad.
26132 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
26134 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
26135 (gst_bus_peek), (gst_bus_source_dispatch),
26136 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
26137 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
26138 gst_bus_poll may be called from other threads. Handle
26139 this nicely by not making poll_data disappear off the
26140 stack once gst_bus_poll returns.
26141 gst_bus_peek now increments the refcount on the returned
26144 2005-07-29 Wim Taymans <wim@fluendo.com>
26146 * docs/design/part-gstghostpad.txt:
26147 Overview of current GhostPad datastructures and use
26148 cases for changing the target.
26150 2005-07-28 Wim Taymans <wim@fluendo.com>
26152 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26153 Added checks for hierarchy consistency whan adding linked
26156 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26157 Added check to test element scheduling without bin/pipeline.
26159 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26160 First add elements to bin, then link.
26162 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26163 (gst_bin_remove_func):
26164 Unlink pads from elements added/removed from bin to maintain
26165 hierarchy consistency.
26167 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26169 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26170 (gst_base_transform_handle_buffer):
26171 * gst/base/gstbasetransform.h:
26172 Remove broken delay_configure (fixes renegotiation of software
26173 scaling pipelines); remove some leftover printf()s.
26175 2005-07-28 Wim Taymans <wim@fluendo.com>
26177 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26178 Added some more tests for wrong hierarchy
26180 * docs/design/part-overview.txt:
26183 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
26186 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
26187 (gst_element_dispose):
26188 Some more cleanups.
26190 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
26191 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
26192 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26193 (gst_pad_set_caps), (gst_pad_send_event):
26194 Check for correct hierarchy when linking pads. Moving to
26195 strict requirement for ghostpads when linking elements in
26199 Clean ups. Added WRONG_HIERARCHY return value.
26201 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26203 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26204 Better debug if no transform is possible.
26206 2005-07-27 Wim Taymans <wim@fluendo.com>
26208 * docs/random/wtay/network-transp:
26209 Some old doc I had.
26211 2005-07-27 Wim Taymans <wim@fluendo.com>
26213 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26214 (gst_dp_event_from_packet):
26215 Fix serialization of seek events.
26217 2005-07-27 Wim Taymans <wim@fluendo.com>
26219 * check/gst-libs/gdp.c: (GST_START_TEST):
26220 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26221 Fix compilation and fix event serialization.
26223 2005-07-27 Wim Taymans <wim@fluendo.com>
26226 * docs/design/part-TODO.txt:
26227 * docs/design/part-events.txt:
26230 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26231 (gst_base_sink_event), (gst_base_sink_do_sync),
26232 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26233 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26234 (gst_base_src_do_seek), (gst_base_src_event_handler),
26235 (gst_base_src_loop):
26236 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26237 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26238 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26239 (gst_base_transform_event), (gst_base_transform_handle_buffer),
26240 (gst_base_transform_set_passthrough),
26241 (gst_base_transform_is_passthrough):
26242 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26243 * gst/elements/gstfilesink.c: (gst_file_sink_event):
26249 * gst/gstelement.c: (gst_element_seek):
26250 * gst/gstelement.h:
26251 Update gst_element_seek.
26253 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
26254 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
26255 (gst_event_new_flush_start), (gst_event_new_flush_stop),
26256 (gst_event_new_eos), (gst_event_new_newsegment),
26257 (gst_event_parse_newsegment), (gst_event_new_tag),
26258 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
26259 (gst_event_parse_qos), (gst_event_new_seek),
26260 (gst_event_parse_seek), (gst_event_new_navigation):
26262 Make GstEvent use GstStructure. Add parsing code, make sure the
26263 API is sufficiently generic.
26264 Mark possible directions of events and serialization.
26266 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
26267 (_gst_message_copy), (gst_message_new_segment_start),
26268 (gst_message_new_segment_done), (gst_message_new_custom),
26269 (gst_message_parse_segment_start),
26270 (gst_message_parse_segment_done):
26273 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26274 (gst_pad_set_caps), (gst_pad_send_event):
26275 Update for new events.
26276 Catch events sent in wrong directions.
26278 * gst/gstqueue.c: (gst_queue_link_src),
26279 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26280 (gst_queue_handle_src_query):
26285 Remove event code from this file.
26287 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26288 (gst_dp_event_from_packet):
26291 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26293 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
26294 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26295 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
26296 Make debugging actually useful.
26298 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26300 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
26301 (gst_pad_fixate_caps):
26302 Implement default fixation once again, so that gst_pad_fixate()
26303 actually does anything at all. This probably needs to be some
26304 sort of a last resort, and use profile-based fixation first, but
26305 since that doesn't exist yet, this is the best we have. Fixes
26306 visualization in Totem.
26308 2005-07-22 Wim Taymans <wim@fluendo.com>
26310 * docs/design/part-events.txt:
26313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26314 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
26315 (gst_base_sink_activate_pull):
26316 Some more comments.
26318 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
26319 (gst_fake_src_create):
26320 Fix handoff marshall.
26322 * gst/elements/gstidentity.c: (gst_identity_class_init),
26323 (gst_identity_transform_ip):
26324 We're a real inplace element.
26326 * gst/gstbus.c: (gst_bus_post):
26327 Added some comments.
26329 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
26330 * tests/muxing/case1.c: (main):
26331 * tests/sched/dynamic-pipeline.c: (main):
26332 * tests/sched/interrupt1.c: (main):
26333 * tests/sched/interrupt2.c: (main):
26334 * tests/sched/interrupt3.c: (main):
26335 * tests/sched/runxml.c: (main):
26336 * tests/sched/sched-stress.c: (main):
26337 * tests/seeking/seeking1.c: (event_received), (main):
26338 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
26340 * tests/threadstate/threadstate3.c: (main):
26341 * tests/threadstate/threadstate4.c: (main):
26342 * tests/threadstate/threadstate5.c: (main):
26345 2005-07-21 Wim Taymans <wim@fluendo.com>
26347 * docs/design/part-seeking.txt:
26348 Some small additions.
26350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26351 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26352 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26353 * gst/base/gstbasesink.h:
26354 discont values are gint64, handle the math correctly.
26356 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26357 Make the basesrc report error if the source pad is not linked.
26359 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26360 (gst_queue_loop), (gst_queue_handle_src_query),
26361 (gst_queue_src_activate_push):
26362 Make queue collect data even if the srcpad is not linked.
26363 Start pushing out data as soon as it is linked.
26365 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26367 Added gst_flow_get_name() to ease error reporting.
26369 2005-07-20 Wim Taymans <wim@fluendo.com>
26371 * gst/gstmessage.c: (gst_message_new_segment_start),
26372 (gst_message_new_segment_done), (gst_message_parse_segment_start),
26373 (gst_message_parse_segment_done):
26374 * gst/gstmessage.h:
26375 Added a bunch of messages for advanced seeking.
26377 * gst/parse/grammar.y:
26378 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26379 (gst_dpman_state_changed):
26380 Fix some new-pad -> pad-added signals
26382 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26384 * docs/manual/appendix-porting.xml:
26385 * docs/pwg/appendix-porting.xml:
26386 Document new-pad/state-change signal renames and the FixedList
26389 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26391 * docs/manual/advanced-autoplugging.xml:
26392 * docs/manual/basics-helloworld.xml:
26393 * docs/manual/basics-pads.xml:
26394 * docs/random/ds/0.9-suggested-changes:
26395 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26396 * gst/gstelement.h:
26400 * gst/gststructure.c: (gst_structure_value_get_generic_type),
26401 (gst_structure_parse_array), (gst_structure_parse_value):
26402 * gst/gstvalue.c: (gst_type_is_fixed),
26403 (gst_value_list_prepend_value), (gst_value_list_append_value),
26404 (gst_value_list_get_size), (gst_value_list_get_value),
26405 (gst_value_transform_array_string), (gst_value_serialize_array),
26406 (gst_value_deserialize_array), (gst_value_intersect_array),
26407 (gst_value_is_fixed), (_gst_value_initialize):
26409 GstElement::new-pad -> pad-added, GstElement::state-change ->
26410 state-changed, GstValueFixedList -> GstValueArray, add format and
26411 flags as their own arguments in gst_element_seek() (should improve
26412 "bindeability"), remove function generators since they don't work
26413 under a whole bunch of compilers (they were deprecated already
26416 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26418 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26419 (_gst_debug_register_funcptr):
26421 Fix illegal cast on some platforms (#309253).
26423 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26425 * gst/gstmessage.c: (gst_message_new_custom):
26426 * gst/gstmessage.h:
26427 Add _new_custom, make _new_application a macro to _new_custom.
26429 2005-07-20 Wim Taymans <wim@fluendo.com>
26431 * gst/base/gstbasesrc.c: (gst_base_src_init),
26432 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26433 * gst/base/gstbasesrc.h:
26434 Add a gboolean to decide when to push out a discont.
26436 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26437 (gst_queue_loop), (gst_queue_handle_src_query),
26438 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26439 (gst_queue_set_property), (gst_queue_get_property):
26442 * tests/threadstate/threadstate1.c: (main):
26443 Make a thread test compile and run... very silly..
26446 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26448 * docs/manual/appendix-porting.xml:
26449 Mention removal of libgstgconf-0.9.la and existence of gconf
26452 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26454 * docs/pwg/advanced-clock.xml:
26455 * docs/pwg/appendix-porting.xml:
26456 * docs/pwg/intro-preface.xml:
26457 * docs/pwg/other-base.xml:
26458 * docs/pwg/other-manager.xml:
26459 * docs/pwg/other-nton.xml:
26460 * docs/pwg/other-ntoone.xml:
26461 * docs/pwg/other-oneton.xml:
26462 * docs/pwg/pwg.xml:
26463 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26464 demuxer), remove n-to-n (was never written), fix some code examples
26465 and links and update the porting section to include all this.
26467 2005-07-19 Wim Taymans <wim@fluendo.com>
26469 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26470 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26471 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26472 (gst_queue_src_activate_push), (gst_queue_change_state),
26473 (gst_queue_get_property):
26475 Propagate GstFlowReturn more intelligently upstream and output
26476 an ERROR/EOS when streaming stopped due to fatal error.
26478 2005-07-19 Wim Taymans <wim@fluendo.com>
26480 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26481 Don't block forever for the state change to complete, the
26482 pipeline already did with a sensible timeout.
26484 2005-07-19 Wim Taymans <wim@fluendo.com>
26486 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26487 Make sure we never call the create function is we
26490 2005-07-19 Andy Wingo <wingo@pobox.com>
26492 * gst/parse/parse.l: Attempt to solve bug #172815.
26494 2005-07-19 Wim Taymans <wim@fluendo.com>
26496 * docs/design/part-clocks.txt:
26497 * docs/design/part-events.txt:
26498 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26499 Small docs updates.
26500 Only update the seeking values when we are not
26503 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26505 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26506 Oops, ignore the result of gst_pad_push_event here.
26508 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26510 * gst/base/gstbasesrc.c: (gst_base_src_loop),
26511 (gst_base_src_activate_push):
26512 Send discont event from the loop function, as pads
26513 aren't activated yet in the activate_push handler.
26515 * gst/gstbin.c: (bin_bus_handler):
26516 Don't leak element name.
26518 2005-07-18 Andy Wingo <wingo@pobox.com>
26520 * configure.ac: Use AS_LIBTOOL_TAGS.
26522 2005-07-18 Wim Taymans <wim@fluendo.com>
26524 * docs/gst/gstreamer.types:
26525 Remove deleted types.
26527 2005-07-18 Wim Taymans <wim@fluendo.com>
26529 * check/elements/gstfakesrc.c: (GST_START_TEST):
26532 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26533 (init_popt_callback):
26535 * gst/gst_private.h:
26536 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26537 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26540 * gst/gstconfig.h.in:
26541 * gst/gstelement.c: (gst_element_class_init),
26542 (gst_element_set_base_time), (gst_element_get_base_time),
26543 (iterator_fold_with_resync), (gst_element_change_state),
26544 (gst_element_dispose), (gst_element_get_bus):
26545 * gst/gstelement.h:
26546 * gst/gstelementfactory.h:
26547 * gst/gsterror.c: (_gst_core_errors_init):
26550 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26552 * gst/gstinfo.c: (_gst_debug_init):
26553 * gst/gstmessage.c: (_gst_message_copy):
26554 * gst/gstmessage.h:
26555 * gst/gstminiobject.h:
26558 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26559 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26562 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26563 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26564 (gst_pipeline_get_last_stream_time):
26565 * gst/gstpipeline.h:
26566 * gst/gstpluginfeature.h:
26568 * gst/gstscheduler.c:
26569 * gst/gstscheduler.h:
26570 * gst/gststructure.h:
26571 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26572 (gst_task_finalize), (gst_task_func), (gst_task_create),
26573 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26574 (gst_task_stop), (gst_task_pause):
26576 * gst/gsttypefind.h:
26578 * gst/registries/gstlibxmlregistry.c: (load_feature),
26579 (gst_xml_registry_load), (gst_xml_registry_save_feature):
26580 * gst/registries/gstxmlregistry.c:
26581 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26582 * gst/schedulers/threadscheduler.c:
26583 * libs/gst/control/dparammanager.h:
26584 * tools/gst-inspect.c: (print_element_list),
26585 (print_plugin_features), (print_element_features):
26586 * tools/gst-xmlinspect.c: (print_element_list),
26587 (print_plugin_info), (main):
26588 Removed plugable schedulers.
26589 Removed Scheduler/Manager from elements.
26590 Removed gsttypes.h, rearranged includes.
26591 Removed dependency pad<->element, element<>pipeline, and
26592 various others, fix includes.
26593 implement gst_pad_get_parent() with gst_object_get_parent()
26594 Make GstTask sefcontained.
26595 Fix _get_state() on GstBin, it did not return ASYNC with a 0
26597 Fix endless loop in iterator_fold_with_resync.
26600 2005-07-18 Wim Taymans <wim@fluendo.com>
26606 2005-07-18 Wim Taymans <wim@fluendo.com>
26609 No more cothreads.h
26611 2005-07-18 Wim Taymans <wim@fluendo.com>
26615 Let's remove these.
26617 2005-07-18 Wim Taymans <wim@fluendo.com>
26619 * docs/design/part-dynamic.txt:
26620 * docs/design/part-events.txt:
26621 * docs/design/part-seeking.txt:
26622 Some more docs in the works.
26624 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26625 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26626 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26627 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26628 (gst_base_transform_handle_buffer),
26629 (gst_base_transform_sink_activate_push),
26630 (gst_base_transform_src_activate_pull),
26631 (gst_base_transform_set_passthrough),
26632 (gst_base_transform_is_passthrough):
26635 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26638 * gst/gstevent.c: (gst_event_finalize):
26641 * gst/gstutils.c: (gst_element_unlink),
26642 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26643 (gst_pad_proxy_setcaps):
26645 Add _get_parent_element() to get a pads parent as an element.
26647 2005-07-18 Wim Taymans <wim@fluendo.com>
26649 * check/gst/gstbin.c: (GST_START_TEST):
26652 2005-07-18 Wim Taymans <wim@fluendo.com>
26654 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26655 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26656 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26657 (gst_base_sink_event), (gst_base_sink_do_sync),
26658 (gst_base_sink_chain), (gst_base_sink_loop),
26659 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26660 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26662 Fix logic for returning ASYNC when not prerolled.
26664 2005-07-18 Wim Taymans <wim@fluendo.com>
26666 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26667 Fix nasty refcount bug.
26669 2005-07-16 Philippe Khalaf <burger@speedy.org>
26671 * gst/elements/gstfdsrc.c:
26672 * gst/elements/gstfdsrc.h:
26673 * gst/elements/gstelements.c:
26674 * gst/elements/Makefile.am:
26675 Ported fdsrc to 0.9.
26677 2005-07-16 Wim Taymans <wim@fluendo.com>
26679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26680 (gst_base_sink_do_sync):
26683 2005-07-16 Wim Taymans <wim@fluendo.com>
26685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26686 (gst_base_sink_event), (gst_base_sink_get_times),
26687 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26688 * gst/base/gstbasesink.h:
26689 Store and use discont values when syncing buffers as described
26692 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26693 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26694 (gst_base_src_activate_push):
26695 Push discont event when starting.
26697 * gst/elements/gstidentity.c: (gst_identity_transform):
26700 * gst/gstbin.c: (gst_bin_change_state):
26701 Small cleanups in base_time distribution.
26703 * gst/gstelement.c: (gst_element_set_base_time),
26704 (gst_element_get_base_time), (gst_element_change_state):
26705 * gst/gstelement.h:
26706 Added methods for the base_time of the element.
26709 * gst/gstpipeline.c: (gst_pipeline_send_event),
26710 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26711 (gst_pipeline_get_last_stream_time):
26712 * gst/gstpipeline.h:
26714 Handle seeking as described in design doc, remove stream_time
26716 Cleanups clock and stream_time selection code. Added accessors
26717 for the stream_time.
26720 2005-07-16 Andy Wingo <wingo@pobox.com>
26722 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26725 2005-07-16 Wim Taymans <wim@fluendo.com>
26727 * check/gst/gstbin.c: (GST_START_TEST):
26728 Make elements silent as the deep_notify refs the
26729 parent, which might make the test fail.
26731 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26732 Don't hold the lock for too long.
26734 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26736 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26737 Don't unref the caps we passed to gst_caps_make_writable() after
26738 passing them. gst_caps_make_writable() will do that for us.
26740 2005-07-15 Andy Wingo <wingo@pobox.com>
26742 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26745 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26746 own marshalling function for the handoff signal. Properly type the
26747 buffer as a buffer. Fixes some warnings. Should do a more general
26749 (gst_identity_class_init): Plug into the right marshaller.
26751 2005-07-15 Wim Taymans <wim@fluendo.com>
26753 * docs/design/part-TODO.txt:
26754 * docs/design/part-clocks.txt:
26755 * docs/design/part-element-sink.txt:
26756 * docs/design/part-events.txt:
26757 * docs/design/part-gstpipeline.txt:
26758 Updated docs, mostly DISCONT related.
26760 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26762 * docs/pwg/building-pads.xml:
26763 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26765 2005-07-15 Andy Wingo <wingo@pobox.com>
26767 * tools/gst-typefind.c: Update, add copyright block.
26769 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26770 Normalize and truncate caps before fixation.
26773 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26774 discards all but the first structure from its argument.
26776 2005-07-15 Wim Taymans <wim@fluendo.com>
26778 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26779 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26780 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26781 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26782 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26783 (gst_base_transform_chain), (gst_base_transform_change_state),
26784 (gst_base_transform_set_passthrough),
26785 (gst_base_transform_is_passthrough):
26786 * gst/base/gstbasetransform.h:
26787 Make passthrough work using the bufferpools.
26788 Changed API a bit, subclasses have to write into a buffer
26789 provided by the base class.
26790 More debug info in nego functions.
26792 * gst/elements/gstidentity.c: (gst_identity_init),
26793 (gst_identity_transform):
26794 Port to new base class.
26796 2005-07-15 Wim Taymans <wim@fluendo.com>
26798 * gst/gstmessage.c: (gst_message_new_state_changed):
26799 * tools/gst-launch.c: (event_loop), (main):
26800 Totally dump messages in -launch with the -m option.
26801 Fix message name for State messages,
26803 2005-07-14 Wim Taymans <wim@fluendo.com>
26805 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26806 Post error messages on errors.
26808 2005-07-14 Wim Taymans <wim@fluendo.com>
26810 * gst/gstcaps.c: (gst_caps_do_simplify):
26814 Define error for stream stopped.
26816 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26817 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26818 Do proper return values.
26820 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26821 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26822 (gst_pad_get_range):
26823 Better return values.
26826 Reorganise return values, add macro to check for fatal errors.
26828 * gst/gstqueue.c: (gst_queue_chain):
26829 Return proper GstFlowReturn values,
26831 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26833 * docs/gst/gstreamer-sections.txt:
26834 * docs/gst/gstreamer.types:
26835 * docs/gst/tmpl/gst.sgml:
26836 * docs/gst/tmpl/gstbasesink.sgml:
26837 * docs/gst/tmpl/gstbasesrc.sgml:
26838 * docs/gst/tmpl/gstbasetransform.sgml:
26839 * docs/gst/tmpl/gstbin.sgml:
26840 * docs/gst/tmpl/gstbuffer.sgml:
26841 * docs/gst/tmpl/gstcaps.sgml:
26842 * docs/gst/tmpl/gstclock.sgml:
26843 * docs/gst/tmpl/gstcompat.sgml:
26844 * docs/gst/tmpl/gstconfig.sgml:
26845 * docs/gst/tmpl/gstelement.sgml:
26846 * docs/gst/tmpl/gstelementdetails.sgml:
26847 * docs/gst/tmpl/gstelementfactory.sgml:
26848 * docs/gst/tmpl/gstenumtypes.sgml:
26849 * docs/gst/tmpl/gsterror.sgml:
26850 * docs/gst/tmpl/gstevent.sgml:
26851 * docs/gst/tmpl/gstfakesink.sgml:
26852 * docs/gst/tmpl/gstfakesrc.sgml:
26853 * docs/gst/tmpl/gstfilesink.sgml:
26854 * docs/gst/tmpl/gstfilesrc.sgml:
26855 * docs/gst/tmpl/gstfilter.sgml:
26856 * docs/gst/tmpl/gstformat.sgml:
26857 * docs/gst/tmpl/gstghostpad.sgml:
26858 * docs/gst/tmpl/gstimplementsinterface.sgml:
26859 * docs/gst/tmpl/gstindex.sgml:
26860 * docs/gst/tmpl/gstindexfactory.sgml:
26861 * docs/gst/tmpl/gstinfo.sgml:
26862 * docs/gst/tmpl/gstiterator.sgml:
26863 * docs/gst/tmpl/gstmacros.sgml:
26864 * docs/gst/tmpl/gstmemchunk.sgml:
26865 * docs/gst/tmpl/gstminiobject.sgml:
26866 * docs/gst/tmpl/gstobject.sgml:
26867 * docs/gst/tmpl/gstpad.sgml:
26868 * docs/gst/tmpl/gstpadtemplate.sgml:
26869 * docs/gst/tmpl/gstparse.sgml:
26870 * docs/gst/tmpl/gstpipeline.sgml:
26871 * docs/gst/tmpl/gstplugin.sgml:
26872 * docs/gst/tmpl/gstpluginfeature.sgml:
26873 * docs/gst/tmpl/gstquery.sgml:
26874 * docs/gst/tmpl/gstqueue.sgml:
26875 * docs/gst/tmpl/gstregistry.sgml:
26876 * docs/gst/tmpl/gstregistrypool.sgml:
26877 * docs/gst/tmpl/gstscheduler.sgml:
26878 * docs/gst/tmpl/gstschedulerfactory.sgml:
26879 * docs/gst/tmpl/gststructure.sgml:
26880 * docs/gst/tmpl/gstsystemclock.sgml:
26881 * docs/gst/tmpl/gsttaglist.sgml:
26882 * docs/gst/tmpl/gsttagsetter.sgml:
26883 * docs/gst/tmpl/gsttrace.sgml:
26884 * docs/gst/tmpl/gsttrashstack.sgml:
26885 * docs/gst/tmpl/gsttypefind.sgml:
26886 * docs/gst/tmpl/gsttypefindfactory.sgml:
26887 * docs/gst/tmpl/gsttypes.sgml:
26888 * docs/gst/tmpl/gsturihandler.sgml:
26889 * docs/gst/tmpl/gsturitype.sgml:
26890 * docs/gst/tmpl/gstutils.sgml:
26891 * docs/gst/tmpl/gstvalue.sgml:
26892 * docs/gst/tmpl/gstversion.sgml:
26893 * docs/gst/tmpl/gstxml.sgml:
26894 * docs/libs/tmpl/gstcontrol.sgml:
26895 * docs/libs/tmpl/gstdataprotocol.sgml:
26896 * docs/libs/tmpl/gstdparam.sgml:
26897 * docs/libs/tmpl/gstdplinint.sgml:
26898 * docs/libs/tmpl/gstdpman.sgml:
26899 * docs/libs/tmpl/gstdpsmooth.sgml:
26900 * docs/libs/tmpl/gstgetbits.sgml:
26901 * docs/libs/tmpl/gstunitconvert.sgml:
26902 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26903 (gst_push_src_base_init), (gst_push_src_class_init),
26904 (gst_push_src_init), (gst_push_src_create):
26905 * gst/base/gstpushsrc.h:
26906 * gst/elements/gstelements.c:
26907 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26908 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26909 (gst_fake_sink_init), (gst_fake_sink_set_property),
26910 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26911 (gst_fake_sink_event), (gst_fake_sink_preroll),
26912 (gst_fake_sink_render), (gst_fake_sink_change_state):
26913 * gst/elements/gstfakesink.h:
26914 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26915 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26916 (gst_fake_src_base_init), (gst_fake_src_class_init),
26917 (gst_fake_src_init), (gst_fake_src_event_handler),
26918 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26919 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26920 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26921 (gst_fake_src_create_buffer), (gst_fake_src_create),
26922 (gst_fake_src_start), (gst_fake_src_stop):
26923 * gst/elements/gstfakesrc.h:
26924 * gst/elements/gstfilesink.c: (_do_init),
26925 (gst_file_sink_base_init), (gst_file_sink_class_init),
26926 (gst_file_sink_init), (gst_file_sink_dispose),
26927 (gst_file_sink_set_location), (gst_file_sink_set_property),
26928 (gst_file_sink_get_property), (gst_file_sink_open_file),
26929 (gst_file_sink_close_file), (gst_file_sink_query),
26930 (gst_file_sink_event), (gst_file_sink_render),
26931 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26932 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26933 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26934 * gst/elements/gstfilesink.h:
26935 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26936 (gst_file_src_class_init), (gst_file_src_init),
26937 (gst_file_src_finalize), (gst_file_src_set_location),
26938 (gst_file_src_set_property), (gst_file_src_get_property),
26939 (gst_file_src_map_region), (gst_file_src_map_small_region),
26940 (gst_file_src_create_mmap), (gst_file_src_create_read),
26941 (gst_file_src_create), (gst_file_src_is_seekable),
26942 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26943 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26944 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26945 (gst_file_src_uri_handler_init):
26946 * gst/elements/gstfilesrc.h:
26947 more autistic cleanliness in functions/names/defines
26949 2005-07-13 Andy Wingo <wingo@pobox.com>
26951 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26952 source couldn't negotiate.
26954 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26958 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26959 function. I am channeling Hades. Put your boots on suckers!!!
26961 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26963 * testsuite/caps/Makefile.am:
26964 * testsuite/caps/value_compare.c:
26965 * testsuite/caps/value_intersect.c:
26966 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26967 move two testsuite apps over to the check dir
26969 2005-07-12 Wim Taymans <wim@fluendo.com>
26971 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26972 Added more debug info in the negotiate process.
26974 * gst/gstmessage.h:
26975 Prepare for segment playback.
26977 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26983 * tools/gst-launch.c: (main):
26984 NULL pipeline on errors.
26986 2005-07-12 Andy Wingo <wingo@pobox.com>
26988 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26989 not it comes from a malloc region. Make sure our copy gets freed.
26991 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26993 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26994 * check/gst/gstmessage.c: (GST_START_TEST):
26995 * check/gst/gststructure.c: (GST_START_TEST),
26996 (gst_structure_suite), (main):
26998 * gst/gstelement.c: (gst_element_message_full):
26999 clean up GError and debug string now that they get copied
27000 * gst/gstmessage.c: (gst_message_new_error),
27001 (gst_message_new_warning), (gst_message_parse_error),
27002 (gst_message_parse_warning):
27003 use GST_TYPE_G_ERROR for structure_new, and take copies of
27004 arguments, so that we don't mess up refcounting
27006 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27008 * check/Makefile.am:
27009 add per-test valgrind targets
27010 * check/gst-libs/gdp.c: (GST_START_TEST),
27011 (gst_data_protocol_suite), (main):
27014 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27016 * check/Makefile.am:
27017 instate more valgrindable tests
27018 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27019 (GST_START_TEST), (fakesrc_suite):
27020 * check/gst/gstpad.c: (GST_START_TEST):
27021 * check/gst/gststructure.c: (GST_START_TEST):
27023 * docs/gst/tmpl/gstminiobject.sgml:
27024 * gst/gstpad.c: (gst_pad_finalize):
27025 fix the static mutex leak
27027 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27029 * check/Makefile.am:
27030 add two more tests for valgrinding
27031 * check/gst/gstvalue.c: (GST_START_TEST):
27032 test refcount of deserialized buffer, found a leak
27033 * docs/gst/gstreamer-docs.sgml:
27034 * docs/gst/gstreamer-sections.txt:
27035 * docs/gst/gstreamer.types:
27036 * docs/gst/tmpl/gstminiobject.sgml:
27037 add miniobject to docs
27038 * gst/gstminiobject.c:
27040 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27041 (gst_string_unwrap):
27042 fix a hard-to-find invalid write for one of the tests
27043 fix a leak for deserialized buffers
27045 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27047 * docs/pwg/advanced-events.xml:
27048 * docs/pwg/advanced-request.xml:
27049 * docs/pwg/advanced-scheduling.xml:
27050 * docs/pwg/appendix-porting.xml:
27051 * docs/pwg/building-boiler.xml:
27052 * docs/pwg/intro-preface.xml:
27053 * docs/pwg/other-ntoone.xml:
27054 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27055 of example code and explanation for pad activation, loop() and
27056 getrange() functions and a bit more. Remove old comments pointing
27058 * examples/pwg/Makefile.am:
27059 Add loop/getrange examples.
27061 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27064 check for valgrind binary + some fixes
27066 valgrind suppressions for the tests
27067 * check/Makefile.am:
27068 add a valgrind: target that valgrinds the unit tests
27069 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27070 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27071 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27072 * check/gst/gstghostpad.c:
27074 * check/gst/gstdata.c:
27076 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27077 (thread_unref), (gst_mini_object_suite), (main):
27079 * gst/gst.c: (gst_deinit):
27081 add a method to clean up.
27082 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27083 (gst_system_clock_obtain):
27084 allow for disposing the system clock.
27085 * tools/gst-launch.c: (main):
27088 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27090 * docs/gst/tmpl/gstbasesrc.sgml:
27091 * docs/gst/tmpl/gstfakesrc.sgml:
27092 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27093 (gst_base_src_init), (gst_base_src_set_property),
27094 (gst_base_src_get_property), (gst_base_src_get_range),
27095 (gst_base_src_start):
27096 * gst/base/gstbasesrc.h:
27097 add num-buffers property
27098 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27099 (gst_fakesrc_init), (gst_fakesrc_set_property),
27100 (gst_fakesrc_get_property), (gst_fakesrc_create),
27101 (gst_fakesrc_start):
27102 remove num-buffers property
27104 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27106 * docs/gst/gstreamer-sections.txt:
27107 * docs/gst/tmpl/gstbasesink.sgml:
27108 * docs/gst/tmpl/gstbasesrc.sgml:
27109 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27110 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27111 (gst_base_sink_finalize), (gst_base_sink_set_clock),
27112 (gst_base_sink_set_property), (gst_base_sink_get_property),
27113 (gst_base_sink_handle_object), (gst_base_sink_event),
27114 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
27115 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
27116 (gst_base_sink_loop), (gst_base_sink_deactivate),
27117 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
27118 (gst_base_sink_change_state):
27119 * gst/base/gstbasesink.h:
27120 * gst/base/gstbasesrc.h:
27121 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
27122 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27123 (gst_filesink_init):
27124 more macro splitting
27126 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27128 * gst/gstelement.c: (gst_element_get_bus):
27130 * tools/gst-launch.c: (check_intr), (event_loop):
27133 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27135 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
27138 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27140 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27141 (gst_base_src_finalize):
27142 add finalize method and clean up properly
27143 * gst/gstpipeline.c: (gst_pipeline_dispose):
27146 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27148 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
27150 add more things to check
27151 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27152 * gst/gstelement.c:
27155 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27157 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27158 (GST_START_TEST), (fakesrc_suite):
27159 * check/gst-libs/gdp.c: (GST_START_TEST):
27160 * check/gst/gst.c: (GST_START_TEST):
27161 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27162 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27163 * check/gst/gstbus.c: (GST_START_TEST):
27164 * check/gst/gstcaps.c: (GST_START_TEST):
27165 * check/gst/gstdata.c: (GST_START_TEST):
27166 * check/gst/gstelement.c: (GST_START_TEST):
27167 * check/gst/gstghostpad.c: (GST_START_TEST):
27168 * check/gst/gstiterator.c: (GST_START_TEST):
27169 * check/gst/gstmessage.c: (GST_START_TEST):
27170 * check/gst/gstobject.c: (GST_START_TEST):
27171 * check/gst/gstpad.c: (GST_START_TEST):
27172 * check/gst/gststructure.c: (GST_START_TEST):
27173 * check/gst/gstsystemclock.c: (GST_START_TEST),
27174 (gst_systemclock_suite):
27175 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
27176 * check/gst/gstvalue.c: (GST_START_TEST):
27177 * check/pipelines/cleanup.c: (GST_START_TEST):
27178 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27179 * check/states/sinks.c: (GST_START_TEST):
27180 * check/gstcheck.c: (gst_check_init):
27181 * check/gstcheck.h:
27182 add debugging category
27183 use GST_START_TEST now, so we add a debug line
27185 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27187 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
27188 add test for state change message on a bin
27189 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
27191 * gst/gstbin.c: (gst_bin_init):
27192 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
27193 * gst/gstelement.c: (gst_element_post_message),
27194 (gst_element_set_state):
27195 * gst/gstelementfactory.c: (gst_element_factory_create):
27196 * gst/gstmessage.c: (gst_message_new):
27197 * gst/gstscheduler.c:
27198 various debugging additions and cleanups
27200 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27202 * check/Makefile.am:
27203 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
27205 adding tests for elements
27206 * gst/gstelement.c: (gst_element_dispose):
27208 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27210 * gst/registries/gstlibxmlregistry.c: (load_feature):
27211 plug more leaks. A simple gst_init() now is leakfree, yay.
27213 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27215 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
27216 (gst_xml_registry_load):
27217 plug another memleak
27219 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27222 use GST_SET_ERROR_CFLAGS
27223 * docs/faq/cvs.xml:
27224 change to ERROR_CFLAGS
27226 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27229 make GST_ERROR_CFLAGS overridable and re-enable Werror
27230 * docs/faq/cvs.xml:
27231 add a note about error CFLAGS
27232 * docs/gst/tmpl/gstfakesrc.sgml:
27233 * gst/elements/gstfakesrc.c:
27234 comment out some unused code
27235 * gst/gst.c: (split_and_iterate):
27236 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
27240 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
27242 * common/Makefile.am:
27243 * common/gtk-doc.mak:
27244 * docs/gst/Makefile.am:
27245 factor out gtk-doc.mak
27247 2005-07-07 Wim Taymans <wim@fluendo.com>
27249 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
27250 (gst_thread_scheduler_dispose):
27251 Unlock the STREAM_LOCK completely.
27253 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
27255 * check/Makefile.am:
27256 * check/elements/.cvsignore:
27257 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27258 (START_TEST), (fakesrc_suite), (main):
27259 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27260 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27261 (gst_fakesrc_create), (gst_fakesrc_start):
27262 * gst/elements/gstfakesrc.h:
27263 adding a first element test
27265 2005-07-07 Andy Wingo <wingo@pobox.com>
27267 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
27270 2005-07-07 Wim Taymans <wim@fluendo.com>
27276 2005-07-07 Wim Taymans <wim@fluendo.com>
27278 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
27279 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
27280 Allow subclasses to implement their own negotiation.
27282 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27284 * docs/design/part-gstbin.txt:
27285 * docs/design/part-gstpipeline.txt:
27286 Update design notes to reflect the movement of
27287 responsibility for bus handling from GstPipeline to
27290 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27293 Remove unnecessary queue2/3/4 examples.
27295 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27297 * examples/Makefile.am:
27298 * examples/helloworld/helloworld.c: (event_loop), (main):
27299 * examples/queue/queue.c: (event_loop), (main):
27300 * examples/queue2/queue2.c: (main):
27301 Update a couple of the examples to work again.
27303 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27304 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
27305 Spelling corrections and extra debug.
27307 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
27308 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
27309 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
27311 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27312 (gst_pipeline_change_state):
27313 * gst/gstpipeline.h:
27314 Move the bus handler for children to the GstBin, and create a
27315 separate bus for receiving messages from children to the one the
27316 bus sends 'upwards' on.
27318 2005-07-06 Wim Taymans <wim@fluendo.com>
27321 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27322 (gst_base_sink_handle_object), (gst_base_sink_loop),
27323 (gst_base_sink_change_state):
27324 * gst/base/gstbasesink.h:
27325 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27326 (gst_base_src_init), (gst_base_src_setcaps),
27327 (gst_base_src_getcaps), (gst_base_src_loop),
27328 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
27329 (gst_base_src_start), (gst_base_src_change_state):
27330 * gst/base/gstbasesrc.h:
27331 Make basesrc negotiate.
27332 Handle the case where preroll fails in basesink.
27335 2005-07-06 Wim Taymans <wim@fluendo.com>
27337 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
27338 Implement the fixate function.
27339 Clean up acceptcaps.
27341 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27343 * docs/pwg/building-filterfactory.xml:
27344 * docs/pwg/pwg.xml:
27345 Remove never-written filter-factory chapter; I'll add the various
27346 base classes to part 4 ("other element types") later on.
27348 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27350 * docs/pwg/advanced-negotiation.xml:
27351 * docs/pwg/building-boiler.xml:
27352 * docs/pwg/building-pads.xml:
27353 * docs/pwg/pwg.xml:
27354 * examples/pwg/Makefile.am:
27355 Add a chapter on caps negotiation, simplify the original code
27356 samples a bit w.r.t. caps negotiation, add link to the advanced
27357 section. Add a bunch of examples showing different use cases of
27358 different types of caps negotiation. Upstream renegotiation isn't
27359 fully documented yet since nobody knows how that works.
27361 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
27363 * check/gst/gstpad.c:
27364 * check/gstcheck.c:
27365 * gst/gstpad.c: (gst_pad_get_internal_links_default):
27366 if pad has no parent, return NULL as list of internal links
27368 2005-07-05 Andy Wingo <wingo@pobox.com>
27370 * gst/elements/gstfilesrc.c:
27371 * gst/elements/gstfakesrc.c:
27372 * gst/base/gstpushsrc.c:
27373 * gst/base/gstbasesrc.h:
27374 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27376 2005-07-05 Stefan Kost <ensonic@users.sf.net>
27379 better report generation target (lcov needs a patch)
27381 2005-07-05 Andy Wingo <wingo@pobox.com>
27383 * gst/elements, testsuite: Null if we got it...
27385 2005-07-05 Wim Taymans <wim@fluendo.com>
27388 * libs/gst/dataprotocol/Makefile.am:
27389 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27390 * libs/gst/dataprotocol/dataprotocol.h:
27391 * pkgconfig/Makefile.am:
27392 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27393 * pkgconfig/gstreamer-dataprotocol.pc.in:
27394 Ported dataprotol to 0.9.
27395 Added pkgconfig files.
27397 2005-07-05 Andy Wingo <wingo@pobox.com>
27399 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27400 Default to returning TRUE for the case when tranform_caps returns
27401 a fixed caps, like for identity or volume.
27403 * check/gst/gstbus.c (pound_bus_with_messages):
27404 * check/gst/gstmessage.c (START_TEST):
27405 * check/pipelines/simple_launch_lines.c (got_handoff): Application
27406 message API change.
27408 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27409 logic weaks here: always run transform_caps, trying passthrough
27410 operation only if the original caps intersects with the transform.
27412 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27413 source and sink caps.
27415 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27416 Intersect the peer caps with the pad template before going into
27418 (gst_base_transform_transform_caps): More debugging.
27420 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27423 2005-07-04 Edward Hervey <edward@fluendo.com>
27427 (gst_pad_add_*_probe): now returns the signal id for better wrapping
27430 2005-07-04 Andy Wingo <wingo@pobox.com>
27432 * check/gst/gstpad.c: Only set explicit caps on pads.
27434 2005-07-01 Andy Wingo <wingo@pobox.com>
27436 * tests/network-clock.scm: Commentary update.
27438 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27439 Didn't really make sense, not implementable with basetransform,
27441 (gst_identity_transform): Unref inbuf via make_writable. Feeble
27442 attempt at implementing the sync property, needs an unlock method.
27444 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27445 New func, by default returns the same caps (the identity
27447 (gst_base_transform_getcaps): Uses transform_caps to return
27448 something sensible.
27449 (gst_base_transform_setcaps): Complicated logic to get caps on
27450 both pads, even if they are different, and to call set_caps once
27451 for every time both pads get their caps set.
27452 (gst_base_transform_handle_buffer): Give the ref to the transform
27453 function. Allows in-place modification of the buffer.
27455 * gst/base/gstbasetransform.h (transform_caps): New class method.
27456 Given caps on one side, what can I do on the other.
27457 (set_caps): Take two caps, one for each side of the element.
27460 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27461 caps in place. This is safe because we can check the mutability of
27462 the caps, and a good idea because fixate functions are just called
27463 as a matter of last resort. (Not actually implemented.)
27464 (gst_pad_set_caps): If the caps we're setting is actually the same
27465 as the existing pad caps, just update the pointer without calling
27466 setcaps. Assert that caps is either NULL or fixed, as per the
27469 * gst/gstghostpad.c: Update for fixate changes.
27471 2005-07-02 Andy Wingo <wingo@pobox.com>
27474 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27475 two refcounts makes it immutable, which is enough. Doc more.
27477 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
27479 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27480 Put the mini_object into GValue as a mini_object,
27481 not a gpointer, since that's how we declared
27484 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27486 * examples/pwg/Makefile.am:
27487 Fix buildbot again.
27489 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27491 * docs/pwg/building-testapp.xml:
27493 * examples/pwg/Makefile.am:
27496 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27499 * examples/Makefile.am:
27500 * examples/pwg/Makefile.am:
27501 * examples/pwg/extract.pl:
27502 Enable building the PWG examples.
27503 * docs/pwg/advanced-interfaces.xml:
27504 Add URI interface stub.
27505 * docs/pwg/advanced-types.xml:
27506 * docs/pwg/other-autoplugger.xml:
27507 * docs/pwg/appendix-porting.xml:
27508 * docs/pwg/pwg.xml:
27509 Add porting guide (mostly stubs), remove autoplugging (see ADM).
27510 * docs/pwg/building-boiler.xml:
27511 * docs/pwg/building-chainfn.xml:
27512 * docs/pwg/building-pads.xml:
27513 * docs/pwg/building-props.xml:
27514 * docs/pwg/building-state.xml:
27515 * docs/pwg/building-testapp.xml:
27516 Update the building-*.xml parts for 0.9 changes. All examples
27517 code blocks compile in examples/pwg/*.
27519 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27521 * docs/manual/advanced-autoplugging.xml:
27522 * docs/manual/appendix-checklist.xml:
27523 * docs/manual/appendix-integration.xml:
27524 * docs/manual/highlevel-components.xml:
27525 Fix playbin/decodebin examples, update docs a bit, mention bus
27526 instead of signals in various places, mention kmplayer and
27527 kaffeine since they have a working GStreamer backend in the KDE
27530 2005-06-30 Wim Taymans <wim@fluendo.com>
27533 * docs/design/draft-ghostpads.txt:
27534 * docs/design/draft-push-pull.txt:
27535 * docs/design/draft-query.txt:
27536 * docs/design/part-TODO.txt:
27537 * docs/design/part-query.txt:
27538 Added CHANGES-0.9 doc, updated status of other docs.
27543 2005-06-30 Wim Taymans <wim@fluendo.com>
27545 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27546 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27547 (gst_base_sink_change_state):
27548 * gst/base/gstbasesink.h:
27549 Some tweaks, only EOS and a buffer complete a preroll.
27551 2005-06-30 Andy Wingo <wingo@pobox.com>
27553 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27554 activate_push down to the internal pad as well.
27556 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
27558 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27560 * gst/gsttaginterface.c:
27561 Some documentation fixes (#307394 and #307397).
27563 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
27565 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27567 * gst/gstvalue.c: (gst_value_intersect_list):
27568 Fix memleak (#309125).
27570 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27572 * docs/manual/advanced-dataaccess.xml:
27573 Fix fakesrc example to compile; doesn't work, bug somewhere...?
27574 * docs/manual/basics-pads.xml:
27575 Add reference for filtered caps to above chapter.
27577 2005-06-30 Wim Taymans <wim@fluendo.com>
27579 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27580 (gst_bin_change_state):
27582 Lame attempt at making the state change function a bit
27585 2005-06-30 Wim Taymans <wim@fluendo.com>
27587 * docs/design/part-clocks.txt:
27588 * docs/design/part-element-sink.txt:
27589 * docs/design/part-events.txt:
27590 * docs/design/part-preroll.txt:
27591 * docs/design/part-states.txt:
27592 Some more tweeks and additions to the docs.
27594 2005-06-30 Wim Taymans <wim@fluendo.com>
27596 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27597 (default_have_data), (gst_pad_class_init), (gst_pad_init),
27598 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27599 (gst_pad_check_pull_range), (gst_pad_get_range),
27600 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27602 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27603 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27604 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27605 (gst_pad_remove_buffer_probe):
27606 Removed atomic operations, use existing LOCK.
27607 Move exception handling out of main code path.
27609 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27611 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27612 (silly_return_true_function), (gst_pad_class_init),
27613 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27614 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27615 (gst_pad_send_event):
27616 Fix accumulator, add default value by using _emitv() instead
27617 of _emit() for signal emission.
27619 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27621 * docs/manual/advanced-dataaccess.xml:
27622 * examples/manual/Makefile.am:
27624 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27627 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27629 * gst/elements/gstfilesink.c: (gst_filesink_render):
27630 Simplify code so that we don't have to handle short
27631 writes and return GST_FLOW_ERROR if an error occured.
27633 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27635 * docs/gst/gstreamer-docs.sgml:
27636 Remove probes more.
27638 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27640 * docs/gst/gstreamer-sections.txt:
27641 * docs/gst/tmpl/gstpad.sgml:
27642 * docs/gst/tmpl/gstprobe.sgml:
27644 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27645 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27646 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27647 (gst_pad_push_event), (gst_pad_send_event):
27649 * gst/gstutils.c: (gst_pad_add_data_probe),
27650 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27651 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27652 (gst_pad_remove_buffer_probe):
27654 Remove old probes, add new g-signal-based probes and some utility
27657 2005-06-29 Edward Hervey <edward@fluendo.com>
27659 * gst/gstelementfactory.c:
27662 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27663 the definition to the header file.
27665 2005-06-29 Andy Wingo <wingo@pobox.com>
27667 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27668 plugins from the source directory.
27670 2005-06-29 Wim Taymans <wim@fluendo.com>
27672 * docs/gst/tmpl/gstbuffer.sgml:
27673 * docs/gst/tmpl/gstclock.sgml:
27674 Some fixings for blantently wrong text.
27676 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27678 * check/Makefile.am:
27679 * gst/gst.c: (add_path_func), (init_pre):
27680 * gst/gstregistry.c: (gst_registry_add_path):
27681 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27682 only scan the GST_PLUGIN_PATH locations, and not add
27685 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27687 * docs/gst/gstreamer-sections.txt:
27688 * docs/gst/tmpl/gstbasesrc.sgml:
27689 * gst/gstelement.c:
27690 * gst/gstelement.h:
27695 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27697 * docs/manual/advanced-autoplugging.xml:
27698 Fix autoplugging example.
27700 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27702 * docs/manual/advanced-autoplugging.xml:
27703 * docs/manual/mime-world.fig:
27704 Try to get autoplugging working, fix type detection. Fix text
27705 in hello-world image.
27707 2005-06-29 Wim Taymans <wim@fluendo.com>
27709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27710 (gst_base_sink_change_state):
27714 map SIGNAL and BROADCAST to the right function.
27717 Remove redundant braces.
27719 * gst/gstpad.c: (gst_pad_set_caps):
27720 Don't call setcaps function when reseting caps to NULL.
27722 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27723 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27724 (gst_system_clock_id_unschedule):
27725 Use BROADCAST as this is what we do.
27727 2005-06-29 Wim Taymans <wim@fluendo.com>
27729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27730 We are actually prerolling before commiting the state
27733 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27735 * docs/manual/advanced-clocks.xml:
27736 * docs/manual/advanced-interfaces.xml:
27737 * docs/manual/advanced-metadata.xml:
27738 * docs/manual/advanced-position.xml:
27739 * docs/manual/advanced-schedulers.xml:
27740 * docs/manual/advanced-threads.xml:
27741 * docs/manual/appendix-porting.xml:
27742 * docs/manual/basics-bins.xml:
27743 * docs/manual/basics-bus.xml:
27744 * docs/manual/basics-elements.xml:
27745 * docs/manual/basics-helloworld.xml:
27746 * docs/manual/basics-pads.xml:
27747 * docs/manual/highlevel-components.xml:
27748 * docs/manual/manual.xml:
27749 * docs/manual/thread.fig:
27750 Update (until threads/scheduling) Application Development Manual;
27751 remove GstThread, add GstBus, add simple porting checklist, add
27752 documentation for tag writing, clocks, make all examples until this
27753 part compile and run.
27754 * examples/manual/Makefile.am:
27755 Update from changes to Application Development Manual; add bus
27756 example, remove thread example.
27758 2005-06-28 Wim Taymans <wim@fluendo.com>
27760 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27761 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27762 (gst_bus_source_dispatch):
27763 Add debugging messages.
27764 Make internal methods static.
27765 Handle the case where the bus is flushed in the handler.
27767 * gst/gstelement.c: (gst_element_get_bus):
27768 Fix refcount in _get_bus();
27770 * gst/gstpipeline.c: (gst_pipeline_change_state),
27771 (gst_pipeline_get_clock_func):
27772 Clock refcounting fixes.
27773 Handle the case where preroll timed out more gracefully.
27775 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27776 Clean up the internal thread in dispose. This is needed
27777 for subclasses that actually get disposed.
27779 * gst/schedulers/threadscheduler.c:
27780 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27781 (gst_thread_scheduler_dispose):
27782 Free thread pool in dispose.
27784 2005-06-28 Andy Wingo <wingo@pobox.com>
27786 * tests/network-clock-utils.scm (debug, print-event): New utils.
27788 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27789 (*packet-loss*): Unified loss probability.
27790 (network-time): Report out-of-band events.
27792 * tests/plot-data: Add support for out-of-band events. Hack it
27793 into this script instead of passing it down the pipe; should fix
27796 2005-06-28 Wim Taymans <wim@fluendo.com>
27798 * docs/gst/gstreamer.types:
27799 * docs/gst/tmpl/gstbasesrc.sgml:
27800 * docs/gst/tmpl/gstpad.sgml:
27803 2005-06-28 Wim Taymans <wim@fluendo.com>
27805 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27806 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27807 (gst_proxy_pad_do_fixatecaps):
27808 Correctly proxy the check_pull_range function.
27810 2005-06-28 Andy Wingo <wingo@pobox.com>
27812 * tests/network-clock.scm: Removed need for slib.
27814 2005-06-28 Wim Taymans <wim@fluendo.com>
27816 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27817 (gst_basesink_preroll_queue_flush):
27818 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27819 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27820 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27821 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27822 (gst_proxy_pad_set_property):
27825 * gst/gstqueue.c: (gst_queue_init):
27826 The deprecated pad loop function is removed now.
27828 2005-06-28 Andy Wingo <wingo@pobox.com>
27830 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27831 New parameters, simulate network packet loss.
27833 * tests/network-clock-utils.scm: Initialize the RNG.
27835 2005-06-28 Wim Taymans <wim@fluendo.com>
27837 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27838 (gst_basesink_event), (gst_basesink_deactivate):
27839 Flushing the preroll queue always needs to unlock the waiters.
27841 2005-06-28 Edward Hervey <edward@fluendo.com>
27843 * gst/gstpipeline.c: (gst_pipeline_send_event):
27844 Wheen a seek was successful on a pipeline, set the stream_time to the
27845 seek offset in order to have a synchronized stream_time.
27847 2005-06-28 Wim Taymans <wim@fluendo.com>
27849 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27850 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27851 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27852 (gst_proxy_pad_do_fixatecaps):
27853 Call wrapper function instead of just calling the function
27854 pointers. This takes care of any locking and whatmore.
27856 2005-06-28 Wim Taymans <wim@fluendo.com>
27858 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27859 (gst_pad_pull_range):
27861 CONNECTED -> LINKED.
27863 2005-06-28 Andy Wingo <wingo@pobox.com>
27865 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27866 source-munging commit!!!
27868 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27869 (gst_object_sink): Take gpointer arguments, not GstObject --
27870 avoids casts. Like GLib.
27872 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27875 2005-06-27 Andy Wingo <wingo@pobox.com>
27877 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27880 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27881 returns a sorted copy of the trace list.
27882 (gst_alloc_trace_print_live): New API, only prints traces with
27883 live objects. Sort the list.
27884 (gst_alloc_trace_print_all): Sort the list.
27885 (gst_alloc_trace_print): Align columns.
27887 * gst/elements/gstttypefindelement.c:
27888 * gst/elements/gsttee.c:
27889 * gst/base/gstbasesrc.c:
27890 * gst/base/gstbasesink.c:
27891 * gst/base/gstbasetransform.c:
27892 * gst/gstqueue.c: Adapt for pad activation changes.
27894 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27896 (gst_pipeline_dispose): Drop ref on sched.
27898 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27899 (gst_pad_activate_default): Push mode by default.
27900 (pre_activate_switch, post_activate_switch): New stubs, things to
27901 do before and after switching activation modes on pads.
27902 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27903 the pad's activate function to choose which mode to activate.
27904 Shortcut on deactivation and call the right function directly.
27905 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27907 (gst_pad_activate_push): New API, same for push mode.
27908 (gst_pad_set_activate_function)
27909 (gst_pad_set_activatepull_function)
27910 (gst_pad_set_activatepush_function): Setters for new API.
27912 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27913 Trace all miniobjects.
27914 (gst_mini_object_make_writable): Unref the arg if we copy, like
27915 gst_caps_make_writable.
27917 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27919 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27920 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27921 Adapt for new pad API.
27923 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27925 * gst/gstelement.h:
27926 * gst/gstelement.c (gst_element_iterate_src_pads)
27927 (gst_element_iterate_sink_pads): New API functions.
27929 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27930 should fold into gstiterator.c in some form.
27931 (gst_element_pads_activate): Simplified via use of fold and
27932 delegation of decisions to gstpad->activate.
27934 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27937 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27938 class once in init, like gstmessage. Didn't run into this issue
27939 but it seems correct. Don't initialize a trace, gstminiobject does
27942 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27943 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27945 (assert_live_count): New util function, uses alloc traces to check
27948 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27949 To be modified when unlink drops the internal pad.
27951 2005-06-27 Wim Taymans <wim@fluendo.com>
27953 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27954 (gst_bin_change_state):
27955 Cleanup the get_state() function a little, make sure it
27956 iterates the same set of elements.
27957 Added stub iterate_state_order().
27959 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27961 * docs/gst/gstreamer-docs.sgml:
27962 * docs/gst/gstreamer-sections.txt:
27963 * docs/gst/gstreamer.types:
27964 * docs/gst/tmpl/gstbasesink.sgml:
27965 * docs/gst/tmpl/gstbasesrc.sgml:
27966 * docs/gst/tmpl/gstbasetransform.sgml:
27967 * docs/gst/tmpl/gstelement.sgml:
27968 * docs/gst/tmpl/gstiterator.sgml:
27969 * gst/base/gstbasesrc.c:
27970 * gst/base/gstbasesrc.h:
27971 * gst/base/gstbasetransform.h:
27972 * gst/gstelement.c:
27973 * gst/gstiterator.h:
27974 adding basetransform and iterator docs
27976 2005-06-27 Andy Wingo <wingo@pobox.com>
27978 * docs/design/part-activation.txt: Notes on how activation should
27979 work -- not quite implemented yet.
27981 2005-06-25 Wim Taymans <wim@fluendo.com>
27983 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27984 At least get the chain function correct, needs more
27987 2005-06-25 Wim Taymans <wim@fluendo.com>
27989 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27990 (gst_basesink_handle_object), (gst_basesink_event),
27991 (gst_basesink_do_sync), (gst_basesink_handle_event),
27992 (gst_basesink_change_state):
27994 Right, two problems here: ghostpads don't take locks and
27995 glib _rec_mutex_lock_full() with depth==0 still locks.
27996 Catch illegal locking and g_warn them.
27998 2005-06-25 Wim Taymans <wim@fluendo.com>
28000 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28001 Have to check for completion now...
28003 2005-06-25 Wim Taymans <wim@fluendo.com>
28005 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28006 (gst_basesink_handle_object), (gst_basesink_event),
28007 (gst_basesink_do_sync), (gst_basesink_handle_event),
28008 (gst_basesink_change_state):
28010 Unlock STREAM_LOCK whatever the recursion was.
28012 2005-06-25 Wim Taymans <wim@fluendo.com>
28014 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28015 (gst_basesink_preroll_queue_empty),
28016 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28017 (gst_basesink_event), (gst_basesink_do_sync),
28018 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28019 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28020 (gst_basesink_change_state):
28021 Reworked the base sink, handle event and buffer serialisation
28022 correctly and removed possible deadlock.
28023 Handle EOS correctly.
28025 2005-06-25 Wim Taymans <wim@fluendo.com>
28027 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28028 (gst_pipeline_change_state):
28029 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28030 Allow elements to post EOS in the state change function.
28031 Fix up -launch, make it exit the poll loop when the
28032 pipeline actually changed state.
28033 Fix up warning parsing in -launch.
28035 2005-06-25 Wim Taymans <wim@fluendo.com>
28037 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28038 (gst_tee_sink_activate):
28039 Core takes STREAM_LOCK for us now.
28041 2005-06-25 Wim Taymans <wim@fluendo.com>
28043 * gst/gstelement.c: (gst_element_get_state_func),
28044 (gst_element_set_state):
28045 * gst/gstelement.h:
28046 * gst/gstmessage.c: (gst_message_parse_error),
28047 (gst_message_parse_warning):
28048 Keep track of current target state while performing a state
28049 change so that subclasses can do something interesting.
28050 Fix parsing of warning/error messages when GError is NULL.
28052 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
28054 * docs/gst/Makefile.am:
28055 * docs/gst/gstreamer-docs.sgml:
28056 * docs/gst/gstreamer-sections.txt:
28057 * docs/gst/gstreamer.types:
28058 * docs/gst/tmpl/gstbasesink.sgml:
28059 * docs/gst/tmpl/gstbasesrc.sgml:
28060 * docs/gst/tmpl/gstbin.sgml:
28061 * docs/gst/tmpl/gstcompat.sgml:
28062 * docs/gst/tmpl/gstfakesink.sgml:
28063 * docs/gst/tmpl/gstfakesrc.sgml:
28064 * docs/gst/tmpl/gstfilesink.sgml:
28065 * docs/gst/tmpl/gstfilesrc.sgml:
28066 * docs/gst/tmpl/gstindex.sgml:
28067 * docs/manual/appendix-quotes.xml:
28068 * gst/base/gstbasesrc.h:
28069 * gst/elements/gstfakesrc.h:
28070 * gst/gstmessage.h:
28071 start pulling in base classes and elements in our docs
28073 2005-06-24 Stefan Kost <ensonic@users.sf.net>
28075 * docs/gst/Makefile.am:
28076 * docs/libs/Makefile.am:
28077 fixed make distcheck with gtk-doc 1.3
28079 2005-06-23 Wim Taymans <wim@fluendo.com>
28081 * gst/gstelement.c: (gst_element_get_state_func),
28082 (gst_element_set_state), (gst_element_change_state):
28083 When the state did not change, also report NO_PREROLL
28086 2005-06-23 Wim Taymans <wim@fluendo.com>
28088 * gst/gstpad.c: (gst_pad_event_default):
28089 * gst/gstqueue.c: (gst_queue_loop):
28090 No unsafe task pausing please.
28092 2005-06-23 Wim Taymans <wim@fluendo.com>
28094 * gst/schedulers/threadscheduler.c:
28095 (gst_thread_scheduler_task_start),
28096 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28097 Ref the task before pushing it on the threadpool. This
28098 makes sure that we have a ref when the threadfunction is
28101 2005-06-23 Andy Wingo <wingo@pobox.com>
28103 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
28104 offset is greater than the file's size.
28106 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
28107 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
28108 * gst/gstobject.c (gst_object_class_init): Make the class lock
28109 recursive. Wim won't let me drop deep_notify. Decodebin works
28110 again, whoopdy doo.
28112 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
28113 internal pad, and hacks accordingly. Doesn't do it on the target
28114 pad because we change its caps. Probably catches all cases of
28116 (gst_ghost_pad_set_property): Connect to notify::caps as
28119 * tests/network-clock.scm (plot-simulation): Pipe data to the
28120 elite python skript.
28122 * tests/network-clock-utils.scm (define-parameter): New macro,
28123 defines a parameter that can be set via the command line.
28124 (set-parameter!, parse-parameter-arguments): Command line args
28127 * tests/plot-data: Simple matplotlib-based plotter, takes input on
28130 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
28132 * gst/elements/gsttypefindelement.c:
28133 (gst_type_find_element_handle_event):
28134 Don't restart typefinding on a discont.
28135 * gst/gstelement.c: (gst_element_set_state):
28136 Debug spelling fix.
28137 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
28138 Allow changing mode of an active pad.
28139 Debug output fixes.
28140 * gst/registries/gstlibxmlregistry.c: (load_feature):
28141 Don't cast a static pad template to a normal pad template.
28143 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
28145 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28146 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28147 remove gst_strtoll completely, since it didn't actually do
28148 anything more than what g_ascii_strtoull already does.
28149 check for range errors when deserializing
28150 do a cast for the unsigned cases; but further fixing needs
28151 a decision on what the interpretation of "(int)" and
28152 deserialization should be for values that fall outside the
28153 type's boundaries (ie, refuse, or interpret as casting)
28155 2005-06-23 Wim Taymans <wim@fluendo.com>
28157 * check/Makefile.am:
28158 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
28159 * docs/design/part-live-source.txt:
28160 * docs/design/part-states.txt:
28161 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28162 (gst_basesrc_set_live), (gst_basesrc_is_live),
28163 (gst_basesrc_get_range), (gst_basesrc_activate),
28164 (gst_basesrc_change_state):
28165 * gst/base/gstbasesrc.h:
28166 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28167 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28168 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
28169 * gst/gstelement.c: (gst_element_get_state_func),
28170 (gst_element_set_state):
28171 * gst/gstelement.h:
28173 * tools/gst-launch.c: (event_loop), (main):
28174 Added support for live sources and other elements that
28176 Updated design docs, added live-source design doc.
28177 Implemented live source functionality in basesrc
28178 Fix error condition in _bin_get_state()
28179 Implement live source handling in -launch.
28180 Added check for live sources.
28181 Fixed case in GstBin where elements were changed state
28185 2005-06-23 Andy Wingo <wingo@pobox.com>
28187 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
28188 borken refcounting.
28190 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
28191 gst_caps_replace takes care of this for us.
28193 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
28194 gst_pad_set_caps on the target, not just its setcaps() function.
28196 * tests/network-clock.scm:
28197 * tests/network-clock-utils.scm: A network clock simulator.
28198 Something of an algorithmic testbed before doing something in C.
28200 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28202 * check/Makefile.am:
28203 * check/gst/capslist.h:
28204 copy over from 0.8, and add two with bitmasks specified with
28206 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28207 add test to parse everything from capslist.h
28208 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
28210 add test for structure deserialization
28211 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28212 add tests for deserialization of strings to int types
28213 * gst/gststructure.c: (gst_structure_nth_field_name):
28214 * gst/gststructure.h:
28215 add a way to get the name of a field referenced by index
28216 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28217 instead of checking if the resulting long long lies between
28218 min and max, we check if the long long would fit into
28219 a number of bytes for the final type.
28220 This fixes cases where a string represents 2^32 - 1, which
28221 when cast to int would be the (valid) -1, but is bigger than
28224 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28226 * gst/parse/grammar.y:
28227 add a log line for type deserialization
28229 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28231 * check/gst/gstvalue.c: (START_TEST):
28232 * gst/gstvalue.c: (gst_value_deserialize):
28233 return long long, not int, so gint64 deserialization actually
28234 works. Is there any flag that makes the compiler check this ?
28237 2005-06-22 Wim Taymans <wim@fluendo.com>
28240 Added convenience macros for setting buffers in GValue.
28242 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
28244 * check/gst/.cvsignore:
28245 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28246 add a test deserializing int64, and comment part out because
28249 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
28251 * check/Makefile.am:
28252 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
28253 * testsuite/Makefile.am:
28254 * testsuite/caps/Makefile.am:
28255 * testsuite/caps/value_serialize.c:
28256 * testsuite/test_gst_init.c:
28257 move a value_serialize test over
28259 2005-06-20 Wim Taymans <wim@fluendo.com>
28264 * gst/gstvalue.c: (gst_value_compare_buffer),
28265 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
28266 (gst_value_compare_flags), (gst_value_serialize_flags),
28267 (gst_value_deserialize_flags), (_gst_value_initialize):
28268 Fix serialisation of buffers, they are not boxed types anymore
28270 2005-06-20 Wim Taymans <wim@fluendo.com>
28272 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28273 Testcase to show error in buffer-on-caps serialisation.
28275 2005-06-20 Andy Wingo <wingo@pobox.com>
28277 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
28278 will be adding to later.
28280 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
28281 if its socks fill with rocks.
28282 (gst_system_clock_obtain): Set the name on object construction.
28283 Avoid double-checked locking.
28285 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
28287 * gst/gsturi.c: (gst_element_make_from_uri):
28288 Fix potential endless loop.
28290 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28292 * check/Makefile.am:
28294 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
28296 move over from testsuite dir and clean up
28299 * testsuite/Makefile.am:
28300 * testsuite/tags/.cvsignore:
28301 * testsuite/tags/Makefile.am:
28302 * testsuite/tags/merge.c:
28303 remove testsuite/tags
28305 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28307 * docs/gst/gstreamer-sections.txt:
28308 * docs/gst/tmpl/gstenumtypes.sgml:
28309 * win32/gstenumtypes.c:
28310 clean up documentation build a little
28312 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28314 * check/gstcheck.h:
28315 add macros for checking refcounts on objects and caps
28316 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
28317 add some more unit tests
28318 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
28319 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
28320 fix leaked refcounts (I hope :)) so unittest works
28324 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28326 * configure.ac: back to HEAD
28328 === release 0.9.1 ===
28330 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
28336 2005-06-17 Andy Wingo <wingo@pobox.com>
28338 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
28339 assert; it's always possible that the pad gets deactivated in
28340 between the checks in gstpad.c and the implementation. Rely on
28341 finish_preroll() to return a FLUSHING or similar instead of on the
28344 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
28345 clock and post an EOS message if we come out of finish_preroll in
28348 2005-06-16 David Schleef <ds@schleef.org>
28350 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
28351 (gst_capsfilter_set_property): Allow NULL as possible value
28352 for filter_caps property, indicating GST_CAPS_ANY.
28354 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28356 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28358 * gst/schedulers/Makefile.am:
28360 * gstreamer.spec.in:
28363 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28365 * gstreamer.spec.in:
28368 2005-06-08 Andy Wingo <wingo@pobox.com>
28370 * gst/gstutils.c: RPAD fixes all around.
28371 (gst_element_link_pads): Refcounting fixes.
28373 * tools/gst-inspect.c:
28374 * tools/gst-xmlinspect.c:
28376 * gst/base/gsttypefindhelper.c:
28377 * gst/base/gstbasesink.c:
28378 * gst/gstqueue.c: RPAD fixes.
28380 * gst/gstghostpad.h:
28381 * gst/gstghostpad.c: New ghost pad implementation as full proxy
28382 pads. The tricky thing is they provide both source and sink
28383 interfaces, since they proxy the internal pad for the external
28384 pad, and vice versa. Implement with lower-level ProxyPad objects,
28385 with the interior proxy pad as a child of the exterior ghost pad.
28386 Should write a doc on this.
28388 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28389 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28392 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28393 pads are real pads. No ghost pads in this file. Not documenting
28394 the myriad s/RPAD/PAD/ and REALIZE fixes.
28395 (gst_pad_class_init): Add properties for "direction" and
28396 "template". Both are construct-only, so they can't change during
28397 the life of the pad. Fixes properly deriving from GstPad.
28398 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28399 derived objects, just set properties when creating the objects via
28401 (gst_pad_get_parent): Implement as a function, return NULL if the
28402 parent is not an element.
28403 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28404 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28406 * gst/gstobject.c (gst_object_class_init): Make name a construct
28407 property. Don't set it in the object init.
28409 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28410 with UNKNOWN direction.
28411 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28412 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28413 (gst_element_remove_pad): Remove ghost-pad special cases.
28414 (gst_element_pads_activate): Remove rpad cruft.
28416 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28417 catch the pad's-parent-not-an-element case.
28419 * gst/gst.h: Include gstghostpad.h.
28421 * gst/gst.c (init_post): No more real, ghost pads.
28423 * gst/Makefile.am: Add gstghostpad.[ch].
28425 * check/Makefile.am:
28426 * check/gst/gstbin.c:
28427 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28428 into a bin creates ghost pads, and that the refcounts are right.
28429 Partly moved from gstbin.c.
28431 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28433 * check/gst-libs/.cvsignore:
28434 * check/gst/.cvsignore:
28435 * check/pipelines/.cvsignore:
28437 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28438 (START_TEST), (cleanup_suite), (main):
28439 add some tests related to cleanup after running pipelines
28441 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28443 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28444 add a testsuite for GstBuffer
28446 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28448 * gst/gstminiobject.h:
28449 add defines for accessing the refcount
28451 2005-06-03 Stefan Kost <ensonic@users.sf.net>
28453 * Makefile.am: added support for html unit test coverage reports
28455 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
28457 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28458 Free existing caps if the capsfilter changes. Add a FIXME about
28459 setting those caps on the pads.
28461 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28462 Before adding a ghost pad to a parent bin, check that there isn't
28463 already one for the element on the bin. Prevents infinite recursion
28464 when using decodebin in parse pipelines. Andy says he'll rewrite the
28465 way this works anyway, so ignore the hack.
28467 2005-06-02 Andy Wingo <wingo@pobox.com>
28469 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28470 file size, pass it on to the type find helper.
28472 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28473 segment_start and segment_end properly according to the seek
28474 method. Segment_end is still a bit flaky because offset can be
28475 negative for CUR and END cases, but it takes -1 as an "unset"
28478 2005-06-02 Wim Taymans <wim@fluendo.com>
28480 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28481 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28482 (gst_basesink_activate):
28483 * gst/base/gstbasesink.h:
28484 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28485 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28486 (gst_pad_query), (gst_pad_start_task):
28488 * gst/gstqueue.c: (gst_queue_bufferalloc),
28489 (gst_queue_handle_sink_event), (gst_queue_chain):
28490 Bufferalloc: return GstFlowReturn to more accuratly report
28491 why allocation failed.
28493 2005-06-02 Wim Taymans <wim@fluendo.com>
28495 * gst/gstpipeline.c: (gst_pipeline_send_event):
28496 Take snapshot of state without blocking.
28498 2005-06-02 Wim Taymans <wim@fluendo.com>
28500 * docs/design/part-TODO.txt:
28501 * docs/design/part-caps.txt:
28502 * docs/design/part-clocks.txt:
28503 * docs/design/part-negotiation.txt:
28504 * docs/design/part-preroll.txt:
28507 2005-05-30 Wim Taymans <wim@fluendo.com>
28509 * gst/elements/gstidentity.c: (gst_identity_event),
28510 (gst_identity_transform), (gst_identity_get_property):
28511 Protect last_message property as it is accessed from
28514 2005-05-30 Wim Taymans <wim@fluendo.com>
28516 * gst/gstelement.c: (gst_element_init),
28517 (gst_element_pads_activate), (gst_element_change_state):
28518 Slicker pad activation code.
28520 2005-05-30 Wim Taymans <wim@fluendo.com>
28523 * gst/gstelement.h:
28524 * gst/gstelementfactory.h:
28526 Move elementfactory methods to separate .h file.
28528 2005-05-30 Wim Taymans <wim@fluendo.com>
28530 * docs/design/part-overview.txt:
28531 * gst/gstsystemclock.h:
28532 Small typo fixes, doc updates.
28534 2005-05-30 Wim Taymans <wim@fluendo.com>
28536 * gst/gst.c: (gst_init_get_popt_table), (init_post),
28537 (init_popt_callback):
28538 Remove cpu-opt flag.
28540 2005-05-30 Wim Taymans <wim@fluendo.com>
28542 * gst/gstbuffer.c: (gst_subbuffer_finalize),
28543 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28545 Avoid typechecking in places where not needed.
28546 Added accessor for malloc_data.
28548 2005-05-30 Wim Taymans <wim@fluendo.com>
28550 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28551 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28552 (gst_pad_configure_sink), (gst_pad_configure_src),
28553 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28554 (gst_pad_start_task):
28555 Propagate errors from _set_caps() in configure_src/sink
28556 functions instead of returning TRUE.
28557 FLUSH events can travel up and downstream
28560 2005-05-30 Wim Taymans <wim@fluendo.com>
28562 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28563 (gst_basesink_activate):
28564 Handle EOS in preroll.
28566 2005-05-30 Wim Taymans <wim@fluendo.com>
28568 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28569 (gst_queue_loop), (gst_queue_handle_src_event):
28570 Remove old pieces of code
28571 Flushing the queue in an upstream event is a very bad idea.
28573 2005-05-26 Andy Wingo <wingo@pobox.com>
28575 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28576 gst_value_set_mini_object so as to add a ref on the object (which
28577 will be removed when the value is unset).
28579 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28580 arg type in ::handoff.
28582 * gst/gstelement.c (gst_element_change_state): Also deactivate
28583 pads in READY->NULL, just in case the element didn't make it to
28584 PAUSED. Wingo tested, Wim approved.
28586 2005-05-26 Wim Taymans <wim@fluendo.com>
28588 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28589 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28590 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28591 A flushing pad cannot be used to alloc_buffer from.
28593 2005-05-26 Wim Taymans <wim@fluendo.com>
28595 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28596 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28597 (gst_bus_source_dispatch), (gst_bus_source_finalize),
28598 (gst_bus_create_watch), (gst_bus_add_watch_full):
28600 Implement a real GSource and use g_main_context_wakeup() to
28601 signal new messages instead of the socketpair.
28603 2005-05-25 Wim Taymans <wim@fluendo.com>
28605 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28606 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28607 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28608 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28609 (gst_pad_send_event), (gst_pad_start_task):
28610 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28611 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28612 (gst_queue_sink_activate), (gst_queue_src_activate),
28613 (gst_queue_change_state):
28615 Fix state changes for non sinks. We now change sinks, then elements
28616 with unconnected srcpads, then the rest.
28617 More efficient queue unlocking in flush and state changes.
28618 Set the pad activate mode even if it does not have an activate
28621 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28623 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28624 Don't go in pull mode for non-seekable sources.
28625 * gst/elements/gsttypefindelement.h:
28626 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28627 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28628 (free_entry), (stop_typefinding),
28629 (gst_type_find_element_handle_event), (find_peek),
28630 (gst_type_find_element_chain), (do_pull_typefind),
28631 (gst_type_find_element_change_state):
28632 Allow typefinding (w/o seeking) in push-mode, simplified version
28633 of what was in 0.8.
28634 * gst/gstutils.c: (gst_buffer_join):
28636 gst_buffer_join() from 0.8.
28638 2005-05-25 Wim Taymans <wim@fluendo.com>
28640 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28641 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28642 (gst_pad_send_event), (gst_pad_start_task):
28643 Disable attempt at mode switching until it is figured out.
28645 2005-05-25 Wim Taymans <wim@fluendo.com>
28647 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28648 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28649 (gst_basesink_finish_preroll), (gst_basesink_chain),
28650 (gst_basesink_loop), (gst_basesink_activate),
28651 (gst_basesink_change_state):
28652 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28653 (gst_basesrc_get_range), (gst_basesrc_loop),
28654 (gst_basesrc_activate):
28655 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28656 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28657 (gst_real_pad_init), (gst_real_pad_set_property),
28658 (gst_real_pad_get_property), (gst_pad_set_active),
28659 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28660 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28661 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28662 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28663 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28664 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28665 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28666 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28667 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28668 (gst_pad_stop_task):
28670 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28671 (gst_queue_loop), (gst_queue_src_activate):
28672 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28673 (gst_task_get_state):
28675 * gst/schedulers/threadscheduler.c:
28676 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28677 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28679 Remove ACTIVE pad flag, use FLUSHING everywhere
28680 Added _pad_chain(), _pad_get_range() to call chain/getrange
28682 Add locks around IS_FLUSHING when reading.
28683 Take STREAM lock in chain(), get_range() functions so plugins
28684 don't need to take it anymore.
28688 2005-05-25 Wim Taymans <wim@fluendo.com>
28690 * tools/gst-launch.c: (event_loop):
28691 Unref message after using its contents instead of
28694 2005-05-24 Wim Taymans <wim@fluendo.com>
28696 * docs/design/draft-ghostpads.txt:
28697 * docs/design/draft-push-pull.txt:
28698 * docs/design/draft-query.txt:
28699 * docs/design/part-overview.txt:
28700 Docs updates, added general overview doc.
28702 2005-05-21 David Schleef <ds@schleef.org>
28704 * docs/gst/tmpl/old/GstBin.sgml:
28705 * docs/gst/tmpl/old/GstBuffer.sgml:
28706 * docs/gst/tmpl/old/GstCaps.sgml:
28707 * docs/gst/tmpl/old/GstClock.sgml:
28708 * docs/gst/tmpl/old/GstCompat.sgml:
28709 * docs/gst/tmpl/old/GstData.sgml:
28710 * docs/gst/tmpl/old/GstElement.sgml:
28711 * docs/gst/tmpl/old/GstEvent.sgml:
28712 * docs/gst/tmpl/old/GstIndex.sgml:
28713 * docs/gst/tmpl/old/GstStructure.sgml:
28714 * docs/gst/tmpl/old/GstTag.sgml:
28715 * docs/gst/tmpl/old/cothreads.sgml:
28716 * docs/gst/tmpl/old/cothreads_compat.sgml:
28717 * docs/gst/tmpl/old/gettext.sgml:
28718 * docs/gst/tmpl/old/gobject2gtk.sgml:
28719 * docs/gst/tmpl/old/grammar.tab.sgml:
28720 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28721 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28722 * docs/gst/tmpl/old/gst_private.sgml:
28723 * docs/gst/tmpl/old/gstaggregator.sgml:
28724 * docs/gst/tmpl/old/gstarch.sgml:
28725 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28726 * docs/gst/tmpl/old/gstbufferstore.sgml:
28727 * docs/gst/tmpl/old/gstdata_private.sgml:
28728 * docs/gst/tmpl/old/gstdisksink.sgml:
28729 * docs/gst/tmpl/old/gstdisksrc.sgml:
28730 * docs/gst/tmpl/old/gstelementfactory.sgml:
28731 * docs/gst/tmpl/old/gstextratypes.sgml:
28732 * docs/gst/tmpl/old/gstfakesink.sgml:
28733 * docs/gst/tmpl/old/gstfakesrc.sgml:
28734 * docs/gst/tmpl/old/gstfdsink.sgml:
28735 * docs/gst/tmpl/old/gstfdsrc.sgml:
28736 * docs/gst/tmpl/old/gstfilesink.sgml:
28737 * docs/gst/tmpl/old/gstfilesrc.sgml:
28738 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28739 * docs/gst/tmpl/old/gstidentity.sgml:
28740 * docs/gst/tmpl/old/gstindexfactory.sgml:
28741 * docs/gst/tmpl/old/gstmarshal.sgml:
28742 * docs/gst/tmpl/old/gstmd5sink.sgml:
28743 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28744 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28745 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28746 * docs/gst/tmpl/old/gstpipefilter.sgml:
28747 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28748 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28749 * docs/gst/tmpl/old/gstshaper.sgml:
28750 * docs/gst/tmpl/old/gstspider.sgml:
28751 * docs/gst/tmpl/old/gstspideridentity.sgml:
28752 * docs/gst/tmpl/old/gststatistics.sgml:
28753 * docs/gst/tmpl/old/gsttee.sgml:
28754 * docs/gst/tmpl/old/gsttimecache.sgml:
28755 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28756 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28757 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28758 * docs/gst/tmpl/old/types.sgml:
28759 I didn't intend to add these or check them in.
28761 2005-05-19 David Schleef <ds@schleef.org>
28763 * configure.ac: Use -no-common everywhere. In a sane world, it
28764 would be the default in libtool, because without it, you can't
28765 build DLLs on Windows.
28766 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28767 * docs/gst/gstreamer-sections.txt:
28768 * docs/gst/tmpl/gstcpu.sgml:
28769 * docs/gst/tmpl/gstdata.sgml:
28770 * docs/gst/tmpl/gstthread.sgml:
28772 2005-05-19 David Schleef <ds@schleef.org>
28774 * gst/gstminiobject.c: (gst_value_set_mini_object),
28775 (gst_value_take_mini_object), (gst_value_get_mini_object):
28776 * gst/gstminiobject.h: Add GValue set/get functions.
28778 2005-05-19 Wim Taymans <wim@fluendo.com>
28780 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28781 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28782 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28784 * gst/gstbus.c: (gst_bus_post):
28785 * gst/gstelement.c: (gst_element_get_random_pad):
28786 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28787 Make subbufer unref the parent in finalize.
28788 some more debugging info.
28791 2005-05-19 Wim Taymans <wim@fluendo.com>
28793 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28794 (gst_basesink_init), (gst_basesink_finalize),
28795 (gst_basesink_activate), (gst_basesink_change_state):
28796 Don't free preroll queue too early.
28798 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28802 Hi, I'm outdated. Please shoot me.
28804 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28806 * gst/gstpipeline.c: (gst_pipeline_send_event):
28807 Do not access variables after they have been deleted.
28809 2005-05-19 Wim Taymans <wim@fluendo.com>
28811 * tools/gst-inspect.c: (print_plugin_features):
28812 A plugin feature does unfortunatly not use the
28815 2005-05-18 Wim Taymans <wim@fluendo.com>
28817 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28818 Port _span() functions to new subbuffers.
28820 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28822 * gst/gstbin.c: (gst_bin_add_func):
28823 Fix clock settery in bins when adding kids after the clock has
28826 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28828 * gst/elements/gstidentity.c: (gst_identity_class_init):
28829 Workaround until signals support GstMiniObject.
28831 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28834 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28836 2005-05-18 Wim Taymans <wim@fluendo.com>
28838 * gst/base/Makefile.am:
28839 * gst/base/gstadapter.c: (gst_adapter_base_init),
28840 (gst_adapter_class_init), (gst_adapter_init),
28841 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28842 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28843 (gst_adapter_flush), (gst_adapter_available),
28844 (gst_adapter_available_fast):
28845 * gst/base/gstadapter.h:
28846 Ported and added adapter to the base classes.
28848 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28851 * gst/gstmessage.c:
28852 Make sure the class is reffed/unreffed once before threads can be
28853 used. Fixes #304551.
28855 2005-05-17 Wim Taymans <wim@fluendo.com>
28857 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28858 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28859 * gst/gstminiobject.c: (gst_mini_object_get_type),
28860 (gst_mini_object_free):
28861 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28862 (gst_pad_push), (gst_pad_push_event):
28863 * gst/gstqueue.c: (gst_queue_change_state):
28864 Don't queue buffers in basesink when we are flushing.
28865 Unref buffer when flushing in basesink.
28866 Flush queue when going to READY
28867 Unref buffer when _push() returns an error.
28868 Don't free MiniObject instance when refcount is incremented
28869 in _finalize() so that we can recover objects.
28871 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28873 * docs/manual/advanced-schedulers.xml:
28874 * docs/manual/appendix-checklist.xml:
28875 * docs/pwg/advanced-clock.xml:
28876 * docs/pwg/advanced-interfaces.xml:
28877 * docs/pwg/advanced-request.xml:
28878 * docs/pwg/advanced-types.xml:
28879 * docs/pwg/intro-preface.xml:
28880 * examples/plugins/example.c: (gst_example_get_type),
28881 (gst_example_class_init), (gst_example_chain),
28882 (gst_example_set_property), (gst_example_get_property),
28883 (gst_example_change_state), (plugin_init):
28884 * examples/plugins/example.h:
28887 2005-05-17 Wim Taymans <wim@fluendo.com>
28889 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28890 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28891 * gst/gstqueue.c: (gst_queue_change_state):
28892 Clear queue when going to READY.
28893 Remove IN_SETCAPS flag too.
28895 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28897 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28898 Remove implicit cast from gboolean to GstElementStateReturn;
28899 make sure we still return failure in paused => ready case if
28900 the parent class fails to change state and our own stop
28903 2005-05-17 Wim Taymans <wim@fluendo.com>
28905 * tools/gst-launch.c: (event_loop):
28906 Message was unreffed too soon.
28908 2005-05-16 Andy Wingo <wingo@pobox.com>
28910 * gst/gstbin.c (sink_iterator_filter): Err... um...
28912 * check/gst/gstbin.c (test_ghost_pads): New test for the
28913 ghosting-if-elements-not-in-same-bin behavior.
28915 2005-05-16 David Schleef <ds@schleef.org>
28917 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28918 accessing refcount directly.
28920 2005-05-15 David Schleef <ds@schleef.org>
28922 * check/Makefile.am: remove GstData checks
28923 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28924 * gst/Makefile.am: add miniobject, remove data
28925 * gst/gst.h: add miniobject, remove data
28926 * gst/gstdata.c: remove
28927 * gst/gstdata.h: remove
28928 * gst/gstdata_private.h: remove
28929 * gst/gsttypes.h: remove GstEvent and GstMessage
28930 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28931 * gst/gstmarshal.list: change BOXED -> OBJECT
28933 Implement GstMiniObject.
28934 * gst/gstminiobject.c:
28935 * gst/gstminiobject.h:
28937 Modify to be subclasses of GstMiniObject.
28938 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28939 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28940 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28941 (gst_subbuffer_get_type), (gst_subbuffer_init),
28942 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28945 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28946 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28947 (_gst_event_copy), (gst_event_new):
28949 * gst/gstmessage.c: (_gst_message_initialize),
28950 (gst_message_get_type), (gst_message_class_init),
28951 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28952 (gst_message_new), (gst_message_new_error),
28953 (gst_message_new_warning), (gst_message_new_tag),
28954 (gst_message_new_state_changed), (gst_message_new_application):
28955 * gst/gstmessage.h:
28956 * gst/gstprobe.c: (gst_probe_perform),
28957 (gst_probe_dispatcher_dispatch):
28959 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28960 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28961 (_gst_query_copy), (gst_query_new):
28963 Update elements for GstData -> GstMiniObject changes
28965 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28966 (gst_queue_chain), (gst_queue_loop):
28967 * gst/elements/gstbufferstore.c:
28968 (gst_buffer_store_add_buffer_func),
28969 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28970 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28971 (gst_fakesink_render):
28972 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28973 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28974 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28975 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28976 (gst_filesrc_create_read):
28977 * gst/elements/gstidentity.c: (gst_identity_class_init):
28978 * gst/elements/gsttypefindelement.c:
28979 (gst_type_find_element_src_event), (free_entry_buffers),
28980 (gst_type_find_element_handle_event):
28981 * libs/gst/dataprotocol/dataprotocol.c:
28982 (gst_dp_header_from_buffer):
28983 * libs/gst/dataprotocol/dataprotocol.h:
28984 * libs/gst/dataprotocol/dp-private.h:
28986 2005-05-15 David Schleef <ds@schleef.org>
28988 * gst/elements/gstelements.c: Don't include headers that were
28991 2005-05-15 David Schleef <ds@schleef.org>
28993 * gst/elements/Makefile.am: Remove some elements that don't
28994 need to be in the core (or even exist at all).
28995 * gst/elements/gstaggregator.c:
28996 * gst/elements/gstaggregator.h:
28997 * gst/elements/gstmd5sink.c:
28998 * gst/elements/gstmd5sink.h:
28999 * gst/elements/gstmultifilesrc.c:
29000 * gst/elements/gstmultifilesrc.h:
29001 * gst/elements/gstpipefilter.c:
29002 * gst/elements/gstpipefilter.h:
29003 * gst/elements/gstshaper.c:
29004 * gst/elements/gstshaper.h:
29005 * gst/elements/gststatistics.c:
29006 * gst/elements/gststatistics.h:
29007 * po/POTFILES.in: Remove above files.
29009 2005-05-14 Andy Wingo <wingo@pobox.com>
29011 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29012 so as to get the refs right.
29013 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29014 unreffing objects that don't pass the filter.
29016 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29017 gst_element_set_bus.
29018 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29019 normal cases, this will destroy the bus.
29021 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29024 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29027 2005-05-13 Andy Wingo <wingo@pobox.com>
29029 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29030 gst_pad_link, call pad_link_maybe_ghosting,
29031 (pad_link_maybe_ghosting): Links pads, making sure that the
29032 elements being linked are in the same bin.
29033 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29034 Helpers for pad_link_maybe_ghosting.
29036 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29039 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29041 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29043 * docs/design/part-element-source.txt:
29046 2005-05-12 Wim Taymans <wim@fluendo.com>
29048 * gst/base/gstbasesink.c: (gst_basesink_init),
29049 (gst_basesink_activate):
29050 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29051 (gst_basesrc_is_seekable):
29052 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29053 (bin_element_is_sink), (gst_bin_change_state):
29054 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29055 * gst/gstelement.h:
29056 Identify sinks by their flag to avoid overly complicated
29058 Do state changes even for elements not reachable from the
29060 BaseSink is a sink now :)
29061 Some more debugging info in the basesrc.
29064 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29066 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29067 Implement _query on a bin, similar to _send_event.
29069 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
29071 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29072 Discont event offset format should be GST_FORMAT_BYTES,
29073 not GST_FORMAT_TIME.
29075 2005-05-12 Wim Taymans <wim@fluendo.com>
29077 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29078 Same fix as Ronald's but without the signal.
29080 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29082 * gst/gstutils.c: (gst_element_query_position):
29083 No, an element is not a pad.
29085 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29087 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29088 (gst_bin_get_state):
29089 If a child is removed from a bin while we remove the child from
29090 the bin and while we're retrieving its state, signal this to the
29091 get_state function so we abort the wait (instead of waiting for
29092 a timeout) and can immediately re-iterate over all other elements.
29094 2005-05-12 Wim Taymans <wim@fluendo.com>
29096 * gst/base/Makefile.am:
29097 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29098 (gst_basesrc_start):
29099 * gst/base/gstbasesrc.h:
29100 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
29101 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
29102 (gst_pushsrc_init), (gst_pushsrc_create):
29103 * gst/base/gstpushsrc.h:
29104 Added is_seekable to BaseSrc
29105 Added simple PushSrc.
29107 2005-05-11 Wim Taymans <wim@fluendo.com>
29109 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29110 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29111 (gst_element_link_pads), (gst_element_query_position),
29112 (gst_element_query_convert), (intersect_caps_func),
29113 (gst_pad_query_position), (gst_pad_query_convert):
29114 Fix refcounting in utils function.
29115 No point in trying to activate a pad when it's added, it could
29116 be added from the state change function and then we deadlock, the
29117 element has to decide what to do.
29119 2005-05-10 Andy Wingo <wingo@pobox.com>
29121 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
29122 *all* the arguments.
29124 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
29125 stream lock if it's a FLUSH_DONE; normal flushes don't get the
29126 lock (according to the docs -- if this is wrong change the docs).
29128 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
29129 flush messages in the NULL state.
29131 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
29132 message immediately and return.
29133 (gst_bus_set_flushing): New function. If a bus is flushing, it
29134 flushes out any queued messages and immediately unrefs new
29135 messages. This is so when an element goes to NULL, all of the
29136 unhandled messages coming from it can be freed, and their
29137 references to the element dropped. In other words: message source
29138 ref considered harmful :P
29140 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
29141 we're finished with it.
29143 * gst/gstmessage.c (gst_message_new_state_changed):
29145 2005-05-10 Wim Taymans <wim@fluendo.com>
29147 * gst/gstvalue.c: (gst_value_compare_flags),
29148 (gst_value_serialize_flags), (gst_value_deserialize_flags),
29149 (_gst_value_initialize):
29150 Added flags serialize/deserialize/compare code.
29152 2005-05-09 Andy Wingo <wingo@pobox.com>
29154 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
29155 Intersect the peer's caps with our caps.
29157 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29159 * gst/base/gsttypefindhelper.c: (helper_find_peek):
29160 * gst/elements/gsttypefindelement.c: (find_peek):
29161 Handle negative offsets better. Fixes decodebin.
29163 2005-05-09 Wim Taymans <wim@fluendo.com>
29165 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
29166 (gst_base_transform_event):
29167 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
29168 Implement accept_caps.
29169 Fix silly lock/unlock mismatch in base class.
29171 2005-05-09 Wim Taymans <wim@fluendo.com>
29173 * docs/design/draft-push-pull.txt:
29174 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
29175 * gst/elements/gstfilesink.c: (gst_filesink_init),
29176 (gst_filesink_query):
29177 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29178 (gst_type_find_handle_src_query), (find_element_get_length):
29179 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
29180 * gst/gstelement.h:
29181 * gst/gstmessage.c:
29182 * gst/gstmessage.h:
29183 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
29184 (gst_real_pad_get_caps_unlocked),
29185 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
29186 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29187 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
29188 (gst_real_pad_dispose), (gst_real_pad_finalize),
29189 (gst_pad_load_and_link), (gst_pad_save_thyself),
29190 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
29191 (gst_pad_check_pull_range), (gst_pad_pull_range),
29192 (gst_pad_template_get_type), (gst_pad_template_class_init),
29193 (gst_pad_template_init), (gst_pad_template_dispose),
29194 (name_is_valid), (gst_static_pad_template_get),
29195 (gst_pad_template_new), (gst_static_pad_template_get_caps),
29196 (gst_pad_template_get_caps), (gst_pad_set_element_private),
29197 (gst_pad_get_element_private), (gst_pad_start_task),
29198 (gst_pad_pause_task), (gst_pad_stop_task),
29199 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
29200 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
29201 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
29202 (gst_ghost_pad_new):
29204 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
29205 (gst_query_new_position), (gst_query_set_position),
29206 (gst_query_parse_position), (gst_query_new_convert),
29207 (gst_query_set_convert), (gst_query_parse_convert):
29209 * gst/gstqueryutils.c:
29210 * gst/gstqueryutils.h:
29211 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29212 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29213 (gst_queue_handle_src_query):
29214 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29215 (gst_element_query_position), (gst_element_query_convert),
29216 (intersect_caps_func), (gst_pad_query_position),
29217 (gst_pad_query_convert):
29219 * tools/gst-inspect.c: (print_pad_info):
29220 * tools/gst-xmlinspect.c: (print_element_info):
29221 Remove old query functions. Ported old code.
29222 Added position/convert helper functions to gstutils.
29223 Reordered gstpad.c code, grouping relevant things.
29224 Remove gst_message_new(), always need to speficy a specific
29228 2005-05-09 Andy Wingo <wingo@pobox.com>
29230 * gst/gstiterator.h: Add some includes.
29232 * gst/gstqueryutils.h: Include more headers.
29235 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
29236 some uses of gst_pad_query.
29238 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
29239 NULL out parameters.
29240 (gst_query_new_position): New proc, allocates a new position
29243 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
29244 gstqueryutils.c to the build.
29246 * gst/gststructure.c (gst_structure_set_valist): Implement with
29247 the generic G_VALUE_COLLECT.
29249 2005-05-08 Edward Hervey <bilboed@bilboed.com>
29251 * gst/Makefile.am: (gst_headers):
29252 Added gstqueryutils.h to the list of headers to install, that was
29253 a 'nachty' move wingo :)
29255 2005-05-06 Andy Wingo <wingo@pobox.com>
29258 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
29259 GstData, init a memchunk.
29260 (standard_definitions): Add a few query types, deprecate a few.
29261 (gst_query_get_type): New proc.
29262 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
29264 (gst_query_new_application, gst_query_get_structure): New public
29267 * docs/design/draft-query.txt: Removed LINKS from the query types,
29268 because all the rest can be dispatched to other pads -- seemed
29269 ugly to have a query that couldn't be dispatched. internal_links
29270 is fine as a pad method.
29272 * gst/gstpad.h: Add query2 as a pad method, add the new functions
29273 in gstpad.c, but maintain binary compatibility for the moment.
29274 Will fix before 0.9 is out.
29276 * gst/gstqueryutils.c:
29277 * gst/gstqueryutils.h: New files, implement 3 methods for each
29278 query type: parse_query, parse_response, and set. Probably need an
29281 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
29283 * gst/elements/gstfilesink.c (gst_filesink_query2):
29284 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
29285 query_types, and formats methods.
29287 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
29288 (gst_pad_set_query2_function): New functions.
29289 (gst_real_pad_init): Set query2_default as the default query2
29290 function. Basically just dispatches to internally linked pads.
29294 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
29295 without using the atomic operations. Only one thread can possibly
29296 be accessing the data at this point. Changed so as to avoid
29297 gst_atomic operations.
29299 2005-05-06 Wim Taymans <wim@fluendo.com>
29301 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
29302 Also set caps if we use the fallback buffer alloc.
29304 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
29306 * docs/gst/Makefile.am:
29307 * docs/gst/gstreamer-docs.sgml:
29308 * docs/gst/gstreamer-sections.txt:
29309 * docs/gst/tmpl/gstatomic.sgml:
29310 * docs/gst/tmpl/gstmemchunk.sgml:
29311 * testsuite/elements/struct_i386.h:
29312 * win32/GStreamer.vcproj:
29314 Purge GstAtomic stuff from docs and win32 makefiles as well
29316 2005-05-06 Wim Taymans <wim@fluendo.com>
29318 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
29319 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
29320 * gst/gstpad.c: (gst_pad_peer_get_caps):
29321 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29322 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29323 (gst_queue_src_activate), (gst_queue_change_state):
29325 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29326 (intersect_caps_func):
29327 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
29328 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
29329 Some fixes for the peer_get_caps() change.
29331 2005-05-06 Wim Taymans <wim@fluendo.com>
29333 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29334 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
29335 (gst_basesink_activate):
29336 Actually do something with error codes returned from the push
29339 2005-05-06 Wim Taymans <wim@fluendo.com>
29341 * docs/design/part-element-sink.txt:
29342 * docs/design/part-element-source.txt:
29343 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29344 (gst_basesink_event), (gst_basesink_activate):
29345 * gst/base/gstbasesink.h:
29346 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
29347 (gst_basesrc_activate):
29348 * gst/base/gstbasesrc.h:
29349 * gst/gstelement.c: (gst_element_pads_activate):
29350 Some more documentation.
29351 Fixed scheduling decision in _pads_activate().
29353 2005-05-05 Andy Wingo <wingo@pobox.com>
29355 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29358 2005-05-05 Wim Taymans <wim@fluendo.com>
29360 * gst/base/Makefile.am:
29361 * gst/base/gstbasesink.h:
29362 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29363 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29364 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29365 (gst_collectpads_class_init), (gst_collectpads_init),
29366 (gst_collectpads_finalize), (gst_collectpads_new),
29367 (gst_collectpads_set_function), (gst_collectpads_add_pad),
29368 (find_pad), (gst_collectpads_remove_pad),
29369 (gst_collectpads_is_active), (gst_collectpads_collect),
29370 (gst_collectpads_collect_range), (gst_collectpads_start),
29371 (gst_collectpads_stop), (gst_collectpads_peek),
29372 (gst_collectpads_pop), (gst_collectpads_available),
29373 (gst_collectpads_read), (gst_collectpads_flush),
29374 (gst_collectpads_chain):
29375 * gst/base/gstcollectpads.h:
29376 * gst/elements/Makefile.am:
29377 * gst/elements/gstelements.c:
29378 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29379 (gst_fakesink_get_times), (gst_fakesink_event),
29380 (gst_fakesink_preroll), (gst_fakesink_render):
29381 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29382 (gst_filesink_init), (gst_filesink_set_location),
29383 (gst_filesink_open_file), (gst_filesink_close_file),
29384 (gst_filesink_pad_query), (gst_filesink_event),
29385 (gst_filesink_render), (gst_filesink_change_state):
29386 * gst/elements/gstfilesink.h:
29387 Added object to help in making collect pad based elements.
29389 Make event function in sink baseclass return gboolean.
29391 2005-05-05 Wim Taymans <wim@fluendo.com>
29393 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29394 (gst_bin_get_by_name):
29396 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29397 (gst_clock_finalize):
29398 * gst/gstdata.c: (gst_data_replace):
29400 * gst/gstelement.c: (gst_element_request_pad),
29401 (gst_element_pads_activate):
29402 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29403 (gst_object_unref):
29404 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29405 (gst_pad_set_checkgetrange_function),
29406 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29407 (gst_pad_check_pull_range), (gst_pad_pull_range),
29408 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29409 (gst_pad_pause_task), (gst_pad_stop_task):
29410 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29411 (gst_element_request_pad), (gst_pad_proxy_getcaps):
29412 Fix name lookup in GstBin.
29413 Added _data_replace() function and _buffer_replace()
29414 Use finalize method to clean up clock.
29415 Fix refcounting on request pads.
29416 Fix pad schedule mode error.
29417 Some more object refcounting debug info,
29420 2005-05-04 Andy Wingo <wingo@pobox.com>
29422 * check/Makefile.am:
29423 * docs/gst/tmpl/gstatomic.sgml:
29424 * docs/gst/tmpl/gstplugin.sgml:
29425 * gst/base/gstbasesink.c: (gst_basesink_activate):
29426 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29427 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29428 (gst_basesrc_query), (gst_basesrc_set_property),
29429 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29430 (gst_basesrc_activate):
29431 * gst/base/gstbasesrc.h:
29432 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29433 (gst_base_transform_src_activate):
29434 * gst/elements/gstelements.c:
29435 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29436 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29437 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29438 * gst/elements/gsttypefindelement.c: (find_element_get_length),
29439 (gst_type_find_element_checkgetrange),
29440 (gst_type_find_element_activate):
29441 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29442 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29443 (gst_caps_load_thyself):
29444 * gst/gstelement.c: (gst_element_pads_activate),
29445 (gst_element_save_thyself), (gst_element_restore_thyself):
29446 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29447 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29449 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29450 (gst_xml_parse_file), (gst_xml_parse_memory),
29451 (gst_xml_get_element), (gst_xml_make_element):
29452 * gst/indexers/gstfileindex.c: (gst_file_index_load),
29453 (_file_index_id_save_xml), (gst_file_index_commit):
29454 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29455 (read_enum), (load_pad_template), (load_feature), (load_plugin),
29457 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29458 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29459 * tools/gst-complete.c: (main):
29460 * tools/gst-compprep.c: (main):
29461 * tools/gst-inspect.c: (print_element_properties_info):
29462 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29463 * tools/gst-xmlinspect.c: (print_element_properties):
29466 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
29468 * gst/gstplugin.c: (gst_plugin_check_module),
29469 (gst_plugin_check_file), (gst_plugin_load_file):
29470 apply patch from #172526 to make register work on MacOSX
29472 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29474 * docs/gst/tmpl/gstconfig.sgml:
29475 * gst/gstconfig.h.in:
29476 move documentation for some symbols. Add doc for GST_PTR_FORMAT
29477 * testsuite/debug/printf_extension.c: (main):
29478 Do not use GST_PTR_FORMAT on pointers to types with
29479 sizeof < sizeof(gpointer). Fixes test on 64-bit
29480 * testsuite/elements/property.h:
29481 use correct printf format
29483 2005-05-02 Wim Taymans <wim@fluendo.com>
29485 * docs/design/draft-push-pull.txt:
29486 * docs/design/draft-query.txt:
29487 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29488 (gst_basesrc_start):
29489 Added draft for new query API.
29490 Added draft for better selecting scheduling methods.
29491 Make basesrc ignore length if the subclass does not support
29494 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29497 possible fixes for automake-1.5 - _LIBADD is reserved
29499 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29501 * docs/faq/Makefile.am:
29502 * docs/manual/Makefile.am:
29503 * docs/manuals.mak:
29504 * docs/pwg/Makefile.am:
29506 possible fixes for automake-1.5
29508 2005-04-28 Wim Taymans <wim@fluendo.com>
29510 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29511 (gst_basesink_pad_getcaps), (gst_basesink_init),
29512 (gst_basesink_do_sync):
29513 * gst/gstclock.c: (gst_clock_entry_new):
29514 * gst/gstevent.c: (gst_event_discont_get_value):
29515 * gst/gstpipeline.c: (pipeline_bus_handler),
29516 (gst_pipeline_change_state):
29517 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29518 Better debugging of clocking info.
29519 Allow NULL values when getting discont values.
29521 2005-04-27 Wim Taymans <wim@fluendo.com>
29523 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29524 * check/gst/gstpad.c: (gst_pad_suite):
29525 Increase timeout for checks.
29527 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29529 * check/Makefile.am:
29530 fix the broken rule for cleanup. Apparently this rule is
29531 only needed on FC2, so maybe this warrants further autotool
29534 2005-04-26 Wim Taymans <wim@fluendo.com>
29536 * gst/gsttrashstack.h:
29537 Ooohh. a nasty one! After having a failed pop() from the stack,
29538 it's possible that the stack is empty. In that case, don't
29539 follow the NULL pointer.
29541 2005-04-25 Wim Taymans <wim@fluendo.com>
29543 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29544 (gst_pad_set_checkgetrange_function),
29545 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29546 (gst_pad_check_pull_range), (gst_pad_pull_range),
29547 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29548 (gst_pad_pause_task), (gst_pad_stop_task):
29549 * gst/gstplugin.c: (gst_plugin_load):
29551 Remove gst_library_load as it does more harm than good with
29552 the new g_module flags.
29553 Revert bogus caps template check in pad linking, pad caps
29554 are important when linking not the template, which is more
29555 general than the current caps.
29557 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29559 * gst/autoplug/.cvsignore:
29560 * gst/autoplug/Makefile.am:
29561 * gst/autoplug/gstsearchfuncs.c:
29562 * gst/autoplug/gstsearchfuncs.h:
29563 * gst/autoplug/gstspider.c:
29564 * gst/autoplug/gstspider.h:
29565 * gst/autoplug/gstspideridentity.c:
29566 * gst/autoplug/gstspideridentity.h:
29567 * gst/autoplug/spidertest.c:
29570 2005-04-25 Wim Taymans <wim@fluendo.com>
29572 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29573 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29574 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29575 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29577 Added stubs for unimplemented functions.
29579 2005-04-24 David Schleef <ds@schleef.org>
29581 * gst/gstpad.h: Disable some unimplemented functions. Wim,
29584 2005-04-24 David Schleef <ds@schleef.org>
29586 Convert everything from GstAtomicInt to g_atomic_int_*, and
29591 * gst/gstatomic_impl.h:
29599 * gst/gstdata_private.h:
29603 * gst/gstmessage.c:
29606 * gst/gststructure.c:
29607 * gst/gststructure.h:
29608 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29611 2005-04-24 David Schleef <ds@schleef.org>
29613 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29614 make the regressions tests work. Remove some code that is no
29616 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29617 Disable warning for pads without templates.
29619 2005-04-24 David Schleef <ds@schleef.org>
29621 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29622 functions that handle filtered links.
29623 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29625 * gst/gstutils.c: Fix/remove utility functions that handle
29628 * gst/gstvalue.c: Add serialization/deserialization of caps
29629 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29630 requires fixing so that the filter caps notation creates
29631 a capsfilter element and sets the filter_caps property. I
29632 think everyone probably wants to keep the shorthand notation.
29633 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29634 * docs/gst/tmpl/gstpad.sgml:
29636 * gst/elements/gstelements.c: Register capsfilter element.
29637 * gst/Makefile.am: fix spacing
29638 * docs/random/ds/0.9-suggested-changes: random
29640 2005-04-23 David Schleef <ds@schleef.org>
29642 * gst/elements/Makefile.am:
29643 * gst/elements/gstcapsfilter.c: New element that acts like an
29644 identity, but filters caps. Will eventually replace filtered
29645 caps in pad linking.
29646 * gst/gstutils.c: (gst_element_create_all_pads): New function
29647 to create all the ALWAYS pads that are registered with an
29648 element class. This functionality should eventually be
29649 merged in with GstElement initialization.
29651 * testsuite/trigger/README: part of trigger test code that should
29652 have been checked in a long time ago.
29654 2005-04-23 David Schleef <ds@schleef.org>
29656 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29657 needed with new versions of libtool (nobody will confirm this),
29658 and hard to carry around.
29659 * gst/autoplug/Makefile.am:
29660 * gst/base/Makefile.am:
29661 * gst/elements/Makefile.am:
29662 * gst/indexers/Makefile.am:
29663 * gst/schedulers/Makefile.am:
29664 * libs/gst/bytestream/Makefile.am:
29665 * libs/gst/control/Makefile.am:
29666 * libs/gst/dataprotocol/Makefile.am:
29667 * libs/gst/getbits/Makefile.am:
29669 2005-04-21 Wim Taymans <wim@fluendo.com>
29671 * docs/design/draft-push-pull.txt:
29672 * docs/design/part-MT-refcounting.txt:
29673 * docs/design/part-TODO.txt:
29674 * docs/design/part-caps.txt:
29675 * docs/design/part-events.txt:
29676 * docs/design/part-gstbus.txt:
29677 * docs/design/part-gstpipeline.txt:
29678 * docs/design/part-messages.txt:
29679 * docs/design/part-push-pull.txt:
29680 * docs/design/part-query.txt:
29683 2005-04-21 Wim Taymans <wim@fluendo.com>
29685 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29686 (gst_message_new), (gst_message_new_error),
29687 (gst_message_new_warning), (gst_message_new_tag),
29688 (gst_message_new_state_changed), (gst_message_new_application),
29689 (gst_message_get_structure):
29690 * gst/gstmessage.h:
29691 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29692 (gst_structure_copy_conditional):
29693 Use parent refcount in GstMessage to ensure GstStructure
29695 Cleaned up headers a bit.
29698 2005-04-20 Wim Taymans <wim@fluendo.com>
29700 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29701 (gst_basesink_pad_getcaps), (gst_basesink_init),
29702 (gst_basesink_chain_unlocked):
29703 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29704 (gst_type_find_helper):
29705 * gst/elements/gsttypefindelement.c:
29706 (gst_type_find_element_have_type), (gst_type_find_element_init),
29707 (stop_typefinding), (gst_type_find_element_handle_event),
29708 (find_suggest), (gst_type_find_element_chain),
29709 (gst_type_find_element_checkgetrange),
29710 (gst_type_find_element_getrange), (do_typefind),
29711 (gst_type_find_element_activate):
29712 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29713 (gst_buffer_default_free), (gst_buffer_default_copy),
29714 (gst_buffer_set_caps):
29715 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29716 (gst_caps_replace):
29717 * gst/gstmessage.c: (gst_message_new),
29718 (gst_message_new_state_changed):
29719 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29720 (gst_pad_set_checkgetrange_function),
29721 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29722 (gst_pad_set_caps), (gst_pad_check_pull_range),
29723 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29725 * gst/gsttypefind.c: (gst_type_find_register):
29726 Make gst_caps_replace() work like other _replace() functions.
29727 Use _caps_replace() where possible.
29728 Make sure _message_new() initialises its field.
29729 Add gst_static_pad_template_get_caps()
29732 2005-04-18 Andy Wingo <wingo@pobox.com>
29734 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29735 on the peer, not the pad. I think that was a typo. Pass an extra
29736 arg to see if random access is possible. Activate the pads as
29737 PULL_RANGE if possible.
29739 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29741 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29742 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29745 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29747 * docs/faq/using.xml:
29748 Add note on gstreamer-properties (#154996).
29750 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29752 * docs/random/bbb/optional-properties:
29753 Some analysis on optional properties.
29755 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29757 * docs/gst/tmpl/gstelementfactory.sgml:
29758 * gst/gstelement.h:
29759 * gst/gstelementfactory.c: (gst_element_factory_init),
29760 (gst_element_factory_cleanup), (gst_element_register),
29761 (__gst_element_factory_add_static_pad_template),
29762 (gst_element_factory_get_static_pad_templates),
29763 (gst_element_factory_can_src_caps),
29764 (gst_element_factory_can_sink_caps):
29765 * gst/registries/Makefile.am:
29766 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29767 (gst_xml_registry_class_init), (gst_xml_registry_init),
29768 (gst_xml_registry_new), (gst_xml_registry_set_property),
29769 (gst_xml_registry_get_property), (get_time), (make_dir),
29770 (gst_xml_registry_get_perms_func),
29771 (plugin_times_older_than_recurse), (plugin_times_older_than),
29772 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29773 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29774 (add_to_char_array), (read_string), (read_uint), (read_enum),
29775 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29776 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29777 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29778 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29779 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29780 (gst_xml_registry_rebuild):
29781 * gst/registries/gstlibxmlregistry.h:
29782 * tools/gst-compprep.c: (main):
29783 * tools/gst-inspect.c: (print_pad_templates_info):
29784 * tools/gst-xmlinspect.c: (print_element_info):
29785 Use libxml2 for registry parsing, use staticpadtemplates in
29786 elementfactories. Makes gst_init() +/- 10x faster.
29788 2005-04-12 Wim Taymans <wim@fluendo.com>
29790 * gst/base/Makefile.am:
29791 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29792 (gst_basesink_pad_getcaps), (gst_basesink_init),
29793 (gst_basesink_event), (gst_basesink_change_state):
29794 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29795 (gst_basesrc_init), (gst_basesrc_query),
29796 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29797 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29798 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29799 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29800 (gst_basesrc_stop), (gst_basesrc_activate),
29801 (gst_basesrc_change_state):
29802 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29803 (helper_find_suggest), (gst_type_find_helper):
29804 * gst/base/gsttypefindhelper.h:
29805 * gst/elements/Makefile.am:
29806 * gst/elements/gstelements.c:
29807 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29808 (gst_fakesink_get_times), (gst_fakesink_event),
29809 (gst_fakesink_preroll), (gst_fakesink_render):
29810 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29811 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29812 (gst_fakesrc_get_property), (gst_fakesrc_create),
29813 (gst_fakesrc_start), (gst_fakesrc_stop):
29814 * gst/elements/gstfakesrc.h:
29815 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29816 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29817 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29818 (gst_filesrc_create_read), (gst_filesrc_create),
29819 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29820 (gst_filesrc_start):
29821 * gst/elements/gsttypefindelement.c:
29822 (gst_type_find_element_have_type), (gst_type_find_element_init),
29823 (start_typefinding), (stop_typefinding), (push_buffer_store),
29824 (gst_type_find_element_handle_event),
29825 (gst_type_find_element_chain),
29826 (gst_type_find_element_checkgetrange),
29827 (gst_type_find_element_getrange), (do_typefind),
29828 (gst_type_find_element_activate),
29829 (gst_type_find_element_change_state):
29830 * gst/elements/gsttypefindelement.h:
29831 * gst/gstpipeline.c: (pipeline_bus_handler):
29832 Added typefind helper.
29833 Small preroll fix in the base sink.
29834 Disable typefind code in basesrc.
29835 Crude port of typefindelement.
29839 2005-04-11 Wim Taymans <wim@fluendo.com>
29841 * check/gst/gstbus.c: (gstbus_suite):
29842 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29843 * check/gstcheck.h:
29844 Fix up the timeout so that the test does not fail.
29846 2005-04-06 Wim Taymans <wim@fluendo.com>
29849 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29850 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29851 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29852 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29853 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29854 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29855 (gst_basesrc_stop), (gst_basesrc_activate),
29856 (gst_basesrc_change_state), (basesrc_find_peek),
29857 (basesrc_find_suggest), (gst_basesrc_type_find):
29858 * gst/base/gstbasesrc.h:
29859 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29860 (gst_filesrc_class_init), (gst_filesrc_init),
29861 (gst_filesrc_finalize), (gst_filesrc_set_location),
29862 (gst_filesrc_set_property), (gst_filesrc_get_property),
29863 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29864 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29865 (gst_filesrc_create_read), (gst_filesrc_create),
29866 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29867 * gst/elements/gstfilesrc.h:
29868 * gst/gstelement.c: (gst_element_get_state_func),
29869 (gst_element_lost_state), (gst_element_pads_activate):
29870 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29871 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29872 (gst_pad_pull_range):
29874 More work on the generic source base class, implement seeking,
29876 Make filesrc extend the base source class.
29877 Added gst_pad_set_checkgetrange_function to GstPad.
29879 2005-04-06 Andy Wingo <wingo@pobox.com>
29881 * pkgconfig/gstreamer-base.pc.in:
29882 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29884 * pkgconfig/Makefile.am:
29885 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29887 2005-04-04 Wim Taymans <wim@fluendo.com>
29889 * gst/base/Makefile.am:
29891 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29892 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29893 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29894 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29895 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29896 (gst_basesrc_base_init), (gst_basesrc_class_init),
29897 (gst_basesrc_init), (gst_basesrc_get_formats),
29898 (gst_basesrc_get_query_types), (gst_basesrc_query),
29899 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29900 (gst_basesrc_set_property), (gst_basesrc_get_property),
29901 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29902 (gst_basesrc_loop), (gst_basesrc_activate),
29903 (gst_basesrc_change_state):
29904 * gst/base/gstbasesrc.h:
29905 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29906 (gst_fakesrc_class_init), (gst_fakesrc_init),
29907 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29908 (gst_fakesrc_get_property), (gst_fakesrc_create):
29909 * gst/elements/gstfakesrc.h:
29910 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29911 (gst_filesrc_open_file), (gst_filesrc_loop),
29912 (gst_filesrc_activate), (filesrc_find_peek),
29913 (gst_filesrc_type_find):
29914 Made base source class, make fakesrc extend it.
29915 Add comments to basesink class.
29916 Some filesrc cleanup.
29918 2005-03-31 David Schleef <ds@schleef.org>
29920 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29921 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29922 expected to link against libgstreamer.
29923 * gst/base/Makefile.am: link against libgstreamer
29924 * gst/elements/Makefile.am: same
29926 2005-03-31 Andy Wingo <wingo@pobox.com>
29928 * tests/instantiate/Makefile.am:
29929 * tests/instantiate/caps.c: Add test to test speed of caps copy
29932 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29933 GMemChunk to be fair.
29935 * gst/gsttrashstack.h: Remove warning about using the fallback
29936 trash stack implementation, it's still faster than malloc.
29938 2005-03-30 Andy Wingo <wingo@pobox.com>
29940 * tests/complexity.c: Add a copyright.
29942 2005-03-31 Wim Taymans <wim@fluendo.com>
29944 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29945 (gst_base_transform_class_init), (gst_base_transform_init),
29946 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29947 (gst_base_transform_get_property),
29948 (gst_base_transform_sink_activate),
29949 (gst_base_transform_src_activate),
29950 (gst_base_transform_change_state):
29951 * gst/base/gstbasetransform.h:
29952 * gst/elements/gstidentity.c: (gst_identity_class_init),
29953 (gst_identity_event), (gst_identity_check_perfect),
29954 (gst_identity_transform), (gst_identity_start),
29955 (gst_identity_stop):
29956 Added start/stop methods to transform base class so subclasses
29957 don't need to deal with state changes even.
29959 2005-03-31 Wim Taymans <wim@fluendo.com>
29961 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29962 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29964 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29965 (gst_pad_pull_range):
29966 Added rate to the discont event to prepare for variable speed
29967 and reverse playback.
29969 2005-03-29 David Schleef <ds@schleef.org>
29972 * testsuite/trigger/Makefile.am:
29973 * testsuite/trigger/trigger.c: A little example program to show
29974 how trigger-based elements can work.
29976 2005-03-29 Wim Taymans <wim@fluendo.com>
29978 * gst/base/Makefile.am:
29980 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29981 (gst_basesink_base_init), (gst_basesink_class_init),
29982 (gst_basesink_pad_getcaps), (gst_basesink_init),
29983 (gst_basesink_activate), (gst_basesink_change_state):
29984 * gst/base/gstbasesink.h:
29985 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29986 (gst_base_transform_base_init), (gst_base_transform_finalize),
29987 (gst_base_transform_class_init), (gst_base_transform_init),
29988 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29989 (gst_base_transform_event), (gst_base_transform_getrange),
29990 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29991 (gst_base_transform_set_property),
29992 (gst_base_transform_get_property),
29993 (gst_base_transform_sink_activate),
29994 (gst_base_transform_src_activate),
29995 (gst_base_transform_change_state):
29996 * gst/base/gstbasetransform.h:
29997 * gst/elements/gstidentity.c: (gst_identity_finalize),
29998 (gst_identity_class_init), (gst_identity_init),
29999 (gst_identity_event), (gst_identity_check_perfect),
30000 (gst_identity_transform), (gst_identity_set_property),
30001 (gst_identity_get_property), (gst_identity_change_state):
30002 * gst/elements/gstidentity.h:
30003 * gst/gstelement.c: (gst_element_get_state_func),
30004 (gst_element_lost_state), (gst_element_pads_activate):
30005 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30006 (gst_pad_check_pull_range), (gst_pad_pull_range):
30008 Simplify pad activation.
30009 Added function to check if pull_range can be performed.
30010 Error out when pulling inactive or flushing pads.
30011 Removed const from refcounted types as it does not make sense.
30012 Simplify pad templates in basesink
30013 Added base class for simple 1-to-1 transforms.
30014 Make identity subclass the base transform.
30016 2005-03-29 Andy Wingo <wingo@pobox.com>
30018 * docs/libs/gstreamer-libs-overrides.txt:
30019 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30020 really don't understand what's going on, but like whatever. I want
30023 * docs/gst/Makefile.am:
30024 * docs/libs/Makefile.am: Dist the overrides files.
30026 * check/Makefile.am (clean-local): Remove .libs directories.
30028 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30029 elements to EXTRA_DIST, so po/ files are happy.
30031 * po/POTFILES.in: Er, remove it here.
30033 * po/POTFILES: Remove gstspider.c.
30035 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30037 * docs/libs/gstreamer-libs-docs.sgml:
30038 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30041 * tests/complexity.c (main): Set the length of the preroll queue
30042 on the sinks to prevent a lockup.
30044 * libs/gst/dataprotocol/Makefile.am:
30045 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30046 the same as the one in check/gst-libs/gdp.c.
30048 * po/, docs/gst/: Commit automatic changes to docs and po files.
30050 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30051 the versioned libgstbase.
30053 * check/Makefile.am: Depend on an unversioned gst-register, seems
30054 to make autoconf happier.
30056 * gst/base/Makefile.am: Make libgstbase a versioned lib.
30058 2005-03-28 Wim Taymans <wim@fluendo.com>
30061 * docs/design/part-gstelement.txt:
30062 * docs/design/part-negotiation.txt:
30063 * docs/design/part-preroll.txt:
30064 * docs/design/part-scheduling.txt:
30065 * docs/design/part-states.txt:
30067 * gst/base/Makefile.am:
30069 * gst/base/gstbasesink.c: (gst_basesink_get_template),
30070 (gst_basesink_base_init), (gst_basesink_class_init),
30071 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30072 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30073 (gst_basesink_set_pad_functions),
30074 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30075 (gst_basesink_set_property), (gst_basesink_get_property),
30076 (gst_base_sink_get_template), (gst_base_sink_get_caps),
30077 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30078 (gst_basesink_preroll_queue_push),
30079 (gst_basesink_preroll_queue_empty),
30080 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30081 (gst_basesink_event), (gst_basesink_get_times),
30082 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30083 (gst_basesink_chain_unlocked), (gst_basesink_chain),
30084 (gst_basesink_loop), (gst_basesink_activate),
30085 (gst_basesink_change_state):
30086 * gst/base/gstbasesink.h:
30087 * gst/elements/Makefile.am:
30088 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30089 (gst_fakesink_class_init), (gst_fakesink_init),
30090 (gst_fakesink_set_property), (gst_fakesink_get_property),
30091 (gst_fakesink_get_times), (gst_fakesink_event),
30092 (gst_fakesink_preroll), (gst_fakesink_render),
30093 (gst_fakesink_change_state):
30094 * gst/elements/gstfakesink.h:
30095 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30096 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30097 * gst/gstelement.c: (gst_element_add_pad),
30098 (gst_element_get_state_func), (gst_element_abort_state),
30099 (gst_element_commit_state), (gst_element_lost_state),
30100 (gst_element_set_state), (gst_element_pads_activate):
30101 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
30102 * gst/gstpipeline.c: (gst_pipeline_send_event),
30103 (gst_pipeline_change_state):
30104 Added state change code.
30105 Added/updated docs.
30106 Added sink base class, make fakesink extend the base class.
30107 Small cleanups in GstPipeline.
30109 2005-03-26 David Schleef <ds@schleef.org>
30111 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
30112 is broken and should be implemented in a different library.
30113 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
30114 * gst/gst.h: remove gstcpu.h
30115 * gst/gstcpu.c: remove
30116 * gst/gstcpu.h: remove
30117 * gst/Makefile.am.future: Remove this file. It's ancient.
30119 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30122 (gst_bin_send_event):
30123 Add default event/set_manager handlers. The set_manager handler
30124 takes care that the manager is distributed over kids that were
30125 already in the bin before the manager was set. The event handler
30126 is a utility virtual function that sends the event over all sinks,
30127 so that gst_element_send_event (bin, event); has the expected
30129 * gst/gstpad.c: (gst_pad_event_default):
30130 Re-install default event handling for discontinuities, so that
30131 seeking works without requiring hacks in applications or extra
30133 * gst/gstpipeline.c: (gst_pipeline_class_init),
30134 (gst_pipeline_send_event):
30135 Half hack, half utility: set a pipeline to PAUSED for seek events,
30136 since that is the only way we can guarantee a/v sync. Means that
30137 you can do gst_element_seek (pipeline, method, pos); on a pipeline
30138 and it "just works".
30140 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30142 * gst/gstpipeline.c: (gst_pipeline_use_clock):
30143 Lock/unlock mismatch.
30145 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
30147 * docs/faq/gst-uninstalled:
30148 add gst-plugins-base
30149 * docs/gst/Makefile.am:
30150 don't error out until docs are fixed
30151 * docs/gst/gstreamer.types:
30154 2005-03-22 Wim Taymans <wim@fluendo.com>
30156 * check/Makefile.am:
30157 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
30158 * gst/gststructure.c: (gst_structure_set_valist),
30159 (gst_structure_copy_conditional):
30160 Activated more tests.
30161 Added message test.
30162 Added G_TYPE_POINTER to GstStructure.
30165 2005-03-22 Wim Taymans <wim@fluendo.com>
30167 * docs/design/part-TODO.txt:
30168 * docs/design/part-events.txt:
30169 * docs/design/part-gstbin.txt:
30170 * docs/design/part-gstbus.txt:
30171 * docs/design/part-gstpipeline.txt:
30172 * docs/design/part-messages.txt:
30174 * gst/gstmessage.c:
30177 2005-03-21 Wim Taymans <wim@fluendo.com>
30179 * gst/gstbus.c: (gst_bus_post):
30180 Fix copy-and-paste error.
30182 2005-03-21 Wim Taymans <wim@fluendo.com>
30184 * check/Makefile.am:
30186 * gst/elements/Makefile.am:
30187 * gst/elements/gstelements.c:
30188 * gst/elements/gstfakesink.c: (gst_fakesink_init),
30189 (gst_fakesink_event), (gst_fakesink_chain):
30190 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30191 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
30192 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
30193 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
30194 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
30195 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
30196 (gst_fakesrc_loop), (gst_fakesrc_activate),
30197 (gst_fakesrc_change_state):
30198 * gst/elements/gstfakesrc.h:
30199 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
30200 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
30201 (gst_filesrc_open_file), (gst_filesrc_loop),
30202 (gst_filesrc_activate), (gst_filesrc_change_state),
30203 (filesrc_find_peek), (filesrc_find_suggest),
30204 (gst_filesrc_type_find):
30205 * gst/elements/gstidentity.c: (gst_identity_finalize),
30206 (gst_identity_class_init), (gst_identity_init),
30207 (gst_identity_proxy_getcaps), (identity_queue_push),
30208 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
30209 (gst_identity_getrange), (gst_identity_chain),
30210 (gst_identity_sink_loop), (gst_identity_src_loop),
30211 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
30212 (gst_identity_set_property), (gst_identity_get_property),
30213 (gst_identity_change_state):
30214 * gst/elements/gstidentity.h:
30215 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
30216 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
30217 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
30218 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
30219 (gst_tee_sink_activate):
30220 * gst/elements/gsttee.h:
30221 * gst/gst.c: (gst_register_core_elements), (init_post):
30223 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
30224 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
30225 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
30226 (gst_bin_change_state):
30228 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
30229 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
30230 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
30231 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
30232 (gst_bus_set_sync_handler), (gst_bus_create_watch),
30233 (bus_watch_callback), (bus_watch_destroy),
30234 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
30235 (poll_timeout), (gst_bus_poll):
30239 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30240 (gst_element_post_message), (gst_element_message_full),
30241 (gst_element_get_state_func), (gst_element_get_state),
30242 (gst_element_abort_state), (gst_element_commit_state),
30243 (gst_element_lost_state), (gst_element_set_state),
30244 (gst_element_pads_activate), (gst_element_change_state),
30245 (gst_element_dispose), (gst_element_set_manager_func),
30246 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
30247 (gst_element_set_manager), (gst_element_get_manager),
30248 (gst_element_set_bus), (gst_element_get_bus),
30249 (gst_element_set_scheduler), (gst_element_get_scheduler):
30250 * gst/gstelement.h:
30251 * gst/gstevent.c: (gst_event_new_segment_seek),
30252 (gst_event_new_flush):
30254 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
30255 (_gst_message_free), (gst_message_get_type), (gst_message_new),
30256 (gst_message_new_eos), (gst_message_new_error),
30257 (gst_message_new_warning), (gst_message_new_tag),
30258 (gst_message_new_state_changed), (gst_message_new_application),
30259 (gst_message_get_structure), (gst_message_parse_tag),
30260 (gst_message_parse_state_changed), (gst_message_parse_error),
30261 (gst_message_parse_warning):
30262 * gst/gstmessage.h:
30263 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
30264 (gst_real_pad_set_property), (gst_pad_set_active),
30265 (gst_pad_is_active), (gst_pad_set_blocked_async),
30266 (gst_pad_set_blocked), (gst_pad_is_blocked),
30267 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
30268 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
30269 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
30270 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
30271 (gst_pad_link_filtered), (gst_pad_relink_filtered),
30272 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
30273 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
30274 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
30275 (gst_pad_set_caps), (gst_pad_configure_sink),
30276 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
30277 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
30278 (gst_real_pad_dispose), (gst_real_pad_finalize),
30279 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
30280 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30281 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
30283 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
30284 (pipeline_bus_handler), (gst_pipeline_change_state),
30285 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
30286 * gst/gstpipeline.h:
30288 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
30289 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
30290 (gst_queue_link_src), (gst_queue_bufferalloc),
30291 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
30292 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
30293 (gst_queue_loop), (gst_queue_handle_src_event),
30294 (gst_queue_handle_src_query), (gst_queue_src_activate),
30295 (gst_queue_change_state):
30297 * gst/gstscheduler.c: (gst_scheduler_init),
30298 (gst_scheduler_dispose), (gst_scheduler_create_task),
30299 (gst_scheduler_factory_create):
30300 * gst/gstscheduler.h:
30301 * gst/gststructure.c: (gst_structure_get_type),
30302 (gst_structure_copy_conditional):
30303 * gst/gststructure.h:
30304 * gst/gsttaginterface.h:
30305 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
30306 (gst_task_init), (gst_task_dispose), (gst_task_create),
30307 (gst_task_get_state), (gst_task_start), (gst_task_stop),
30313 * gst/schedulers/Makefile.am:
30314 * gst/schedulers/cothreads_compat.h:
30315 * gst/schedulers/entryscheduler.c:
30316 * gst/schedulers/faircothreads.c:
30317 * gst/schedulers/faircothreads.h:
30318 * gst/schedulers/fairscheduler.c:
30319 * gst/schedulers/gstbasicscheduler.c:
30320 * gst/schedulers/gstoptimalscheduler.c:
30321 * gst/schedulers/gthread-cothreads.h:
30322 * gst/schedulers/threadscheduler.c:
30323 (gst_thread_scheduler_task_get_type),
30324 (gst_thread_scheduler_task_class_init),
30325 (gst_thread_scheduler_task_init),
30326 (gst_thread_scheduler_task_start),
30327 (gst_thread_scheduler_task_stop),
30328 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
30329 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
30330 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
30331 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
30333 * libs/gst/Makefile.am:
30334 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
30335 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
30336 (gst_file_pad_parent_set):
30337 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
30338 (gst_dp_event_from_packet):
30339 * tests/complexity.c: (main):
30340 * tests/mass_elements.c: (main):
30341 * testsuite/states/locked.c: (message_received), (main):
30342 * testsuite/states/parent.c: (main):
30343 * tools/gst-inspect.c: (print_element_flag_info),
30344 (print_implementation_info), (print_pad_info):
30345 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
30347 * tools/gst-md5sum.c: (event_loop), (main):
30348 * tools/gst-typefind.c: (main):
30349 * tools/gst-xmlinspect.c: (print_element_info):
30351 Added GstBus for mainloop integration.
30352 Added GstMessage for sending notifications on the bus.
30353 Added GstTask as an abstraction for pipeline entry points.
30355 Removed Schedulers.
30356 Simplified GstQueue for multithreaded core.
30357 Made _link threadsafe, removed old capsnego.
30358 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30359 Added pad blocking functions.
30360 Reworked scheduling functions in GstPad to prepare for
30361 scheduling updates soon.
30362 Moved events out of data stream.
30363 Simplified GstEvent types.
30364 Added return values to push/pull.
30365 Removed clocking from GstElement.
30366 Added prototypes for state change function for next merge.
30367 Removed iterate from bins and state change management.
30368 Fixed some elements, disabled others for now.
30369 Fixed -inspect and -launch.
30370 Added check for GstBus.
30372 2005-03-10 Wim Taymans <wim@fluendo.com>
30374 * docs/design/part-MT-refcounting.txt:
30375 * docs/design/part-clocks.txt:
30376 * docs/design/part-gstelement.txt:
30377 * docs/design/part-gstobject.txt:
30378 * docs/design/part-standards.txt:
30379 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30380 (gst_bin_remove_func), (gst_bin_remove):
30384 * testsuite/clock/clock1.c: (main):
30385 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30387 * testsuite/dlopen/loadgst.c: (do_test):
30388 * testsuite/refcounting/bin.c: (add_remove_test1),
30389 (add_remove_test2), (main):
30390 * testsuite/refcounting/element.c: (main):
30391 * testsuite/refcounting/element_pad.c: (main):
30392 * testsuite/refcounting/pad.c: (main):
30393 * tools/gst-launch.c: (sigint_handler_sighandler):
30394 * tools/gst-typefind.c: (main):
30396 Added doc about clock.
30397 removed gst_bin_iterate_recurse_up(), marked methods
30399 Fix more testsuites.
30401 2005-03-09 Wim Taymans <wim@fluendo.com>
30403 * gst/gstpad.c: (gst_pad_get_direction),
30404 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30405 (gst_pad_collect_valist):
30406 * testsuite/bins/interface.c: (main):
30407 * testsuite/caps/audioscale.c: (test_caps):
30408 * testsuite/caps/caps.c: (test1), (test2), (test3):
30409 * testsuite/caps/deserialize.c: (main):
30410 * testsuite/caps/enumcaps.c: (main):
30411 * testsuite/caps/filtercaps.c: (main):
30412 * testsuite/caps/intersect2.c: (main):
30413 * testsuite/caps/random.c: (main):
30414 * testsuite/caps/renegotiate.c: (my_fixate), (main):
30415 * testsuite/caps/sets.c: (check_caps):
30416 * testsuite/caps/simplify.c: (check_caps), (main):
30417 * testsuite/caps/subtract.c: (check_caps):
30418 Fix _pad_get_direction wrt ghostpads.
30419 Fix caps testsuite.
30421 2005-03-09 Wim Taymans <wim@fluendo.com>
30423 * check/Makefile.am:
30424 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30425 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30426 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30427 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30428 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30429 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30430 (gst_bin_remove), (gst_bin_iterate_recurse_up),
30431 (bin_element_is_sink), (gst_bin_iterate_sinks),
30432 (gst_bin_iterate_all_by_interface):
30434 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30435 (gst_element_change_state), (gst_element_dispose),
30436 (gst_element_finalize), (gst_element_set_loop_function):
30437 * gst/gstelement.h:
30438 * gst/gstiterator.c: (find_custom_fold_func):
30439 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30440 (gst_pad_collectv), (gst_pad_collect_valist),
30441 (gst_pad_template_new):
30442 * gst/gstpipeline.c: (gst_pipeline_class_init),
30443 (gst_pipeline_dispose), (gst_pipeline_set_property),
30444 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30445 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30446 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30448 * gst/schedulers/entryscheduler.c:
30449 * gst/schedulers/gstbasicscheduler.c:
30450 (gst_basic_scheduler_cothreaded_chain),
30451 (gst_basic_scheduler_chain_add_element):
30452 * testsuite/bins/interface.c: (main):
30454 Added GstSystemClock test.
30455 Implemented clock distribution code in GstBin.
30456 Implemented iterate sinks method for future use.
30457 Rearranged gstelement.h
30458 Fix GstIterator comparison bug.
30459 Moved some code to GstPipeline, mostly clocking related.
30461 2005-03-09 Wim Taymans <wim@fluendo.com>
30464 * gst/gst_private.h:
30465 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30466 (gst_bin_remove_func), (gst_bin_remove),
30467 (gst_bin_get_by_name_recurse_up):
30468 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30469 (gst_clock_id_compare_func), (gst_clock_id_wait),
30470 (gst_clock_id_wait_async), (gst_clock_init),
30471 (gst_clock_adjust_unlocked), (gst_clock_get_time):
30472 * gst/gstelement.h:
30473 * gst/gstinfo.c: (_gst_debug_init):
30475 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30476 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30478 Bump version number, we're now 0.9.0
30479 Add future debugging category.
30480 Fix NULL _unref() in _get_by_name_recurse_up
30481 Rearrange gstpad.h.
30484 2005-03-08 Wim Taymans <wim@fluendo.com>
30486 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30487 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30488 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30489 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30490 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30491 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30492 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30493 * gst/elements/gstidentity.c: (gst_identity_class_init):
30494 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30495 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30496 * gst/elements/gstshaper.c: (gst_shaper_class_init):
30497 * gst/elements/gststatistics.c: (gst_statistics_class_init):
30498 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30500 * gst/gstelement.c: (gst_element_class_init),
30501 (gst_element_base_class_init), (gst_element_init),
30502 (gst_element_get_random_pad), (gst_element_wait_state_change),
30503 (gst_element_change_state), (gst_element_dispose),
30504 (gst_element_finalize), (gst_element_set_loop_function):
30505 * gst/gstelement.h:
30506 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30507 * gst/gstthread.c: (gst_thread_class_init),
30508 (gst_thread_release_children_locks), (gst_thread_change_state):
30509 * gst/schedulers/gstbasicscheduler.c:
30510 (gst_basic_scheduler_loopfunc_wrapper),
30511 (gst_basic_scheduler_chain_wrapper),
30512 (gst_basic_scheduler_src_wrapper),
30513 (gst_basic_scheduler_remove_element):
30514 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30515 Remove threadsafe properties. Fix elements because GObject
30516 complains when installing a property before declaring a
30517 set/get_property handler.
30518 Rearrange gstelement.h file, use STATE macros for state locks.
30519 Free mutexes in the finalize method instead of dispose.
30521 2005-03-08 Wim Taymans <wim@fluendo.com>
30523 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30524 * gst/gstthread.c: (gst_thread_release_children_locks):
30525 Added parentage check.
30526 Fix build og GstThread again.
30528 2005-03-08 Wim Taymans <wim@fluendo.com>
30530 * docs/design/part-MT-refcounting.txt:
30531 * docs/design/part-conventions.txt:
30532 * docs/design/part-gstobject.txt:
30533 * docs/design/part-relations.txt:
30534 * docs/design/part-standards.txt:
30535 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30536 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30537 (gst_bin_get_by_name), (gst_bin_get_by_interface),
30538 (gst_bin_iterate_all_by_interface):
30541 * gst/gstelement.c: (gst_element_class_init),
30542 (gst_element_change_state), (gst_element_set_loop_function):
30543 * gst/gstelement.h:
30544 * gst/gstiterator.c:
30545 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30546 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30547 (gst_object_dispatch_properties_changed), (gst_object_set_name),
30548 (gst_object_set_parent), (gst_object_unparent),
30549 (gst_object_check_uniqueness):
30551 Docs updates, clean up some headers.
30553 2005-03-07 Wim Taymans <wim@fluendo.com>
30555 * check/.cvsignore:
30556 * check/Makefile.am:
30557 * check/gst-libs/.cvsignore:
30558 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30559 * check/gst/.cvsignore:
30560 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30561 (START_TEST), (gstbus_suite), (main):
30562 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30563 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30564 (gst_data_suite), (main):
30565 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30566 (add_fold_func), (gstiterator_suite), (main):
30567 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30568 (thread_name_object), (thread_name_object_default),
30569 (gst_object_name_compare), (gst_object_suite), (main):
30570 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30571 (gst_pad_suite), (main):
30572 * check/gstcheck.c: (gst_check_log_message_func),
30573 (gst_check_log_critical_func), (gst_check_init):
30574 * check/gstcheck.h:
30575 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30576 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30579 2005-03-07 Wim Taymans <wim@fluendo.com>
30581 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30582 (gst_list_iterator_next), (gst_list_iterator_resync),
30583 (gst_list_iterator_free), (gst_iterator_new_list),
30584 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30585 (gst_iterator_free), (gst_iterator_push), (filter_next),
30586 (filter_resync), (filter_uninit), (filter_free),
30587 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30588 (gst_iterator_foreach), (find_custom_fold_func),
30589 (gst_iterator_find_custom):
30590 * gst/gstiterator.h:
30591 Added missing files.
30593 2005-03-07 Wim Taymans <wim@fluendo.com>
30597 * docs/design/part-MT-refcounting.txt:
30598 * docs/design/part-conventions.txt:
30599 * docs/design/part-gstobject.txt:
30600 * docs/design/part-relations.txt:
30601 * examples/mixer/mixer.c: (main):
30602 * examples/thread/thread.c: (eos), (main):
30604 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30605 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30606 (gst_spider_plug_from_srcpad):
30607 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30608 (gst_spider_identity_change_state),
30609 (gst_spider_identity_sink_loop_type_finding):
30610 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30611 * gst/elements/gstidentity.c: (gst_identity_init):
30612 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30613 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30614 * gst/elements/gsttypefindelement.c: (free_entry):
30617 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30618 (gst_bin_set_clock_func), (gst_bin_auto_clock),
30619 (gst_bin_set_index), (gst_bin_set_element_sched),
30620 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30621 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30622 (gst_bin_iterate_elements), (iterate_child_recurse),
30623 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30624 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30625 (compare_interface), (gst_bin_get_by_interface),
30626 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30628 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30629 (gst_buffer_default_free), (gst_buffer_default_copy),
30630 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30631 (gst_buffer_create_sub):
30633 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30634 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30635 (gst_caps_unref), (gst_static_caps_get),
30636 (gst_caps_remove_and_get_structure), (gst_caps_append),
30637 (gst_caps_append_structure), (gst_caps_remove_structure),
30638 (gst_caps_copy_nth), (gst_caps_set_simple),
30639 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30640 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30641 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30642 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30643 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30644 (gst_caps_structure_figure_out_union),
30645 (gst_caps_switch_structures), (gst_caps_do_simplify),
30646 (gst_caps_replace), (gst_caps_from_string),
30647 (gst_caps_copy_conditional):
30649 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30650 (_gst_clock_id_free), (gst_clock_id_unref),
30651 (gst_clock_id_compare_func), (gst_clock_id_wait),
30652 (gst_clock_id_wait_async), (gst_clock_class_init),
30653 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30654 (gst_clock_get_time), (gst_clock_set_time_adjust),
30655 (gst_clock_set_property), (gst_clock_get_property):
30658 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30659 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30661 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30662 (gst_element_requires_clock), (gst_element_provides_clock),
30663 (gst_element_set_clock), (gst_element_clock_wait),
30664 (gst_element_wait), (gst_element_set_time_delay),
30665 (gst_element_is_indexable), (gst_element_add_pad),
30666 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30667 (pad_compare_name), (gst_element_get_static_pad),
30668 (gst_element_request_pad), (gst_element_get_request_pad),
30669 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30670 (gst_element_class_get_pad_template_list),
30671 (gst_element_class_get_pad_template), (gst_element_error_func),
30672 (gst_element_get_random_pad), (gst_element_get_event_masks),
30673 (gst_element_send_event), (gst_element_seek),
30674 (gst_element_get_query_types), (gst_element_query),
30675 (gst_element_get_formats), (gst_element_convert),
30676 (gst_element_is_locked_state), (gst_element_set_locked_state),
30677 (gst_element_sync_state_with_parent), (gst_element_change_state),
30678 (gst_element_finalize), (gst_element_yield),
30679 (gst_element_interrupt), (gst_element_set_scheduler),
30680 (gst_element_get_scheduler), (gst_element_set_loop_function):
30681 * gst/gstelement.h:
30683 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30684 (gst_format_get_by_nick), (gst_format_get_details),
30685 (gst_format_iterate_definitions):
30687 * gst/gstindex.c: (gst_index_gtype_resolver):
30690 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30691 (gst_mem_chunk_free):
30692 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30693 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30694 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30695 (gst_object_dispatch_properties_changed),
30696 (gst_object_set_name_default), (gst_object_set_name),
30697 (gst_object_get_name), (gst_object_set_name_prefix),
30698 (gst_object_get_name_prefix), (gst_object_set_parent),
30699 (gst_object_get_parent), (gst_object_unparent),
30700 (gst_object_check_uniqueness), (gst_object_save_thyself),
30701 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30702 (gst_object_set_property), (gst_object_get_property),
30703 (gst_object_get_path_string):
30705 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30706 (gst_real_pad_init), (gst_real_pad_get_property),
30707 (gst_pad_custom_new), (gst_pad_get_direction),
30708 (gst_pad_set_active), (gst_pad_is_active),
30709 (gst_pad_set_event_function), (gst_pad_is_linked),
30710 (gst_pad_link_free), (gst_pad_link_intersect),
30711 (gst_pad_link_fixate), (gst_pad_set_caps),
30712 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30713 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30714 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30715 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30716 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30717 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30718 (gst_pad_realize), (gst_pad_get_allowed_caps),
30719 (gst_real_pad_dispose), (gst_real_pad_finalize),
30720 (gst_pad_collectv), (gst_pad_collect_valist),
30721 (gst_pad_template_dispose), (gst_pad_template_new),
30722 (gst_pad_get_internal_links):
30724 * gst/gstpipeline.c: (gst_pipeline_dispose),
30725 (gst_pipeline_change_state):
30726 * gst/gstpipeline.h:
30728 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30729 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30730 * gst/gstpluginfeature.h:
30731 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30732 * gst/gstquery.c: (_gst_query_type_initialize),
30733 (gst_query_type_register), (gst_query_type_get_by_nick),
30734 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30736 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30737 * gst/gstscheduler.c: (gst_scheduler_add_element),
30738 (gst_scheduler_factory_create):
30739 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30740 (gst_structure_free), (gst_structure_set_name),
30741 (gst_structure_id_set_value), (gst_structure_set_value),
30742 (gst_structure_set_valist), (gst_structure_remove_field),
30743 (gst_structure_remove_fields),
30744 (gst_structure_remove_fields_valist),
30745 (gst_structure_remove_all_fields), (gst_structure_foreach),
30746 (gst_structure_map_in_place),
30747 (gst_caps_structure_fixate_field_nearest_int),
30748 (gst_caps_structure_fixate_field_nearest_double):
30749 * gst/gststructure.h:
30750 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30751 (gst_system_clock_init), (gst_system_clock_dispose),
30752 (gst_system_clock_async_thread),
30753 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30754 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30755 * gst/gstsystemclock.h:
30756 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30757 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30758 * gst/gsttaginterface.c:
30759 * gst/gstthread.c: (gst_thread_dispose),
30760 (gst_thread_release_children_locks), (gst_thread_change_state),
30761 (gst_thread_main_loop):
30762 * gst/gsttrashstack.h:
30763 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30765 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30766 (gst_element_request_pad), (gst_element_get_pad_from_template),
30767 (gst_element_request_compatible_pad),
30768 (gst_element_get_compatible_pad_filtered),
30769 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30770 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30771 (gst_element_link_many), (gst_element_link),
30772 (gst_element_link_pads), (gst_element_unlink_pads),
30773 (gst_element_unlink_many), (gst_element_unlink),
30774 (gst_pad_can_link_filtered), (gst_pad_can_link),
30775 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30776 (gst_object_default_error), (gst_bin_add_many),
30777 (gst_bin_remove_many), (gst_element_populate_std_props),
30778 (gst_element_class_install_std_props), (gst_buffer_merge),
30779 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30780 (link_fold_func), (gst_pad_proxy_setcaps):
30782 * gst/gstvalue.c: (gst_value_deserialize_string):
30783 * gst/parse/grammar.y:
30784 * gst/schedulers/gstbasicscheduler.c:
30785 (gst_basic_scheduler_cothreaded_chain),
30786 (gst_basic_scheduler_chain_recursive_add),
30787 (gst_basic_scheduler_pad_link):
30788 * gst/schedulers/gstoptimalscheduler.c:
30789 (get_group_schedule_function),
30790 (gst_opt_scheduler_state_transition),
30791 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30792 * libs/gst/bytestream/bytestream.c:
30793 * libs/gst/dataprotocol/dataprotocol.c:
30794 (gst_dp_header_from_buffer):
30797 * tests/threadstate/threadstate2.c: (eos):
30798 * tools/gst-compprep.c: (main):
30799 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30800 (print_pad_info), (print_children_info):
30801 * tools/gst-launch.c: (idle_func), (main):
30802 * tools/gst-md5sum.c: (idle_func), (main):
30803 * tools/gst-xmlinspect.c: (print_element_info):
30804 First THREADED backport attempt, focusing on adding locks and
30805 making sure the API is threadsafe. Needs more work. More docs
30808 2005-02-24 Andy Wingo <wingo@pobox.com>
30810 * tests/bench-complexity.scm:
30811 * tests/complexity.gnuplot: New files, good for running complexity
30814 * tests/Makefile.am:
30815 * tests/complexity.c: New test, sets up N elements, at each level
30816 teeing into M streams per element. Eeeenteresting.
30818 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30819 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30820 running bench-mass_elements.scm.
30822 * tests/bench-mass_elements.scm: New script, runs mass_elements
30823 for various numbers of identities, outputting the results to a
30824 file. Requires guile 1.6. Just for testing.
30826 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30828 * gst/schedulers/fairscheduler.c:
30829 compile with debug disabled
30831 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30834 hunting season on 0.9 is now OPEN